How To Install Unturned on Linux

  • Last Created On Dec 09, 2024
  • 9
0 0

Introduction

In this guide, you’ll be learning how to setup and install an Unturned server on Linux. Unturned is a popular survival game, that is free to play.

The commands in this tutorial may vary slightly depending on your Linux distribution. It was originally tested against Ubuntu 16.04.

Prerequisites

Before starting and running your server, there is compulsory software needed.

Downloading server files

Download SteamCMD to the server.

wget http://media.steampowered.com/installer/steamcmd.zip

Next, simply unzip the file you just downloaded:

unzip steamcmd.zip

Once the file has been unzipped proceed to run SteamCMD:

wine steamcmd.exe

Now that SteamCMD is running, log into your secondary Steam account using the following code. Changing out username and password with your account details:

login username password

Your account is now logged in. It’s time to define the install directory:

force_install_dir (Your servers file directory. Ex: /home/your/unix/folder)

Download the game to the dedicated server using the following command:

app_update 304930

You have now successfully installed SteamCMD and Unturned server files on your Linux server.

Running the server

Logged in as root, add a user for Unturned.

adduser unt
adduser unt sudo

Now that the user is added, switch accounts.

su unt

Install Wine and Xinit:

sudo apt-get install wine xinit

Configure the server to allow any user to start it:

sudo dpkg-reconfigure x11-common

Now start it in headless mode.

tmux
startx

That’s done, now move to a new shell in TMUX using:

[CTRL]+[B], [C]

Tell wine to use the headless mode with:

export DISPLAY=:0.0

Finally, Start the Unturned server.

wine Unturned.exe -nographics (Add your command line options here) -sv

Your Unturned server is now up and running.

Extra: Sample command line options

The Unturned command line can be customized with the options below.

Map:

  • Arena
  • Pei

Gamemode:

  • -Bambi
  • -Normal
  • -Hardcore
  • -Gold

Sync Setting:

  • -Sync
  • -Nosync

PVP/PVE Setting:

  • -Pvp
  • -Pve

Misc:

  • -Pass:[PASSWORD]
  • -Port:[PORT NUMBER]
  • -Players:[PLAYER MAX]
Views: 9

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    83
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2634
  • Our Privacy Policy
    2479
  • Our Cookies Policy
    275
  • Our Terms of Use
    153
  • How to Install JAX with ROCm Acceleratio...
    96