Minecraft Blogs / Tutorial

How to setup a Server on Linux Ubunutu

  • 388 views, 2 today
  • 4
  • 0
SujakZ's Avatar SujakZ
Level 1 : New Network
0
Hey, this is my first post here on PMC.
I want to show you guys how to setup a Minecraft Server on Linux Ubuntu.
Before you start setting the server up I highly suggest you to read T1ger's Guide on how to make a successful server.
Once you have an idea and a plan set up you can start following these steps:

We are going to assume you already have a running Linux system.
Before we can do anything, we need Java. I suggest Java 8 as it is the newest at the time of writing this.

1. Run "sudo apt-get install openjdk-8-jre" and enter Y if you are prompted to do so.
2. Create a directory using "mkdir server", you can name it whatever you want.
3. Head in there using "cd folder name".
4. Get the newest BuildTools.jar, for this use "wget hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar"
This is going to download the latest BuildTools.jar into your directory.
5. Install spigot, if you want to install the newest version just type "java -jar BuildTools.jar", but if you want to install a specific version you have to use "java -jar BuildTools.jar --rev x.xx" replace x.xx with your version e.g. 1.10
Once the download is done (it will take its time) proceed to the next step.
6. Once that's done, you can just "java -jar spigot-x.xx.x.jar" to start it up, but i highly suggest creating a start script just so you don't have to type the cmd every time. An example shell can be found here. You just have to edit the things inside the { } brackets.
7. To make the shell runnable we need to chmod it. To do this run "chmod +x startscript.sh .
8. Now run it using ./startscript.sh. It's going to create a few files and then prompts you to accept the EULA.
9. Open the eula.txt with your editor of choice, in my case vim and change eula=false to eula=true and start the shell again.
10. Now your server is running and all the necessary should have been created in your directory. I recommend shutting the server down and making a few changes.
11. Head into the server.properties using your editor of choice in my case again vim and adjust the settings to your needs. I usually change server-port and set the server-ip to my actual IP and not leave it blank. You are free to change anything else like server-query level-name and so on.
12. Download everything you need. For the basics, I suggest you to download Essentials-X, PermissionsEX or GroupManager.
13. Get your plan going you have made up earlier after reading T1ger's guide.

That is pretty much al!
If you have any questions or suggestions feel free to comment
I hope you liked my Tutorial and I wish you the best running your next server.
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome