Linux 日常运维
CentOS 7.9 安装常用工具
# -bash: ping: command not found
# -bash: ifconfig: command not found
# 安装 net-tools
yum -y install net-tools
# -bash: vim: command not found
# 安装 vim
yum -y install vim
# -bash: rz: command not found
# -bash: sz: command not found
# 安装 rz、sz
yum -y install lrzsz
# -bash: wget: command not found
# 安装 wget
yum -y install wget
# 防火墙操作,本地测试建议关闭防火墙
# 查看防火墙状态
systemctl status firewalld.service
# 关闭防火墙
systemctl stop firewalld.service
# 关闭服务器开机自启动防火墙
systemctl disable firewalld.service
# 开启防火墙
systemctl enable firewalld.service