Notes
Notes - notes.io |
Minecraft is a popular game that is available for Windows, Mac and Linux. It uses the sandbox technology of Linux so it doesn't require extra CPU load or buffering. If you're a true fan of this game, you can use the Minecraft server to play this game with another player. Now, there are options that allow you to get the Minecraft server on your Linux system without doing anything but paying a number of dollars to a 3rd party software authority. Or, you can install and run your own Minecraft server on your Linux system to enjoy the freedom of gaming.
Minecraft Server on Linux System
Java is required to run Minecraft on Linux. After the server is installed on your Linux machine, you can start building the Minecraft game. In this post, we will see how to install the Minecraft server on Debian/Ubuntu and Fedora/Red Hat Linux.
1. Install Minecraft on Ubuntu/Debian
Installing a Minecraft server on a Ubuntu server/desktop requires root access and an active internet connection. Here, we will see how to install java and run the Minecraft server through it on a Debian Linux system.
Step 1: Create a New User For Minecraft
If you're using a Ubuntu server or a Desktop, it will be wise to create a new user for the Minecraft server. To create a Minecraft account, use the below command.
We might need to grant the new root access, since we will be building our server over Java. So, finally, switch to the newly created Minecraft user account to start installing the Minecraft server on your machine.
6MINECRAFTMODS
Step 2: Install Java on Ubuntu/Debian
Before you install Java on your system, make sure the system is updated. To update your system, run the following commands in the terminal shell.
Now, open the terminal shell and run this command to install Java version 8.
Once Java installation is completed, you can run a version test command to check if Java has been installed.
Step 3: Install Screen For Minecraft
The screen is an application that allows you to run the Minecraft server on the system's background as a daemon. To install Screen, run the following command in your shell.
Step 4: Download Minecraft on Ubuntu/Debian
Minecraft server is available on their official website. We will use the wget command for downloading it to our system. First, create a directory for Minecraft. Then, browse it. You can use either the terminal or manual commands to create the directory.
Now, before running the following wget command, make sure it is installed on your system.
Run the following wget command on your terminal shell to download the java file of the Minecraft server for Linux.
2. Install Minecraft Server on Fedora Linux
Installing the Minecraft server on the Fedora workstation is almost similar to the method of installing it on Ubuntu, but there are a few changes in commands and steps. If you're a Fedora or Red Hat Linux user, this method will help you to install the Minecraft server on your machine.
Step 1: Create a New User
To make things worse on your desktop or server, you will first need to add a new user to your existing setup. Then we will also need to grant the root access to that account for installing java.
Run the following command lines given below on your terminal shell to add a user and permit the sudo permission.
Run the following commands. This will grant root access permissions to the Minecraft user account. Fedora typically manages root access permissions through wheel.
Step 2 - Install Java on Fedora Workstation
Now, log in to Minecraft and use the Minecraft user account. To install Java on the system, run the DNF command from your terminal shell.
After the installation is complete, run the version check command to verify that it has been installed correctly.
Step 3: Install the screen and set up the firewall
Before running the Minecraft server on a Linux machine, we should install the screen application to run it on the system's background. To install the Screen app on your machine, run the DNF command.
In optional, you can also run the S flag command to name the current Screen application as a Minecraft server.
To load a Minecraft server on a machine it is wise that we allow the TCP ports from Minecraft on our network. As the Minecraft server uses port 25565, the following firewall daemon commands will allow the Minecraft server on our Fedora network.
Step 4: Download Minecraft Server on Fedora Workstation
We have covered the steps of creating a Minecraft user account and installing Java. After that, it is time to download and execute the Minecraft server on our Fedora Linux.
First, run the following command to make a new dedicated directory for downloading the Minecraft server file.
Browse the directory and then run the wget command.
3. Execute Minecraft Server on Linux
When the download of the Minecraft server finishes, browse the directory and locate the file. This method is compatible with Fedora and Debina distributions of Linux. First, run the following chmod command to grant the execution permission to the Minecraft server file.
To agree to the license file, we must edit the End-user licensing agreement (Eula). Again, you can use your favorite notepad editor with root permission to do this task.
Write the following line in the script to save and close the script file after it opens.
Finally, run the following command on your terminal shell to start the Minecraft server on your Ubuntu Linux. As you can see, this command is a NoGUI (graphical interface) and will continue loading the server using CLI mode.
The server will be loaded using the 1024M memory allocation. If you change the memory amount, you can change the Xmx value.
Minecraft server is helpful and essential to load the Minecraft game series on a Linux-based system. In this post, we have seen how to install the Minecraft server on Debian and Fedora workstations. Please share this post with your friends and the Linux community if you find this post useful and informative. You can also write down your opinions regarding this post in the comment section.
Read More: https://6minecraftmods.net/
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team