\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>\nPrerequisites<\/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>\nscreen<\/code>\u00a0(required to run Java in the background).<\/li>\nunzip<\/code>\u00a0(extraction utility for ZIP files).<\/li>\nnano<\/code>\u00a0(text editor).<\/li>\n<\/ul>\nInstallation<\/strong><\/h2>\nThe 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>\nBefore we download\u00a0Tekkit<\/strong>, we must install our prerequisites.<\/p>\nStep one<\/strong>\u00a0– updating our current packages:<\/p>\nyum update -y\r\n<\/code><\/pre>\nStep two<\/strong>\u00a0– install Java:<\/p>\nyum install java-1.7.0-openjdk -y\r\n<\/code><\/pre>\nStep three<\/strong>\u00a0– install\u00a0screen<\/code>:<\/p>\nyum install screen -y\r\n<\/code><\/pre>\nNOTE:<\/strong>\u00a0This step is\u00a0required<\/em>\u00a0to keep the server active once you disconnect from SSH.<\/p>\nStep four<\/strong>\u00a0– creating an unprivileged user:<\/p>\nadduser tekkit\r\npasswd tekkit\r\n<\/code><\/pre>\nWhen you’re prompted, enter your desired password.<\/p>\n
Step five<\/strong>\u00a0– creating the server directory:<\/p>\ncd \/home\/tekkit\r\nmkdir server\r\ncd server\r\n<\/code><\/pre>\nStep six<\/strong>\u00a0– downloading the Tekkit server files:<\/p>\nwget http:\/\/servers.technicpack.net\/Technic\/servers\/tekkitmain\/Tekkit_Server_v1.2.9g.zip\r\n<\/code><\/pre>\nStep seven<\/strong>\u00a0– extracting the archive:<\/p>\nunzip Tekkit_Server_v1.2.9g.zip\r\n<\/code><\/pre>\nStep eight<\/strong>\u00a0– modifying\u00a0launch.sh<\/code>:<\/p>\nnano launch.sh\r\n<\/code><\/pre>\nYou will see the following:<\/p>\n
#!\/bin\/sh\r\njava -Xmx3G -Xms2G -jar Tekkit.jar nogui\r\n<\/code><\/pre>\nModify\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>\nExit and save (CTRL<\/code>\u00a0+\u00a0O<\/code>, followed by the\u00a0Return<\/code>\u00a0or\u00a0Enter<\/code>\u00a0key).<\/p>\nThe 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>\nStep nine<\/strong>\u00a0– signing into our unprivileged user:<\/p>\nssh tekkit@localhost\r\n<\/code><\/pre>\nEnter the password you set earlier when prompted.<\/p>\n
Step ten<\/strong>\u00a0– open up a\u00a0screen<\/code>:<\/p>\nscreen -S tekkit\r\n<\/code><\/pre>\nStep eleven<\/strong>\u00a0– starting the server:<\/p>\n sh launch.sh\r\n<\/code><\/pre>\nYou can exit the screen without killing the server by using the following combination:\u00a0CTRL<\/code>\u00a0+\u00a0A<\/code>\u00a0+\u00a0D<\/code>.<\/p>\nIf you’d like to re-enter the\u00a0screen<\/code>, perform the following:<\/p>\nscreen -r tekkit\r\n<\/code><\/pre>\nAt this point, you may exit the unprivileged user by entering the following command:<\/p>\n
logout\r\n<\/code><\/pre>\nPerform the command above again if you’d like to exit your server.<\/p>\n
Conclusion<\/strong><\/h2>\nConnecting 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>\nThat’s it! You’ve successfully installed a Tekkit server on\u00a0CentOS<\/strong>.<\/p>\nHave 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}]}}