摘要: Nginx/1.5.7 升级到 nginx/1.10.2 当需要将正在运行的Nginx升级、添加或删除服务模块时,可以在不中断服务的情况下,更新升级,重新编译Nginx替换旧版本。 编译 nginx/1.10.2,具体的编译选项根据业务需要来,这里只是做版本升级。 编译完后,旧版的二进制文件已经被替 阅读全文
posted @ 2017-06-27 17:40 wshenJin 阅读(1950) 评论(0) 推荐(0) 编辑
摘要: master 端 配置CA和证书 [root@baseos-1_192.168.31.140 ~]# cd /etc/pki/CA/ #生成根证书的私钥 [root@baseos-1_192.168.31.140 CA]# (umask 077; openssl genrsa 2048 > priv 阅读全文
posted @ 2017-06-27 16:54 wshenJin 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 环境部署 源机:192.168.31.140 目标机:192.168.31.130 源机配置 基于rsync的lsyncd 自动同步,rsync的配置省略 安装lsyncd rpm ivh lsyncd 2.1.5 1.x86_64.rpm 配置文件:/usr/local/lsyncd/etc/ls 阅读全文
posted @ 2017-06-27 14:25 wshenJin 阅读(3102) 评论(0) 推荐(0) 编辑