会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linux运维技术
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页
2021年5月8日
mongodb安装部署
摘要: 1安装: [root@instance-r5y0pf5d ~]# mkdir /data/soft -p #创建软件存放目录 [root@instance-r5y0pf5d ~]# mkdir /opt/mongo_cluster/ -p #创建软件安装目录 [root@instance-r5y0p
阅读全文
posted @ 2021-05-08 16:14 linuxTang
阅读(133)
评论(0)
推荐(0)
2021年4月21日
debain基础知识
摘要: 1.允许以root用户登录操作系统 默认情况下debian是不允许以root用户登录的,只能以其他用户登录系统中,然后su到root用户下进行操作。 1vim /etc/gdm3/daemon.conf 新增下面一行AllowRoot = true [security] AllowRoot = tr
阅读全文
posted @ 2021-04-21 10:35 linuxTang
阅读(394)
评论(0)
推荐(0)
2021年4月19日
运维工具2-检测redis中占内存的大键
摘要: 1测试准备 [root@db04 ~]# vim mytxt.log #创建一个大文件 [root@db04 ~]# redis-server /opt/redis_cluster/redis_6379/conf/redis_6379.conf #启动redis [root@db04 ~]# red
阅读全文
posted @ 2021-04-19 15:17 linuxTang
阅读(228)
评论(0)
推荐(0)
2021年4月18日
运维工具1-将单节点数据拷贝到集群
摘要: 1启动所有节点redis [root@db03 ~]# sh redis_shell.sh start 6380 [root@db03 ~]# sh redis_shell.sh start 6381 [root@db03 ~]# ps -ef|grep redis 2安装工具: [root@db0
阅读全文
posted @ 2021-04-18 14:13 linuxTang
阅读(134)
评论(0)
推荐(0)
2021年4月15日
redis工具收缩节点和工具删除节点
摘要: 一,完整的重新做一个redis集群 1 [root@db01 ~]# pkill redis #停掉所有节点的redis [root@db01 ~]# rm -rf /data/redis_cluster/redis_6380/* #删除所有节点数据 [root@db01 ~]# rm -rf /d
阅读全文
posted @ 2021-04-15 18:09 linuxTang
阅读(163)
评论(0)
推荐(0)
2021年4月14日
redis工具扩容
摘要: 一,在db01中新增加一个节点 1创建配置文件日志文件和pid文件的存放目录,创建redis数据的存放目录: [root@db01 ~]# mkdir -p /opt/redis_cluster/redis_{6390,6391}/{conf,logs,pid} [root@db01 ~]# mkd
阅读全文
posted @ 2021-04-14 18:11 linuxTang
阅读(121)
评论(0)
推荐(0)
利用工具搭建redis集群和利用工具扩容redis集群
摘要: 一利用工具搭建redis集群 0前提条件: 执行下列步骤的前提是已经安装了redis,配置了服务器之间的互信以及添加了域名解析参考网址:https://www.cnblogs.com/tyjs09/p/14601241.html 1安装redis支持的插件(不指定版本会给你安装最旧的): [root
阅读全文
posted @ 2021-04-14 18:02 linuxTang
阅读(238)
评论(0)
推荐(0)
2021年4月13日
利用工具部署redis集群
摘要: 1安装redis(本例已安装可忽略) [root@db01 ~]# yum makecache fast [root@db01 ~]# yum install rubygems [root@db01 ~]# gem sources --remove https://rubygems.org/ [ro
阅读全文
posted @ 2021-04-13 18:08 linuxTang
阅读(115)
评论(0)
推荐(0)
redis集群高可用配置(基础)
摘要: 一高可用配置: 1把集群信息保存到txt文档里以作备用: [root@db01 ~]# sh redis_shell.sh login 6380 10.0.0.201:6380> cluster nodes 4c007a5e2d894aa4c6ce950467221f01fd50f645 10.0.
阅读全文
posted @ 2021-04-13 16:53 linuxTang
阅读(210)
评论(0)
推荐(0)
搭建redis集群高可用及宕机处理
摘要: 1先获取所有主节点信息 [root@db03 ~]# redis-cli -c -h db01 -p 6381 cluster nodes #先查看节点信息并保存 ddee11b9c4c6622bbf28497c53aa1eb84846084f 10.0.0.203:6381 slave 4c007
阅读全文
posted @ 2021-04-13 16:36 linuxTang
阅读(689)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页
公告