Introduction

Do you want to play Minecraft with friends on your own server, but you’re not sure where to start? At ENGINYRING, we make it easy for anyone, even beginners, to set up a Minecraft server using our VPS hosting plans. This guide explains each step in simple language so you can follow along, even if you’ve never managed a server before. We’ll use a tool called LinuxGSM, which automates most of the hard work for you!

What You’ll Need

  • An ENGINYRING VPS (choose Ubuntu 22.04 if possible)
  • Basic computer skills (you can copy and paste commands!)
  • A domain name (optional, makes connecting easier)
  • About 30 minutes of time

Step 1: Log In to Your VPS

After ordering your VPS from ENGINYRING, you will get an IP address, username, and password. You need to connect to your server. On Windows, use a program called PuTTY. On Mac or Linux, just open the Terminal.

ssh yourusername@your_vps_ip

When asked, enter your password. Now you are inside your server!

Step 2: Update Your Server

To make sure everything is up to date, copy and paste this command and press Enter:

sudo apt update && sudo apt upgrade -y

Step 3: Install Needed Tools

Copy and paste the command below. This installs all the tools you’ll need:

sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat openjdk-17-jre-headless -y

Step 4: Create a New User for Your Minecraft Server

It’s best to run the Minecraft server from a special user (not your main account). This helps protect your server.

sudo adduser --disabled-login minecraft

Follow the instructions to set a password. When done, switch to this new user:

su - minecraft

Step 5: Download and Set Up LinuxGSM

Now let’s get LinuxGSM. It’s a free tool that sets up the Minecraft server for you!

wget -O linuxgsm.sh https://linuxgsm.sh
chmod +x linuxgsm.sh
./linuxgsm.sh mcserver

Step 6: Install Minecraft Server

Type this command to start the installation:

./mcserver install

The server will download everything it needs. Just wait until it finishes. If it asks you to accept the Minecraft EULA (End User License Agreement), you can open the file using this command:

nano serverfiles/eula.txt

Change eula=false to eula=true, then save and exit (press CTRL+X, then Y, then Enter).

Step 7: Start Your Minecraft Server

Your Minecraft server is ready! Start it with:

./mcserver start

To see if it’s running, type:

./mcserver details

Step 8: Open the Game Port

For friends to join your server, you need to “open” the game port (25565). Paste this:

sudo ufw allow 25565/tcp
sudo ufw enable

This makes sure the server can accept connections from Minecraft players.

Step 9: Connect to Your Minecraft Server

Open Minecraft on your computer. Click Multiplayer > Add Server. Enter your VPS IP address. (You can find this in your ENGINYRING VPS control panel or welcome email.)

If you have a domain name (like play.yoursite.com), you can point it to your VPS so friends can use that instead of the IP!

Step 10: Basic Server Management

  • To stop the server: ./mcserver stop
  • To restart the server: ./mcserver restart
  • To update Minecraft: ./mcserver update
  • To make a backup: ./mcserver backup

You can always get help from our support team if you’re stuck.

Bonus: Customize Your Minecraft Server

Want to change the server name, number of players, or world settings? Edit the server.properties file:

nano ~/serverfiles/server.properties

Make your changes, then save and restart the server!

Extra Help from ENGINYRING

Conclusion

Now you have your own Minecraft server running on a fast and secure ENGINYRING VPS! You control who joins, when you play, and what rules are set. This is just the start—try adding plugins, new worlds, or mods when you’re ready. For more guides or if you want extra help, reach out to our support team anytime.

Useful Links