Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/feed-rss2.php on line 8
Install a Minecraft Server on CentOS 6 – AKLWEB HOST LLC Support Center https://support.aklwebhost.com Fri, 06 Dec 2019 15:00:32 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 Install a Minecraft Server on CentOS 6 https://support.aklwebhost.com/knowledgebase/install-a-minecraft-server-on-centos-6/ https://support.aklwebhost.com/knowledgebase/install-a-minecraft-server-on-centos-6/#respond Tue, 26 Nov 2019 07:10:28 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=2261 This article will guide you through setting up a Minecraft server on a high performance SSD VPS at AKLWEB Host. You will learn how to set up a Minecraft server on CentOS 6 x64.

Requirements:

Installation

To create a Minecraft server is easy. Login to your new CentOS 6 1GB RAM VPS Server at AKLWEB Host and install Java 1.6.0 Open JDK.

ssh root@ip.ip.ip.ip
[root@aklwebhost ~]# yum install java-1.6.0-openjdk
<some output here>
Is this ok [y/N]: y

Once you have installed the JDK we should make a user to run your Minecraft server under. This is for security purposes as it is not good practice to run a minecraft server as root.

adduser mcserver
passwd mcserver
#set a secure password.
yum install screen
#this allows you to run screen while su'd from root for the next step
chown mcserver `tty`

Now lets change users and install Minecraft! Change the wget URL accordingly for newer versions of Minecraft.

su - mcserver
mkdir minecraft
cd minecraft
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.11/minecraft_server.1.11.jar
chmod +x minecraft_server.jar
screen
echo "eula=true" > eula.txt
#start your Minecraft Server
java -Xmx768M -Xms768M -jar minecraft_server.jar nogui

Congratulations, your Minecraft server is now up and running on your high performance SSD VPS server!

Notes

To install on a 768MB VPS follow the same commands above but change the last java command to:

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

If you require more players (and thus more RAM) you just launch a larger instance and then simply subtract 256M from the amount of RAM your instance has allocated. For example a 4096 instance would launch with -XmX3840M -Xms3840M

]]>
https://support.aklwebhost.com/knowledgebase/install-a-minecraft-server-on-centos-6/feed/ 0