Install ISPCP on Debian

Xavier Mustin

Administrator
Staff member
#1
Preinstallation


Your Server has to be configured to use a resolvable fully qualified domain name.

Here can you find hoster specific information how to do so.

The Installation


Make sure you are logged in with an user that has root privileges.

1. Install the system required packages
Code:
# apt-get install aptitude
Code:
# aptitude update && aptitude safe-upgrade
Code:
# aptitude install tar bzip2 wget lsb-release nano
2. Add the non-free repository to your sources.list


Open the sources.list with nano:
Code:
# nano /etc/apt/sources.list
Now add the following lines to the sources.list:
Code:
deb http://ftp.debian.org/debian/ squeeze main contrib non-freedeb http://security.debian.org/ squeeze/updates main contrib non-free
Now close the editor and update all packages with:
Code:
# aptitude update && aptitude safe-upgrade
3. Download & Extract the files
Code:
# mkdir -p /root/ispcp
Code:
# cd /root/ispcp
Code:
# wget http://freefr.dl.sourceforge.net/project/ispcp/ispCP%20Omega/ispCP%20Omega%201.0.7/ispcp-omega-1.0.7.tar.bz2
Code:
# tar -xvf ispcp-omega-1.0.7.tar.bz2
Code:
# cd ispcp-omega-1.0.7
4. Install the ispCP required packages
Code:
# aptitude install $(cat ./docs/Debian/debian-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.

5. Build the system
Code:
# make install
6. Copy all the directories into the system
Code:
# cp -R /tmp/ispcp/* /
7. Configure MySQL server
Code:
# mysql_secure_installation
NOTE: Do not use @ or $ or % in your Password!

1. Change the root password? [Y/n] confirm with n

3. Remove anonymous users? [Y/n] Enter

4. Disallow root login remotely? [Y/n] Enter

5. Remove test database and access to it? [Y/n] Enter

6. Reload privilege tables now? [Y/n] Enter

8. Setup the system


Change into the engine/setup directory:
Code:
# cd /var/www/ispcp/engine/setup
All questions should be self-explanatory.

Anyway if you don't know what to answer to a specific question don't hesitate to ask the community at the ispCP Forum:
Code:
# perl ./ispcp-setup
9. Clean the temp directory
Code:
# rm -fR /tmp/ispcp
10. 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.
 
Haut