Skip to content

How to Host a Server on Linux Terminal only Installation

Moon edited this page Jun 16, 2021 · 1 revision

I'll be using Arch Linux with neovim in this example. I won't provide screenshots here since I'll be assuming that you know what you're doing. If you don't, then I would recommend the GUI guide below.

  • Make a new directory where you want to save the server files and cd to it:mkdir TournamentAssistantCore && cd TournamentAssistantCore

  • Download the latest TournamentAssistantCore-linux using wget: wget https://github.com/MatrikMoon/TournamentAssistant/releases/download/0.4.1/TournamentAssistantCore-linux. This example command is for the version 0.4.1, if a new version has been released please replace the url with the new one

  • Make TournamentAssistantCore-linux executable using chmod +x /path/to/TournamentAssistantCore-linux.

  • Run TournamentAssistantCore-linux using ./TournamentAssistantCore-linux. After ~5 seconds close it with ctrl + c.

  • Open your terminal editor of choice and edit the configuration file: nvim serverConfig.json. You can use the screenshots from Linux GUI setup as a reference. Don't forget to remove the brackets.

    • Add your server address. It will need to be a domain name, direct IP addresses are not supported.
    • You can also add a server name and password.
  • Run TournamentAssistantCore-linux using ./TournamentAssistantCore-linux again.

  • If the address got verified and port got opened, congratulations, you have just created your own server.

  • If the address got verified but port could not be opened, you will need to open the selected port in your router settings manually.

  • If the address failed to verify and port got opened successfully and you made sure that there aren't any spelling mistakes or that the domain is pointed at the correct IP (keep in mind that DNS entries take up to an hour to be created/changed) seek help on discord.