In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Check to see if Apache is added to the boot list
Systemctl list-unit-files | grep httpd
Httpd.service disabled
Add Apache to boot self-boot
Systemctl enable httpd
Created symlink from / etc/systemd/system/multi-user.target.wants/httpd.service to / usr/lib/systemd/system/httpd.service.
Reconfirm
Systemctl list-unit-files | grep httpd
Httpd.service enabled
Start Apache
Systemctl start httpd
Netstat-lnt | grep 80
Tcp 0 0 10.211.5 5.15 80 0.0.0 0 LISTEN
View Apache status
Systemctl status httpd
● httpd.service-The Apache HTTP Server
Loaded: loaded (/ usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-12-16 15:16:35 CST; 7min ago
Docs: man:httpd (8)
Man:apachectl (8)
Main PID: 2040 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
Tasks: 6
CGroup: / system.slice/httpd.service
├─ 2040 / usr/sbin/httpd-DFOREGROUND
├─ 2041 / usr/sbin/httpd-DFOREGROUND
├─ 2042 / usr/sbin/httpd-DFOREGROUND
├─ 2043 / usr/sbin/httpd-DFOREGROUND
├─ 2044 / usr/sbin/httpd-DFOREGROUND
└─ 2045 / usr/sbin/httpd-DFOREGROUND
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.