bedrock_server Minecraft Bedrock server startup screen To remedy this problem, we will be launching the Minecraft server with the “screen” application. The only problem remaining is when we close the SSH window, the Minecraft server will stop working. bedrock_serverĭuring the first start, the server will create a default world. Then, we can start the server with the following command. Our server is now ready to be started! Bringing the Minecraft Bedrock server onlineīefore you can start the server, you must make the main server file executable with the following command. Note: The file name may vary depending of the current Minecraft release. Now that the file has been downloaded to the server, we will decompress it. With the copied link and the Linux “wget” command, we will download the file to our server. Installation serveur Minecraft Bedrock, téléchargement du serveur sudo useradd -d /home/minecraft -m minecraftĪnd then we will assign a password to the user (the system will ask you to enter the password twice. I will create a user named “minecraft” with a folder in “/home/minicraft/”. Creating a user improves the security of the server. Now we must create a user under which we will run the Minecraft PE server. I will simply give you’re the command to enter. The curious can find descriptions easily on the web. I will not go into the description of each module. We will install “PocketMine MP” as Minecraft PE server, it is easy to use and is still maintained regularly.įirst, install the necessary modules for the Minecraft PE server to function properly. Good, now that security has been improved on your server, you can start the installation of the necessary modules for the Minecraft PE server. sudo service sshd restartĪnd we open the firewall sudo ufw enable Preparing the Server for Minecraft Then restart the SSH service (You may have to reconnect). The order is important to avoid getting banned outside the server. Now that we’re done with our firewall configuration, we need to restart the SSH service and the firewall. sudo ufw allow 22222/tcpįinally, we will open the necessary port for the Minecraft Bedrock server. Important, I put port 22222 here because it’s the one I opened in my server, if you selected another port, please change 22222 for your port. Now we must allow SSH to connect to the server so that we can always have access to the server. Then, allow all outgoing connections from the server. The first rule will block all incoming connections in the server: sudo ufw default deny incoming Now you must prepare the firewall to prevent everyone having access to your server. Once the port is changed, press “CTRL-X” to close an save. For this tutorial, I will change port 22 for the port 22222. You need to replace the port number on the line below the cursor, shown in the picture above. Minecraft server protection, SSH port change Start by opening the SSH service configuration file (located at: /etc/ssh/sshd_config) sudo nano /etc/ssh/sshd_config Fortunately, it is very simple to change the default port on a Linux server. Therefore, many of the hackers will try to exploit this port. SSH Access to the Serverīy default, the SSH service of a server is listening on port 22. This section is optional, but highly recommended. Once the server is up to date, you must apply a minimum of security. Restarting the server will ensure that all updates have been applied. I suggest to restart the server after performing the updates. Note: When you enter the “sudo” command for the first time in the session, the server will ask you to enter the administrator password. Here are the commands to perform to update on your Minecraft server. For those without a server, you can take a look at our excellent virtual servers.īefore you begin, it’s important to make sure that all updates are all installed on your server. To proceed with the installation, you must have an Ubuntu 20.04 server with SSH access (command line) on hand. We will separate the creation of our server into two stages: Players from every gaming consoles (except Nintendo Switch) can log into a Bedrock server and play in the same world. The main advantage of this new version is the compatibility. This version replaces the old “PE” or “Pocket Edition” version of Minecraft. Today we are going to install a Minecraft Bedrock server on Ubuntu.
0 Comments
Leave a Reply. |