That link really helped me out. Essentially you just follow through this example:
Edit the /etc/network/interfaces file. The same configurations that you would have written to resolv.conf can now be in the same file as your network adapter configurations like the example below:
# The loopback network interface
auto lo iface lo inet loopback
# The primary network interface
auto eth0 iface eth0 inet static
dns-nameservers 18.104.22.168, 22.214.171.124
I found this sample very handy in setting up a 12.04 Server instance. So many posts are about the network manager, but that isn’t available with out installing many other packages, etc.
Reduce “swappiness” to 0
This prevents the swap file from being used unless it is actually needed, preventing unnecessary write cycles on the drive.
Edit /etc/sysctl.conf by using your favorite editor :
$sudo gedit /etc/sysctl.conf
If the line doesn’t exist, you will need to create it.
After reboot vm.swappiness is 0
Enable TRIM (if applicable)
Uninstall proprietary (ie, video card) drivers first. The 10.6 cats included didn’t like the newer kernel and it really garbled up the video driver install process.
Update to a newer kernel. 2.6.33+
Edit your /etc/fstab file so your SSD line looks like this:
UUID=of your SSD here / ext4 noatime,discard,errors=remount-ro 0 1
After reboot TRIM should function.
Links I found useful:
http://ubuntuforums.org/showpost.php…1&postcount=43 (swapiness syntax)
http://ubuntuforums.org/showthread.php?p=9740235 (fstab discussion)
https://help.ubuntu.com/community/RadeonHD (link to Kernel versions and an explanation of how to update)
http://forums.anandtech.com/showthread.php?t=2069761 (incredibly informative forum posting about SSD drives in general)