#ERROR: httpd:Could not reliably determine the server’s fully qualified domain name
解决方案:
1.用记事本打开 httpd.conf将里面的 #ServerName localhost:80 注释去掉即可。
2.再执行 httpd
3.通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。
echo 'ServerName localhost:80' >> /etc/httpd/conf/httpd.conf
#安装编译服务失败
分析:可能centos 虚拟机中的gcc没有安装
解决方案:采用 yum install gcc
#我们发现一个用户 ,登录不了,或者su也切换不了,说该用户不可登录,我们要修改什么文件,将什么修改什么
查看passwd文件,看有没有用户的所在行,找个/bin/false
#linux 内 yum无法正常使用
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法1:
这就表明你需要更新CA证书了,那么只需要更新CA证书就可以