Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
PaoloEmilio

Any support on how to set a server for Linux

4 posts in this topic

I tried to set a server on Linux following Windows procedure, without even knowing that it had to be different, and I have restricted access from my own computer. Can I get any support on how to set up a TFC Server for Linux? Please, I'd be thankful for your help.

0

Share this post


Link to post
Share on other sites

Last I checked the wiki page had little snippits on it for if you are running a linux system.

 

For example, you need a run.sh instead of a run.bat and you will have to do chmod +x run.sh first to start up the server.

 

I personally do not run a Linux machine, but if you're still helpless I can offer my google-foo resources to find more information about hosting modded servers on linux.

0

Share this post


Link to post
Share on other sites

Ok, thanks Kitty keep being nice :)

0

Share this post


Link to post
Share on other sites

Late to the party, but in case you're still stuck, I run a TFC server on linux and should be able to help you. The setup sort of depends on what distro you're using. Fortunately, a TFC server is not much different in its basic setup or resource requirements than a vanilla server. In general, the steps are the following:1) Download the .zip of the server and unzip it in the directory you want the server to reside in.2) Most Linux distros have a special directory in root that is specifically meant for servers. On mine, that directory is "srv", but its probably different on yours. You don't need to use it, but if this is a public server then you shouldn't operate it out of your home directory as that's insecure.3) Install forge in the .jar (aka the actual server).2) run "sh start.sh". make sure you have permissions to do this. ;)3) If it ran successfully, you'll have the "mod" directory that you can then place TFC inside and do all the configs you'd do on a windows server.4) Depending on what you want to do, there's tons of other stuff that can/should be done. If it's public, you'll want to make sure iptables is accepting packets to the port that the server is using. There's also various scripts and such that can automate backups using cron and issuing in-game commands from the command-line. You might also want to set up sshd so you can access your server remotely - in fact I would highly recommend it.Check your distro's documentation and/or forums for better details, your repo might have all the stuff you need aside from TFC ready for you. I probably explained this all horribly and left out important details, but I hope it still helps.

0

Share this post


Link to post
Share on other sites