====== HowTo Update for OpenSuse 11.1 & 11.2 ====== ====== 1. Version Info ====== ^ispCP Version |1.0.6 | ^INSTALL Script|1.1 | ^Maintainer |Laurent Declercq (Nuxwin) | ^Linux Distros |OpenSuse 11.1 && 11.2 | ^Last Update |04.08.2010 | ====== 2. Update ====== First, Make sure you are logged in as root and MySQL is running. ===== 2.1 Untar or unzip the distribution files to a secure directory: ===== # cd /root # tar xjvf ispcp-omega-1.0.6.tar.bz2 \\ ===== 2.2 Change to the newly created directory: ===== # cd ./ispcp-omega-1.0.6 \\ ===== 2.3 Install the required repositories: ===== ** For OpenSuse 11.1 (Recommended version):** # sh ./docs/OpenSuse/opensuse111-repositories add \\ **For OpenSuse 11.2:** # sh ./docs/OpenSuse/opensuse112-repositories add \\ **Note:** For all questions, answer "a" (trust always) \\ ===== 2.4 Install the required packages: ===== **For OpenSuse 11.1 (Recommended version):** # zypper in $(cat ./docs/OpenSuse/opensuse111-packages) \\ **For OpenSuse 11.2:** # zypper in $(cat ./docs/OpenSuse/opensuse112-packages) \\ ===== 2.5 Install the required perl packages: ===== **First, update cpan:** # cpan CPAN \\ **For OpenSuse 11.1 (Recommended for ispCP 1.0.4):** # cpan $(cat ./docs/OpenSuse/opensuse111-perl-packages) \\ **For OpenSuse 11.2:** # cpan $(cat ./docs/OpenSuse/opensuse112-perl-packages) \\ ===== 2.6 Stop the ispcp_deamon and build the System by using make: ===== # /etc/init.d/ispcp_daemon stop # make -f Makefile.opensuse install \\ ===== 2.7 Backup files ===== # cp -v /srv/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/srv/www/ispcp/engine/ # cp -v /srv/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/srv/www/ispcp/engine/messenger/ # cp -v /srv/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/srv/www/ispcp/gui/include/ # cp -v /srv/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/srv/www/ispcp/gui/themes/user_logos/ # cp -v /srv/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/srv/www/ispcp/gui/tools/pma/ # cp -v /srv/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/srv/www/ispcp/gui/tools/webmail/data/ \\ ===== 2.8 Delete old files to avoid security risks: ===== # rm -fR /srv/www/ispcp/engine/messager/ # rm -Rf /srv/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/ # rm -Rf /srv/www/ispcp/gui/*.php \\ ===== 2.9 Copy /usr, /var and /srv directories into your system (you may make backups) ===== # cp -Rv /tmp/ispcp/usr/* /usr/ # cp -Rv /tmp/ispcp/var/* /var/ # cp -Rv /tmp/ispcp/srv/* /srv/ \\ ===== 2.10 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/ \\ ===== 2.11 Now it's time to update your installation. Change into the engine directory: ==== # cd /srv/www/ispcp/engine/setup \\ ===== 2.12 Start the engine update: ===== # perl ispcp-update \\ ===== 2.13 Update ispCP ω step-by-step ===== If you get no error, all went good; if you get one, look at http://isp-control.net to solve the problem. \\ ===== 2.14 Clean the temporary folders: ===== # rm -Rf /tmp/ispcp/