guglpersian.blogg.se

Minecraft server commands
Minecraft server commands











minecraft server commands
  1. #Minecraft server commands install
  2. #Minecraft server commands update

  • 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 server commands 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. Add the repository by executing the command add-apt-repository ppa:linuxuprising/java.Install the package for managing repositories using the following command: apt install software-properties-common -y.Install Java with the following command: apt install openjdk-17-jre-headless -y.Accept the license terms by selecting the " OK" button using the Tab key, confirming the selection with Enter, selecting the " Yes" button using the arrow keys, and then pressing Enter again.Install Java with the following command: apt install oracle-java17-installer -y.

    #Minecraft server commands 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.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!













    Minecraft server commands