In this guide, you will learn how to set up an Unturned 2.2.5 server on a Aklweb host VPS running CentOS 6.
Note: This is an edited version of Unturned that doesn't require SteamCMD to install. It also allows you to run multiple instances of the server, uses less ram, and runs more efficiently.
Installation
Update the system:
yum update -y
Install the following packages for the Unturned server to work:
yum install screen unzip git -y
Add i386
architecture support:
yum --enablerepo=base-i386 --disablerepo=base-x86_64
yum update
Then, install these libraries:
yum install --enablerepo=base-i386 --disablerepo=base-x86_64 lib32stdc++6 mono-runtime mono-devel libmono-cil-dev mono-reference-assemblies-2.0 libc6-dev.i386 -y
Downloading Server Files
Download the server files:
wget https://github.com/Unturned/server/releases/download/4.2/unturned-linux-dedicated.tar.gz
wget https://github.com/Horsuna/Unturned/releases/download/1/Managed.zip
Extract the server files:
tar -zxvf unturned-linux-dedicated.tar.gz
Move files into the server folder:
mv Managed.zip unturned-bin/Unturned_Data/
Now go to the Unturned_Data
directory:
cd unturned-bin/Unturned_Data/
Unzip the archived files:
unzip Managed.zip
Run your newly installed Unturned 2.2.5 server:
cd ../
chmod +x dedicated.sh
./dedicated.sh
Installing AdminCommands
AdminCommands is a great way to have some control over your server as it does not have a console.
Note: You will need to be in the unturned-bin
directory for this part.
Use git
to get a clone of the mod files on your server.
git clone https://github.com/Horsuna/Unturned.git
cd Unturned
Confirm that the files got cloned properly using ls
, output should appear as follows:
ls
AdminCommands.dll Assembly-CSharp.dll ModLoader.dll README.md
Move the ModLoader
and the AdminCommands
into the server's files:
mv * ../Unturned_Data/Managed/
Make a new directory for the AdminCommands
mod:
mkdir mods
Move the AdminCommands
mod into the mods directory
mv AdminCommands.dll mods/
You have successfully installed Unturned 2.2.5 with AdminCommands on CentOS 6.