- A Linux machine [VPS/DEDICATED SERVER]
- Internet Connection
- (Allows you to connect via SSH to your Linux machine
Before we begin, this is REALLY targeted at the audience who are NOT familiar with Linux in general.
1) Login to your Linux machine, and go ahead and run the command:
Code:
which java
(On this machine, there is no Java installed.. So let's go ahead and install Java)
1A) Installing Java
Run this command:
Code:
yum install java-1.6.0-openjdk
Let it's do its thing, it will ask you sometime for your permissions to install, just answer with "y" for yes.
1B) Alright, Java is installed - let's go check now.
Use the command:
Code:
which java
Then use
Code:
/usr/bin/java/ -version
You NEED 1.6.
2) Alright, now lets make a directory just for Minecraft.
Code:
mkdir minecraft
3) Now lets jump ourselves into the newly created minecraft directory ;
Code:
cd minecraft
4) Now lets download the .jar file for Minecraft.
Code:
wget http://minecraft.net/download/minecraft_server.jar
5) Now all we have to do is run the server.
Code:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
6) You should now see this screen:
top:
AquaStern