First, we can re-build the server, you can also use my previous build method to compile the installation, address:
http://wangzan18.blog.51cto.com/8021085/1605480 , this time we use the Yum method to install httpd and MySQL, my build environment is still our CentOS6.6 x86-64 bit mini edition, which can have many dependent packages are not installed, build depending on the situation If I build the httpd using the source code compiled above, remember to open the CGI module;
1. Now we install HTTPD, MySQL
# yum Install httpd mysql-server mysql-devel
Mysql-server relies on Perl-dbd-mysql, PERL-DBI, if the source code compiled installation remember to install;
# chkconfig httpd on//set on auto start
# chkconfig Mysqld on//set on auto start
This article is from the "Stones" blog, make sure to keep this source http://wangzan18.blog.51cto.com/8021085/1608071
Linux+postfix+extmail+dovecot Build mail server