摘要:
wget -q -O - http://www.microsoft.com 阅读全文
摘要:
# 将80端口的流量转发至192.168.0.1的8080端口 1.firewall-cmd --permanent --add-forward-port=port=80:proto=tcp:toaddr=192.168.0.1:toport=80802.开启防火墙伪装:firewall-cmd - 阅读全文
摘要:
1sudo yum -y install epel-release sudo yum -y update sudo shutdown -r now2yum -y install cockpit systemctl start cockpit systemctl enable cockpit.sock 阅读全文
摘要:
systemctl start firewalld # 启动systemctl stop firewalld # 停止systemctl enable firewalld # 启用自动启动systemctl disable firewalld # 禁用自动启动systemctl status fir 阅读全文
摘要:
# yum install lrzsz修改CentOS默认yum源为mirrors.aliyun.com1、首先备份系统自带yum源配置文件/etc/yum.repos.d/CentOS-Base.repo [root@localhost ~]# mv /etc/yum.repos.d/CentOS 阅读全文