- #MINECRAFT DOWNLOAD LINUX INSTALL#
- #MINECRAFT DOWNLOAD LINUX UPDATE#
- #MINECRAFT DOWNLOAD LINUX UPGRADE#
- #MINECRAFT DOWNLOAD LINUX 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 LINUX 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.
![minecraft download linux minecraft download linux](https://www.psychz.net/content/gaming/minecraft/download.png)
Here you need to enter the following command: screen -AmdS minecraft java -Xms4096M -Xmx4096M -jar /home/minecraft/spigot-1.18.1.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 linux minecraft download linux](https://multimc.org/images/screenshots/main.png)
#MINECRAFT DOWNLOAD LINUX 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 LINUX UPDATE#
Now update your package lists again with the command apt update.Add the repository by executing the command echo "deb focal main" | tee /etc/apt//java.list.Use the command apt-key adv -keyserver hkp://:80 -recv-keys 73C3DB2A to add the key needed for the Java repository.Next, install the packages needed for future installations in this tutorial by executing the following command: apt install gnupg curl dirmngr nano unzip -y.
![minecraft download linux minecraft download linux](https://i0.wp.com/benisnous.com/wp-content/uploads/2021/05/How-to-download-Minecraft-for-Mac-Windows-Linux.jpg)
#MINECRAFT DOWNLOAD LINUX UPGRADE#
Now install any available updates of the packages already installed on your server using the command apt upgrade -y.Update your package lists with the command apt update.To do this, open PuTTY and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Connect to your root server or VPS/vServer via SSH using PuTTY.If you havn't already done so, download the program " PuTTY".Are you looking for very good, powerful and cheap servers? I've been renting my servers at Contabo for 7 years now and I can highly recommend Contabo to everyone!