Version: redis-4.0.9.tar.gz yum install gcc tcl make PREFIX=/opt/redis-4.0.9/ install mkdir /opt/redis-4.0.9/{conf,log,data} cp redis.conf /opt/redis-4.0.9/conf/ vi redis.conf ln -s redis-4.0.9/ redis
Version: redis-4.0.9.tar.gz yum install gcc tcl make PREFIX=/opt/redis-4.0.9/ install mkdir /opt/redis-4.0.9/{conf,log,data} cp redis.conf /opt/redis-4.0.9/conf/ vi redis.conf ln -s redis-4.0.9/ redis
转载于:https://www.cnblogs.com/divl/p/11004993.html