标签:install inf status alt for info 技术 etc star
yum install -y redis redis-server
sed -i 's#bind 127.0.0.1$#bind 0.0.0.0#' /etc/redis.conf
grep 'bind 0.0.0.0' /etc/redis.conf
start redis-server
systemctl start redis-sentinel.service
look for port and status redis-server
systemctl status redis-sentinel.service
ps -ef | grep redis
netstat -lnatup | grep redis
ss -lnatup | grep 26379
redis-cli
redis-cli -p 26379
```
标签:install inf status alt for info 技术 etc star
原文地址:https://www.cnblogs.com/anyux/p/11914643.html