Ubuntu 9.10 Installation Notes

Karma karma koala...

Karma karma koala...

Upgrading my server to the latest Ubuntu Server has been slightly traumatic. I learnt it’s a really really bad idea to do an upgrade over SSH, because when the machine gets around to restarting the networking, you lose your connection! And then if you stop the upgrade mid process due to losing your connection, the system is in a really messed up state.

I also learnt that on my weird ASUS motherboard Grub2 throws a fit if I don’t use a SATA drive as a boot drive.

Anyway, this post is a list of websites and notes to help me remember how to update the system again. If you’re not into Linux admin, just look at the pretty koala and go about your day, otherwise, hit the ‘more’ link below…

Installing the system

Just install to a SATA drive, it’ll be easier than working out why Grub2 doesn’t understand that your SATA drive is a data drive, and the PATA drive is a boot drive.

MySQL

Reload the dump using the MySQL commandline, then run ‘mysql_upgrade’ with the –force command to fix everything.

Apache

Copy the stuff from the old ‘sites-available’ into the new one, then run the ‘a2ensite’ script to switch them on. Make sure you also ‘a2enmod’ the ‘rewrite’ module.

Permissions for Gallery2 may also need fixing if all you see is ‘Error’.

The kernel is spamming me with temperature messages!

If you see ‘CPU0: Temperature above threshold, cpu clock throttled' repeated many many times on the screen, assume the CPU isn’t actually going into meltdown and install the ‘rcconfig’ tool and use it to turn off On Demand cpu throttling. This post links to more useful information.

Svnserve

This is quite easy, go to this website and have a read, and then download this script and put it into /etc/init.d. Then run ‘update-rc.d svnserve defaults’. It’ll moan about the SVN repository directory being wrong, so fix that too in that script.

SMART Hard Disk Monitoring

Read this website, copy the files and install the stuff.

Bind DNS Server

Easy one this. Just rename /etc/bind to /etc/bind.x and then copy the backup over. Stop the bind service and start it again. Look in syslog for errors. Remember to edit resolv.conf and then do a few test pings.

OpenDNS’s IP address is 208.67.222.222

DHCP Server

Also easy. Install the dhcp3-server package, then copy the /etc/dhcp3/dhcpd.conf from the backups and restart it.

Samba

Copy smb.conf from backup, restart samba.

Todo:

  1. Automated backups
  2. Torrentflux
  3. TRAC
  4. Email sending

About James

I'm just a person who likes writing software in their spare time. I'm not an "indie games developer" and am not trying to escape my day job and live in the happy world of games dev. I'm more like one of those people that used to write games in their spare time in the 80s. My stuff would be PD or Shareware if this were the 80s or 90s. It's good to comment on the posts in here :)