Deploying Terraria through the Linode Marketplace

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

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 the Terraria Marketplace App

The Linode Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager.

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

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

  3. Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.

  4. Complete the rest of the form as discussed within the Getting Started > Create a Linode.

  5. Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.

  6. Follow the instructions within the Getting Started After Deployment section.

Software installation should complete within 5-15 minutes after the Linode has finished provisioning.

Configuration Options

Terraria Options

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

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

General Options

For advice on filling out the remaining options on the Create a Linode form, see Getting Started > Create a Linode. That said, some options may be limited or recommended based on this Marketplace App:

  • Supported distributions: Debian 9
  • Recommended minimum plan: 8GB Dedicated CPU or Shared Compute Instance

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.

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