甲骨文很早前就推出云,那时人很少,机子开通比较容易,后来有人在LEB上发了一贴,然后就传开了。本文主要以centos讲解一下Oracle Cloud 免费套餐的VPS到手后的一些常规操作。
第一:修改使用root登陆。逐一运行如下命令,密码qwe123自己修改一下。
echo root:qwe123 |sudo chpasswd root sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo service sshd restart
第二:卸载甲骨文内置脚本,这玩意特别卡,所以卸载之。逐一运行如下命令
systemctl stop oracle-cloud-agent systemctl disable oracle-cloud-agent systemctl stop oracle-cloud-agent-updater systemctl disable oracle-cloud-agent-updater