How to Install OpenGamePanel on Ubuntu or Debian
If you’ve been chasing a lightweight game‑server manager for your home rig, OpenGamePanel is a solid pick. Below I’ll walk through the exact steps I use on my Ubuntu 22.04 box (the same works on Debian 11) and explain why each move matters.
Why You’ll Want to Use OpenGamePanel
OpenGamePanel gives you a web‑based control panel for Minecraft, Counter‑Strike, or any other server that runs on Linux. It’s free, runs in the background as a systemd service, and keeps all your game binaries tidy under /opt. I’ve seen people waste half an hour trying to juggle screen sessions when they could just click “start” from a browser.
1. Prep Your System
sudo apt update && sudo apt upgrade -y
Updating before you install keeps the package database fresh and reduces the risk of dependency hell later on. I’ve run into broken installs after an unattended upgrade left a half‑fetched libssl behind.
2. Install Required Dependencies
sudo apt install -y git curl wget software-properties-common
- git lets you clone the repo.
- curl and wget are handy for fetching scripts or downloads.
- software-properties-common gives us add-apt-repository, which we’ll use to add the OpenGamePanel PPA.
3. Add the OpenGamePanel Repository
sudo add-apt-repository ppa:opengamepanel/ppa
Adding a dedicated PPA ensures you get updates directly from the developers instead of hunting for tarballs on GitHub every time a new release drops.
4. Install OpenGamePanel
sudo apt update sudo apt install -y opengamepanel
The package pulls in nodejs, npm, and all the Node modules the panel needs. If you see a prompt about choosing a default web server, pick none—OpenGamePanel bundles its own lightweight web stack.
5. Start and Enable the Service
sudo systemctl start opengamepanel sudo systemctl enable opengamepanel
Enabling it means the panel boots automatically with your machine. I’ve had a friend who tried to launch the panel from the terminal every time their server went down; this eliminates that hassle.
6. Verify the Web Interface
Open a browser on any device in the same network and navigate to:
http://<your-server-ip>:8080
If you see the OpenGamePanel login screen, congratulations! The default credentials are:
- Username: admin
- Password: admin
It’s a good idea to change them immediately.
Common Pitfalls and Quick Fixes
| Problem | Quick Fix |
|---|---|
| Port 8080 blocked by firewall | sudo ufw allow 8080/tcp |
| “Node module not found” error | Run sudo npm install -g opengamepanel inside /usr/share/opengamepanel |
| Panel not starting after reboot | Check logs with journalctl -u opengamepanel -b and look for missing libraries |
I’ve seen a few users stumble on that firewall rule, especially when they’re behind a corporate gateway. Once you open the port, the panel loads in seconds.
Tweaking Settings
OpenGamePanel’s config lives under /etc/opengamepanel/config.json. If you need to point it at a custom game server directory or tweak memory limits, edit that file and restart the service:
sudo nano /etc/opengamepanel/config.json sudo systemctl restart opengamepanel
Done! What’s Next?
Now you can add your first Minecraft server: go to “Add Game Server”, select “Minecraft”, fill in the name, port, and memory limits. The panel will download the latest jar for you.
If you ever need a quick restart or want to stop all servers, just hit the “Stop All” button—no more juggling multiple terminals.