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
How to Install a Tekkit Classic Server on CentOS 6/7 – AKLWEB HOST LLC Support Center https://support.aklwebhost.com Fri, 06 Dec 2019 00:02:06 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 How to Install a Tekkit Classic Server on CentOS 6/7 https://support.aklwebhost.com/knowledgebase/how-to-install-a-tekkit-classic-server-on-centos-6-7/ https://support.aklwebhost.com/knowledgebase/how-to-install-a-tekkit-classic-server-on-centos-6-7/#respond Tue, 26 Nov 2019 07:07:16 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=2248 This article is a port of “How to Setup a Tekkit Classic Server on Ubuntu 16.10“. It has been updated for CentOS 6 and CentOS 7.

In this tutorial, we’ll be creating a Tekkit Classic server. Tekkit is another popular modpack made for Minecraft. Due to the amount of modifications (mods), it will require a larger instance to cope with the intensive load.

Prerequisites

  • 4 gigabytes of RAM or more.
  • Java 7 (required, as Minecraft and various servers are written in Java).
  • wget (for downloading server files).
  • screen (required to run Java in the background).
  • unzip (extraction utility for ZIP files).
  • nano (text editor).

Installation

The installation process is the same for both CentOS 6, and CentOS 7 systems. This tutorial supports only 64 bit systems due to the resource requirements.

Before we download Tekkit, we must install our prerequisites.

Step one – updating our current packages:

yum update -y

Step two – install Java:

yum install java-1.7.0-openjdk -y

Step three – install screen:

yum install screen -y

NOTE: This step is required to keep the server active once you disconnect from SSH.

Step four – creating an unprivileged user:

adduser tekkit
passwd tekkit

When you’re prompted, enter your desired password.

Step five – creating the server directory:

cd /home/tekkit
mkdir server
cd server

Step six – downloading the Tekkit server files:

wget http://servers.technicpack.net/Technic/servers/tekkitmain/Tekkit_Server_v1.2.9g.zip

Step seven – extracting the archive:

unzip Tekkit_Server_v1.2.9g.zip

Step eight – modifying launch.sh:

nano launch.sh

You will see the following:

#!/bin/sh
java -Xmx3G -Xms2G -jar Tekkit.jar nogui

Modify 3G and 2G to 3.5G. It should look like this:

#!/bin/sh
java -Xmx3.5G -Xms3.5G -jar Tekkit.jar nogui

Exit and save (CTRL + O, followed by the Return or Enter key).

The reason we’re setting it to 3.5 gigabytes of RAM rather than 4 gigabytes is that the system will require it’s own memory to run new processes. The system will not allow Java to allocate the full allotment of RAM.

Step nine – signing into our unprivileged user:

ssh tekkit@localhost

Enter the password you set earlier when prompted.

Step ten – open up a screen:

screen -S tekkit

Step eleven – starting the server:

 sh launch.sh

You can exit the screen without killing the server by using the following combination: CTRL + A + D.

If you’d like to re-enter the screen, perform the following:

screen -r tekkit

At this point, you may exit the unprivileged user by entering the following command:

logout

Perform the command above again if you’d like to exit your server.

Conclusion

Connecting to your new Tekkit server is rather simple. Copy the IP address from your Aklweb host instance, and enter it into your Minecraft client.

That’s it! You’ve successfully installed a Tekkit server on CentOS.

Have fun!

]]>
https://support.aklwebhost.com/knowledgebase/how-to-install-a-tekkit-classic-server-on-centos-6-7/feed/ 0