Tuhinga Tuhinga
Tīmata/kati/whakahou/tirohia te mana o te ratonga CWP, ka taea ma te whakamahi i nga whakahau e whai ake nei:
service cwpsrv start service cwpsrv stop service cwpsrv restart service cwpsrv status
Paewhiri Mana CWPI rahua te ratonga ki te timata
tinoTauhokohoko Ipurangiwhakamahi kaimahipaetukutuku WordPress, Hokona te VPS ki te whakauru i te paewhiri mana CWP, ka uru ki te whakahau kia timata te CWP:
service cwpsrv start
cwpsrv.ratonga faiarahi.
I pa ki tenei raru:
cwpsrv.service - CentOS Web Panel service (daemon) Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2017-07-28 20:25:39 EDT; 3s ago Process: 2289 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE) Jul 28 20:25:39 server systemd[1]: cwpsrv.service: control process exited, code=exited status=1 Jul 28 20:25:39 server systemd[1]: Failed to start CentOS Web Panel service (daemon). Jul 28 20:25:39 server systemd[1]: Unit cwpsrv.service entered failed state. Jul 28 20:25:39 server systemd[1]: cwpsrv.service failed. -- Unit cwpsrv.service has begun starting up. Jul 28 20:26:10 server cwpsrv[2322]: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/private/hostname.key") Jul 28 20:26:10 server cwpsrv[2322]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed Jul 28 20:26:10 server systemd[1]: cwpsrv.service: control process exited, code=exited status=1 Jul 28 20:26:10 server systemd[1]: Failed to start CentOS Web Panel service (daemon).
Ko te whakarereke i te ingoa kaihautu me whakatau te take me te tiwhikete o te ingoa kaihautu me te "cwpsrv.service i rahua.".
Tiakina ano to ingoa kaihautu mai i te paewhiri mana CWP ka puta he tiwhikete hou me te taviri.
Mena ka rahua, ka taea e koe te whakauru i te rarangi whakahau e whai ake nei i SSH:
sh /scripts/generate_hostname_ssl
Ka whakamahia e etahi tangata nga hononga tohu karekau he painga, na me tapiri noa te ara katoa:
sh /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl
Ko te whakaoti CWP kaore e taea te tiimata i nga ratonga nginx me te apache
Mena ka taea e koe te uru atu ki te paewhiri mana CWP, engariE-tauhokohokoKaore e taea te uru atu ki te paetukutuku, kaore e taea te timata nga ratonga nginx me te apache. Me aha ahau?
Ko te otinga ko te whakauru ano i nga Tūmau Tukutuku:
Hipanga 1: I te taha maui o te Paewhiri Mana CWP, pawhiria Tautuhinga Tukutuku → Tohua Tukutukutuku ▼
taahiraa 2:Kōwhiri Nginx & Varnish & Apache ▼
taahiraa 3:Patohia te paatene "Tiaki me te hanga ano i te Whirihoranga" kei raro hei tiaki me te hanga ano i te whirihoranga.
Whai muri, tirohia te mana o te ratonga Papatohu kei te wharangi kaainga CWP▼
- Me mohio kei te noho Active katoa.
Mena kaore i te whakahohehia te ratonga Apache i muri i te hanga ano i a Apache, kaore e taea te timata te ratonga Apache ahakoa ka timata ano...
tena koa whakamatauApache service yum whakahau ki te muku me te tāuta anō ▼
yum remove cwp-httpd yum install cwp-httpd
He tino ngawari ki te whakaoti i te raru kaore i timata te ratonga paewhiri mana CWP?
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) tiritahi "Kei raro te paewhiri mana CWP, kaore e taea te uru atu? Tīmata/kati/whakahou/tirohia nga ratonga CWP", he pai ki a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-1437.html
Nau mai ki te hongere Telegram o te blog a Chen Weiliang ki te tiki i nga korero hou!
📚 He uara nui tenei aratohu, 🌟He waahi onge tenei, kaua e ngaro! ⏰⌛💨
Tohaina me te pai ki te pai koe!
Ko to tiritiri me o hiahia ko to maatau hihiri tonu!