How do I start my server with Screen?

Starting your server with screen is super handy, this allows you to continue to use the current session as normal and having the ability to log in and out as you please. This allows the Atavism server to run in the background instead of your terminal instance.

 

  1. Start by logging into your server through an SSH terminal, such as Putty.
  2. Screen is preinstalled on all of our servers, if the screen for some reason is missing, you can install it by executing this command:
    Ubuntu: apt install screen -y
    CentOS: yum install screen -y
  3. Start screen by typing:
    screen
  4. You will get an information screen, just hit ENTER again to proceed.
  5. You will see a normal terminal window as if nothing has happened, but we are now in a screen session. Imagine it's like a new window on Windows. Or a new tab in your browser.
  6. a) If you are not using the addon that makes you able to control the server from atavism editor in Unity, you must navigate to /root/atavism/bin by using the following command:
    cd /root/atavism/bin
    When in the bin folder, you start your server with the following command:
    ./auth.sh -vC start
    ./world.sh -vC start
    b) If you are using our addon that enables you to control the atavism server from the editor you should navigate to /root and not the atavism server folder.
    when in the /root folder, run the following command:
    ./atavismrestart.sh
    Or you can start the server from the Editor:
  7. When you have started the server and are done. You can exit the screen session and let it run in the background by using the following key combination:
    Hold CTRL then press A and then D in sequence.
    You are now back to the main terminal windows and the server is running safely in the background.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 9105