Otu esi ewepu ma tinyegharịa mgbe Apache2 na-akọ njehie? Ọrụ Apache yum iwu ka ihichapụ na tinyegharịa

NweeỊre ahịa ịntanetịndị ọrụ inLinuxNa ihe nkesa, wụnyeOgwe njikwa CWP7 Apache 2.4.25, mana ọrụ Apache anaghị ebido, njehie a na-apụta▼

httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2022-04-13 05:21:29 EST; 4min 53s ago
  Process: 12087 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Apr 13 05:21:29 www.etufo.org systemd[1]: Starting Web server Apache...
Apr 13 05:21:29 www.etufo.org apachectl[12087]: AH00526: Syntax error on line 12 of /usr/local/apache/conf/sharedip.conf:
Apr 13 05:21:29 www.etufo.org apachectl[12087]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 13 05:21:29 www.etufo.org systemd[1]: Failed to start Web server Apache.
Apr 13 05:21:29 www.etufo.org systemd[1]: Unit httpd.service entered failed state.
Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service failed.

Otu esi ewepu ma tinyegharịa mgbe Apache2 na-akọ njehie?

Otu esi ewepu ma tinyegharịa mgbe Apache2 na-akọ njehie? Ọrụ Apache yum iwu ka ihichapụ na tinyegharịa

Yabụ, naCentOS 7 Wepu ma hichapụ ọrụ Apache.

Tinye CWP na-esote iwepụ wepụ iwu ọrụ Apache ▼

yum remove cwp-httpd

Ọrụ Apache yum iwu ka ihichapụ na tinyegharịa

nke 1:yum iwu ka ịwụnye ọrụ Apache

Mgbe iwepu CWP na ihichapụ ọrụ Apache, jiri yum iwu tinyegharịa ọrụ Apache▼

yum install cwp-httpd

nke 2:Iji mee ka Apache rụọ ọrụ, ịkwesịrị ịmalite ọrụ Apache.

Tinye iwu a na SSH▼

systemctl start httpd

nke 3:Ọzọ, tọọ ọrụ Apache ka ọ malite na mmalite sistemụ:

systemctl enable httpd

nke 4:Lelee ọkwa ọrụ Apache

Gosipụta ozi gbasara Apache wee lelee ọkwa nke ọrụ Apache na-arụ ugbu a:

systemctl status httpd

 

评论

Agaghị ebipụta adreesị ozi-e gị. Achọrọ ubi na-eji * Label

Pịgharịa gaa na n'elu