1.部署步骤
1.在一台已经配置好本地yum源的主机中安装httpd
如图:
2.配置网络yum源:
<1>开启httpd服务
<2>关闭防火墙
systemctl start httpd #启动apache的服务httpd
systemctl enable httpd #设置开机启动
systemctl stop frewalld #关闭火墙
systemctl disable firewalld
systemct mask firewalld
如图:
<3>
1.在一台已经配置好本地yum源的主机中安装httpd
如图:
2.配置网络yum源:
<1>开启httpd服务
<2>关闭防火墙
systemctl start httpd #启动apache的服务httpd
systemctl enable httpd #设置开机启动
systemctl stop frewalld #关闭火墙
systemctl disable firewalld
systemct mask firewalld
如图:
<3>