Centos下yum安装Redis
2016-08-21 10:03
585 查看
Centos下yum安装Redis
一、安装epel源
二、yum安装redis
三、启动redis
四、基础命令
五、运行测试
查看端口号,redis默认使用6379端口号
使用redis-cli客户端进行连接redis服务器
至此,redis在centos下已经成功安装
一、安装epel源
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm
二、yum安装redis
yum -y install redis
三、启动redis
systemctl start redis.service
四、基础命令
#停止 systemctl stop redis.service #重启 systemctl restart redis.service #检查状态 systemctl status redis.service #打开开机启动 systemctl enable redis.service
五、运行测试
查看端口号,redis默认使用6379端口号
使用redis-cli客户端进行连接redis服务器
至此,redis在centos下已经成功安装
相关文章推荐
- centos6.3下yum安装redis
- 笔记:在CentOS 5.8中通过yum安装Redis
- centos7 yum安装redis3.2.8
- 在CentOS上用yum安装redis
- Centos使用yum安装Redis
- 在centos6.3用yum安装redis
- 在centos6.3用yum安装redis
- centos6.5 yum安装redis
- Linux(Centos7)yum安装最新redis
- Centos 7下使用yum安装redis
- 在centos6.3用yum安装redis
- CentOS 6.5 yum安装配置Lnmp服务器和redis
- 安装mysql, 如何解决在centos上面用yum不能安装redis
- centos7 yum安装配置redis
- 在centos上使用yum安装redis及php扩展php-redis
- 在Centos上面用yum不能安装redis的朋友看过来
- 在centos6.3用yum安装redis
- 如何解决在centos上面用yum不能安装redis
- CentOS系统中使用yum命令安装redis
- centos7 yum安装配置redis 并设置密码