- #Minecraft download server install#
- #Minecraft download server update#
- #Minecraft download server upgrade#
- #Minecraft download server software#
Save the stop script just like the start script by pressing CTRL + X, then hit the "Y" key and press enter. Within the nano editor you need to write the following command into your script: screen -r minecraft -X quit.
#Minecraft download server software#
Important: Keep enough memory for the system and other software running on your Linux server. Instead of "4096", you can specify the amount of RAM in MB that you want to reserve for your Minecraft server. Make sure you enter the correct filename of your previously downloaded JAR file. Here you need to enter the following command: screen -AmdS minecraft java -Xms4096M -Xmx4096M -jar /home/minecraft/spigot-1.18.2.jar nogui. To create the start script named "start.sh", use the command nano start.sh. These two scripts let you start and stop your Minecraft server later. Next, create a start and a stop script.After the download is completed, you should see the downloaded JAR file using the command ls.If you want to use Craftbukkit, the command is wget. Then use the command wget to download the latest version of Spigot.The home directory is named exactly like the user himself and therefore the path is "/home/minecraft". Go to the home directory of this user by executing the command cd.Now use the command su minecraft to switch to your Minecraft user.You can skip all further information such as the name, telephone number, etc.You can use a different name, but make sure to always use your own chosen user name instead of "minecraft" when you follow the next steps of this tutorial (e.g. In this example the user is called "minecraft". Use the following command: adduser -disabled-login minecraft. Now add a user who will run the Minecraft Server on your Linux server.
#Minecraft download server install#
Use the following command for the installation: apt install screen -y You'll need this to let the Minecraft server run in the background later, so you can close the PuTTY window without causing the Minecraft server to stop.
![minecraft download server minecraft download server](https://i.ytimg.com/vi/aeUvK4s9B_0/maxresdefault.jpg)
#Minecraft download server update#
Now update your package lists again with the command apt update.
![minecraft download server minecraft download server](http://i.ytimg.com/vi/L7l67QKeDc0/maxresdefault.jpg)
#Minecraft download server upgrade#
Now install any available updates of the packages already installed on your server using the command apt upgrade -y.
![minecraft download server minecraft download server](https://gamedevour.com/wp-content/uploads/2020/11/featuredminecraft.jpg)