ubuntu系统下
apt update -y
apt-get update -y && apt-get install curl -y
apt-get update
apt-get upgrade
apt-get dist-upgrade
放开端口删除多余组件
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -F
apt-get purge netfilter-persistent
snap remove oracle-cloud-agent
rm -rf /etc/iptables && reboot
centos系统下
yum update -y
apt-get update -y && apt-get install curl -y
删除多余附件
systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl stop firewalld.service
systemctl disable firewalld.service
开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
评论区