Home >Operation and Maintenance >CentOS >How to build a website on centos?

How to build a website on centos?

coldplay.xixi
coldplay.xixiOriginal
2020-06-19 11:54:144013browse

How to build a website on centos?

#How to build a website in centos?

How to build a website on centos:

1. Confirm the network

First confirm the network status of the current system and the IP address

How to build a website on centos?

#2. Then install the httpd software online, as shown by the arrow.

How to build a website on centos?

#3. After installation, start the apache service. Check whether port 80 is started

How to build a website on centos?

4. Then close the firewall and detect the httpd service

How to build a website on centos?

5. After checking that port 80 is normal, go to the httpd default directory. /var/www

How to build a website on centos?

6. For example, create a test web page file, index.html

How to build a website on centos?

7. Finally, use the intranet IP or server IP address to test and verify.

How to build a website on centos?

Recommended tutorial: "centos tutorial"

The above is the detailed content of How to build a website on centos?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn