Next, we are going to download the Minecraft Server. cd minecraftdir Move To New Minecraft Directory Move to the newly created Minecraft directory. sudo mkdir minecraftdir Create A Minecraft Directory Next, we will create a new directory to keep our Minecraft Server files in it. sudo apt install screen Install Screen Package (This is an optional step.) If you need the Minecraft server to run in the background, download the “screen” package using the following command. sudo java -version Check Installed Java Version After installing the java successfully, you can check its version to ensure it is installed. sudo apt install openjdk-8-jdk -y Install Java OpenJDK package Install the java package that will be used on the Minecraft Server. sudo apt install wget Install wget Package Ensure that you have the wget package installed if not, you can install it using the following command. su - minecraftuser Switch To Minecraft User Let’s switch to the newly created “minecraftuser” using the subsequent command. sudo usermod -aG sudo minecraftuser Add Minecraft User To Sudo Group Add the new “minecraftuser” to the “sudo” group. sudo adduser minecraftuser Create a New Minecraft User Let’s start by creating a new user for the Minecraft Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |