fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@@ -0,0 +1,19 @@
---
title: Install and Configure Apache Server in Linux
localeTitle: 在Linux中安装和配置Apache服务器
---
Apache HTTP Server俗称Apache是免费的开源软件 跨平台的Web服务器软件。 Apache由一个开发和维护 在Apache Software Foundation的支持下开放的开发人员社区。
## 在Linux中安装和配置Apache服务器
第1步安装Apache服务器 `yum install httpd`
步骤2配置http Web服务器 `cd /etc/httpd/conf.d`
第3步创建扩展名为.conf的自定义配置文件。 `vim *.conf`
第4步启动Apache服务器 `systemctl start httpd.service`
步骤5在操作系统启动时自动启动Apache服务器。 `systemctl enable httpd.service`
第6步添加防火墙权限。 `firewall-cmd --add-service=http --permanent`