负载均衡可分为四层负载均衡和七层负载均衡,四层负载均衡策略中典型的实现方式为LVS负载均衡LVS简介LVS负载均衡中有三种调度方法,分别为:NAT(NetworkAddressTranslation网络地址转换)、TUN(tunnel隧道)、DR(directroute直接路由)LVS-DRDR模式下需要LVS服务器和后台服务器绑定同一个VIP,一个请求过来时,LVS只需要将网络帧的MAC地址修改
分类:
其他好文 时间:
2020-06-04 12:04:25
阅读次数:
69
环境 centos7系统 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭SELINUX sudo vim /etc/sysconfig/selinux 重启一下 sudo reboot 将SELINUX 改为disable ...
分类:
其他好文 时间:
2020-06-03 17:34:13
阅读次数:
104
创建文件夹: mkdir name 删除文件夹下所有内容 : rm -rf * 复制文件夹下所有内容到指定文件夹 cp -r /etc/html/web/* /etc/html/web2/ 开放指定端口: iptables -I INPUT -p tcp --dport 8888 -j ACCEPT ...
分类:
系统相关 时间:
2020-06-03 15:31:09
阅读次数:
59
1.基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkco ...
分类:
其他好文 时间:
2020-06-02 18:44:01
阅读次数:
58
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2020-05-31 23:16:44
阅读次数:
121
本实验实现在centos8系统上利用PXE自动化安装Centos6,7,8三个系统 (1) 安装前准备 关闭防火墙和SELINUX,DHCP服务器静态IP 网络要求:关闭Vmware软件中的DHCP服务,基于NAT模式 (2) 安装相关软件包并启动 [root@centos8 ~]#dnf -y i ...
分类:
其他好文 时间:
2020-05-31 18:02:58
阅读次数:
78
linux防火墙的相关命令 一、iptables防火墙(需要安装防火墙sudo apt-get install firewalld命令查看插件) 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火 ...
分类:
系统相关 时间:
2020-05-31 13:08:40
阅读次数:
56
一、GitLab主要服务构成 二、GitLab的工作流程 三、Gitlab安装配置管理环境 使用centos7的环境配置 1.提前准备工作 1.关闭防火墙 systemctl stop firewalld 禁用防火墙开机启动 systemctl disable firewalld 2.关闭SELIN ...
分类:
其他好文 时间:
2020-05-31 11:20:47
阅读次数:
71
#防火墙iptables ##四表五链: iptables:应用层内置控制防火墙的工具 netfilter:防火墙功能的具体实现,是内核空间的功能模块 通过iptables工具设置规则,netfilter根据该规则进行匹配并执行动作 ###四表: raw mangle nat filter ###五 ...
分类:
其他好文 时间:
2020-05-31 10:42:19
阅读次数:
61