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/02 Report--
This article is about how linux starts apache. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
How does linux start apache?
The basic method of operation:
This article assumes that your apahce installation directory is / usr/local/apache2, and these methods are suitable for any situation
Apahce start command:
Recommended / usr/local/apache2/bin/apachectl start apaceh startup
Apache stop command
/ usr/local/apache2/bin/apachectl stop stop
Apache restart command:
/ usr/local/apache2/bin/apachectl restart restart
To restart the Apache server without interrupting the current connection, run:
/ usr/local/sbin/apachectl graceful
If apache is installed as a service of linux, you can use the following command:
Service httpd start start
Service httpd restart restart
Service httpd stop out of service
Linux system is Ubuntu
1. Start Apache 2 Server / start apache service
# / etc/init.d/apache2 startor$ sudo / etc/init.d/apache2 start
2. Restart Apache 2 Server / restart apache service
# / etc/init.d/apache2 restartor$ sudo / etc/init.d/apache2 restart
3. Stop Apache 2 Server / stop the apache service
# / etc/init.d/apache2 stopor$ sudo / etc/init.d/apache2 stop Thank you for reading! On how to start linux apache to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.