码迷,mamicode.com
首页 > 其他好文 > 详细

redis 配置

时间:2018-12-10 00:45:04      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:jemalloc   bug   idf   use   logfile   ssi   moni   efi   bind   

yum install -y gcc epel-release; yum install -y jemalloc-devel make 如果出错,运行如下命令: (cd deps; make hiredis lua jemalloc linenoise; cd ..; make) cd src make install PREFIX=/usr/local/redis mkdir /usr/local/redis/etc useradd -s /sbin/nologin redis mkdir /usr/local/redis/var chmod 755 /usr/local/redis/var chmod 755 /etc/init.d/redis chkconfig --add redis chkconfig redis on service redis start daemonize yes pidfile /usr/local/redis/var/redis.pid port 6379 timeout 300 loglevel debug logfile /usr/local/redis/var/redis.log databases 16 save 900 1 save 300 10 save 60 10000 rdbcompression yes dbfilename dump.rdb dir /usr/local/redis/var/ appendonly no appendfsync always requirepass xxxxx bind 0.0.0.0

redis 配置

标签:jemalloc   bug   idf   use   logfile   ssi   moni   efi   bind   

原文地址:http://blog.51cto.com/12473494/2328197

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!