How To Setup Minecraft On A Linux CentOS Server

Setup Minecraft on a Linux CentOS Server

* First, To Download PuTTY to access SSH.

* Installing Minecraft by using following command:

YUM INSTALL JAVA-1.6.0-OPENJDK

* Switch to the root directory by using following command:

CD

* Create a Minecraft directory

MKDIR MINECRAFT

* Enter the directory by using following command:

CD MINECRAFT

* Download Minecraft by using following line

WGET HTTP://MINECRAFT.NET/DOWNLOAD/MINECRAFT_SERVER.JAR

* Now, Using Following Scripts

CHMOD +X MINECRAFT_SERVER.JAR
YUM INSTALL SCREEN
SCREEN

* Then, Start up Minecraft

JAVA -XMX1024M -XMS1024M -JAR MINECRAFT_SERVER.JAR NOGUI

===========================================

** To close PuTTY and keep Minecraft running.:

CONTROL + A + D

** To get back to the screen where Minecraft is running hold the following keys on your keyboard:

SCREEN -R

Add a Comment

Your email address will not be published. Required fields are marked *