Lawrence Wright

  • About Me
  • Portfolio
  • Services
  • My Blog
  • Facebook
  • Twitter
  • Email
  • Subscribe RSS
Dec 08, 2012
1  
  • Facebook
  • Twitter

How to Setup Minecraft on CentOS

So I keep getting requests to install Minecraft servers, and people wonder how I can get it done in less than 3 minutes. Fact is, I've done it so many times, I've practically perfected the quickest, and easiest way of installing a Minecraft server on a CentOS (Linux) based operating system. I'm here to show you how to do this in a few quick, short steps.

Requirements

  • A VPS or dedicated server. You can grab one here.
  • PuTTY to access SSH and install Minecraft.

Install Minecraft

After you've obtained a VPS / server and have downloaded PuTTY, you'll need to access your server. Open up PuTTY, enter your server's IP, then login to your server. You don't have to install PuTTY, it's a simple executable.

You don't have to know what any of this stuff is yet, just copy and paste your way through the command line terminal. Learn what it means later! Each line will be entered into SSH.

  1. yum install java-1.6.0-openjdk
  2. cd
  3. mkdir minecraft
  4. cd minecraft
  5. wget http://minecraft.net/download/minecraft_server.jar
  6. chmod +x minecraft_server.jar
  7. yum install screen
  8. screen
  9. java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

No sweat, right? Your Minecraft server is now running, and you can have all your friends and the neighborhood login, and start building. Now, I'll go over a few basics since this tutorial hasn't covered everything, just follow along.

Quick Reference
Resume "screen" after you've exited (Make sure you do "cd minecraft" first)
screen -r
Start Minecraft on a 1GB server (Do this in screen on step 9).
java -Xmx768M -Xms768M -jar minecraft_server.jar nogui
Start Minecraft on a 2GB server (Do this in screen on step 9).
java -Xmx1792M -Xms1792M -jar minecraft_server.jar nogui
Exit Minecraft Do this while in screen to close PuTTY and keep Minecraft running.
CTRL + A + D (Hold these keys down at the same time)
Install Nano - You will need a text editor in the future, just do it.
yum install nano

If you have any questions, feel free to comment. If you don't already have a Minecraft server, consider supporting my Minecraft service and renting one from me. If you need any further help in regards to working with Minecraft, take a look at my knowledgebase in my client portal, you're bound to find something useful there.

And now, some references.

  • Official Minecraft Website

Related Posts

  • Downloads For Minecraft

    For some of you who have bought Minecraft, there's a lot you can do with it. To get you started, here's a list of downloads for Minecraft. Bookmark this page, as I will be updating this over time with more interesting downloads.

    Find out more
  • How to Setup Minecraft on...

    So I keep getting requests to install Minecraft servers, and people wonder how I can get it done in less than 3 minutes. Fact is, I've done it so many times, I've practically perfected the quickest, and easiest way of installing a Minecraft server on a CentOS (Linux) based operating system.

    Find out more

Category

Crypto Currency
Drupal
Games
Linux
Personal
Reviews
Security
Social Media
Webmasters
Websites
WordPress
Writing

Lawrence Wright © 2014. All Rights Reserved.

Terms | Privacy