我正试图在我的Ubuntu18.04上安装本地主机web服务器。
如何在Ubuntu18.04上安装Linux、Apache、MySQL、(LAMP)堆栈
但是通过测试apach2,我得到了这个错误:
r$ sudo apache2ctl configtest
[Thu May 06 18:03:12.897955 2021] [core:error] [pid 22264] (EAI 2)Name or service not known: AH00549: Failed to resolve server name for 192.168.1.12 (check DNS) -- or sp
我已经在linux上安装了java和tomcat appache服务器。当我打算在linux服务器上使用./startup.sh命令启动tomcat时,它给出的输出为
Using CATALINA_BASE: /usr/src/apache-tomcat-5.5.28
Using CATALINA_HOME: /usr/src/apache-tomcat-5.5.28
Using CATALINA_TMPDIR: /usr/src/apache-tomcat-5.5.28/temp
Using JRE_HOME: /usr/src/jdk1.6.0_16
Using CL
这是我第一次尝试以普通用户(非root用户)的身份在我的计算机上本地安装Apache HTTP服务器。
我已经下载了Apache HTTP服务器http://httpd.apache.org/download.cgi.的Apache2.4.1版本然而,当我尝试在我的机器中本地构建和安装时,我得到了以下错误:
httpd/httpd-2.4.1 1059> ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles l