![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
weixin_44796690
这个作者很懒,什么都没留下…
展开
-
删除bond0
删除bonding:1.ifconfig bond0 down(这步只能临时禁用)2.rm -rf ifconfig-bond0引用于> https://blog.csdn.net/Ketchup_/article/details/77917634转载 2019-04-22 16:17:58 · 5978 阅读 · 0 评论 -
检测是否有人在抢自己的ip
检查别人抢ip 方法 mac一个就是没人抢[root@www html]# arping -I eth0 10.0.112.47ARPING 10.0.112.47 from 10.0.112.134 eth0Unicast reply from 10.0.112.47 [00:0C:29:21:F6:3C] 1.560msUnicast reply from 10.0.112.47 ...原创 2019-04-17 21:07:18 · 274 阅读 · 0 评论 -
iptables A主机 ping B 主机
在iptables中, 想要 A 主机 可以ping B 主机 可以如下设置:[root@localhost ~]# iptables -A INPUT -s IP(B主机) -d IP(A主机) -p icmp --icmp-type 0 -j ACCEPT[root@localhost ~]# iptables -A OUTPUT -s IP(A主机) -d IP(B主机) -p ...原创 2019-04-14 15:17:49 · 715 阅读 · 0 评论 -
ssh 自动链接 shell 练习脚本
!/bin/baship=10.0.112.144pass=centosif test ! -e /root/.ssh/id_rsathenssh-keygen -t rsa -f /root/.ssh/id_rsa -P “”fi/bin/expect <<EOFspawn ssh-copy-id -i root@KaTeX parse error: Can't u...原创 2019-04-09 20:34:14 · 215 阅读 · 0 评论 -
nfs 同步共享文件
nfs 服务器软件包: nfs-utils端口号: 2049/tcp配置文件 /etc/exports服务器端:yum -y install nfs-utils 安装nfssystemctl start nfssystemctl enable nfs例如:mkdir -p /etc/dir1vim /etc/exports 建立分享区/etc/dir1 ...原创 2019-05-08 09:04:02 · 472 阅读 · 0 评论 -
ftp 文件共享
FTP : 文件传输协议软件包: vsftpdftp端口: 控制端口 21/tcp数据端口 20/tcp配置文件: /etc/vsftpd/vsftpd.conf有主动模式和被动模式注释:1、控制端口是用来建立连接的,不能传数据2、主动模式是服务器主动送达,客户端需要提供地址,不安全3、被动模式是客户端去服务器取4、主动和被动是由客户端决定的两种模式的工作原理:主动模式...原创 2019-05-08 09:21:32 · 473 阅读 · 0 评论