Skip to content

How to Set Up a Foundry Dedicated Server on Linux

Learn how to install the Foundry Dedicated Server on your Linux Dedicated Server for seamless game server hosting and management → Learn more

20 November 20262 min read61 Views0 helpful

Introduction

Do you have a Linux Dedicated Server and want to install the Foundry Dedicated Server service on it? You’re in the right place. In this guide, we’ll explain step by step how to install this service on your Linux server using SteamCMD. We’ll use Ubuntu as an example, but the process is very similar for other distributions.

Preparation

First, connect to your Dedicated Server via SSH. If you need help, follow our SSH Getting Started guide.

If this is your first time using SteamCMD on your Linux server, you’ll need to complete the initial setup. Follow our SteamCMD Linux Setup guide and make sure SteamCMD is fully configured before continuing.

Info

Wine compatibility layer Foundry currently does not offer a native Linux server build, so an additional preparation step is required to run the Windows server version on Linux. You’ll need to install the Wine compatibility layer once if you haven’t already set it up on your Linux server. Follow our quick Wine Compatibility Layer Setup guide before continuing.

Installation

First, log in as the steam user and switch to the steam home directory to keep everything organized.

Code
sudo -u steam -s
cd ~

Once logged in, you can start the installation with the following command. It uses SteamCMD to install the Windows binaries directly in the steam user’s directory. The +@sSteamCmdForcePlatformType windows parameter forces the Windows version to be installed.

Code
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir '/home/steam/Foundry-Server' +login anonymous +app_update 2915550 validate +quit

Please be patient; the download may take some time depending on the size of the game. A confirmation message will appear once it’s complete.

Configuration

You’ve now completed the basic installation of your Foundry server. You can change additional settings in a configuration file in the server directory.

You can adjust all configuration parameters in the app.cfg file in the root directory.

Code
nano /home/steam/Foundry-Server/app.cfg

See our Foundry Server Configuration guide to learn about all available options and what they do.

Start and connect to the server

Now it’s time to start your server. Go to the game’s main directory and start the FoundryDedicatedServerLauncher.exe executable with the following command. Use xvfb-run and wine to run the server through the Wine compatibility layer.

Code
xvfb-run wine /home/steam/Foundry-Server/FoundryDedicatedServerLauncher.exe

You should now see logs in the terminal indicating that the server has started successfully. If everything is working as expected, your server will appear in the server list. Alternatively, you can connect directly by entering [your_ip_address]:3724 in the search bar at the bottom of the server list.

Conclusion

Congratulations, you’ve successfully installed and configured the Foundry server on your Dedicated Server! As a next step, we recommend following our Linux Service Setup guide. It explains how to set up your new Dedicated Gameserver as a service. This offers many benefits, including automatic server startup on boot, automatic updates, easy management, and access to logs—and much more!

If you have any questions or run into any issues, our support team is available every day and will be happy to help!

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

You need SSH access to your Linux server and a one-time SteamCMD setup (see the “SteamCMD Linux Setup” guide).
As the steam user, run steamcmd +force_install_dir '<path>' +login anonymous +app_update 2915550 validate +quit (Steam App ID 2915550).
Foundry currently does not offer a native Linux server build, so you need to install the Wine compatibility layer once to run the Windows server version on Linux.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.