Learn How To Install a Tekkit Classic Server on CentOS 6/7
Table of Contents
If you are using a different system, please check our other tutorials.
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.
- 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).
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
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:
Step seven – extracting the archive:
Step eight – modifying
You will see the following:
#!/bin/sh java -Xmx3G -Xms2G -jar Tekkit.jar nogui
3.5G. It should look like this:
#!/bin/sh java -Xmx3.5G -Xms3.5G -jar Tekkit.jar nogui
Exit and save (
O, followed by the
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:
Enter the password you set earlier when prompted.
Step ten – open up a
screen -S tekkit
Step eleven – starting the server:
You can exit the screen without killing the server by using the following combination:
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:
Perform the command above again if you’d like to exit your server.
Connecting to your new Tekkit server is rather simple. Copy the IP address from your IT Web Services instance, and enter it into your Minecraft client.
That’s it! You’ve successfully installed a Tekkit server on CentOS.
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!