Oracle开放全部端口并关闭防火墙

admin
2022-02-12 / 0 评论 / 7,771 阅读 / 正在检测是否收录...

登陆甲骨文后台打开实例
找到子网点击进去
enter description here
点击进去安全组
enter description here
修改安全组,为图描述选项随意!
enter description here

一、Ubuntu系统

1、开放所有端口

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

2、关闭或强制删除防火墙

apt-get purge netfilter-persistent && reboot
或 rm -rf /etc/iptables && reboot

二、Centos系统

1、删除多余附件

systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater

2、停止firewall并禁止自启动

systemctl stop firewalld.service
systemctl disable firewalld.service
1

评论

博主关闭了所有页面的评论