Categories: How ToVPS

How to Install Minecraft Server on CentOS VPS

How to Install Minecraft Server on CentOS VPS

 

 

  • First, Installing Java-JDK by using following command:

yum install java-1.6.0-openjdk

  • If have check Java was installed then you can use following command:

which java

  • The following command will be displayed if it was properly installed:

/usr/bin/java

  • Switch to the root directory by using following command:

cd

  • Create a Minecraft directory, using following command:

mkdir Minecraft

  • Now, Enter the directory:

cd Minecraft

  • Download Minecraft:

wget http://minecraft.net/download/minecraft_server.jar

.
.
.
.
Minecraft is now installed.

 

 

  • You’ll now need to install “screen” to keep the Minecraft server running after the SSH session is closed, you can use following command.

yum install screen

  • Use the screen and run Minecraft. Enter screen:

screen

  • Start up Minecraft

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

 

===========================================

 

  • To get back to the normal screen, press these keys:

Control+A+D

  • To get back to the screen where Minecraft is running:

screen -r

 


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

Why You Should Move Your Website to Cloud Hosting?

Introduction to Cloud Hosting In today's digital world, website performance can make or break an online business. Whether you run…

3 days ago

What is a Call to Action in Marketing? Definition + Examples

In the world of digital marketing, getting attention is only half the battle. The real goal is to convince people…

2 weeks ago

Website Bandwidth: What it is and Why it Matters?

Introduction In today's digital world, understanding website bandwidth is essential for anyone running a website. Whether you own a blog,…

3 weeks ago

Will AI Replace Developers in the Future?

Artificial intelligence is changing the tech world at lightning speed. From automated chatbots to AI-generated applications, many people are now…

4 weeks ago

What is Bot Traffic? Easy Ways to Detect and Block It

Introduction to Bot Traffic Bot traffic refers to visits to a website that come from automated software programs rather than…

1 month ago