LAMP环境Apache: 只用更改/etc/httpd/extra下的httpd-vhosts.conf 重启Apache:/usr/local/apache/bin/apachectl restart 重启mysql:/etc/init.d/mysqld start