redis下载 + 启动
wget http://download.redis.io/releases/redis-6.2.3.tar.gz
&& tar xzf redis-6.2.3.tar.gz && cd redis-6.2.3 && make && make install
&& redis-server redis.conf
redis 远程访问配置
//打开配置文件
vim redis.conf
//注销本地绑定
# bind 127.0.0.1 -::1
//修改保护模式为:no
protected-mode
//置后台启动
daemonize yes