Redis的安装分为源码安装和rpm包安装,只尝试了rpm的安装:
下载redis的RPM包
地址: https://pkgs.org/download/redis
下载redis的依赖包:
下载地址: https://pkgs.org/centos-6/atomic-x86_64/jemalloc-3.6.0-1.el6.art.x86_64.rpm.html

redis的启动有3种方式:
直接启动
./redis-server &
2. 通过指定配置文件启动
可以为redis服务启动指定配置文件,redis的配置文件在/etc目录下

3. 使用redis 启动脚本设置开机启动
参考文档:
https://yq.aliyun.com/articles/484176
https://www.cnblogs.com/pqchao/p/6549510.html
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21374452/viewspace-2728604/ ,如需转载,请注明出处,否则将追究法律责任。