Home > Article > Operation and Maintenance > How to deploy apache server
How to deploy apache server
The deployment of apache is very simple. Let’s take the centos system as an example to explain how to deploy it. apache server.
1. Installation of Apache server
yum install httpd -y # 启动 systemctl start httpd # 关闭防火墙 systemctl stop firewalld
2. Apache default site directory is /var/www/html
You can use the vim editor to modify the homepage file
vim /var/www/html/index.html
3. Enter the IP address in the browser
The above is just a simple deployment of the apache server. For more settings, it is recommended to study "Apache and MySQL Installation and Use Tutorial"
For more PHP related knowledge, please visit PHP中文网!
The above is the detailed content of How to deploy apache server. For more information, please follow other related articles on the PHP Chinese website!