Setting Up a Dedicated Enshrouded Server on Ubuntu

Setting Up a Server with Debian and Enshrouded

Important Note: As of now, Enshrouded doesn’t officially support Linux. We’ll be using Wine to run the Windows version of the dedicated server.

This guide details the process of setting up a server using Debian and running the Enshrouded server software within a Wine environment.

Prerequisites:

  • A Debian server with root or sudo privileges.
  • Basic knowledge of the command line.

Installation Steps:

1. Update and Upgrade System:

Begin by updating the package list and upgrading the system to ensure you have the latest security patches and software versions.

sudo apt update && sudo apt upgrade -y

2. Install Required Packages:

Install the necessary packages for running Wine and other dependencies:

sudo apt install wine64 steamcmd zsh

3. Create a User (Optional):

It’s recommended to create a separate user for running the server to enhance security. You can skip this step if comfortable using the root user.

4. Create the Working Directory:

Create the directory structure as defined in the script:

mkdir -p ~/enshrouded/drive_c/enshrouded

5. Download the Script (Optional):

Download the provided script (ensure it’s from a trusted source) and place it in a suitable location, such as your home directory (~/).

6. Make the Script Executable:

Grant the script execute permissions:

chmod +x ~/enshrouded_server.sh

7. Run the Script (Optional):

By default, the script will download and run the Enshrouded server within the ~/enshrouded directory. You can customize its behavior using the following options:

  • c: Launch winecfg for configuring Wine.
  • h: Display help information.
  • k: Kill all processes running under the Wine instance.
  • u: Check the emulated Windows version and upgrade the Wine prefix if needed.
  • x: Enable shell debugging for detailed script execution logs.
  • [file]: Specify an executable file to run instead of the default Enshrouded server.

8. Configure Enshrouded (Optional):

The script points to a configuration file (~/enshrouded/drive_c/enshrouded/enshrouded_server.json) for further server settings. Refer to the official Enshrouded documentation for details on configuring this file.

9. Manage the Server:

  • Starting the server: Run ./enshrouded_server.sh.
  • Stopping the server: Use Ctrl+C to terminate the script.
  • Logs: Server logs are located at ~/enshrouded/logs/enshrouded_server.log.

Important Notes:

  • This guide provides a basic setup process. Refer to the official Enshrouded documentation for detailed configuration and usage instructions.
  • Running a server requires ongoing maintenance and security updates.
  • Ensure you understand the security implications of running software within Wine on a server environment.

Description

This guide walks you through installing and configuring a dedicated Enshrouded server on your Ubuntu system.

Technology