If you have been following along with our Build your own Homelab series one might start to wonder when we are getting to more practical installs. We have a WordPress instance running in our Proxmox server node, and we can access it from outside of our home network, but how useful is something like that for a normal user? Well, today we look at something that is lot more useful, and certainly a whole lot more fun: Let’s get our own Minecraft server up and running!
Step 1: Get the LXC Template ready to go
Today we deviate a bit from the norm and use Turnkey Linux again for their, well, Turnkey Linux Container template we need. The specific one we need is the Turnkey Linux Gameserver container. Open a browser window and go to your Proxmox installation instance. After logging in, expand the Datacenter node in the left navigation menu, then expand the Proxmox node where we want to install the game server on. Under the selected node, select the local storage item. This is where we can install our ISO images and our LXC Container templates. In the middle navigation pane, select CT Templates. This will list all the templates we have downloaded for easy creation of containers. We need to a new one, so in the main window, click on
. This will open all the Turnkey Linux LXC Container templates. We are looking for the Gameserver one. Search for Gameserver and click download after selecting the Gameserver template. The download should be fairly quick, once done we are ready to create a new instance container.
Step 2: Create a new Gameserver Container
Now that we have the container template ready to go, we need to create a new container. In Proxmox, click the
button. We need to go through the steps of all the screens again
Once done, you will also be able to get the IP Address. But we still don’t have an actual game server running, so let’s get that sorted.
Step 3: Start a new Game Server
Now that we have the container up and running, we need to run an actual game server. For this, we are going to need to access the Console of the newly created container. In the left navigation window, select the newly created container and in the middle navigation, click on
. This will open the integrated console. You will need to log in, use root as username and the password you selected during the install phase. First you will be prompted for a new password for the gameuser account. This is the account that we are going to use to run game servers. So select a password, and confirm the password on the following screen.
As with all Turnkey installs, the next screen will prompt you for an API key for easier backup etc. You can skip this step. You will be prompted for an email address if you want to receive update notifications. Once past that screen you will be prompted if you want to install the latest security updates. It is always a good idea and we will recommend selecting Install on this step. Once the security updates is done, it is recommended to reboot.
Once the reboot completes, we will need to set up, and start, our game server. Once back in the console after the reboot, we first need to change into the gameservers directory with
cd gameservers
This will get us on the correct directory to see all available game servers. List the available types with
./auto_install.sh --list
From the extensive list, select a game server you want to install and get its short code. In our case we want Minecraft Bedrock, with the code mcb. To install a new server, use the command: sudo ./auto_install.sh --game GAME --user USERNAME [--path PATH] so in our case:
sudo ./auto_install.sh --game mcb --user gameuser
This will get the game server installed and ready to go. All we need to do now is start the server. So once installation has completed, we need to get the server started. Run the following commands:
su gameuser
cd gameserver
./mcbserver start
The commands above will
First change user su to the gameserver user
Change into the gameserver directory under the gameuser account
Start the Minecraft server
Conclusion
That is all there is to it, we can now access our own Minecraft server from our home network. Just add a new server with the IP address and enjoy your own server!






























