摘要: #一、环境准备 #二、实现proxy [root@localhost ~]# yum -y install haproxy #创建子配置 [root@localhost ~]# mkdir /etc/haproxy/conf.d #修改service文件 [root@localhost ~]# vi 阅读全文
posted @ 2022-01-24 22:29 火火7412 阅读(39) 评论(0) 推荐(0) 编辑
摘要: #一、实验环境 #一、准备后端服务器 # yum -y install nginx # echo "10.0.0.7" > /usr/share/nginx/html/index.html #web1 # echo "10.0.0.17" > /usr/share/nginx/html/index. 阅读全文
posted @ 2022-01-24 22:29 火火7412 阅读(52) 评论(0) 推荐(0) 编辑