- 21,357 views, 4 today
92
Hi, This is a simple Tutorial on how to setup a basic Minecraft Server on a CentOS VPS or Dedicated Server!
Pros to using a VPS/Dedi VS. a MC Hosting Company
Requirments
First Step to setting up a MC Server is to have a server to host it on, For this example, I will be using a 1GB VPS from DigitalOcean.
Step 2.
Once you have Used Putty to connect to your Server you will be presented with your server console.
You will also need to install Java on the server so that it can run the minecraft jar file
You will now be able to start the server, change minecraft_server1.8.9.jar to whatever the name of the most recent jarfile is.
Use a text editor (Such as nano) to accept the EULA and save the txt file.
You are now able to successfully start the server with the command
You are now able to connect to your MC Server with the same IP that you used to connect to the VPS/Dedi!
You can also use the stop command to gracefully shutdown the server and to make sure that all of the worlds are saved :D.
Enjoy!!!
- Jack
SpeedTest LOL
Pros to using a VPS/Dedi VS. a MC Hosting Company
- Cheap Prices
- Full Control to Machine
- Dedicated IP Address without Port
- Ability to run other services (MySQL, Web Server, Teamspeak, etc)
Requirments
- Putty
- 1GB of RAM VPS/Dedi
Step 1.
First Step to setting up a MC Server is to have a server to host it on, For this example, I will be using a 1GB VPS from DigitalOcean.
Step 2.
Once you have Used Putty to connect to your Server you will be presented with your server console.
change directories to home, then create the directory minecraft to store the server, then browse to minecraft.net/download and choose the jar version of the latest Minecraft Server
cd /
cd home
mkdir minecraft
cd minecraft
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8.9/minecraft_server.1.8.9.jar
Step 3.
cd home
mkdir minecraft
cd minecraft
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8.9/minecraft_server.1.8.9.jar
You will also need to install Java on the server so that it can run the minecraft jar file
sudo yum install java-1.7.0-openjdk
Step 4.
You will now be able to start the server, change minecraft_server1.8.9.jar to whatever the name of the most recent jarfile is.
java -Xmx512M -Xms512M -jar minecraft_server.1.8.9.jar nogui
Use a text editor (Such as nano) to accept the EULA and save the txt file.
You are now able to successfully start the server with the command
java -Xmx1024M -Xms1024M -jar minecraft_server1.8.9jar.-jar nogui
You are now able to connect to your MC Server with the same IP that you used to connect to the VPS/Dedi!
You can also use the stop command to gracefully shutdown the server and to make sure that all of the worlds are saved :D.
Enjoy!!!
- Jack
SpeedTest LOL
Tags |
10 Update Logs
Update #10 : by Jack_Keeley 02/10/2016 5:51:14 pmFeb 10th, 2016
Updated!
LOAD MORE LOGS
tools/tracking
400073
6
tutorial-how-to-setup-minecraft-server-on-vps-centos
Create an account or sign in to comment.
ps.
image 1,2,3 and last one doesn't work.
i get server crash ? help plz