fun0623

1、查看是否安装Apache,命令:  rpm    -qa    httpd   

2、yum install httpd ,yum安装Apache

3、chkconfig    httpd  on

  service httpd start  启动软件

 

遇到的问题

1、启动Apache报错,httpd: Could not reliably determine the server\'s fully qualified domain name, using ::1 for ServerName

编辑httpd.conf文件,搜索"#ServerName",在下方添加ServerName localhost:80

分类:

技术点:

相关文章: