Skip to content

Set up a server on Oracle Cloud Free Tier

oldnapalm edited this page Sep 5, 2023 · 1 revision

Sign up at https://www.oracle.com/cloud/free/

Create a compute instance

Open the navigation menu and click Compute, then click Instances.

Click Create instance.

In the Image and shape box, click Edit.

Click Change image and select Ubuntu / Canonical Ubuntu 22.04.

In the Add SSH keys box, click Download the private key.

Click Create.

Add ingress rules

Open the navigation menu and click Networking, then click Virtual Cloud Networks.

Select the VCN you created with your compute instance.

With your VCN displayed, click the link with your subnet name.

Click the Default Security List link.

Click Add Ingress Rules.

Fill in the ingress rule as follows:

Stateless: Checked
Source Type: CIDR
Source CIDR: 0.0.0.0/0
IP Protocol: UDP
Source port range: (leave-blank)
Destination Port Range: 4499

Click Add Ingress Rules.

Connect to server

Download and install PuTTY.

Open PuTTYgen and load the private key.

Type and confirm the (new) passphrase.

Save the private key.

Open Pageant, add the private key and type the passphrase.

Open PuTTY and type the public IP address in Host Name.

Under Connection / Data, type ubuntu in Auto-login username.

Back to Session, type a name in Saved Sessions and click Save.

Double click the saved session to connect.

Update firewall rules

sudo iptables -I INPUT 6 -m state --state NEW -p udp --dport 4499 -j ACCEPT
sudo netfilter-persistent save

Install RageCoop server

mkdir ragecoop
cd ragecoop
wget https://github.com/RAGECOOP/RAGECOOP-V/releases/download/nightly/RageCoop.Server-linux-x64.zip
unzip RageCoop.Server-linux-x64.zip
chmod +x RageCoop.Server
./RageCoop.Server

Press Ctrl + C

nano Settings.xml

Change the line <AnnounceSelf>false</AnnounceSelf> to <AnnounceSelf>true</AnnounceSelf>.

Press Ctrl + X, then Y and Enter.

wget https://github.com/oldnapalm/RAGECOOP-V/releases/download/nightly-build/ragecoop.service
sudo mv ragecoop.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable ragecoop.service
sudo systemctl start ragecoop.service