1、安装httpd服务
执行指令:yum -y install httpd
2、启动apache服务器 systemctl start httpd
关闭apache服务器 systemctl stop httpd
3、设置开机自动启动 systemctl enable httpd
4、检查httpd服务状态 systemctl status httpd.service
1、安装httpd服务
执行指令:yum -y install httpd
2、启动apache服务器 systemctl start httpd
关闭apache服务器 systemctl stop httpd
3、设置开机自动启动 systemctl enable httpd
4、检查httpd服务状态 systemctl status httpd.service