Apache 的简单使用

1. 安装

yum install httpd -y  

2. 修改配置文件

vim /etc/httpd/conf/httpd.conf

3. 启动 Apache

systemctl start httpd

4. 查看 httpd 进程

ps -ef | grep httpd

5. 浏览器访问测试

出现如下界面表示 httpd 服务启动成功

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/bugu_hhh/article/details/131108396