上一页 1 2 3 4 5 6 7 ··· 25 下一页
摘要: iptables 4表5链!!! 非常重要!!! 4个表(全部小写):nat表 (地址转换表)filter表(数据过滤表)raw表 (状态跟踪表)mangle表(包标记表) 备注:最常用的是nat和filter表,但是全部4个表都要记住! 5个链(全部大写):INPUT链 (入站规则)OUTPUT链 阅读全文
posted @ 2019-04-30 22:54 安于夏 阅读(631) 评论(0) 推荐(0)
摘要: 1 kvm 原理讲解 kvm 内核模块 qemu 硬件仿真 libvirt 用户接口管理 虚拟机的组成 硬盘文件 配置文件 2 qemu-img 命令说明 虚拟机硬盘文件的创建 后端模板盘的使用 3 虚拟机配置文件说明 内存,cpu,硬盘,网卡 4 安装一个虚拟机 最小化安装,只分一个根分区 5 把 阅读全文
posted @ 2019-04-30 22:53 安于夏 阅读(231) 评论(0) 推荐(0)
摘要: 真机 安装git,同步git里的资料 # yum -y install git # git clone git://124.193.128.166/hello.git # cd hello/ # git pull # ls 查看上传到git里的资料 cmd.txt grub ifcfg-eth0 n 阅读全文
posted @ 2019-04-30 22:51 安于夏 阅读(1717) 评论(0) 推荐(0)
摘要: 真机 安装git,同步git里的资料 # yum -y install git # git clone git://124.193.128.166/hello.git # cd hello/ # git pull 创建/启动/开机自启动,vbr虚拟网络 # cp /root/hello/vbr.xm 阅读全文
posted @ 2019-04-30 22:50 安于夏 阅读(327) 评论(0) 推荐(0)
摘要: openstack 环境准备 第一台虚拟机(openstack) 4 cpu , 9G 内存 50G 硬盘 qemu-img create -f qcow2 -b node.qcow2 openstack.img 50G 2 块网卡 添加网卡 <interface type='bridge'> <s 阅读全文
posted @ 2019-04-30 22:50 安于夏 阅读(121) 评论(0) 推荐(0)
摘要: 能把修改过的行显示出来[root@es2 ~]# grep -Pv "^(#|$)" /etc/elasticsearch/elasticsearch.yml cluster.name: nsd1808node.name: es2network.host: 0.0.0.0discovery.zen. 阅读全文
posted @ 2019-04-30 22:49 安于夏 阅读(813) 评论(0) 推荐(0)
摘要: docker02 ~]# history 6 yum -y install docker-engine-selinux-1.12.1-1.el7.centos.noarch.rpm 7 yum -y install docker-engine-1.12.1-1.el7.centos.x86_64.r 阅读全文
posted @ 2019-04-30 22:48 安于夏 阅读(807) 评论(0) 推荐(0)
摘要: [root@docker02 ~]# docker run -it centos [root@fc191527f87c /]# cd /etc/yum.repos.d/[root@fc191527f87c yum.repos.d]# lsCentOS-Base.repo CentOS-Debugin 阅读全文
posted @ 2019-04-30 22:47 安于夏 阅读(130) 评论(0) 推荐(0)
摘要: docker 命名空间6大要素: 主机名、网络、用户、进程、根目录、信号向量 docker run -it 镜像名:标签 安装前准备:需要64位操作系统至少RHEL6.5以上的版本,强烈推荐RHEL7关闭防火墙(不是必须)安装Docker 软件包列表:docker-enginedocker-engi 阅读全文
posted @ 2019-04-30 22:46 安于夏 阅读(302) 评论(0) 推荐(0)
摘要: 自己创建新容器 [root@docker02 ~]# docker rm $(docker stop $(docker ps -qa))2ed6c524e9bf [root@docker02 ~]# docker ps -aCONTAINER ID IMAGE COMMAND CREATED STA 阅读全文
posted @ 2019-04-30 22:46 安于夏 阅读(217) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 25 下一页