上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: mongodb 副本集搭建环境192.168.1.191 master192.168.1.192 slave,arbiterOS: ubuntu14.04mongodb: mongodb-linux-x86_64-ubuntu1404-v3.2-latest.tgztar xf mongodb-li 阅读全文
posted @ 2017-07-25 16:27 (KeeP) 阅读(257) 评论(0) 推荐(0) 编辑
摘要: etcd 是一个分布式一致性键值存储,用于共享配置和服务发现,Go编写,并使用 Raft 一致性算法来管理高可用复制日志。 特性 简单:支持curl方式的用户API(http+json)安全:可选ssl客户端证书认证快速:单实例可达1000/s写操作可靠:使用Raft实现分布式 etcd有三种集群化 阅读全文
posted @ 2017-05-18 14:54 (KeeP) 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 一. 更改配置文件 找到requirepass这行, [soft@node5 redis-3.0.6]$ grep 'requirepass' redis.conf#requirepass foobared 去掉注释,并把foobared改成你想设置的密码 [soft@node5 redis-3.0 阅读全文
posted @ 2017-02-16 14:22 (KeeP) 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 获取主机内网,外网IP,主机名 代码如下: 运行结果: [root@192-168-0-99 ~]# python getdata.py主机名************************* 192-168-0-99外网网卡为************************* 127.0.0.1内 阅读全文
posted @ 2017-01-12 19:20 (KeeP) 阅读(9033) 评论(0) 推荐(0) 编辑
摘要: zabbix可以手动添加agent客户端,当主机数量比较多时,这时手工重复工作会大大增加.zabbix的自动发现功能可以帮我们解决这个问题。 准备条件: 1. 被监控主机都装上zabbix-agent, [root@node7 ~]# netstat -tunlp|grep 10050 tcp 0 阅读全文
posted @ 2016-12-12 18:30 (KeeP) 阅读(9239) 评论(0) 推荐(0) 编辑
摘要: 方法一: downloadonly插件有一个yum的插件叫做downloadonly,就是只下载不安装的意思。1. 安装插件yum install yum-download2. 下载yum update httpd -y –downloadonly这样httpd的rpm就被下载到/var/cache 阅读全文
posted @ 2016-12-05 18:11 (KeeP) 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1. 利用yum下载paramiko依赖的rpm软件包 安装yum-utils yum -y install yum-utils yumdownloader python-setuptoolsyumdownloader python-pipyumdownloader python-cryptoyum 阅读全文
posted @ 2016-12-05 18:00 (KeeP) 阅读(2410) 评论(0) 推荐(0) 编辑
摘要: ((parted)mklabel 创建磁盘标签New disk labeltype? gpt 输入磁盘表情名(parted) p 再次列出磁盘分区 (parted) mkpart Partition name? []? dc1 File system type? [ext2]? ext4 Start 阅读全文
posted @ 2016-12-05 14:17 (KeeP) 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 源服务器: ip: 192.168.0.199 系统:CentOS7.2 内核: 3.10.0-327 gitlab版本: gitlab-ce-8.0.5 新服务器: ip: 192.168.0.190 系统:CentOS7.2 内核: 3.10.0-327 gitlab版本: gitlab-ce- 阅读全文
posted @ 2016-11-28 15:27 (KeeP) 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 一、环境 4.用户 4.用户 hadoop 5.目录规划 /home/hadoop/app #程序目录 /home/hadoop/data #数据目录 #打开文件的最大数 vi /etc/security/limits.d/20-nproc.conf soft soft nproc 102400ro 阅读全文
posted @ 2016-11-21 09:48 (KeeP) 阅读(295) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页