摘要:
在nginx 目录下打开 nginx.conf 在http { 下修改 增加: upstream redislock{ server 192.168.0.106:8001 weight=1; // 自己部署到服务地址和端口 server 192.168.0.106:8002 weight=1; // 阅读全文
posted @ 2020-04-19 18:57
小污龟
阅读(153)
评论(0)
推荐(0)
摘要:
使用Redisson 分布式锁 application.yml ##端口号 server.port=8001 # Redis数据库索引(默认为0) spring.redis.database=0 # Redis服务器地址 spring.redis.host=localhost # Redis服务器连 阅读全文
posted @ 2020-04-19 18:48
小污龟
阅读(380)
评论(0)
推荐(0)
摘要:
1、打开终端 2、安装Command Line tools xcode-select --install 3、安装brew命令 1 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/inst 阅读全文
posted @ 2020-04-19 11:57
小污龟
阅读(745)
评论(0)
推荐(0)

浙公网安备 33010602011771号