Linux环境 Redis 安装部署
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
下载并安装:
wget http://download.redis.io/releases/redis-2.8.17.tar.gz
tar xzf redis-2.8.17.tar.gz
cd redis-2.8.17
make
make完后 redis-2.8.17目录下会出现编译后的redis服务程序redis-server,还有用于测试的客户端程序redis-cli,两个程序位于安装目录 src 目录下:
下面启动redis服务.
cd src
./redis-server
注意这种方式启动redis 使用的是默认配置。也可以通过启动参数告诉redis使用指定配置文件使用下面命令启动。
cd src
./redis-server ../redis.conf
redis.conf 是一个默认的配置文件。我们可以根据需要使用自己的配置文件。
启动redis服务进程后,就可以使用测试客户端程序redis-cli和redis服务交互了。
查看进程启动:
[root@xxx src]# netstat -anp | grep 6379
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 20371/./redis-serve
tcp6 0 0 :::6379 :::* LISTEN 20371/./redis-serve
6379端口 telnet 不通:
1.查看服务是否正常启动并监听端口
2.检查redis.conf是否只允许本地连接(bind)
3.是否保护模式(protected-mod)
4.防火墙端口是否打开(iptables)
5.阿里安全组规则是否开放端口




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)