いくつかの小規模なプロジェクトをホストするため、またはプレイグラウンド環境として使用するための無料のテスト サーバーをお探しですか? 残念ながら、無料の VPS オプションはそれほど多くありません。また、多くの場合、無料の場合でも、セットアップする価値がない場合があります。 オラクルは、私が数か月間テストサーバーとして使用しているかなりまともなクラウド VPS サーバーを提供しています。試してみることをお勧めします! このガイドでは、GUIでOracle Cloud無料サーバーをセットアップする方法と、Cleavrを「カスタム・サーバー」として接続する方法について説明します [更新] 2022 年 4 月 10 日 無料のOracle Cloud VPSがCleavrですぐにサポートされるようになりました ステップ1で説明したように、Oracle Cloudアカウントを作成できます。CleavrでVPSプロファイルを作成すると、新しい無料のOracleサーバーをプロビジョニングする準備が整いました。 Oracle Cloud アカウントを Cleavr に接続するには、当社のドキュメントを参照してください。 Oracle Cloudに向かい、新しいアカウントを作成します アカウントを作成するには、クレジット カードを提供する必要があります。彼らが提供する無料のオプションに固執する限り、カードが請求されることを心配する必要はありません.彼らは、どのリソースが無料の対象であるかをタグ付けするのに優れています もう1つ言及することは、オラクルの担当者から電子メールと電話で連絡を受けることを期待してください.私を信じてください、彼らはあなたと連絡を取るために最善を尽くします.. サインアップしたら、開始ページで新しい VM インスタンスを起動します。 上で **Image and shape** カードで **edit をクリックします **Canonical Ubuntu: 20.04** インスタンスを選択する必要があります SSH キーを追加します (次の手順で新しいサーバーに SSH 接続する必要があります)。 最後に、 **作成 これにより、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 Port 80 and 443 will be closed by default. Assuming you plan to add websites to the server, open port 80 and 443 by clicking on **Virtual Cloud Network** from the server instance details screen Click **Security List** on the left menu Click on the security list Click **Add Ingress Rules** Add the following source and port - Add the ingress rule for port 80. Do the same process for port 443 We've seen some odd behavior that blocks port 80 and 443 connections, even when enabling it via the Oracle UI and in UFW Thanks to our community members, we've found running the following commands have solved the port issues in most cases On the server terminal via SSH, run the following commands one-by-one: sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT sudo netfilter-persistent save 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