It might be a good idea to read the Debian Administrator's Handbook by Raphaël Hertzog and Roland Mas, available as the
debian-handbook package or on
its own website. I know you are using Ubuntu, but as a Debian derivative it should be comparable for the purposes of system administration.