====== CentOS Update ===== \\ Make sure you are logged in as root and MySQL is running. **"X"** ist the Version you want to Update ===== 1. Untar or unzip the distribution files to a secure directory: ===== # cd /root # tar xjvf ispcp-omega-1.0.X.tar.bz2 \\ ===== 2. Change to the newly created directory: ===== # cd ./ispcp-omega-1.0.X \\ ===== 3. Install the required modules ===== A list is conveniently provided and can be used to install by running the following: # yum install `cat ./docs/CentOS/centos-packages` After that, we need to install a few perl modules that aren't packaged. You can run the following command to install them: # cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e 'install {}' \\ ===== 4. Stop the ispcp_deamon and build the System by using make: ===== # /etc/init.d/ispcp_daemon stop # make -f Makefile.centos 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/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/ # 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/ \\ ===== 6. Delete old files to avoid security risks: ===== # 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/