Situation:
An old Ubuntu 10.04LTS server running on Rackspace First Generation Server
Running ISPConfig 3 as the main control panel
Wanted to upgrade to latest LTS as 10.04LTS support ends in April 2015.
Steps:
1. Backup using Image under RS mycloud control panel for recovery.
2. Get into SSH
3. apt-get install update-manager-core
4. apt-get update / apt-get upgrade - to update all packages
5. remove the sites-enabled in apache2 configurations (as apache 2.2 to 2.4 has some changes)
/etc/apache2/sites-enabled/
6. do-release-upgrade -d - this updates system from 10.04LTS to 12.04LTS - download was about 250M
7. setting a new MySQL password during the update / allow services to restart / other prompts: choose default values (i.e. keeping existing version of preferences, rather than using distro's default). Giving a new MySQL somehow reduced a lot of intermediate prompts for MySQL password settings.
8. at the end of upgrade, it prompts for deleting old packages (I chose "y" to save some space) and then reboot to finish. 10.04LTS to 12.04LTS took about 25 mins.
9. reboot into 12.04LTS, perform another do-release-upgrade -d
10. reboot into 14.04LTS
11. Execute an ISPConfig update:
During the update, it should prompt for the MySQL password. Enter the new one as in Step 7.
12. login to ISPConfig -> Tools -> Resync -> Website -> Start. This will re-create the /sites-enabled based on ISPConfig website status and in correct format.
An old Ubuntu 10.04LTS server running on Rackspace First Generation Server
Running ISPConfig 3 as the main control panel
Wanted to upgrade to latest LTS as 10.04LTS support ends in April 2015.
Steps:
1. Backup using Image under RS mycloud control panel for recovery.
2. Get into SSH
3. apt-get install update-manager-core
4. apt-get update / apt-get upgrade - to update all packages
5. remove the sites-enabled in apache2 configurations (as apache 2.2 to 2.4 has some changes)
/etc/apache2/sites-enabled/
6. do-release-upgrade -d - this updates system from 10.04LTS to 12.04LTS - download was about 250M
7. setting a new MySQL password during the update / allow services to restart / other prompts: choose default values (i.e. keeping existing version of preferences, rather than using distro's default). Giving a new MySQL somehow reduced a lot of intermediate prompts for MySQL password settings.
8. at the end of upgrade, it prompts for deleting old packages (I chose "y" to save some space) and then reboot to finish. 10.04LTS to 12.04LTS took about 25 mins.
9. reboot into 12.04LTS, perform another do-release-upgrade -d
10. reboot into 14.04LTS
11. Execute an ISPConfig update:
cd /tmp wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz tar xvfz ISPConfig-3-stable.tar.gz cd ispconfig3_install/install php -q update.php
During the update, it should prompt for the MySQL password. Enter the new one as in Step 7.
12. login to ISPConfig -> Tools -> Resync -> Website -> Start. This will re-create the /sites-enabled based on ISPConfig website status and in correct format.
Comments
Post a Comment