Installation
First, make sure you are logged in as root.
1 Untar or unzip the distribution files to a secure directory:
# cd /usr/local/src
# 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 repositories:
OpenSuse 11.1 (Recommended for ispCP 1.0.3):
# sh ./docs/OpenSuse/opensuse111-repositories add
OpenSuse 11.2 :
# sh ./docs/OpenSuse/opensuse112-repositories add
Note: For all questions, answer “a” (trust always).
4 Install the required packages:
OpenSuse 11.1 (Recommended for ispCP 1.0.4):
# zypper in $(cat ./docs/OpenSuse/opensuse111-packages)
OpenSuse 11.2:
# zypper in $(cat ./docs/OpenSuse/opensuse112-packages)
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)
Note: every question which is asked in the first run of cpan should be ok to confirm
6 (optional) Check ispcp.conf
Check the:
./configs/opensuse/ispcp.conf
and adapt it to your requirements.
7 Build the System by using make:
# make -f Makefile.opensuse install
8 Copy all the directories into your system (you may make backups before)
# cp -RLv /tmp/ispcp/* /
9 Start MySQL, if not running:
# rcmysql restart
10 Change or create MySQL root password, remove anonymous users, disallow root, login remotely, remove test database (and access to it), reload privilege tables.
# mysql_secure_installation
11 Maybe empty the folder /etc/skel - otherwise you'll have all the files/folders in the home folders...
# cp -a /etc/skel /etc/skel.bkp
# rm -r /etc/skel && mkdir /etc/skel
12 Now it's time to set up the frontend. Change into the engine directory and start the engine setup:
# cd /srv/www/ispcp/engine/setup
# perl ispcp-setup
13 Restore /etc/skel
# rm -r /etc/skel && mv /etc/skel.bkp /etc/skel
14 Install 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.
15 Clean the temporary folders:
# rm -rf /tmp/ispcp
0 comments :
Post a Comment