Note----HTTPD installation start-up process

Source: Internet
Author: User

1. Yum Install httpd httpd-manual installation Service

2, rpm-ql httpd view httpd have installed those files

3, enter, etc/httpd/conf/httpd.conf edit

Listen 80 Default Port

Directory "/var/www/html" site default path

Service httpd start to activate HTTPD services

Ss-ntl to see if the port httpd port is started

Create a new page in the/var/www/html/directory

If you want to modify the default port or path, please reread or restart it.

Service httpd Reload Reread

Service httpd Restart Restart

Browser input IP address for testing


If you reread or do not display the page under the new path after modifying the default path, it may be the cause of the firewall,

Getenforce View firewall status

If it's enforcing mode

Running Setenforce 0 shutting down the firewall

Directory "/var/www/

Note----HTTPD installation start-up process

Related Article

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: 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.