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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794
{"id":2248,"date":"2019-11-26T07:07:16","date_gmt":"2019-11-26T07:07:16","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2248"},"modified":"2019-12-06T00:02:06","modified_gmt":"2019-12-06T00:02:06","slug":"how-to-install-a-tekkit-classic-server-on-centos-6-7","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-a-tekkit-classic-server-on-centos-6-7\/","title":{"rendered":"How to Install a Tekkit Classic Server on CentOS 6\/7"},"content":{"rendered":"
This article is a port of “How to Setup a Tekkit Classic Server on Ubuntu 16.10<\/span><\/a><\/strong>“. It has been updated for CentOS 6 and CentOS 7.<\/div>\n
\n

In this tutorial, we’ll be creating a\u00a0Tekkit Classic<\/strong>\u00a0server.\u00a0Tekkit<\/strong>\u00a0is another popular\u00a0modpack<\/strong>\u00a0made for\u00a0Minecraft<\/strong>. Due to the amount of modifications (mods), it will require a larger instance to cope with the intensive load.<\/p>\n

Prerequisites<\/strong><\/h2>\n
    \n
  • 4 gigabytes of\u00a0RAM<\/strong>\u00a0or more.<\/li>\n
  • Java 7<\/strong>\u00a0(required, as\u00a0Minecraft<\/strong>\u00a0and various servers are written in Java).<\/li>\n
  • wget<\/code>\u00a0(for downloading server files).<\/li>\n
  • screen<\/code>\u00a0(required to run Java in the background).<\/li>\n
  • unzip<\/code>\u00a0(extraction utility for ZIP files).<\/li>\n
  • nano<\/code>\u00a0(text editor).<\/li>\n<\/ul>\n

    Installation<\/strong><\/h2>\n

    The installation process is the same for both\u00a0CentOS 6<\/strong>, and\u00a0CentOS 7<\/strong>\u00a0systems. This tutorial supports only\u00a064 bit<\/strong>\u00a0systems due to the resource requirements.<\/p>\n

    Before we download\u00a0Tekkit<\/strong>, we must install our prerequisites.<\/p>\n

    Step one<\/strong>\u00a0– updating our current packages:<\/p>\n

    yum update -y\r\n<\/code><\/pre>\n

    Step two<\/strong>\u00a0– install Java:<\/p>\n

    yum install java-1.7.0-openjdk -y\r\n<\/code><\/pre>\n

    Step three<\/strong>\u00a0– install\u00a0screen<\/code>:<\/p>\n

    yum install screen -y\r\n<\/code><\/pre>\n

    NOTE:<\/strong>\u00a0This step is\u00a0required<\/em>\u00a0to keep the server active once you disconnect from SSH.<\/p>\n

    Step four<\/strong>\u00a0– creating an unprivileged user:<\/p>\n

    adduser tekkit\r\npasswd tekkit\r\n<\/code><\/pre>\n

    When you’re prompted, enter your desired password.<\/p>\n

    Step five<\/strong>\u00a0– creating the server directory:<\/p>\n

    cd \/home\/tekkit\r\nmkdir server\r\ncd server\r\n<\/code><\/pre>\n

    Step six<\/strong>\u00a0– downloading the Tekkit server files:<\/p>\n

    wget http:\/\/servers.technicpack.net\/Technic\/servers\/tekkitmain\/Tekkit_Server_v1.2.9g.zip\r\n<\/code><\/pre>\n

    Step seven<\/strong>\u00a0– extracting the archive:<\/p>\n

    unzip Tekkit_Server_v1.2.9g.zip\r\n<\/code><\/pre>\n

    Step eight<\/strong>\u00a0– modifying\u00a0launch.sh<\/code>:<\/p>\n

    nano launch.sh\r\n<\/code><\/pre>\n

    You will see the following:<\/p>\n

    #!\/bin\/sh\r\njava -Xmx3G -Xms2G -jar Tekkit.jar nogui\r\n<\/code><\/pre>\n

    Modify\u00a03G<\/code>\u00a0and\u00a02G<\/code>\u00a0to\u00a03.5G<\/code>. It should look like this:<\/p>\n

    #!\/bin\/sh\r\njava -Xmx3.5G -Xms3.5G -jar Tekkit.jar nogui\r\n<\/code><\/pre>\n

    Exit and save (CTRL<\/code>\u00a0+\u00a0O<\/code>, followed by the\u00a0Return<\/code>\u00a0or\u00a0Enter<\/code>\u00a0key).<\/p>\n

    The reason we’re setting it to\u00a03.5 gigabytes<\/strong>\u00a0of RAM rather than\u00a04 gigabytes<\/strong>\u00a0is that the system will require it’s own memory to run new processes. The system\u00a0will not<\/strong>\u00a0allow Java to allocate the full allotment of RAM.<\/p>\n

    Step nine<\/strong>\u00a0– signing into our unprivileged user:<\/p>\n

    ssh tekkit@localhost\r\n<\/code><\/pre>\n

    Enter the password you set earlier when prompted.<\/p>\n

    Step ten<\/strong>\u00a0– open up a\u00a0screen<\/code>:<\/p>\n

    screen -S tekkit\r\n<\/code><\/pre>\n

    Step eleven<\/strong>\u00a0– starting the server:<\/p>\n

     sh launch.sh\r\n<\/code><\/pre>\n

    You can exit the screen without killing the server by using the following combination:\u00a0CTRL<\/code>\u00a0+\u00a0A<\/code>\u00a0+\u00a0D<\/code>.<\/p>\n

    If you’d like to re-enter the\u00a0screen<\/code>, perform the following:<\/p>\n

    screen -r tekkit\r\n<\/code><\/pre>\n

    At this point, you may exit the unprivileged user by entering the following command:<\/p>\n

    logout\r\n<\/code><\/pre>\n

    Perform the command above again if you’d like to exit your server.<\/p>\n

    Conclusion<\/strong><\/h2>\n

    Connecting to your new\u00a0Tekkit server<\/strong>\u00a0is rather simple. Copy the IP address from your\u00a0Aklweb host<\/strong>\u00a0instance, and enter it into your\u00a0Minecraft<\/strong>\u00a0client.<\/p>\n

    That’s it! You’ve successfully installed a Tekkit server on\u00a0CentOS<\/strong>.<\/p>\n

    Have fun!<\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,231,242,243],"manual_kb_tag":[182],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2248"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2248"}],"version-history":[{"count":2,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2248\/revisions"}],"predecessor-version":[{"id":2254,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2248\/revisions\/2254"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2248"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2248"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}