原文地址:https://www.cnblogs.com/moxiaoan/p/5683743.html 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl statu ...
分类:
其他好文 时间:
2018-10-11 13:45:37
阅读次数:
99
转自 --https://blog.csdn.net/ZF_9420/article/details/80466606 ...
分类:
系统相关 时间:
2018-10-10 22:04:46
阅读次数:
270
直接贴命令:vi/etc/sysconfig/network-scripts/ifcfg-eth0只保留以下内容:TYPE="Ethernet"BOOTPROTO="static"NAME="eth0"DEVICE="eth0"ONBOOT="yes"IPADDR=""PREFI
分类:
其他好文 时间:
2018-10-09 15:37:07
阅读次数:
204
[TOC] 服务器主机名和 IP 规划参考模板 | 主机名 | eth0 网卡 | eth1 网卡 | 服务简介 | | | | | | | lb01 | 10.0.0.5/24 | 172.16.1.5/24 | 负载服务 | | lb02 | 10.0.0.6/24 | 172.16.1.6/2 ...
分类:
其他好文 时间:
2018-10-06 22:07:47
阅读次数:
379
常用Linux命令: 文件和目录: # cd /home 进入 '/home' 目录# cd .. 返回上一级目录# cd ../.. 返回上两级目录# cd - 返回上次所在目录# cp file1 file2 将file1复制为file2# cp -a dir1 dir2 复制一个目录# cp ...
分类:
系统相关 时间:
2018-10-05 12:10:34
阅读次数:
209
执行yum命令时出现以上错误; 解决方法: 然后重启 :reboot ...
分类:
Web程序 时间:
2018-10-04 13:19:27
阅读次数:
209
1、局域网图片嗅探 工具 arpspoof arpspoof -i eth0 -t 192.1681.10(网卡 目标地址) 192.168.1.1 局域网网关,如果在Windows中可以使用局域网扫描工具 Advanced ip Scanner linux中 扫描局域网在线的主机 fping -a ...
分类:
其他好文 时间:
2018-10-03 00:32:49
阅读次数:
255
1、取出历史命令,不包含序列号 2、awk同时指定多个分隔符 取出eth0的IP、广播地址和子网掩码 ...
分类:
其他好文 时间:
2018-10-02 00:22:16
阅读次数:
184
MASQUERADE同样是做源地址转换,只不过防火墙会根据该策略自动查找可用的公网IP地址,适应变化的情况?若接口使用ppp+,表示匹配ppp0、ppp1……中任意可用的拨号连接?若需要演示操作,可以针对前一个SNAT策略的例子进行改写(因没有ADSL连接,接口仍然使用eth0):先执行“iptab ...
分类:
其他好文 时间:
2018-10-01 11:56:38
阅读次数:
177
一、配置YUM仓库服务 YUM服务器 client 192.168.1.1 192.168.1.10[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0[root@localhost ~# service network ...
分类:
其他好文 时间:
2018-10-01 00:09:20
阅读次数:
163