DR+Keepalived网站服务器双机热备配置(2)

以下是WEB服务器:
192.168.80.101服务器:
[root@lss01 ~]# yum install -y httpd
[root@lss01 ~]# vi /etc/httpd/conf/httpd.confServerName
[root@lss01 ~]# vi /var/www/html/index.html
<h1>Server aa </h1>

192.168.80.102服务器:
[root@lss02 ~]# yum install -y httpd
[root@lss02 ~]# vi /etc/httpd/conf/httpd.conf
ServerName
[root@lss02 ~]# vi /var/www/html/index.html
<h1>Server bb </h1>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/2a6b12ef6da853bbf39f0d5b357c4e28.html