Deploy a Terraria Server with Marketplace Apps

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.

Terraria Marketplace App

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.

Deploy a Terraria Marketplace App

Linode’s App Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s App Marketplace:

  1. Log in to your Linode Cloud Manager account.

  2. From the Linode dashboard, click on the Marketplace button in the left-hand navigation menu.

  3. The Linode creation page appears, with the Marketplace tab pre-selected.

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

    Select a Marketplace App to deploy

  5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

The Terraria Options section of this guide provides details on all available configuration options for this app.

Terraria Options

You can configure your Terraria Marketplace App by providing values for the following fields:

Steam UsernameYour Steam username. Steam Guard must be turned off. Required.
Steam PasswordYour Steam password. Required.
World NameThe name of the Terraria virtual world. Advanced Configuration.
Server PasswordThe server’s password, if you would like to make the server password protected. Advanced Configuration.
Message of the DayThe message of the day text that is displayed whenever a player logs on to the server. Advanced Configuration.
Difficulty LevelThe world difficulty level. Advanced Configuration.
Maximum PlayersThe maximum amount of players allowed on the server. A number from 1-255. Advanced Configuration.
PortThe port number that the game server listens on. Advanced Configuration.
SeedA random seed used by the world generation algorithm to create a unique world. For example: qazwsx123. Advanced Configuration.

Linode Options

After providing the app specific options, provide configurations for your Linode server:

Select an ImageDebian 9 is currently the only image supported by the Terraria Marketplace App, and it is pre-selected on the Linode creation page. Required.
RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
Linode PlanYour Linode’s hardware resources. Your Terraria server should be sized based on the amount of traffic you are expecting on your server as well as the game play performance you are looking for. We recommend using a 8GB Linode as the smallest plan to ensure good performance of your game server. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.

When you’ve provided all required Linode Options, click on the Create button. Terraria should install between 5-15 minutes after your Linode has successfully provisioned.

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.

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.

    Enter your Linode’s IP address.

  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.

    Enter the Terraria server’s port

    You will be connected to the server.

Software Included

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

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.
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

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

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.

Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.