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

 

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) kesara "Otu esi ewepu ma tinyegharịa mgbe Apache2 na-akọ njehie? Iwu Apache service yum ka ihichapụ na tinyegharịa" na-enyere gị aka.

Nnọọ ka ị kesaa njikọ nke akụkọ a:https://www.chenweiliang.com/cwl-27525.html

Nabata na ọwa Telegram nke blọgụ Chen Weiliang ka ị nweta mmelite kachasị ọhụrụ!

🔔 Bụrụ onye mbụ nweta "ChatGPT Content Marketing AI Tool Guideing" bara uru na akwụkwọ ndekọ aha kacha elu! 🌟
📚 Ntuziaka a nwere nnukwu uru, 🌟Nke a bụ ohere dị ụkọ, echefula ya! ⏰⌛💨
Kekọrịta na-amasị ma ọ bụrụ na-amasị gị!
Ịkekọrịta na mmasị gị bụ mkpali anyị na-aga n'ihu!

 

评论

Adreesị email gị agaghị ebipụta. Achọrọ ubi na-eji * Label

pịgharịa gaa n'elu