CentOS安装Redis

Redis下载

解压

编译安装:make && make install

把redis.conf复制到etc

编辑redis.conf,配置后台启动:
将daemonize属性改为yes

启动Redis服务器并指定配置文件
redis-server /etc/redis.conf

执行redis-cli启动Redis客户端

查看端口号 netstat tunpl|grep 6379

关闭Redis客户端:redis-cli shutdown
关闭Redis服务:pkill redis-server

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native