Guide – How To Start – Terraria – Adventure Sandbox Game Server on Ubuntu

Terraria is a unique gaming experience where both the journey and the destination are as unique as the players themselves! Blending elements of classic action games with the freedom of sandbox-style creativity.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

How to create and connect to Terraria on Ubuntu

  1. To start the server, you just need to start the VM through Azure Portal.
  2. To configure the server, you should connect to the VM and call the game console. To connect, you need PuTTy application to connect via ssh. You can download it at the following link – Download.
  3. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console it is necessary to enter a username and password that were specified while creating the virtual machine.
  2. Run the following commands, to open the game console:

> sudo su
> terrariad attach

To exit the console correctly, use the “Ctrl + A” key combination, then releasing only the “A” button, press “D” on the keyboard.

  1. You can verify that the server is still running using the following command:
    > ps waux | grep Terra
  2. Start the game “Terraria” to connect to the server.
  3. Select the item “Multiplayer in the game menu, and then “Join via IP”.
  1. Select a character (difficulty must be Classic or higher), enter the IP address of the VM, leave port 7777 and click Accept.

Server update

If you were unable to connect to the the server, you should update the server. To do this, connect to the VM through PuTTY and do the following:

  1. First of all, you must stop the server, you can do this using the following commands:

> sudo su (If you haven’t run this command before)

> terrariad attach

> Ctrl + A on the keyboard. Then letter “K”, and then “Y” to confirm

  1. Enter the following commands in sequence:


> login %steam user name%

> %steam password%

> force_install_dir ./terraria

> app_update 105600 validate

> exit

  1. To start the server after update, restart the VM with following command or through Azure Portal:
    > sudo reboot

Website Built with

Up ↑

%d bloggers like this: