make data dir for redis
mkdir /data/redis
chown -R redis:redis /data/redis
modify config /etc/redis.conf
daemonize yes
dir /data/redis/
appendonly yes
requirepass mypassword
restart
systemctl enalbe redis
systemctl start redis
make data dir for redis
mkdir /data/redis
chown -R redis:redis /data/redis
modify config /etc/redis.conf
daemonize yes
dir /data/redis/
appendonly yes
requirepass mypassword
restart
systemctl enalbe redis
systemctl start redis