cd /home
mkdir test
cd test
wget http://download.redis.io/releases/redis-4.0.6.tar.gz
tar xzf redis-4.0.6.tar.gz
cd redis-4.0.6
make MALLOC=libc
vi redis.conf
#后台运行
daemonize yes
protected-mode no 不然只能本机访问
bind 注释掉
#启动
src/redis-server redis.conf
#验证 ping pong 心跳
src/redis-cli ping
【信创】麒麟v10鲲鹏处理器安装redis
最新推荐文章于 2025-02-15 01:43:19 发布