คุณกำลังมองหาเซิร์ฟเวอร์ทดสอบฟรีเพื่อโฮสต์โปรเจ็กต์เล็กๆ บนหรือเพื่อใช้เป็นสภาพแวดล้อมสนามเด็กเล่นหรือไม่? น่าเสียดายที่มีตัวเลือก VPS ฟรีไม่มากนัก และบ่อยครั้งหากมันฟรี มันก็อาจไม่คุ้มค่ากับความพยายามที่จะตั้งค่าด้วยซ้ำ Oracle มอบเซิร์ฟเวอร์ VPS บนคลาวด์ที่ค่อนข้างดีซึ่งฉันใช้เป็นเซิร์ฟเวอร์ทดสอบมาสองสามเดือนแล้ว ฉันขอแนะนำให้คุณลองดูสิ! คู่มือนี้จะอธิบายวิธีการตั้งค่าเซิร์ฟเวอร์ Oracle Cloud ฟรีใน GUI และวิธีการเชื่อมต่อกับ Cleavr เป็น 'เซิร์ฟเวอร์แบบกำหนดเอง'[อัปเดต] 10 เมษายน - 2022 ขณะนี้ Oracle Cloud VPS ฟรีได้รับการสนับสนุนแบบสำเร็จรูปใน Cleavr คุณสามารถสร้างบัญชี Oracle Cloud ตามที่อธิบายไว้ในขั้นตอนที่ 1 ตอนนี้ให้สร้างโปรไฟล์ VPS ใน Cleavr และคุณก็พร้อมที่จะจัดเตรียม Oracle Server ใหม่ฟรีแล้ว หากต้องการเชื่อมต่อบัญชี Oracle Cloud ของคุณกับ Cleavr โปรดดูเอกสารประกอบของเรา ไปที่ Oracle Cloud และสร้างบัญชีใหม่ คาดว่าจะต้องจัดเตรียมบัตรเครดิตเพื่อสร้างบัญชี ตราบใดที่คุณยังคงใช้ตัวเลือกฟรีที่มีให้ คุณก็ไม่จำเป็นต้องกังวลว่าบัตรของคุณจะถูกเรียกเก็บเงิน พวกเขาทำงานได้ดีในการติดแท็กทรัพยากรที่มีสิทธิ์ฟรี อีกสิ่งหนึ่งที่ควรกล่าวถึง ตัวแทนของ Oracle จะได้รับการติดต่อทางอีเมลและโทรศัพท์ เชื่อฉันเถอะ พวกเขาจะพยายามอย่างเต็มที่เพื่อพยายามติดต่อกับคุณ.. เมื่อลงทะเบียนแล้ว ให้เปิดอินสแตนซ์ VM ใหม่ในหน้าเริ่มต้นใช้งาน บน การ์ด **รูปภาพและรูปร่าง** คลิก **แก้ไข คุณจะต้องเลือกอินสแตนซ์ **Canonical Ubuntu: 20.04** เพิ่มคีย์ SSH ของคุณ (คุณจะต้องใส่ SSH ในเซิร์ฟเวอร์ใหม่ในขั้นตอนถัดไป) สุดท้ายให้คลิกที่ **สร้างสิ่งนี้จะจัดเตรียมเซิร์ฟเวอร์ในฝั่งของ Oracle เมื่อเซิร์ฟเวอร์ Oracle มีที่อยู่ IP สาธารณะที่กำหนดแล้ว ให้คัดลอก IP ไปยังคลิปบอร์ดและส่วนหัวไปที่ Cleavr บนแดชบอร์ด ให้คลิก **สร้าง** ปุ่มและเลือกเซิร์ฟเวอร์ สำหรับโปรไฟล์ VPS ให้เลือก **เซิร์ฟเวอร์ที่กำหนดเอง** ตั้งชื่อเซิร์ฟเวอร์แล้ววาง **ที่อยู่ IP** ลงในช่องที่เกี่ยวข้อง คัดลอกคำสั่งเพื่อรันในฐานะรูทบนเซิร์ฟเวอร์ และเปิดเทอร์มินัลและ SSH ของคุณลงในเซิร์ฟเวอร์ ssh อูบุนตู@ 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