Terraria Server Ubuntu: An Ultimate Guide


Greetings to all gaming enthusiasts! Do you love playing Terraria with your friends? Do you want to set up your own Terraria server on your Ubuntu OS? If yes, then this ultimate guide is for you! This article will provide a detailed explanation of how you can create your own Terraria server on Ubuntu. With the help of this guide, you can easily host your own Terraria server and enjoy the game with your friends without any interruption. So, let’s get started!

What is Terraria?

Terraria is a 2D sandbox action-packed game that allows players to explore and create their own data-driven adventures in a world full of monsters, treasures, and mysteries. Its unique gameplay and features have made it one of the most popular games of all time. It is available on multiple platforms, including Windows, macOS, Linux, Xbox, PlayStation, and mobile devices.

What is Ubuntu?

Ubuntu is a popular and open-source operating system based on the Linux kernel. It is widely used for desktops, servers, and cloud computing due to its stability, security, and performance. Its user-friendly interface and vast software repository make it an ideal choice for developers, gamers, and enthusiasts.

What is Terraria Server?

Terraria Server is a multiplayer mode that allows players to host and join servers to play together. It can be hosted on various platforms, including Windows, Linux, and macOS. It enables players to create and customize their own worlds, rules, and mods. Terraria Server can be downloaded for free from the official website of Terraria.

What are the Requirements?

Before setting up your Terraria server on Ubuntu, you must have the following requirements:

Ubuntu OS
16.04 or above
1GB or above
1GHz or above
500MB or above
Internet Connection
Stable and fast

Step-by-Step Guide to Set up Terraria Server on Ubuntu

Follow the below steps to set up your Terraria server on Ubuntu:

Step 1: Install Terraria Server

The first step is to download and install the Terraria Server on your Ubuntu OS. Follow the below command to download and install it:

sudo apt-get updatesudo apt-get upgradesudo apt-get install screensudo apt-get install mono-completemkdir terrariacd terrariawget https://terraria.org/system/dedicated_servers/archives/000/000/035/original/terraria-server-1353.zipunzip terraria-server-1353.zip

Step 2: Configure Terraria Server

The second step is to configure the Terraria Server by editing the serverconfig.txt file according to your preferences. Use the below command to edit it:

nano serverconfig.txt

Step 3: Port Forwarding

The third step is to forward the Terraria Server port on your router. You can do this by accessing your router settings and forwarding the port 7777 for TCP and UDP protocols.

Step 4: Start Terraria Server

The fourth step is to start the Terraria Server using the below command:

screen -S terrariamono TerrariaServer.exe -config serverconfig.txtPress Ctrl+A and then Ctrl+D to detach the screen.

Step 5: Join the Server

The fifth and final step is to join the Terraria Server from your game client by entering the server IP address and port number.

Advantages and Disadvantages of Terraria Server on Ubuntu


• The Terraria Server on Ubuntu is free and open-source.

• It provides stable and reliable performance.

• It can handle multiple players simultaneously.

READ ALSO  Ubuntu VM Server: Everything You Need to Know

• It supports various plugins and mods.

• It can be customized according to your preferences.

• It can be hosted on a low-end system.

• It provides a seamless gaming experience.


• The initial setup requires technical knowledge.

• The server can be vulnerable to security threats.

• The server may experience lag or disconnection due to the internet connection.

• The server may require frequent maintenance and updates.

Frequently Asked Questions (FAQs)

Q1. How many players can join the Terraria Server on Ubuntu?

Depending on your system specifications and internet speed, you can host up to 255 players on your Terraria Server.

Q2. Can I run Terraria Server on Ubuntu without GUI?

Yes, you can run the Terraria Server on Ubuntu without a GUI by using the command-line interface.

Q3. Can I host multiple Terraria Servers on Ubuntu?

Yes, you can host multiple Terraria Servers on Ubuntu by configuring multiple instances of Terraria Server.

Q4. How do I backup my Terraria Server data on Ubuntu?

You can backup your Terraria Server data on Ubuntu by regularly copying the world and player files to a separate backup location.

Q5. How can I install plugins and mods on Terraria Server on Ubuntu?

You can install plugins and mods on Terraria Server on Ubuntu by downloading and copying the respective files to the plugins or mods folder and then editing the serverconfig.txt file accordingly.

Q6. Can I host my Terraria Server on a public IP address?

Yes, you can host your Terraria Server on a public IP address, but it may require additional security measures to protect your server from attacks.

Q7. How can I update my Terraria Server on Ubuntu?

You can update your Terraria Server on Ubuntu by downloading the latest version from the official website and replacing the old files with the new ones.


In conclusion, hosting your own Terraria Server on Ubuntu is not as complicated as it may seem. With the help of this comprehensive guide, you can easily set up and customize your Terraria Server on Ubuntu and enjoy the game with your friends. Remember to follow the requirements and guidelines to ensure a smooth and stable gaming experience. So, what are you waiting for? Start hosting your own Terraria Server on Ubuntu and explore the endless possibilities!

Closing Disclaimer

The information provided in this article is for educational and informational purposes only. The author and publisher of this article do not promote or suggest any illegal or unauthorized use of Terraria Server. The readers are solely responsible for their actions and consequences. The author and publisher will not be held responsible for any damages or losses caused by the use of this article.

Video:Terraria Server Ubuntu: An Ultimate Guide