问题:
开启httpd失败,如图:
(推荐教程:centos教程)
解决方法:
1、进入配置文件目录
[root@csit httpd]# cd /etc/httpd/conf.d/
2、查找配置选项
[root@csit conf.d]$ grep NSSEngine * #可以看到在 nss.conf 这个文件中 nss.conf:NSSEngine on
3、注释NSSEngine
[root@csit conf.d]$ vi nss.conf # SSL Engine Switch: # Enable/Disable SSL for this virtual host. NSSEngine on
4、重启httpd
[root@csit httpd]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
相关视频教程推荐:linux视频教程