Ubuntu Home Server FAQ

Basically this is the stuff I can’t remember how to do when I’m setting up Ubuntu as a backup server. Tested with Ubuntu Server 8.04.1 (Hardy Heron).

How do I turn off the dang bell (aka PC speaker beep)?

sudo rmmod pcspkr
sudo vi /etc/modprobe.d/blacklist

Then add:

blacklist pcspkr

How do I make arrow keys work in vi?

sudo apt-get install vim

How do I configure Ubuntu to have a static IP address?

sudo vi /etc/network/interfaces

Then replace:

auto eth0
iface eth0 inet dhcp


auto eth0
iface eth0 inet static

Note: This assumes your router’s (aka gateway’s) IP address is and you want to assign a static IP of

Finally run:

sudo /etc/init.d/networking restart

How do I install an SSH server?

sudo apt-get install openssh-server

How do I find out information about my processor (CPU)?

cat /proc/cpuinfo

How do I find out my external USB drive’s device location?

sudo fdisk -l

How do I manually mount an external USB drive?

sudo mkdir /media/usb0
sudo mount /dev/sdb1 /media/usb0

Note: Your USB drive may have been assigned a different device location than /dev/sdb1. Use sudo fdisk -l to find out.

How do I format an external USB drive?

sudo mkfs.ext3 /dev/sdb1

Note: Be very careful with this command. Make sure you have the correct device location.

Feel free to if you found this useful.

Care to Comment?


Email (optional)

Blog (optional)