Before you start you may want to determine what kernel and release you are currently running. It is helpful to write this information down before starting your release upgrade. Here are the commands with sample data,
uname -a # determine kernal version Linux myra 2.6.32.9-rscloud #6 SMP Thu Mar 11 14:32:05 UTC 2010 x86_64 GNU/Linux lsb_release \-a # determine release number No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic
If this is not a fresh system, you should stop as many services as possible. Examples include web server deaemons (Apache, nginx, etc), database servers (PostgreSQL, MySQL, etc), and any other non-critical services.
Perform the release upgrade,
Again, if your system is running real applications and stable make sure you can backup and restore your system before going further.
do-release-upgrade
Verify that the version you are running has changed,tinpham@myra:/opt$ uname -a
uname -a Linux myra 2.6.32.9-rscloud #6 SMP Thu Mar 11 14:32:05 UTC 2010 x86_64 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.2 LTS Release: 10.04 Codename: lucid