-
2020 技术培训 - VUE
2020-02-07 15:03 -
MES 服务负载均衡搭建
2019-11-13 14:514. 启动 keepalived
主备服务器上分别执行如下命令启动 keepalived 服务
将 keepalived 注册为系统服务,启动日志:/var/log/message
这儿复制三个文件到指定的系统启动文件夹即可,
\cp -a /opt/tools/keepalived-1.3.9/keepalived/etc/init.d/keepalived /etc/init.d/
\cp -a /opt/tools/keepalived-1.3.9/keepalived/etc/sysconfig/keepalived /etc/sysconfig/
\cp -a /opt/keepalived/etc/keepalived/keepalived.conf /etc/keepalived/
接下来就可以直接输入命令
/ 启动 keepalived
systemctl start keepalived.service/ 停止 keepalived
systemctl stop keepalived.service软件下载
Nginx 下载:
nginx-1.14.0.tar.gz
http://nginx.org/en/download.html生产环境下建议选择 Stable version 版本,另外 Nginx 区分 linux 版本及 windows 版本。
Keepalived 下载:
keepalived-1.3.9.tar.gz
http://www.keepalived.org/download.htmlTengine 下载:
tengine-2.2.3.tar.gz
赵冠发
新手
- 7 标签
- 3 帖子
- 2 回帖
视频中的相关文本文件能否也上传一下?方便学习