首先连接xshell,然后执行如下命令即可:
service network restar #重启网络 ip addr #查找ip [root@localhost ~]# cd /usr/local/redis [root@localhost redis]# ./bin/redis-server ./redis.conf [root@localhost redis]# ./bin/redis-cli 127.0.0.1:6379> exit [root@localhost redis]# ./bin/redis-cli shutdown [root@localhost redis]# ps -ef | grep -i redis
上一篇:小程序开发的难点分析
下一篇:ES6中数组去重的方法