Pufferpanel on VPS

Pufferpanel is a game hosting application, this is my way of hosting it on a virtual server

SOFTWARE PORTFOLIO

Ghaffar A

10/5/20212 min read

One of my first projects was when I used a VPS to host an application.

I used Oracle Cloud as it allowed for a free tier account. Everytime we needed a Minecraft server we had to self host at home or pay for one with a name brand provider.

I stumbled across a video that sparked my interest in virtualization. :

Hp_crafter : How to set up a powerful 24/7 1.17 Minecraft Server on Oracle Cloud for Free 2021

(Note pufferpanel video is not avaliable but similar concepts)

For the VPS it was a 4 core arm processor (Ampire) with 20GB ram with OS of Ubuntu. If you want to replicate you need a VPS which can open ports for port forwading

Tools needed on my side were Putty (or any SSH client to take a private key) and WinSCP or FileZilla for SFTP file transfer

Once the Oracle account was set up and the VPS was online I used these commands to get everything setup and installed:

Command List I used :

sudo apt update

sudo apt upgrade

sudo -s //root mode

java -version (Check if there is JAVA installed )

If not :

sudo apt install default-jre

java -version

curl -s https://packagecloud.io/install/repositories/pufferpanel/pufferpanel/script.deb.sh | sudo bash sudo apt-get install pufferpanel

sudo pufferpanel user add //pufferpanel account setup

sudo systemctl enable --now pufferpanel //start and enable on startup

apt install firewalld //installing firewall

firewall-cmd --permanent --zone=public --add-port=25565/tcp //port opening rules

firewall-cmd --permanent --zone=public --add-port=8080/tcp

firewall-cmd --permanent --zone=public --add-port=5657/tcp

firewall-cmd --reload //reload firewall to add new rules

Done!

This is what you should have when you navigate to the IP with the port of 8080 after login: