Featured image of post Oracle开放全部端口并关闭防火墙

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

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

一、Ubuntu系统

1、开放所有端口

1
2
3
4
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

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

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

二、Centos系统

1、删除多余附件

1
2
3
4
systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater

2、停止firewall并禁止自启动

1
2
systemctl stop firewalld.service
systemctl disable firewalld.service

转载需要保留原始链接,未经明确许可,禁止商业使用。CC BY-NC-SA 4.0

最后更新于 2023/12/05 21:41 CST
comments powered by Disqus
本博客已稳定运行
发表了77篇文章 · 总计103.35k字