Upgrading the Ubuntu Server, e.g. from version 8.04 to 8.10:

Step 1. Make sure your current distribution is up-to-date.

  1. # sudo aptitude update
  2. # sudo aptitude upgrade
  3. # sudo aptitude dist-upgrade

Step 2. Perform the upgrade!

  1. sudo aptitude install update-manager-core
  2. sudo do-release-upgrade

To display the current Ubuntu version, issue this command from the terminal:

#lsb_release -a

To change IP address, you’ll need to edit /etc/network/interfaces
#sudo vi /etc/network/interfaces

Read more

#sudo passwd root
#su

The default configuration has “root” with no password. The following shows you how to lock down MySQL by assigning a password to root and creating a super user with all privileges for administration use.

#sudo mysql -u root -p

Read more

#sudo apt-get update
#sudo apt-get upgrade