上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页
摘要: 可以直接使用低版本automake运行一下命令 echo "预处理automake问题" cd ${keepaliveFolder} aclocal autoconf automake --add-missing echo "预处理automake问题 完成" 阅读全文
posted @ 2022-05-09 17:05 官萧何 阅读(862) 评论(0) 推荐(0)
摘要: 1.nginx的下载编译安装这里略过(各种依赖问题自己解决) 2.下载Nginx一致性hash模块 地址:https://github.com/replay/ngx_http_consistent_hash 下载完成后上传到linux服务器 3.重新编译nginx(.configure),例如: . 阅读全文
posted @ 2022-05-06 09:59 官萧何 阅读(2752) 评论(0) 推荐(0)
摘要: 配置示例 upstream tomcatserver{ server ip:8780 max_fails=2 fail_timeout=30s; server ip:8068 max_fails=2 fail_timeout=30s backup; } location /usercenter { 阅读全文
posted @ 2022-04-29 10:02 官萧何 阅读(492) 评论(0) 推荐(0)
摘要: 在上一篇文章redis主从实现的情况下实现哨兵 故障 master自动切换 redis服务器配置: master 192.168.51.65 slave 192.168.51.67 1、master创建sentinel.conf配置文件 port 26379protected-mode nodaem 阅读全文
posted @ 2022-04-28 17:57 官萧何 阅读(158) 评论(0) 推荐(0)
摘要: 1、前提 两台服务器 已经安装好redis 2.修改作为master的配置文件 其他的不用动 protected-mode no 3.修改作为slave配置文件 # 主从 设置为no protected-mode no #端口要和master不一样 port 6380 # 指定master ip s 阅读全文
posted @ 2022-04-28 15:15 官萧何 阅读(489) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页