摘要: 多网卡的7种bond模式原理 Linux 多网卡绑定 网卡绑定mode共有七种(0~6) bond0、bond1、bond2、bond3、bond4、bond5、bond6 常用的有三种 mode=0:平衡负载模式,有自动备援,但需要”Switch”支援及设定。 mode=1:自动备援模式,其中一条 阅读全文
posted @ 2018-07-18 10:07 liawne 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 本文以制作CentOS7.2镜像为例,详细介绍手动制作OpenStack镜像详细步骤,解释每一步这么做的原因。镜像上传到OpenStack glance,支持以下几个功能: 支持密码注入功能(nova boot时通过–admin-pass参数指定设置初始密码) 支持根分区自动调整(根分区自动调整为f 阅读全文
posted @ 2018-07-17 10:59 liawne 阅读(9783) 评论(1) 推荐(0) 编辑
摘要: preface 我们在一篇博文知道了如何搭建Cobbler,那么下面就通过Cobbler来安抓Openstack所有节点吧。 服务器配置信息如下: 部署cobbler 部署的话参考上一篇博文:Cobbler的安装1.Cobbler安装部署完成后,我们需要添加 一个 Openstack仓库: 同步完成 阅读全文
posted @ 2018-07-11 11:15 liawne 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 搭建web服务器 一、实验内容: 实验要求: 1、完成一个简单的web服务器,web服务器从mysql里读取数据进行返回 2、Mysql需要有一个单独的数据盘,每个mysql虚拟机的磁盘挂载方式需要都不一样 3、公网ip配置在虚拟机上,三个web服务器用snat访问公网 4、使用dnat把8080端 阅读全文
posted @ 2018-07-10 15:50 liawne 阅读(5047) 评论(0) 推荐(0) 编辑
摘要: To write the output of a command to a file, there are basically 10 commonly used ways. Overview: Please note that the n.e. in the syntax column means 阅读全文
posted @ 2018-07-10 15:49 liawne 阅读(342) 评论(0) 推荐(0) 编辑
摘要: This is about resetting the MySQL 5.7 root password in Ubuntu 16.04 LTS You probably tried something like this: And then got something like this (stan 阅读全文
posted @ 2018-07-07 12:20 liawne 阅读(2180) 评论(0) 推荐(0) 编辑
摘要: 文中首先解释了加密解密的一些基础知识和概念,然后通过一个加密通信过程的例子说明了加密算法的作用,以及数字证书的出现所起的作用。接着对数字证书做一个详细的解释,并讨论一下windows中数字证书的管理,最后演示使用makecert生成数字证书。如果发现文中有错误的地方,或者有什么地方说得不够清楚,欢迎 阅读全文
posted @ 2018-07-05 18:24 liawne 阅读(134) 评论(0) 推荐(0) 编辑
摘要: The known_hosts file lets the client authenticate the server, to check that it isn't connecting to an impersonator. The authorized_keys file lets the 阅读全文
posted @ 2018-07-05 17:54 liawne 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 一、RPM包制作 1、资源准备 准备一台RHEL7/CentOS7系统的虚拟机,及相应需要打包进入rpm包的脚本文件。 具体信息如下: 所需资源 名称 虚拟机 CentOS7.2 x86_64 RPM中包含的文件 cmigs cmops autocheck.sh bond-for-7.sh cw_R 阅读全文
posted @ 2018-06-29 18:43 liawne 阅读(2359) 评论(0) 推荐(0) 编辑
摘要: mysql增删改查相关操作 以前用mysql用的少,对于数据库相关的操作不熟悉,现在开始要接触数据库了,记录一下相关的基础操作吧。 1、数据库的授权操作 # mysql -u root -p Enter password: mysql> grant all privileges on *.* to 阅读全文
posted @ 2018-06-28 20:13 liawne 阅读(162) 评论(0) 推荐(0) 编辑