linux 安装 redsi

下载、解压、编译

wget http://download.redis.io/releases/redis-4.0.10.tar.gz
tar xzf redis-4.0.10.tar.gz
cd redis-4.0.10
# 需要gcc, yum install gcc make

常用命令

./redis-server ../redis.conf
./redis-cli shutdown
killall -9 redis-server

./redis-cli -h host -p port -a password

 

posted @ 2018-09-15 11:35  huanggy  阅读(151)  评论(0编辑  收藏  举报