Dec 312012
 

** UPDATE **
Version 2.3 has been released

I have updated Raspbian server edition with a packagelist that I have stripped out of the 2012-12-16 version of Raspbian.
The packagelist can be found here, and the script to remove them can be found here. 242 packages were removed from the original Raspbian installation.

To use it, download the script and the package list to the same directory, and then run the command ./pkgs.sh pkgs.txt as root to remove the packages.
An image will be available soon.

An image is now available for download.
You can get it here

SHA Signatures for the 2 files
f263d744ed646244cc5278bf5665cdca4d2a8231 RSEv2.2.zip
27814fec6a35a39aa48f1405db03196571080d56 RSEv2.2.img

** Update **
Forgot to mention for any new Linux users, if you are using the image straight off the bat, you may want to regenerate the SSH Server keys for security reasons.
The commands to do this are :

ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa

Share

  30 Responses to “Raspbian Server Edition Version 2.2”

  1. Thank you very much for creating and maintaining Raspbian Server Edition. I have one request: could you generate a sha signature for the downloadable images. I trust you, I just don’t know if I trust Google’s security.

    Thanks again for the great work.

  2. Nice script!

    It’s good to have that complete list of useless packages when using RPI as a server like me. However I don’t understand why you remove some packages as aptitude or python. They are commonly used in terminal, specially python in RPI!

    Obviously you can reinstall them with apt-get but maybe you could keep then in the server image.

    It’s just an opinion ;-) Gook work anyway!

    • I was just stripping as much down as possible, aptitude isn’t essential and it’s easy enough to re-install it. Same with python, though that could have more uses.
      I’m planning to do a few different sizes of Raspbian Server Edition in the future, so keep a lookout for those :)

  3. This is a really nice img and I hope you continue to keep it updated, although I ended up not realizing there was a new edition of it out, is there a way to get E-mailed updates of the image? thanks if you can do that! it’s ok if you cant. Once more thank you for updating this script.

    JCC10
    ———————
    Computer Wiz,
    Geek,
    Nerd.

    • Thanks for the feedback :) I have a RSS feed that you could subscribe to, or twitter you could follow ?

      Otherwise I’ll look into setting an email list up :)

  4. […] The other SD-Card will be used for one of these Rasbian / Arch Linux / Raspbian Server Edition […]

  5. Sir can u please tellme how to ssh wirelessly from putty i followed your par1 tutorial on setting up a wireless network.But whenever i connect to ty windows that network in my windows machinw it says that limited access and im using dnsmasq for forwarding ip address but still the same thing.Im trying to ssh wirelesssy via putty in windows and im using raspbian wheezy image.So can u please tell me how to ssh wirelessly into my pi…??

    • Do you have a keyboard and.screen connected to your Pi ? If you do, run ifconfig and check that wlan0 has an IP address

  6. eth0 Link encap:Ethernet HWaddr b8:27:eb:57:b3:b7
    inet addr:192.168.137.30 Bcast:192.168.137.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:131 errors:0 dropped:0 overruns:0 frame:0
    TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:13757 (13.4 KiB) TX bytes:7658 (7.4 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:20 errors:0 dropped:0 overruns:0 frame:0
    TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1000 (1000.0 B) TX bytes:1000 (1000.0 B)

    wlan0 Link encap:Ethernet HWaddr 00:22:75:76:88:9f
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

  7. this is what i got when i run ifconfig

  8. ryt now im connecting with a ethernet cable and ssh with putty.

  9. okay thanks a lot for your reply..:)

  10. and should i hav to set an static ip address for wlan0 ..??? please help me im new to this…

    • Yep. What you can do is in /etc/init.d/hostapd, you can add in a line to set the IP address. I’ll update the blog post in a few hours with specific instructions

  11. okay fine thanks a lot…:)

  12. yeah i got it thanks a lot for the post …..its working now i can ssh wirelessly into my pi..:)

  13. Maybe you could add localepurge? Free’d up a couple of extra MB’s with it:
    pi@raspberry ~ $ sudo localepurge
    localepurge: Disk space freed in /usr/share/locale: 58628 KiB
    localepurge: Disk space freed in /usr/share/man: 4792 KiB

    Total disk space freed by localepurge: 63420 KiB

    pi@raspberry ~ $ df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 1.8G 635M 1.1G 38% /
    /dev/root 1.8G 635M 1.1G 38% /
    devtmpfs 117M 0 117M 0% /dev
    tmpfs 24M 204K 24M 1% /run
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 47M 0 47M 0% /run/shm
    /dev/mmcblk0p1 56M 17M 40M 30% /boot

  14. Good work Sir, thank you.
    Keep going.
    Appreciate provided list of packages, can be usefull for me.

    After using of your script i was able to free even more space with

    #purge locale
    sudo apt-get install localepurge
    #remove unused pkgs
    sudo apt-get autoremove
    #clean pkg cache
    sudo apt-get clean

    #remove logs
    cd /var/log/
    sudo rm `find . -type f`
    #remove unused icons
    sudo rm /usr/share/icons/* -R
    #remove doc,man
    sudo rm /usr/share/doc/* -R
    sudo rm /usr/share/man/* -R

  15. i installed Raspbian Server Edition in sd card and run it on raspberry pi ..i got initial boot up screen and terminal as pi@raspberry and getting notice as : software on this raspberry pi is not fully configured please run sudo raspi-config and i did it ….but i am not getting GUI screen for it i typed startx also plz help me

    • Raspbian Server Edition does not have a GUI…
      If you want Raspbian with a GUI, you will need to download the normal Raspbian distribution off the Raspberry Pi site.

  16. Thank you sir ..ok actually i want to do video monitoring based on raspberry pi and using ffmpeg ..and it should be watched from anywhere ….can you provide any suggestions regarding this

  17. I’ve downloaded your image twice, burned the image twice all seems to be fine but my pi refuses to boot. Is the image ok?

  18. Thanks for keeping this updated!!

    If I understand properly, your script reads the pkgs.txt and removes those packages. So I also can remove the packages I would like to keep from the list (Maybe a good thing to include in your instructions)?

    Also, when running the script it removes 0 packages, the first echo from the scripts when run is ‘./pkgs.sh: line 7: $1: ambigous redirect’ . It then continues but essentially does nothing.

    Any suggestions?

  19. AH!….there is an unfortunate line break in your website that breaks up the command to run, I must run ‘./pkgs.sh pkgs.txt’

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>