1. 实验环境 CPU:4 内存:8G ip:192.168.0.187 开启iptables防火墙 关闭selinux java =1.5 使用yum方式安装的java,提前配置好JAVA_HOME环境变量 2. MySQL信息 mysql账号 root MySQL密码 liykpntuu9?C ...
分类:
数据库 时间:
2019-10-08 18:46:20
阅读次数:
292
实验环境:一台调度器和两台web主机 所有机器关闭防火墙及linux安全机制 iptables -F systemctl stop firewalld setenforce 0 配置调度器: 1.安装ipvsadm服务 yum -y install ipvsadm 2.配置负载调度器 ifconfi ...
分类:
其他好文 时间:
2019-10-07 17:31:56
阅读次数:
91
LVS DR模式实验 三台虚拟机,两个台节点机(Apache),一台DR实验调度机 一:关闭相关安全机制 systemctl stop firewalld iptables -F setenforce 0 二:调度机配置 [root@localhost ~]# yum -y install ipvs ...
分类:
其他好文 时间:
2019-10-06 13:43:30
阅读次数:
85
原因是master主机的防火墙没关,导致无法访问主机的8080端口,解决方法暂时关闭主机上的防火墙。 * centos6 : service iptables stop * centos7 : systemctl stop firewalld ...
systemctl firewall-cmd 改用iptables.service ...
分类:
其他好文 时间:
2019-10-05 20:45:28
阅读次数:
168
1、关闭防火墙 service iptables stop 2、关闭SELinux setenforce 0 3、安装所需依赖及编译工具 yum install -y gcc openssl-devel perl 4、下载pure-ftpd wget https://download.pureftp ...
分类:
其他好文 时间:
2019-10-05 16:05:52
阅读次数:
104
CentOS 7默认使用的是firewall作为防火墙,这里改为iptables防火墙。 firewall操作: # service firewalld status; #查看防火墙状态 (disabled 表明 已经禁止开启启动 enable 表示开机自启,inactive 表示防火墙关闭状态 a ...
分类:
其他好文 时间:
2019-10-05 12:56:46
阅读次数:
90
1. 安装iptables yum install iptables 2. service命令 查看iptables是否在运行:service iptables status 启动iptables:service iptables start 重启iptables 关闭iptables 3. 开机启 ...
分类:
其他好文 时间:
2019-10-04 23:13:18
阅读次数:
101
firewalld详解 注:为了便于查看,我把iptables和firewlld的使用总结文档放到了这个链接(下载),这个文档如果有新的内容和更正,我会及时更新。 有需要可以直接下载查看,应该比在博客(博客做很多格式太耗费时间了)上看到的格式要友好一些。 说明:个人认为此处文章适合已经对firewa ...
分类:
其他好文 时间:
2019-10-03 16:35:31
阅读次数:
163
保存转发规则的时候,发现service iptables save 无效,而且报错[root@localhost bin]# service iptables saveThe service command supports only basic LSB actions (start, stop, ...
分类:
其他好文 时间:
2019-10-03 14:37:46
阅读次数:
120