Linux上編譯安裝Apache出現httpd: Could not reliably determine the server's fully qualified domain name
啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl starthttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
1)進入apache的安裝目錄:(視個人安裝情況而不同) [root@server ~]# cd /usr/local/apache/conf
2)編輯httpd.conf檔案,搜尋"#ServerName",新增ServerName localhost:80
[root@server conf]# ls
extra httpd.conf magic mime.types original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
3)再重新啟動apache 即可。
[root@server ~]# /usr/local/apache/bin/apachectl restart
相關文章
- 啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain nameApachehttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhohttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhhttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::1httpdServerAI
- Starting httpd: httpd: Could not reliably determine the serverhttpdServer
- httpd編譯安裝phphttpd編譯PHP
- apache httpd安裝 配置Apachehttpd
- apache編譯安裝Apache編譯
- httpd-2.4 編譯安裝(centos6)httpd編譯CentOS
- 菜鳥學Linux第058篇筆記httpd編譯安裝Linux筆記httpd編譯
- CentOS 下編譯安裝 apacheCentOS編譯Apache
- CentOS 6.4 編譯安裝 apacheCentOS編譯Apache
- httpd 一鍵編譯安裝指令碼(centos6&7_httpd2.2&2.4)httpd編譯指令碼CentOS
- ERROR: MaxTemperature is not COMMAND nor fully qualified CLASSNAMEError
- oracle 安裝的時候出現PRVF-0002 : could not retrieve local node nameOracle
- Apache Httpd Server 2.2 Auth Password FormatsApachehttpdServerORM
- 如何進行Apache的編譯安裝Apache編譯
- Centos7編譯安裝Apache教程。CentOS編譯Apache
- [LAMP]Apache-2.2.31編譯安裝LAMPApache編譯
- arch linux上安裝 httpd+php+mysql+ openssl(轉)LinuxhttpdPHPMySql
- Linux上安裝GCC編譯器過程(轉)LinuxGC編譯
- centos手動編譯安裝apache、php、mysqlCentOS編譯ApachePHPMySql
- orthanc 編譯安裝mysql S3編譯MySqlS3
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- ffmpeg安裝之linux編譯安裝Linux編譯
- Linux編譯安裝NginxLinux編譯Nginx
- 原始碼編譯安裝 httpd2.4+MariaDB5.5+php5.4(LAMP)原始碼編譯httpdPHPLAMP
- apache的httpd.conf翻譯Apachehttpd
- CentOS 下編譯安裝 PHP7.2(apache 版)CentOS編譯PHPApache
- CDH impala for Apache HADOOP 安裝編譯步驟.ApacheHadoop編譯
- Centos7下原始碼編譯安裝apacheCentOS原始碼編譯Apache
- Ubuntu 20.04系統編譯安裝Apache教程。Ubuntu編譯Apache
- Ubuntu 18.04系統編譯安裝Apache教程。Ubuntu編譯Apache
- 在Linux 上安裝 SQL ServerLinuxSQLServer
- Linux 編譯 安裝 PHP 7.3.1Linux編譯PHP
- Linux gcc編譯器安裝LinuxGC編譯
- Linux下編譯安裝BOOSTLinux編譯
- Linux 編譯安裝 PythonLinux編譯Python