Centos6 安装redis 5.0.8

Install安装:

cd /tmp/ wget http://download.redis.io/releases/redis-5.0.8.tar.gz tar xf redis-5.0.8.tar.gz -C /usr/local/ mv redis-5.0.8 redis cd/usr/local/redis/ make echo $? vim /usr/local/redis/redis.conf 配置文件修改项: ''' bind 127.0.0.1 protected-mode no port 51229 daemonize yes dir /meepo/data/redis requirepass password ''' pwd /usr/local/redis/src/redis-server /usr/local/redis/redis.conf /usr/local/redis/src/redis-server -v /usr/local/redis/src/redis-server version.h

Login登录验证:
/usr/local/redis/src/redis-cli -p 51229 auth password config get requirepass

【Centos6 安装redis 5.0.8】添加开机自启动
[root@node1 ~]# vim /etc/rc.local /usr/local/redis/src/redis-server /usr/local/redis/redis.conf

    推荐阅读