摘要: etcd api接口 基本操作api: https://github.com/coreos/etcd/blob/6acb3d67fbe131b3b2d5d010e00ec80182be4628/Documentation/v2/api.md 集群配置api: https://github.com/c 阅读全文
posted @ 2016-12-27 20:02 doscho 阅读(28004) 评论(0) 推荐(0) 编辑
摘要: 在 centos 7.2 系统内, 网卡的配置文件在: /etc/sysconfig/network-scripts/ 下。 命名规则: ifcfg-xxxx。 xxx为设备名称。 通过分析 network 服务的执行脚本: /etc/rc.d/init.d/network 整理网卡配置文件的内容: 阅读全文
posted @ 2016-12-27 14:38 doscho 阅读(14259) 评论(0) 推荐(1) 编辑
摘要: 在vmware workstation 11上,新建一个centos 7.2系统。 初装带有一个块网卡;能够在/etc/sysconfig/network-scripts/目录下找到相应的网卡配置文件。 启动后,在线添加一个网卡(nat或bridge ),用ip a 命令能够看到网卡有效,且已配置有 阅读全文
posted @ 2016-12-27 10:35 doscho 阅读(732) 评论(0) 推荐(0) 编辑