In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1 Overview
System centos8, using httpd to build a local web server.
2 install httpdsudo yum install-y httpd3 startup service service httpd start4 setup boot
First check to see if boot is set up:
Systemctl list-unit-files | grep httpd
If not, set:
Chkconfig httpd on
Reconfirm:
Systemctl list-unit-files | grep httpd
5 access
Then enter the intranet ip address in the browser (the intranet ip can be viewed through ifconfig). If the following page appears, it is successful.
6 modify the default home page
The default site root is located under / var/www/html and can be modified by modifying / etc/httpd/conf/httpd.conf. Here is just to modify the home page. Create an index.html in / var/www/html:
Cd / var/www/htmlsudo vim index.html
Just enter a little bit and refresh it in the browser.
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: 302
*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.