ubuntu redis install
vim /etc/redis/redis.cnf
//content
requirepass 123456 //password
redis-server /etc/redis/redis.conf //start
service redis restart
service redis stop
redis-server /etc/redis.conf
redis -cli shutdown //Close the service
redis-cli //The client starts
redis-cli -h 127.0.0.1 -p 6379 -a myRedis //The client starts with a password
ubuntu redis installation
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326825804&siteId=291194637
Ranking