标签:use 配置 文件 重启 cti 连接 配置文件 roo 远程
一、安装redis
1.执行安装命令
[root@localhost ~]yum install redis
2.连接Redis
[root@localhost ~] redis-cli
如果报一下错,证明没启动redis
Could not connect to Redis at 127.0.0.1:6379: Connection refused
3.允许远程访问redis
若要支持远程访问调试,除了需要开放服务器端口号6379,还需要将配置文件中的bind 127.0.0.1注释掉,但生产环境中应该放开,避免黑客攻击
4.重启redis
[root@localhost ~]service redis start
5.测试使用命令
>set key "hello world"
>get key
返回:hello world
证明安装成功
标签:use 配置 文件 重启 cti 连接 配置文件 roo 远程
原文地址:http://www.cnblogs.com/sunziying/p/6683935.html