Post Reply 
Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
11-18-2011, 07:45 AM (This post was last modified: 11-18-2011 04:26 PM by dmmcintyre3.)
Post: #1
Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
Code:
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

KVM2 (VPS 15, 19 and 25) Munin report | Check your VPS 15, 19 or 25's IOPS usage
User Tools
Quote this message in a reply


11-18-2011, 07:47 AM
Post: #2
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
wow nice tutorial!and how to edit the server properties?
User Tools
Quote this message in a reply
11-18-2011, 07:48 AM
Post: #3
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
nano ~minecraft/minecraft/server.properties after you start and stop the server once.

KVM2 (VPS 15, 19 and 25) Munin report | Check your VPS 15, 19 or 25's IOPS usage
User Tools
Quote this message in a reply
11-18-2011, 03:22 PM
Post: #4
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
what is nano?
User Tools
Quote this message in a reply
11-18-2011, 03:45 PM
Post: #5
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
It's basically like vi or vim. (A text editor)
User Tools
Quote this message in a reply
11-18-2011, 10:48 PM
Post: #6
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
is server from minecraft or bukkit better?

VPS 25 by http://FREEVPS.US
Akshay Productions - Technology Tips, Tricks, Tutorials, and more!
[Image: mybbsig.php]
User Tools
Quote this message in a reply
11-19-2011, 02:12 AM
Post: #7
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
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
.
.
User Tools
Quote this message in a reply
11-19-2011, 04:02 AM
Post: #8
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
I have problem..

End of Stream i get this error..why?
User Tools
Quote this message in a reply
11-19-2011, 05:30 AM
Post: #9
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
If you can reconnect without restarting the server then it's a network issue between you and the VPS.

KVM2 (VPS 15, 19 and 25) Munin report | Check your VPS 15, 19 or 25's IOPS usage
User Tools
Quote this message in a reply
11-19-2011, 05:38 AM
Post: #10
RE: Set Up a Minecraft server (CentOS/Scientific Linux 5 or 6)
I have minecraft, but what is the deference between normal minecraft and bukkit servers?
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)