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 |
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.
# 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
# cd ./ispcp-omega-1.0.6
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'
# /etc/init.d/ispcp_daemon stop # make -f Makefile.ubuntu install
# 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/
# 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
# cp -Rv /tmp/ispcp/usr/* /usr/ # cp -Rv /tmp/ispcp/var/* /var/
# mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf # cp -Rv /tmp/ispcp/etc/* /etc/
# cd /var/www/ispcp/engine/setup
# perl ispcp-update
If you get no error, all went good; if you get one, look at http://isp-control.net/forum to solve the problem.
# rm -fR /tmp/ispcp/