云主机centos 7(3.10.0)部署redis

如果嫌编译麻烦的话可以用下面的步骤

1.yum install redis

2.vim /etc/redis.conf, 将其中的daemonize no改为daemonize yes

3.service redis start

4.systemctl enable redis.service (自动启动)

5. redis-cli

猜你喜欢

转载自johnsmith9th.iteye.com/blog/2421589