1.brctl命令安裝linux
linux能夠工做在網橋模式,必須安裝網橋工具bridge-utils,運行命令:vim
yum install bridge-utilscentos
或者下載bridge-utils-1.4.tar.gz進行安裝socket
2.dig/nslookup安裝tcp
linux系統是不自帶這個命令的,須要人手動安裝
ide
命令yum provides */nslookup 就能夠找到提供nslookup命令的軟件包了
工具
yum install -y bind-utils 安裝便可,dig host也是在這個包裏
centos7
3.nmap安裝rest
# yum install nmap [on Red Hat based systems]
server
$ sudo apt-get install nmap [on Debian based systems]
4.mutt
yum install mutt -y
5.telnet
centos 6
yum install -y telnet*
cent 7安裝
[root@k8s-master ~]# yum -y install xinetd telnet telnet-server
# 容許 root 帳號登錄
[root@k8s-master ~]# vim /etc/securetty
# 末尾添加兩行
pts/0
pts/1
# 添加防火牆端口
vi /etc/sysconfig/iptables
-A INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT
# 重啓服務關閉 firewalld
systemctl restart iptables
systemctl disable firewalld
systemctl stop firewalld
# 註冊服務
systemctl enable telnet.socket
systemctl start telnet.socket
systemctl enable xinetd
systemctl start xinetd
# centos7下面安裝telnet 沒有生成 /etc/xinetd.d/telnet 文件,我照之前的配置本身寫了個進去貌似沒用處,網上也沒找到更多資料了
# 如今這樣臨時用用也夠了