IspCPOmega: IspCP is an alternative to VHCS2, an open-source virtual host management system. It adopts the Apache2 + PHP5 (fastcgi mode, supporting independent php for each virtual machine. ini) + MySQL5 (with built-in phpmyadmin) provides Web services (also supports traditional CGI), FTP uses Proftpd (also supports webftp), and the mail is postfix + courier + squi
Brief Introduction to IspCP Omega:
IspCP is an alternative to VHCS2, an open-source virtual host management system. It uses Apache2 + PHP5 (fastcgi mode) and supports php independent from each virtual machine. ini) + MySQL5 (built-in phpmyadmin) provides Web services (also supports traditional CGI), FTP uses Proftpd (also supports webftp), and the mail is postfix + courier + squirrermail, and IspCP Management Platform (PHP code, supporting three-level users, namely administrators, agents, and Vm users. Users can switch between them and add sub-domain names, FTP, MySQL, and Mail accounts ), in addition, each VM has an independent daily full backup mechanism (which can be downloaded using FTP ).
Refer to the website and official documents:
Http://isp-control.net/
Http://www.isp-control.net/documentation/start/installation/ubuntu
Test environment:
Ubuntu Server 8.04.2 hard drive
It is best to use a fully-installed system.
Preparations before installation:
Upgrade the system and run the following command as root:
Code:
Sudo-s
Apt-get update & apt-get dist-upgrade
Then, clear the system:
Code:
Apt-get remove ppp pppconfig pppoeconf ubuntu-standard
Update-inetd -- remove daytime
Update-inetd -- remove telnet
Update-inetd -- remove time
Update-inetd -- remove finger
Update-inetd -- remove talk
Update-inetd -- remove ntalk
Update-inetd -- remove ftp
Update-inetd -- remove discard
Apt-get autoremove
Dpkg-l | grep ^ rc | awk '{print $2}' | xargs dpkg-P
Aptitude purge ~ Ilinux-image -.*\(\! 'Uname-R '\)
Install software packages required by ispcp
Download and decompress ispcp:
Code:
Cd/root
Wget http://sourceforge.net/project/downloading.php? Group_id1_189485&filename=ispcp-omega-1.0.0.tar.bz2
Tar xjf ispcp-omega-1.0.0.tar.bz2
Cd./ispcp-omega-1.0.0
Before proceeding to the next step, confirm the ubuntu version:
Code:
Cat/etc/issue
Select a specific script based on the version,
8.04:
Code:
Apt-get install $ (cat./docs/Ubuntu/ubuntu-packages-hard)
8.10:
Code:
Apt-get install $ (cat./docs/Ubuntu/ubuntu-packages-interpid)
If the system has installed related software packages, we recommend that you use apt-get remove to replace the above Code, uninstall it, and clear the configuration file. Make sure to back up related configurations and data first.
For courier configuration, select "no ".
Select "Internet site" for postfix and enter "root ". The following domain is entered during system installation. It is best not to use the domain name to be used in the future (otherwise, the email cannot be received because the system takes over and cannot be used as a virtual domain ). Finally, select "no ".
Select Standalone for proftpd.
Rootkithunter selects two "Yes ".
These configurations are not necessarily plenary settings. Check whether they have been installed before.
Configure the installation script
You are advised to modify the ispcp. conf file in advance.
Code:
Nano./configs/ubuntu/ispcp. conf
Modify the following settings:
Code:
DEFAULT_ADMIN_ADDRESS = larryli@test.com # administrator mailbox
BASE_SERVER_IP = 0.0.0.0 # monitor all IP addresses
BASE_SERVER_VHOST = www.britepic.org # ispcp Domain Name
PHP_FASTCGI = fastcgi # Use fastcgi and the other cannot be used
AWSTATS_ACTIVE = yes # enable awstats statistics
BACKUP_HOUR = 5 # automatic backup time
BACKUP_MINUTE = 1
DATE_FORMAT = Y-m-d # Date Format
Install ispcp
Code:
Make-f Makefile. ubuntu install
After the script is executed, run the installation script again:
Code:
Cd/var/www/ispcp/engine/setup
We recommend that you open another console and run the following command to obtain the random number through the installation script:
Code:
Perl-le '$ _ = 1; (1 x $ _)!~ /^ (11 +) \ 1 + $/& print while $ _ + ';
If the script is stuck, log on to the console on the server and press a few keyboards. I have installed putty on the virtual console before, and I can't go through the following steps...
In addition, the root password of mysql is required during installation.
Code:
./Ispcp-setup
You have already set the options. Again, fastcgi must be used. To set the password, you only need to write down the ispcp administrator. With postfix and proftpd, you don't need to worry about making the script automatically generated.
After the installation is complete, you can manually clear the temporary files:
Code:
Rm-fR/tmp/ispcp
Restart the system:
Code:
Shutdown-r now
Then, access the set ispcp domain name. Like http://www.britepic.org
Log on and access the http://www.britepic.org/admin/multilanguage.php to upload the Chinese Language Pack (which is included in the Language Pack ispcp), and then set it to the default language in the http://www.britepic.org/admin/settings.php.
IP address settings for dual-line hosts
Ispcp can manage multiple ip addresses of the server, but the Domestic Dual-line host must be set on both ip addresses at the same time.
Code:
Nano/etc/ispcp. conf
Modification content:
Code:
BASE_SERVER_IP = 0.0.0.0
Then
Code:
Nano/etc/apache2/sites-enabled/00_master.conf
Modify
Code:
Restart apache
Code:
/Etc/init. d/apache2 restart