问轩博客

展开菜单

Redis配置文件介绍

Redis配置文件介绍
daemonize yes #是否以后台进程运行 pidfile /var/run/redis/redis-server.pid    #pid文件位置 port 6379#监听端口 bind 127.0.0.1   #绑定地址,如外网需要连接,设置0.0.0.0 空格分隔 timeout 300   ...