Home > Operation and Maintenance > Apache > How to deploy apache server

How to deploy apache server

angryTom
Release: 2019-11-02 13:52:18
Original
4386 people have browsed it

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
Copy after login

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
Copy after login

3. Enter the IP address in the browser

How to deploy apache server

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template