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