ICode9

精准搜索请尝试: 精确搜索
  • docker网络模式2022-09-16 09:32:26

    docker网络模式解读 前言 理解docker,主要从namesapce,cgroups,联合文件,运行时(runC),网络几个方面。接下来我们会花一些时间,分别介绍。 docker系列--namespace解读 docker系列--cgroups解读 docker系列--unionfs解读 docker系列--runC解读 docker系列--网络模式解读 namesapce主要

  • keepalived实现lvs高可用2022-09-02 23:04:04

    keeplaived实现lvs高可用 名称 ip node1(lvs,keepalived) 192.168.6.152 node2(lvs,keepalived) 192.168.6.153 rs1 192.168.6.135 rs2 192.168.6.154 # 在Rs1,Rs2下载nginx写一个网页文件 [root@rs1 ~]# dnf -y install nginx [root@rs1 ~]# echo 'rs1' > /usr/sh

  • docker compose ipv6的处理2022-08-23 18:31:41

    简介: docker compose 是我常用的容器编排工具,至今没有升级到K8S,汗 那么compose的yaml配置的容器如何互联呢? 常见的恐怕就是上次折腾nginx的那一次了。 一个nginx,反向代理apache,tomcat,iis…… 当然也有一个数据库,同时为多个应用服务。 一:docker开启IPV6 { "graph": "/storage

  • tomcat任务部署2022-08-18 21:34:13

    tomcat项目部署 主机 IP 需求 web-1 192.168.78.144 tomcat+jenkins web-2 192.168.78.145 tomcat 在RHEL-1主机上部署的jenkins将项目打包传输到RHEL-2主机上并可以实现网页效果 新建任务 输入任务名称选择任务类型 查看流水线语法 生成流水线脚本页面 选择并复

  • Docker 容器虚拟化2022-08-11 13:01:19

    Docker 容器虚拟化 1、虚拟化网络 Network Namespace 是 Linux 内核提供的功能,是实现网络虚拟化的重要功能,它能创建多个隔离的网络空间,它们有独自网络栈信息。不管是虚拟机还是容器,运行的时候仿佛自己都在独立的网络中。而且不同Network Namespace的资源相互不可见,彼此之间无法通

  • LVS-DR+keepalived实现负载均衡2022-08-07 18:31:40

    LVS-DR+keepalived实现负载均衡 配置环境: 名称 主机名 IP地址 网关 需要的安装软件 VIP地址 LVS 主调度器 cdh1 192.168.10.34 192.168.10.254 ipvsadm+keepalived 192.168.10.29 LVS 从调度器 cdh2 192.168.10.35 192.168.10.254 ipvsadm+keepalived 192.168.10.29 real

  • forever 相关命令操作2022-08-03 18:02:44

    安装 npm install -g forever 启动一个node forever start app.js 指定信息输出文件 forever start -l forever.log app.js 指定日志信息和错误日志输出文件 forever start -o out.log -e err.log app.js 追加日志 forever start -l forever.log -a app.js 监听当前文件

  • Docker网络模式2022-07-26 10:03:15

      Docker使用Linux桥接的方式,在宿主机虚拟一个Docker容器网桥(docker0),Docker启动一个容器时会根据Docker网桥的网段分配给容器一个IP地址,称为Container-IP,同时Docker网桥是每个容器的默认网关。因为在同一宿主机内的容器都接入同一个网桥,这样容器之间就能够通过容器的Container

  • Linux-iptables实现SNAT和DNAT2022-05-05 16:31:44

     实验:虚拟机实现SNAT和DNAT 实验设备 外部设备 主机:Ubuntu     地址192.168.10.6/24 网卡模式仅主机   局域网: firewoall:虚拟机centos8代替    地址 eth0 10.0.0.8/24 网卡NET                      地址 eth1 192.168.10.8/2

  • docker容器网络2022-04-28 22:00:55

    docker容器网络 Docker在安装后自动提供3种网络,可以使用docker network ls命令查看 1 [root@localhost ~]# docker network ls # 还有一种容器模式看不到 2 NETWORK ID NAME DRIVER SCOPE 3 acd31ac4f7db bridge bridge local # 桥接 4 77faf4b77bb6

  • 设置debian的静态IP2022-04-18 11:01:10

    ipconfig -all可查看一下信息 想要设置网络的信息如下 IP地址:10.10.10.155 子网掩码:255.255.255.0 网关:10.10.10.2 广播地址:10.10.10.255 DNS:10.10.10.2,114.114.114.114 我们需要编辑2个文件 /etc/network/interfaces(配置IP和网关) /etc/resolv.conf(配置DNS服务器) 查看可用网卡 roo

  • Centos7配置IP地址教程2022-04-10 20:00:49

    有关于centos7获取IP地址的方法主要有两种,1:动态获取ip;2:设置静态IP地址     在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用ifconfig命令,可通过命令 IP addr查看,如图,网卡名为ens32,是没有IP地址的     1、动态获取ip(前提是你的路由器已经开启了DHCP)

  • OpenStack学习系列之九:多种网络类型下的实例之间网络通信问题详解2022-03-29 19:00:08

        OpenStack的neutron组件实现了跨宿主机实例之间的网络分配和通信功能,其中网络中使用了Linux的网络命名空间来实现网络的隔离,相关资料可以参考:https://www.cnblogs.com/djoker/p/15974846.html 在OpenStack的部署安装中,在ens19和ens20两个物理网卡上分别创建了provider和insi

  • CentOS7.5 删除virbr0虚拟网卡2022-03-25 09:32:30

    CentOS7.5 删除virbr0虚拟网卡在CentOS 7的安装过程中如果有选择相关虚拟化的的服务安装系统后,启动网卡时会发现有一个以网桥连接的私网地址的virbr0网卡,这个是因为在虚拟化中有使用到libvirtd服务生成的,如果不需要可以关闭后去掉:一、查看IP及网桥设备[root@Node1 ~]# ip -4 addr

  • virtualBox使用双网卡实现 ubuntu20.04 ssh连接和访问外网2022-02-28 13:33:35

    一、前言 1.1 配置双网卡的目的 虚拟机可以访问外网 虚拟机和虚拟机之间可以互相访问 二、配置 2.1 virtualBox主机网卡设置 管理 -> 主机网络管理器 2.2 虚拟机开启两个网卡 设置 -> 网络 2.3 查看网络状态 rockfane@ubuntu:~$ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP>

  • lvs-nat和dr模式2022-02-08 03:31:09

    配置 lvs-nat模式 ip类型 ip地址 vip 192.168.80.129 dip 192.168.59.131 r1ip 192.168.59.134 r2ip 192.168.59.133             调度器上添加仅主机模式的网卡配置VIP 关闭selinux systemctl disable --now firewalld setenforce 0 在调度器上开启ip转发

  • 备案创建的生命周期2022-02-01 20:32:19

    beanFactoryPostProcess 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away fr

  • SpringBean单监听事件2022-02-01 16:02:05

    beanFactoryPostProcess 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away fr

  • 新年快乐2022!2022-01-31 19:02:11

    Minecraft Forever

  • AOP拦截器2022-01-31 15:59:38

    AOP拦截器 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor peop

  • Aop代码分析2022-01-31 09:03:16

    Aop 原理: 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor peopl

  • 环境的激活2022-01-30 20:34:15

    @PropertySource 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poo

  • 方法和构造器2022-01-30 18:33:52

    @PropertySource 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poo

  • 后置处理器BeanPostProcessor2022-01-29 19:58:16

    @Bean 的销毁和方法 目录概 述 小结参考资料和推荐阅读 LD is tigger forever,CG are not brothers forever, throw the pot and shine forever. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from p

  • CentOS7 Docker 端口映射2022-01-13 18:59:43

    一、安装RabbitMQ [root@localhost ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有