Isalathiso senqaku
NgabaIntengiso ye-Intanethiabasebenzi kwiLinuxKwiseva, fakaIphaneli yolawulo ye-CWP7 i-Apache 2.4.25, kodwa inkonzo ye-Apache ayiqalisi, le mpazamo ilandelayo ibonakala▼
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.
Indlela yokukhupha kunye nokufaka kwakhona xa i-Apache2 ibika impazamo?
Ke, ngaphakathiCentOS 7 Khipha kwaye ucime isevisi ye-Apache.
Faka le CWP ilandelayo uninstall susa umyalelo wenkonzo yeApache ▼
yum remove cwp-httpd
Inkonzo ye-Apache yum umyalelo wokucima nokufaka kwakhona
Isiqendu 1:yum umyalelo wokufaka inkonzo ye-Apache
Emva kokukhupha i-CWP kunye nokucima inkonzo ye-Apache, sebenzisa umyalelo we-yum ukufaka kwakhona inkonzo ye-Apache▼
yum install cwp-httpd
Isiqendu 2:Ukuvula i-Apache, kufuneka uqalise inkonzo ye-Apache.
Ngenisa lo myalelo ulandelayo kwi-SSH▼
systemctl start httpd
Isiqendu 3:Okulandelayo, seta inkonzo ye-Apache ukuqalisa ekuqaleni kwenkqubo:
systemctl enable httpd
Isiqendu 4:Jonga ubume benkonzo yeApache
Bonisa ulwazi malunga neApache kwaye ujonge ubume benkonzo yeApache esebenzayo ngoku:
systemctl status httpd
Ndiyathemba Chen Weiliang Blog ( https://www.chenweiliang.com/ ) kwabelwane "Indlela yokukhupha kunye nokufaka kwakhona xa i-Apache2 ibika impazamo? Inkonzo ye-Apache yum umyalelo wokucima nokufaka kwakhona" iluncedo kuwe.
Wamkelekile ukwabelana ngekhonkco leli nqaku:https://www.chenweiliang.com/cwl-27525.html
Wamkelekile kwisitishi seTelegram sebhlog kaChen Weiliang ukufumana uhlaziyo lwamva nje!
📚 Esi sikhokelo sinexabiso elikhulu, 🌟Eli lithuba elinqabileyo, ungaliphoswa! ⏰⌛💨
Yabelana kwaye uthanda ukuba uyathanda!
Ukwabelana kwakho kunye nezinto ozithandayo ziyinkuthazo yethu eqhubekayo!