Do you have a Linux Dedicated Server and want to install the Myth of Empires Dedicated Server 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 similar for other distributions.
First, connect to your Dedicated Server via SSH. If you need help, see our SSH Quick Start guide.
If you’re using SteamCMD on your Linux server for the first time, you’ll need to set it up first. Follow our SteamCMD Linux Setup guide and make sure SteamCMD is fully set up before continuing.
Myth of Empires currently does not offer a native Linux server build. So an additional 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 done so on your Linux server. Follow our quick Wine Compatibility Layer Setup guide to set it up before continuing.
Log in as the steam user and change to the steam home directory to keep everything organized.
sudo -u steam -s
cd ~
Once you’re logged in, you can start the installation with the following command. This uses SteamCMD to install the Windows binaries—the +@sSteamCmdForcePlatformType windows parameter forces this.
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir '/home/steam/MOE-Server' +login anonymous +app_update 1794810 validate +quit
Be patient—the download may take a while, depending on the size of the game. If everything was successful, a confirmation message will appear.
You’ve now completed the basic installation of your Myth of Empires server. You can adjust additional settings using the various configuration files in the server directory.
All configuration parameters are in .ini files in the Saved folder. Use the ls command to display the files.
cd /home/steam/MOE-Server/MOE/Saved/Config/WindowsServer
To edit a file, simply use nano ./[dateiname].ini to open the Nano editor.
See our Myth of Empires Server Configuration guide to learn about all available server options and what they do.
Now for the main event: start your server. Change to the main game directory and start MOEServer.exe with the following command. Important: use xvfb-run and wine to run the Windows version through the Wine compatibility layer.
xvfb-run wine /home/steam/MOE-Server/MOE/Binaries/Win64/MOEServer.exe
You should now see logs in the terminal confirming that the server started successfully. The first start may take a little while as everything is set up. Then connect directly through the Custom Server tab using [your_ip_address]:15636.
Congratulations, you’ve successfully installed and configured the Myth of Empires server on your Dedicated Server! Next, we recommend following our Linux Service Setup guide. It will help you set up your new Dedicated Gameserver as a service, with benefits such as automatic server startup at boot, automatic updates, easy management, and access to logs and more!
If you have any questions or run into issues, our support team is here to help every day!
