您是否正在寻找免费的测试服务器来托管一些较小的项目或用作游乐场环境? 不幸的是,没有太多免费的 VPS 选项,而且通常,如果它们是免费的,甚至可能不值得花精力去设置。 Oracle 提供了一个相当不错的云 VPS 服务器,我已经将其用作测试服务器几个月了。我建议你尝试一下! 本指南将引导您了解如何在 GUI 中设置 Oracle Cloud 免费服务器,以及如何使用 Cleavr 作为“自定义服务器”连接到它。 [更新] 2022 年 4 月 10 日 Cleavr 现在支持开箱即用的免费 Oracle 云 VPS。 您可以按照步骤 1 中的说明创建 Oracle 云帐户。现在,在 Cleavr 中创建 VPS 配置文件,您就可以配置新的免费 Oracle 服务器了。要将您的 Oracle Cloud 帐户连接到 Cleavr,您可以参考我们的文档 前往 Oracle Cloud 并创建一个新帐户。 预计必须提供信用卡才能创建帐户。只要您坚持使用他们提供的免费选项,您就不必担心您的卡被扣款。他们在标记哪些资源符合免费资格方面做得很好。 还要提一下,Oracle 代表会通过电子邮件和电话与您联系。相信我,他们会尽力与您取得联系 注册后,在入门页面上启动新的 VM 实例。 在 **图像和形状** 卡上,单击 **编辑 您需要选择 **Canonical Ubuntu: 20.04** 实例。 添加您的 SSH 密钥(您需要在后续步骤中通过 SSH 登录到新服务器)。 最后,单击 **Create 这将在 Oracle 端配置服务器。 一旦 Oracle 服务器分配了公共 IP 地址,请将 IP 复制到剪贴板并将标头复制到 Cleavr。 在仪表板上,单击 **创建** 按钮并选择服务器。 对于 VPS 配置文件,选择 **自定义服务器 为服务器命名并将 **IP 地址** 粘贴到相应的字段中。 复制命令以在服务器上以 root 身份运行,然后打开终端并通过 SSH 连接到服务器。 ssh ubunutu@ The default server user with Oracle Cloud is ubuntu. You cannot access as root at this point. Once you conenct to the server, you can switch to root using the following command. sudo su root Now, paste in the command and run it. Back in Cleavr, provision the server. Cleavr will add further dependencies to the server and get it all ready to host your apps. We've seen some odd behavior that blocks port 80 connects, even when enabling it via the Oracle UI and in UFW. This often seems to really come into play after a server reboot. Thanks to our community members, we've found that installing firewalld on the server and opening Port 80 works to resolve the issue. On the server terminal via SSH, run the following commands one-by-one: apt install firewalld firewall-cmd --zone=public --permanent --add-port=80/tcp firewall-cmd --reload You're now all setup to use Cleavr to manage your free Oracle Cloud server and start adding sites and deploying web apps! Sign up for a 5-day free trial of Cleavr Pro. No credit card required until you decide to subscribe.Sign up for free Server and web app deployment management for doers. 💡 🏗 © 2022 Little Bets, LLC. All rights reserved. ❤️ ☕️ 🎨