摘要: 1.升级内核到3.10.0以上,安装iproute22.安装0.80版本:#wget -O /usr/local/bin/weave https://raw.githubusercontent.com/zettio/weave/master/weave0.70版本#yum install -y co... 阅读全文
posted @ 2015-01-19 12:42 BiboXie 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: #rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org如果失败的话多试几次,感觉网络不是很好#rpm -ivh http://www.elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm... 阅读全文
posted @ 2015-01-19 12:40 BiboXie 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: yum install -y gcc bison flex#tar -xzf iproute2-3.17.0.tar.gz#cdiproute2-3.17.0#sed -i '/^TARGETS/s@arpd@@g' misc/Makefile#make SBINDIR=/sbin#make SBI... 阅读全文
posted @ 2015-01-19 12:39 BiboXie 阅读(3884) 评论(0) 推荐(0) 编辑
摘要: yum install -y wget gcc gc bc gd make perl ncurses-devel xz下载地址:https://www.kernel.org#tar -Jxvf linux-3.4.56.tar.xz#mv linux-3.4.56 /usr/src/linux-3.... 阅读全文
posted @ 2015-01-19 12:38 BiboXie 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 一.下载registry#yum install -y python-devel libevent-devel python-pip gcc xz-devel#python-pip install docker-registry二.在所有docker宿主机上都执行以下操作#vi /etc/sysco... 阅读全文
posted @ 2015-01-19 12:37 BiboXie 阅读(242) 评论(0) 推荐(0) 编辑
摘要: #iptables -A INPUT -p tcp --dport 5000 -j ACCEPT#service iptables save 阅读全文
posted @ 2015-01-19 12:08 BiboXie 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 在 /etc/init.d/docker的start()函数末尾加入:chmod 777 /var/run/docker.sock否则web程序会没有权限去操作 阅读全文
posted @ 2015-01-19 12:07 BiboXie 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 一 环境背景python-2.7.8docker 版本 1.15 (*yum安装为1.14版本,需升级为1.15,详见后续步骤)二 获取Docker容器指标【指标可行性分析见笔记:】CPU :usr 和 system Cpu timeMemoryIP三 整体步骤容器指标值获取 Docker P... 阅读全文
posted @ 2015-01-19 12:06 BiboXie 阅读(4124) 评论(0) 推荐(0) 编辑
摘要: linux:pip install docker-py 阅读全文
posted @ 2015-01-19 12:05 BiboXie 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 1.安装setuptools2.yum install -y mysql-devel python-devel gcc否则会报错:command 'gcc' failed with exit status 13.python setup.py install 阅读全文
posted @ 2015-01-19 12:04 BiboXie 阅读(285) 评论(0) 推荐(0) 编辑