|Version 8 (modified by blocker, 7 years ago) (diff)|
There are two ways of update ispCP ω
a) via install script
There is no scipt at the moment. Will be done in the Stable relaese!
- Start the script and follow the update instructions:
The manually Upgrade is only from ispCP Omega RC2x to ispCP OmegaRC2y.
Not from VHCS to ispCP Omega.
1. Backup the current ispCP Version in a compressed tar-archiv and safe the db-keys.
# cd /var/www/ # mkdir backup # cd backup # tar czpf ispcp_backup.tar.gz ../ispcp/ # cp ../ispcp/engine/ispcp-db-keys.pl . # cp ../ispcp/gui/include/ispcp-db-keys.php . # cp ../ispcp/gui/tools/pma/config.inc.php .
2. Compile the new Version
Copy your Downloaded ispCP Version to /root before
# cd /root # tar -xjvf ispcp-omega-1.X.X.tar.bz2 # cd ./ispcp-omega-1.X.X # make install
3. Stop the ispcp_daemon before copy
# /etc/init.d/ispcp_daemon stop
4.The new compiled files are now under /tmp/ispcp-1.0.0/var/www/ Copy them to /var/www/ispcp/
# cd /tmp/ispcp-1.0.0/var/www/ # cp -R ispcp/ /var/www/
5. Copy the backuped config and db-keys back to ispCP
# cd /var/www/backup/ # cp ispcp-db-keys.pl ../ispcp/engine/ # cp ispcp-db-keys.pl ../ispcp/engine/messager/ # cp ispcp-db-keys.php ../ispcp/gui/include/ # cp config.inc.php ../ispcp/gui/tools/pma/
6. Set new permissions on the engine and gui directory
# cd ../ispcp/engine/setup/ # ./set-engine-permissions.sh # ./set-gui-permissions.sh
7. Issue these command to mysql on your ispCP database to recreate email and web config
UPDATE mail_users SET status="toadd" where status="ok"; UPDATE domain SET domain_status = 'change' WHERE domain_status = 'ok'; UPDATE domain_aliasses SET alias_status = 'change' WHERE alias_status = 'ok'; UPDATE subdomain SET subdomain_status = 'change' WHERE subdomain_status = 'ok';
8. Start the ispcp_daemon
# /etc/init.d/ispcp_daemon start