Guide – How To Start – Minecraft Java Game Server on Linux CentOS 8

How to start and connect to Minecraft Java Game Server on Linux CentOS 8

  1. To start the server, you just need to start the VM through Azure Portal.
  2. For the connection to the server you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
  3. Run your client to play the Minecraft Java Edition.
  4. Click “Multiplayer” in the main menu.
  5. Click “Add Server”.
  1. In the appeared window, in the “Server Name” field name the server as you like.
  2. In the “Server Address” field enter the IP address of the VM and click “Done”
  1. In the server list, select the previously added server and click “Join Server”

Server management settings

  1. Download and run Putty, then in the “Host Name” field, enter the address of the VM. Then click “Open” to connect.
  1. In the opened console you will need to enter the login and password specified while you created VM.
  2. To manage the server, you can use the commands described in the basic usage tab on the page – https://linuxgsm.com/lgsm/mcserver/
  3. In order to enter these commands, you have to enter sudo su into the VM console.
  4. Then enter su steamuser and after that change the directory cd / home / steamuser.
  5. Now you can enter special commands to control the server. For example, by entering ./mcserver details, you can find out the state of the server
  6. To work, you should open TCP 25565,25575 – UDP 25565 ports in Azure Firewall

WordPress.com.

Up ↑

%d bloggers like this: