Ubuntu 32/64 Bit - Update
Version Info
| ispCP Version | 1.0.7 |
|---|---|
| Maintainer | Maximilian maximilian@maximilian-jacobsen.net |
| Linux Distros | Ubuntu Lucid |
| Last Update | 21.06.2011 |
The Upgrade Process
Make sure you are logged in with an user that has root privileges.
1. Download & Extract the distribution files
# cd /usr/local/src/ispcp
# wget http://ispcp.maximilian-jacobsen.net/1.0.7/ispcp-omega-1.0.7.tar.bz2
# tar -xvf ispcp-omega-1.0.7.tar.bz2
2. Change to the ispcp directory
# cd ispcp-omega-1.0.7
3. Install the required packages
You have to modify your sources.list. Edit /etc/apt/sources.list and change:
deb http://archive.ubuntu.com/ubuntu lucid main restricted
to
deb http://archive.ubuntu.com/ubuntu lucid main restricted multiverse
Now install the nescessary packages using aptitude:
# aptitude update
# aptitude safe-upgrade
# aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)
(1) When you get to the “courier screen” select no to web directories.
(2) When you get to the “postfix screen” select internet site.
(3) If your debian setup is correct your domain should already be displayed on the screen.
If not, enter the domain without the 'www.' portion (i.e. yourdomain.com).
(4) Select no when you are asked if you would like to create directories for web-based administration.
(5) When you get to the proftpd screen, select standalone.
4. Stop the ispcp_deamon and build the System by using make:
# /etc/init.d/ispcp_daemon stop
# make -f Makefile.ubuntu 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/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/
6. Delete old files to avoid security risks:
# 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
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 and start the engine update.
# cd /var/www/ispcp/engine/setup
# perl ./ispcp-update
12. Clean the temporary folders:
# rm -fR /tmp/ispcp/
11. That's it!
You can now access ispCP with your preferred browser by typing the admin address you specified during the installation process.
When you are not able to access the control panel something really went wrong.
Doublecheck that you have not missed any step of this installation guide you may consider asking in the ispCP Forum for help.