3
Redis启动多进程
source link: https://blog.51cto.com/u_15414237/5682355
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Redis启动多进程
精选 原创现部署一个新项目,需要用到redis,原先有一台服务器上已部署redis,我要做的是在部署redis的服务器上新增一个进程。
查看当前进程
ps -ef|grep redis
原先已启用redis进程。
进入配置文件目录。
复制一份新的配置文件修改部分配置。
修改端口号 port
修改 pidfile
修改 logfile
修改 dbfilename
新的端口如果要配置后台启动需要额外修改参数daemonize,把后面的no改为yes就不用在启动时带上&。
修改好后启动新的端口号进程。
/db/redis/bin/redis-server /db/redis/conf/6398.conf
再次查看进程。
可以看到新的进程已经开启。
- 赞
- 收藏
- 评论
- 分享
- 举报
上一篇:ORACLE数据库服务器扩容
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK