The stop, start, and restart operation of the Apache service in the Linux CentOS 6.5 operating environment

Source: Internet
Author: User

Basic method of Operation:
This article assumes that your APAHCE installation directory is/usr/local/apache2 and 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

Service httpd Stop Services

The stop, start, and restart operation of the Apache service in the Linux CentOS 6.5 operating environment

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.