This guild is trying to show how to setup up an No More Roon in Hell dedicated server under Linux environment.
This guid is well tested on Ubuntu 18.04 LTS.
The following spec is good enought to host a full-team (8 ppl) server:
- 1 CPU core
- 1 GB Ram
- ~8 GB hard disk
also, please remember opening the port 27015 on your firewall before we go.
To host NMRiH server on a Linux machine, please do the following step by step -
download SteamCmd firstly:
(in here , we assume using the path ~/Steam
)
cd ~/SteamCMD
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
tar xvfz steamcmd_linux.tar.gz
run SteamCMD so as to download NMRiH Server file:
./steamcmd.sh
login anonymous
force_install_dir ./NMRiHServer/
......
app_update 317670 validate
(will donwload 7G file)
......
quit
to mske the NMRiH can run under a 64-bit machine, we are goingto install:
apt-get install lib32gcc1
please edit the following config before you kick the server:
cd ~/SteamCmd/NMRiNServer/nmrih/cfg
vi server.cfg
Optionally, you can edit the server message:
(optional)
cd ~/SteamCmd/NMRiNServer/nmrih/cfg
vi motd_default.txt
Optionally, you can edit the map cycle:
(optional)
cd ~/SteamCmd/NMRiNServer/nmrih/cfg
vi mapcycle.txt
due to a bug under the current version, we have to link the following file name:
cd ~/SteamCmd/NMRiNServer/bin
ln -s scenefilecache_srv.so scenefilecache.so
ln -s soundemittersystem_srv.so soundemittersystem.so
We create a script to kick the server:
cd ~/SteamCmd/NMRiNServer
touch start.sh
chmod 744 start.sh
vi start.sh
(please change the path, ip, port, player no. and startig map, according to your environment)
./srcds_run -game nmrih -maxplayers 8 +map nmo_boardwalk -ip xxx.xxx.xxx -port yyyyy(e.g. 27015)
run the server by entering the following command:
cd ~/SteamCmd/NMRiNServer
./start.sh
then make sure the server is running and no error occurred.
ENJOY!
💯