====== FreeBSD Update ====== ===== Version Info ===== ^ispCP ω Version |1.0.6| ^Maintainer| BeNe| ^Install Script| 1.00| ^BSD Version| FreeBSD 8.0-RELEASE-p2| ^Last Update| 04.08.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. :!: Backup your Data before :!: ===== 1. Extract the distribution files ===== # cd /usr/local/src # 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 ===== see: ./docs/FreeBSD/freebsd-packages # portmaster `cat ./docs/FreeBSD/freebsd-packages` ===== 4. Stop the ispcp_deamon and build the System ===== # /usr/local/etc/rc.d/ispcp_daemon stop # make -f BSDmakefile install ===== 5. Backup files===== # cp -v /usr/local/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine/ # cp -v /usr/local/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine/messenger/ # cp -v /usr/local/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/usr/local/www/ispcp/gui/include/ # cp -v /usr/local/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/usr/local/www/ispcp/gui/themes/user_logos/ # cp -Rv /usr/local/www/ispcp/gui/domain_default_page /tmp/ispcp/usr/local/www/ispcp/gui/domain_default_page # cp -v /usr/local/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/usr/local/www/ispcp/gui/tools/pma/ # cp -v /usr/local/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/usr/local/www/ispcp/gui/tools/webmail/data/ ===== 6. Delete old files to avoid security risks ===== # rm -Rf /usr/local/www/ispcp/engine/ # rm -Rf /usr/local/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/ # rm -Rf /usr/local/www/ispcp/gui/tools/{pma/,filemanager/,webmail/,index.php} # rm -Rf /usr/local/www/ispcp/gui/{*.php,favicon.ico,robots.txt} ===== 7. Backup the current ispcp.conf ===== # mv -v /usr/local/etc/ispcp/ispcp.conf /usr/local/etc/ispcp/ispcp.old.conf ===== 8. Copy /usr and /var directories into your system ===== # cp -Rv /tmp/ispcp/usr/* /usr/ # cp -Rv /tmp/ispcp/var/* /var/ ===== 9. Now it's time to update your installation ===== Change into the engine directory: # cd /usr/local/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 to solve the problem. ===== 12. Clean the temporary folders ===== # rm -fR /tmp/ispcp/