arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install Minecraft Server on Linux. (Ubuntu & Debian)
#1
Hello ._. Maybe, this is my First Post? OMG!.
Really, i want Share how to make your own Minecraft Server on your VPS (Only Linux OS).
First for all, You will need VPS for do this (LOL). also with your Internet Connection.
Also, You need SSH Client. ( PuTTY. ) <-- i Suggest you use this.

1. You need Login to your VPS Account. With PuTTY. (Remember, Only ROOT Permission can make Minecraft Server).
2. Before you Run any Commands for Lunching your MC Server, You need Update your OS.

sudo apt-get update

3. After that, we need to be sure that Java is installed on our server. You can check by typing this command:
java -version

4. If you don’t have Java installed, you will get a message that says "java: command not found". You can, then, download java through apt-get:
sudo apt-get install default-jdk

5. Remember!, You need Screen for do this. Because Do you want your server run 24/7? Dodgy.
sudo apt-get install screen

6. Now, you need make Minecraft Server Folder.
mkdir minecraft

7. Of Course, Open your minecraft Folder.
cd minecraft

8. Now, You need to Download Minecraft Server Jar.  i mean the Software.
wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar

9. Now, You need run for Testing your Server. With Commands Screen Sessions Mode.
screen -S "Minecraft server"

10. After files Downloaded, You can run The java.
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
11. Well, on Console Logs Look like This:
Quote:2012-08-06 21:12:52 [INFO] Loading properties
2012-08-06 21:12:52 [WARNING] server.properties does not exist
2012-08-06 21:12:52 [INFO] Generating new properties file
2012-08-06 21:12:52 [INFO] Default game type: SURVIVAL
2012-08-06 21:12:52 [INFO] Generating keypair
2012-08-06 21:12:53 [INFO] Starting Minecraft server on *:25565
2012-08-06 21:12:53 [WARNING] Failed to load operators list: java.io.FileNotFoundException: ./ops.txt (No such file or directory)
2012-08-06 21:12:53 [WARNING] Failed to load white-list: java.io.FileNotFoundException: ./white-list.txt (No such file or directory)
2012-08-06 21:12:53 [INFO] Preparing level "world"
2012-08-06 21:12:53 [INFO] Preparing start region for level 0
2012-08-06 21:12:54 [INFO] Preparing spawn area: 4%
2012-08-06 21:12:55 [INFO] Preparing spawn area: 12%
2012-08-06 21:12:56 [INFO] Preparing spawn area: 20%
2012-08-06 21:12:57 [INFO] Preparing spawn area: 24%
2012-08-06 21:12:58 [INFO] Preparing spawn area: 32%
2012-08-06 21:12:59 [INFO] Preparing spawn area: 36%
2012-08-06 21:13:00 [INFO] Preparing spawn area: 44%
2012-08-06 21:13:01 [INFO] Preparing spawn area: 48%
2012-08-06 21:13:02 [INFO] Preparing spawn area: 52%
2012-08-06 21:13:03 [INFO] Preparing spawn area: 61%
2012-08-06 21:13:04 [INFO] Preparing spawn area: 69%
2012-08-06 21:13:05 [INFO] Preparing spawn area: 77%
2012-08-06 21:13:06 [INFO] Preparing spawn area: 85%
2012-08-06 21:13:07 [INFO] Preparing spawn area: 93%
2012-08-06 21:13:08 [INFO] Done (15.509s)! For help, type "help" or "?"

And Then!, Your Original Minecraft is Running on your VPS. Now, You need Close / Shutdown your Server. by Clicking: ctrl-a d

You can Reattach your Server with Commands:

screen -R

Now, goto FTP and Login with your VPS Account. Then Open minecraft Folder for Installing Plugins, World, Setting Files & Server.properties


Well, this is End of Tutorial. Original Tutorial is Goes Thanks for This Link.


Have fun with your Server's. And Sorry for my Bad English, Also Cya~~
-SzX-

[Image: postcount.php?userid=342]
#2
Good tutorial, will definitely be useful for some members out there!

One thing I noticed that you are downloading a 1.7.4 Minecraft server which is a pretty outdated version and is barely used anymore, I would suggest going for atleast 1.8.8 since 1.10 is the latest version now..
Thanks to ShadowHosting and Post4VPS for my VPS 5!
#3
You can use Bitvise SSH Client instead of PuTTY. Console + SFTP in one program, easier to control your server Wink
#4
(07-17-2016, 05:58 AM)Honey Wrote: Good tutorial, will definitely be useful for some members out there!

One thing I noticed that you are downloading a 1.7.4 Minecraft server which is a pretty outdated version and is barely used anymore, I would suggest going for atleast 1.8.8 since 1.10 is the latest version now..

Yaa, you just need to Search Minecraft Jar Directory List. or Searching on Google Tongue

(07-17-2016, 08:13 AM)kubanek_kuba Wrote: You can use Bitvise SSH Client instead of PuTTY. Console + SFTP in one program, easier to control your server Wink

Yes, BitVise is Awesome. More Features & Secured too.
-SzX-

[Image: postcount.php?userid=342]
#5
just reminded, now before starting the server, we have to accept the Eula by editing eula.txt. And Change the value from false to true Smile
Sorry for My Bad English
I am Web Developer || Python, NodeJs, C# Programer
My Fiverr Profile
#6
(07-20-2016, 11:35 PM)Arkiven4 Wrote: just reminded, now before starting the server, we have to accept the Eula by editing eula.txt. And Change the value from false to true Smile

OO Yaa, i forgot that thing.. Smile Thanks for more Useful Tips (LOL)
-SzX-

[Image: postcount.php?userid=342]
#7
You don't need root to make a minecraft server if Java is installed already. It would need root if you specify ports <=1024 afaik.
http://FreeVPS.club - Free VPSs!
#8
(07-21-2016, 02:12 PM)Conan Wrote: You don't need root to make a minecraft server if Java is installed already. It would need root if you specify ports <=1024 afaik.

OO, Really?.. but i think You need root Permission for Editing likely Custom Java or Binary ._., but idk.. Thanks for it LOL! Big Grin
-SzX-

[Image: postcount.php?userid=342]
#9
Minecraft is banned on some vps though. You got to be careful and read the terms first.



person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting