甲骨文相关
甲骨文相关记录。
前言
甲骨文没法直接重装系统,因此这里记录一下甲骨文相关问题。
开启 root 登录
1vim /etc/ssh/sshd_config
2
3PermitRootLogin yes
4PasswordAuthentication yes
5
6systemctl restart sshd.service
卸载相关程序
pcbind
1systemctl stop rpcbind
2systemctl stop rpcbind.socket
3systemctl disable rpcbind
4systemctl disable rpcbind.socket
oracle-cloud-agent
1systemctl stop oracle-cloud-agent
2systemctl disable oracle-cloud-agent
3systemctl stop oracle-cloud-agent-updater
4systemctl disable oracle-cloud-agent-updater
防火墙相关
停止 firewall
并禁止开机启动
1systemctl stop firewalld.service
2systemctl disable firewalld.service
ubuntu
开放所有端口
1iptables -P INPUT ACCEPT
2iptables -P FORWARD ACCEPT
3iptables -P OUTPUT ACCEPT
4iptables -F
清除 iptables
规则
1apt-get purge netfilter-persistent
2reboot
📎 参考
最后修改于 2024-02-27