随笔分类 -  redis

摘要:#Redis安装步骤 ##1.官方下载Redis包 URL: https://redis.io/download ##2.上传安装包到服务器,减压安装包 例如:tar -zxvf redis-6.0.8.tar.gz ##3.在服务器安装gcc编译环境 命令:yum install gcc-c++ 阅读全文
posted @ 2020-10-13 17:29 A小小高 阅读(1033) 评论(0) 推荐(0)
摘要:在服务器上,这里以linux服务器为例,为redis配置密码。 1.第一种方式 (当前这种linux配置redis密码的方法是一种临时的,如果redis重启之后密码就会失效,) (1)首先进入redis,如果没有开启redis则需要先开启:[root@iZ94jzcra1hZ bin]# redis 阅读全文
posted @ 2018-09-28 10:46 A小小高 阅读(79110) 评论(0) 推荐(5)
摘要: 阅读全文
posted @ 2018-08-16 02:36 A小小高 阅读(85) 评论(0) 推荐(0)
摘要:#redis.conf # Redis configuration file example. # ./redis-server /path/to/redis.conf ################################## INCLUDES ################################### #这在你有标准配置模板但是每个redis服务器又需要个性设置的时候... 阅读全文
posted @ 2018-08-15 10:53 A小小高 阅读(134) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-13 01:20 A小小高 阅读(98) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-12 20:40 A小小高 阅读(135) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-12 13:36 A小小高 阅读(86) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-12 01:43 A小小高 阅读(87) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-11 23:37 A小小高 阅读(85) 评论(0) 推荐(0)
摘要:关闭防火墙的命令行: 1. 永久性生效 开启:chkconfig iptables on 关闭:chkconfig iptables off 2. 即时生效,重启后失效 开启:service iptables start 关闭:service iptables stop 3.查看防火墙状态: chk 阅读全文
posted @ 2018-08-10 23:30 A小小高 阅读(138) 评论(0) 推荐(0)