绑定域名
在/etc/httpd/conf/httpd.conf配置文件中,提供了范例:
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
所以绑定域名可以跟着提供的范例来配置即可。
说明:
MySQL默认安装的后,root密码为空.