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.
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.
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.
First, log in as the steam user and switch to the steam home directory to keep everything organized.
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.
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.
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.
nano /home/steam/Foundry-Server/app.cfg
See our Foundry Server Configuration guide to learn about all available options and what they do.
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.
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.
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!