Install vhcs2.4.6 -- Debian for Linux release under Debian. For more information, see below. Vhcs (virtual hosting control system) is a virtual host control platform developed by a German company. Features of vhcs:
1. Support for Linux and Freebsd (Freebsd is supported in the latest version 2.4.6 and is not yet complete ).
2. Follow gnu gpl, open-source and free, and get Community technical support in their forums.
3. Stable and easy to use, supporting multiple languages (I provide the development team with simplified Chinese language packs ).
Vhcs supports multiple linux releases, but Debian is its best partner. Its development and testing platform is based on Debian Sarge. The following describes the installation steps under Debian Sarge.
Before you start, make sure that you are using Debian Sarge, the network is normal, and you have a static IP address.
1. Update Debian Sarge.
Apt-get update; apt-get upgrade
Use mysql
Update user set password = password ("new_pass") where user = "root ";
Flush privileges;
5. Install vhcs 2.4.6.2
Cd/var/www/vhcs2/engine/setup
/Vhcs2-setup
Then, I will ask some questions. Most of the questions can be answered directly by pressing enter, and others can be answered as prompted on the screen. The following content is returned:
Wlecome to VHCS2 '2. 4 Spartacus' Setup Dialog.
This program will set up VHCS2 system on your server.
Please press 'enter' to continue.
Please enter system hostname (Enter for defaults) [Zone853]:
Please enter system network address (Enter for defaults) [192.168.0.128]:
Please enter SQL server host (Enter for defaults) [localhost]:
Please enter system SQL database (Enter for defaults) [vhcs2]:
Please enter system SQL user (Enter for defaults) [root]:
Please enter system SQL password (Enter for defaults) [none]:
Please enter VHCS ftp SQL user (Enter for defaults) [vftp]:
Please enter VHCS ftp SQL user password (Enter for defaults) [none]:
Please enter administrator login name (Enter for defaults) [admin]:
Please enter administrator password:
Please repeat administrator password:
Please enter admininistrator email address: admin@admin.com
Congratulations!
VHCS2 '2. 4 Spartacus' Setup completed successfully!
Please type http: // 192.168.0.128/vhcs2/in your
Browser!
6. modify the configuration of mysql and apache to suit the needs of virtual hosts.
/Etc/mysql/my. cnf
Search for skip-external-locking and add a row below:
Max_connections = 2000
/Etc/apache2/apache2.conf
Search for MaxKeepAliveRequests and change it
MaxKeepAliveRequests 1000, which is added below:
ServerLimit 5000
You can see below:
Modify as follows (the size of maxclients depends on the performance of your server, mainly depends on the ram size. Generally, 300 MB can be changed,
Change 1g to 700, and 2g to 1200 ):
Modify/etc/apache2/httpd. conf. Add it to the backend (Zone86 is the name of the server you just wrote. You can change it to any name you like. If this parameter is not set, a warning will be given when apache is started)
ServerName Zone86
Now, all the work is done. Open the browser, enter http: // server IP Address/vhcs2/, and enter the Administrator account and password to log on to the management system.
There are also some other settings to be modified. Please try again when I have time.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.