Ubuntu Update
Version Info
| ispCP Version | 1.0.6 |
|---|---|
| INSTALL Script | 2.6 |
| Maintainer | ispCP DevTeam |
| Linux Distros | Ubuntu 8.04, 9.04, 9.10, 10.04 |
| Last Update | 02.04.2010 |
The Upgrade Process
WARNING: NOTE: ispCP ω can only be updated from post 1.0.0. If you have a version prior 1.0.0 (final release) installed, update to ispCP ω 1.0.0 first.
Make sure you are logged in as root and MySQL is running.
1. Download, Untar or unzip the distribution files to a secure directory:
# cd /root wget http://mesh.dl.sourceforge.net/sourceforge/ispcp/ispcp-omega-1.0.6.tar.bz2 # tar xjvf ispcp-omega-1.0.6.tar.bz2
2. Change to the newly created directory:
# cd ./ispcp-omega-1.0.6
3. Install the required modules
First update your system:
For Ubuntu 8.10 and lower :
# apt-get update && apt-get upgrade
For Ubuntu 9.04 and higher :
# aptitude update && aptitude safe-upgrade
Then install all needed packages:
# aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)
Make sure you have added multiverse into your /etc/apt/sources.list:
deb ftp://mir1.ovh.net/ubuntu/ jaunty multiverse deb-src ftp://mir1.ovh.net/ubuntu/ jaunty multiverse deb ftp://mir1.ovh.net/ubuntu/ jaunty-updates multiverse deb-src ftp://mir1.ovh.net/ubuntu/ jaunty-updates multiverse
→ if you get to the courier screen select 'no' to web directories
→ if you get to the postfix screen select 'internet site' and then type 'root' for mail. If you've set debian up correctly on install your domain should be already on screen. Select 'no' to force sync updates.
→ if you get to the proftpd screen, select 'standalone'
→ if you get to the rootkithunter screen, select two time 'yes'
4. Stop the ispcp_deamon and build the System by using make:
# /etc/init.d/ispcp_daemon stop # make -f Makefile.ubuntu install
5. Backup files - VERY IMPORTANT POINT
# cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ # cp -TvR /var/www/ispcp/gui/domain_default_page /tmp/ispcp/var/www/ispcp/gui/domain_default_page # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ # cp -v /var/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/var/www/ispcp/gui/tools/webmail/data/Prior 1.0.3:
# cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/After 1.0.3:
# cp -v /var/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/
6. Delete old files to avoid security risks:
# rm -fR /var/www/ispcp/engine/
# rm -fR /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/
# rm -fR /var/www/ispcp/gui/*.php
7. Copy /usr and /var directories into your system (you may make backups)
# cp -Rv /tmp/ispcp/usr/* /usr/ # cp -Rv /tmp/ispcp/var/* /var/
8. Backup ispcp.conf and copy the /etc directory into your system (you may make backups):
# mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf # cp -Rv /tmp/ispcp/etc/* /etc/
9. Now it's time to update your installation. Change into the engine directory:
# cd /var/www/ispcp/engine/setup
10. Start the engine update:
# perl ispcp-update
11. Update ispCP ω step-by-step
If you get no error, all went good; if you get one, look at http://isp-control.net/forum to solve the problem.
12. Clean the temporary folders:
# rm -fR /tmp/ispcp/
