label_alt_logo
2015-10-26

Upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS

by Alexander Mahr

Since version 14.5.0 of our administration software KeyHelp also the latest Ubuntu LTS version 14.04 is supported.

Do you operate your KeyHelp on a server running Ubuntu 12.04 and now want to take advantage of the optimized Ubuntu 14.04? Then here is your opportunity to comfortably perform the update on your own. We provide the required script and detailed instructions as follows. Please feel free to contact us with any questions or for assistance.


 

Upgrade procedure

Preparation

Download the script with this command:

wget --no-check-certificate https://install.keyhelp.de/scripts/keyhelp_ubuntu_upgrade_12_to_14 -O keyhelp_ubuntu_upgrade_12_to_14.php

Afterwards start script with:

php keyhelp_ubuntu_upgrade_12_to_14.php

ATTENTION: After you start the script and have confirmed the start of the upgrade with [ENTER] within the script, you must follow all of the following 4 steps. If you cancel the current operation, already made changes need to be manually undone.

ATTENTION: An ongoing upgrade process should always be monitored. Please keep the terminal window open for the duration of the upgrade.

1.)
Follow the instructions of the script. It will automatically run necessary tasks in preparation for the upgrade. Your current operating system will be updated.

2.)
During the course of the script the control of the program flow is hand over to "do-release-upgrade". Please follow the instructions of the program and answer the questions (see below). Note, that depending on the services installed on your server, perhaps more questions arise.

  • Continue running under SSH? ⇒ Yes
  • Note SSH ⇒ [ENTER]
  • Third party sources disabled ⇒ [ENTER]
  • Do you want to start the upgrade? ⇒ Yes
  • Disable SSH password authentication for root? ⇒ <YES> / <NO> ( Decision is up to the user )
  • Restart services during package upgrades without asking? ⇒ <YES> / <NO> ( Decision is up to the user )
  • Configuration file »/etc/nagios/nrpe.cfg« ⇒ Keep your currently-installed version
  • Configuration file »/etc/php5/fpm/pool.d/www.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/dovecot/dovecot.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/default/grub« ⇒ Install version of the package maintainer
  • Configuration file »/etc/spamassassin/local.cf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/mods-available/ssl.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/mods-available/mime.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/apache2.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/ports.conf« ⇒ Keep your currently-installed version
  • Configuration file »/etc/awstats/awstats.conf« ⇒ Keep your currently-installed version
  • Remove obsolete packages? ⇒ Yes
  • Restart required ⇒ Yes

3.)
Please execute the following command after the restart:

php5enmod ioncube

Afterwards restart the script again with:

php keyhelp_ubuntu_upgrade_12_to_14.php

4.)
Follow the instructions of the script. The last step completes the upgrade, configuration files are modified and MariaDB will - if not already available be installed. Your system will then be restarted.
Congratulations, you now use KeyHelp with Ubuntu LTS 14.04!