Skip to content

How to Set Up a Myth of Empires Dedicated Server on Linux

Discover how to install the Myth of Empires Dedicated Server on Linux and optimize your game server hosting

20 November 20262 min read35 Views0 helpful

Introduction

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.

Prerequisites

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.

Info: Wine compatibility layer

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.

Installation

Log in as the steam user and change to the steam home directory to keep everything organized.

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

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

Configuration

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.

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

Start and connect to the server

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.

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

Conclusion

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!

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 1794810 validate +quit (Steam App ID 1794810).
This keeps the server from running with root privileges. The guide uses the steam user, and installs everything in that user’s home directory.

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.