Amazon EC2 Tutorial

From The KillerJim Mod Wiki

Amazon EC2 Tutorial

This page contains the pasted in commands used in the video https://youtu.be/x88uvZwCU1A

   sudo useradd -m steam
   sudo passwd steam
   cd /home/steam
Update and install steamcmd
   sudo apt update
   sudo apt install software-properties-common
   sudo add-apt-repository multiverse
   sudo dpkg --add-architecture i386
   sudo apt update
   sudo apt install lib32gcc1 steamcmd
Server download
   su steam
   steamcmd +login anonymous +force_install_dir /home/steam/modiverse1 +app_update 1549820 +quit
Create symbolic link for steamcmd
   ln -s /user/games/steamcmd steamcmd
Move the shared library
   mkdir -p /home/steam/.steam/sdk64; cp /home/steam/.steam/steamcmd/linux64/steamclient.so /home/steam/.steam/sdk64


Creating configuration
   mkdir /home/steam/modiverse1/KJMod/Binaries/Linux/ServerData
   nano  /home/steam/modiverse1/KJMod/Binaries/Linux/ServerData/ServerConfiguration.json
   Ctrl+X to exit and save
Launching
  ./KJModServer.sh -log -port=7777 -queryport=27015 -SteamServerName="My Server Name" -KJModBaseUGCFolder=/home/steam/ServerData1 -DoNotRestartOnEmpty -InitUGCs -maxplayers=32

Playing

Developers

Developer Reference