Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

Terraria is a two-dimensional sandbox game in which players explore the world, collect resources, build structures, and battle enemies in procedurally generated environments. In Terraria a player begins by digging for ore, and the further they dig the more adventure they find. Multiplayer mode can be either cooperative or PvP.

Hosting your own Terraria server gives you control over the world, the players, and the objectives. Your world, your rules.

Deploying a Marketplace App

The Linode Marketplace allows you to easily deploy software on a Compute Instance using the Cloud Manager. See Get Started with Marketplace Apps for complete steps.

  1. Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Create page with the Marketplace tab pre-selected.

  2. Under the Select App section, select the app you would like to deploy.

  3. Complete the form by following the steps and advice within the Creating a Compute Instance guide. Depending on the Marketplace App you selected, there may be additional configuration options available. See the Configuration Options section below for compatible distributions, recommended plans, and any additional configuration options available for this Marketplace App.

  4. Click the Create Linode button. Once the Compute Instance has been provisioned and has fully powered on, wait for the software installation to complete. If the instance is powered off or restarted before this time, the software installation will likely fail.

To verify that the app has been fully installed, see Get Started with Marketplace Apps > Verify Installation. Once installed, follow the instructions within the Getting Started After Deployment section to access the application and start using it.

Note
Estimated deployment time: Terraria should be fully installed within 5-15 minutes after the Compute Instance has finished provisioning.

Configuration Options

  • Supported distributions: Ubuntu 20.04 LTS
  • Recommended minimum plan: 8GB Dedicated CPU or Shared Compute Instance

Terraria Options

-Steam Username (required): Your Steam username. Steam Guard must be turned off.

  • Steam Password (required): Your Steam password.
  • World Name: The name of the Terraria virtual world.
  • Server Password: The server’s password, if you would like to make the server password protected.
  • Message of the Day: The message of the day text that is displayed whenever a player logs on to the server.
  • Difficulty Level: The world difficulty level.
  • Maximum Players: The maximum amount of players allowed on the server. A number from 1-255.
  • Port: The port number that the game server listens on.
  • Seed: A random seed used by the world generation algorithm to create a unique world. For example: qazwsx123.
Warning
Do not use a double quotation mark character (") within any of the App-specific configuration fields, including user and database password fields. This special character may cause issues during deployment.

Getting Started after Deployment

After Terraria has finished installing, you will be able to access your server by copying your Linode’s IPv4 address from the Linode Cloud Manager and then connecting to it within the game.

Important
You must disable Steam Guard to connect to your Terraria server. If you don’t disable Steam Guard, you may be locked out of your account and will need to reset your password. To disable Steam Guard, navigate to the Steam Preferences menu, then open the Account pane. Click on Manage Steam Guard Account Security, then click on Turn Steam Guard off.

To find your Linode’s IPv4 address and connect to it:

  1. Click on the Linodes link in the sidebar. You will see a list of all your Linodes.

  2. Find the Linode you just created when deploying your app and select it.

  3. Navigate to the Networking tab.

  4. Your IPv4 address will be listed under the Address column in the IPv4 table.

  5. Copy the IPv4 address.

  6. Open Terraria, then click Multiplayer.

  7. Click on Join via IP.

  8. You will be prompted to select a character, or create a new one if you don’t have any characters. Select or create a character.

  9. Type in your IP address, then click Accept.

  10. You will be prompted to enter in your Terraria Marketplace App’s port. If you did not specify a different port in the advanced configuration section, use port 7777. Click Accept.

    You will be connected to the server.

Software Included

The Terraria Marketplace App will install the following required software on your Linode:

SoftwareDescription
TerrariaGame server.
LinuxGSMA command line tool for the deployment and management of Linux game servers.
UFWFirewall utility. Port 7777, unless otherwise specified, will allow outgoing and incoming tcp and udp traffic.
Fail2banFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.
Note
Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.