[-]
Tags
set up a minecraft server centos scientific linux 5 or 6

Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
#1

Code:
1
2
3
4
5
6
7
yum install java-1.6.0-openjdk nano screen sudo
useradd minecraft
mkdir ~minecraft/minecraft
cd ~minecraft/minecraft
wget http://ci.bukkit.org/job/dev-CraftBukkit/promotion/latest/Recommended/artifact/target/craftbukkit-0.0.1-SNAPSHOT.jar
chown -R minecraft:minecraft ./
nano -w ../start.sh;chmod 755 ../start.sh


In the screen that opens, paste:

Code:
cd ~minecraft/minecraft
sudo -u minecraft java -Xincgc -Xmx800m -jar craftbukkit-0.0.1-SNAPSHOT.jar


Change the 800 to 80% of your VPSs total RAM in MB.

To start the server, run

Code:
screen ~minecraft/start.sh


If you want it to start on boot, add

Code:
screen -S bukkit -dmS ~minecraft/start.sh

to the end of /etc/rc.local

All of minecraft's files will be in ~minecraft/minecraft

Reply
#2
wow nice tutorial!and how to edit the server properties?
Reply
#3
nano ~minecraft/minecraft/server.properties after you start and stop the server once.
Reply
#4
what is nano?
Reply
#5
It's basically like vi or vim. (A text editor)
Reply
#6
is server from minecraft or bukkit better?
Reply
#7
I have never played minecraft ... I see many people play minecraft here ... but is the game really that nice ?
.
.
Thank you freeVps and Loomhosts for the amazing VPS
.
.

Reply
#8
I have problem..

End of Stream i get this error..why?
Reply
#9
If you can reconnect without restarting the server then it's a network issue between you and the VPS.
Reply
#10
I have minecraft, but what is the deference between normal minecraft and bukkit servers?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)