摘要: iscsi-initiator-utils-6.2.0.872-10.el6.x86_64 iscsi-initiator-utils-6.2.0.873-32.el7.x86_64 在el7中, iscsi-initiator-utils 依赖 iscsi-initiator-utils-iscs 阅读全文
posted @ 2017-04-24 19:12 doscho 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 在jenkins环境下,执行需要root权限的脚本,报错。 修改方法: 1. centos环境下,在/etc/sudoers.d/ 目录下,增加一个 jenkins文件,内容如下: 2. 在脚本中命令前,增加sudo命令即可,或sudo 执行脚本 参考: https://segmentfault.c 阅读全文
posted @ 2017-04-15 17:11 doscho 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: Linux--多网卡的7种Bond模式 http://www.cnblogs.com/lcword/p/5914089.html 七种网卡绑定模式详解: http://blog.csdn.net/wuweilong/article/details/39720571 通过 #ethtool xxxx 阅读全文
posted @ 2017-04-08 11:07 doscho 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 命令行: lsscsi 列出scsi设备 或 hosts, [root@vClass-w47o0 scsi]# lsscsi -d[0:0:0:0] disk ATA ST2000DM001-1ER1 CC26 /dev/sda [8:0][1:0:0:0] disk ATA KINGSTON SV 阅读全文
posted @ 2017-03-30 20:00 doscho 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 使得局域网服务器可以上外网:搭建网关服务器 添加iptables 规则并开启路由转发 #iptables -t nat -I POSTROUTING -s 192.168.1.0/24 -o eth0 -j SNAT --to-source 192.168.80.128 #sysctl -w net 阅读全文
posted @ 2017-03-24 11:46 doscho 阅读(309) 评论(0) 推荐(0) 编辑
摘要: http://www.sdnlab.com/14101.html Open vSwith模拟网关实现不同子网的互通 服务: ovsdb-server ovs-vswitchd rpm: openvswitch-2.4.0-1.el6.x86_64 命令: ovs-appctl ovs-docker 阅读全文
posted @ 2017-03-23 17:36 doscho 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: centos 6.5 rpm: dhcp-4.1.1-25.P1.el6.x86_64 dhcp-common-4.1.1-25.P1.el6.x86_64 服务: /etc/rc.d/init.d/dhcpd /etc/rc.d/init.d/dhcpd6 /etc/rc.d/init.d/dhc 阅读全文
posted @ 2017-03-21 20:31 doscho 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 集群启动问题 在kvm虚机下,启动mariad,日志报如下错误: 对应的错误码: | 1081 | 08S01 | ER_IPSOCK_ERROR| Can't create IP socket 问题: mariadb的配置文件中,bind-address 的值不正确。 /etc/my.cnf 或 阅读全文
posted @ 2017-03-07 09:12 doscho 阅读(378) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/cnblogs-jcy/p/6056110.html Sublime Text 3 快捷键精华版 Ctrl+Shift+P:打开命令面板 Ctrl+P:搜索项目中的文件 Ctrl+G:跳转到第几行 Ctrl+W:关闭当前打开文件 Ctrl+Shift+W 阅读全文
posted @ 2017-03-04 08:43 doscho 阅读(611) 评论(0) 推荐(0) 编辑
摘要: rpm: coreutils-8.4-9.el6.x86_64 使用: 阅读全文
posted @ 2017-03-03 19:19 doscho 阅读(4587) 评论(0) 推荐(0) 编辑