大型电商详情页系统

5. 搭建 CentOS 集群 - 在4个虚拟机中安装 Cent

2018-02-16  本文已影响0人  殷建卫

按照上述步骤,再安装三台一模一样环境的 CentOS 机器

另外三台机器的 hostname 分别设置为 eshop-cache02,eshop-cache03,eshop-cache04

安装好之后,在每台机器的 hosts 文件里面,配置好所有的机器的 ip 地址到hostname 的映射关系

比如说,在 eshop-cache01 的 hosts 里面添加内容

192.168.1.113 eshop-cache01
192.168.1.114 eshop-cache02
192.168.1.115 eshop-cache03
192.168.1.116 eshop-cache04
上一篇 下一篇

猜你喜欢

热点阅读