Atitit. Software GUI button with dashboard--web Server area-get Apache profile path Linux and Apache start, stop, restart

Source: Internet
Author: User

Atitit. Software GUI button with dashboard--web Server area-Get Apache profile path Linux and Apache start, stop, restart

You can use "NETSTAT-ANP" to see which ports are open. Locate the Apache you need ... Russia wants 80 port-mapped Apache.

Ps-aux View process command-line arguments ... Three, the word has a httpd, did not see the parameter .... Query Myusql, is able to see the parameters ....

View Linux version, Cenos .... Query httpd.conf file Location ...

/etc/httpd/conf

Author:: Old Wow's paw attilax Ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

This article assumes that your apahce installation directory is /usr/local/apache2and that 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, you should run:

/usr/local/sbin/apachectl Graceful

If Apache is installed as a linux service, you can do this with the following command:

Service httpd start

Service httpd Restart restart

Start, stop, restart command for Apache service under Linux system. htm

Atitit. Software GUI button with dashboard--web Server area-get Apache profile path Linux and Apache start, stop, restart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.