源码安装apache

安装完成后,启动apache时报错

 

[Sat Aug 21 01:08:20.880894 2021] [:crit] [pid 12273] (38)Function not implemented: AH00141: Could not initialize random number generator

yum -y update     #使用update升级后,重启服务器生效

 

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.0.7. Set the 'ServerName' directive globally to suppress this message

vim /usr/local/apache/conf/httpd.conf   #修改配置文件的ServerNmae 

 

posted @ 2021-08-20 16:32  超凡脫俗  阅读(582)  评论(0)    收藏  举报