Steam Client Install

From ScottWiki
Revision as of 19:57, 21 January 2019 by Wikiadmin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SteamCMD requires lib32gcc1 which can be installed using:

apt-get install lib32gcc1

For security purposes, we do not want to run the server using the root account, so we'll create a new user named "gameserver" with the following command: Set its password and change its home directory. (this is handy for server software that writes to the users home directory)

useradd gameserver
passwd gameserver
usermod -d /srv/data/game_servers/gameserver gameserver

Since we don't want to block terminal usage while the Arma 3 server is running, we've installed screen to allow the server to run on another screen, but we still have to allow our new user "gameserver" to use screen by running:

chmod o+rw /dev/pts/0

Add this user to the sambausers group so it gets permissions to the data area where we will put the server.

usermod -a -G sambausers gameserver

Now that we have acquired all system dependencies, we can now LOGIN with the gameuser account to start creating some folders and install SteamCMD.

LOGGED IN AS gameserver

As you may of noticed, we are still in the root user's home directory so lets change to where we will install the server.

cd /srv/data/game_servers

To keep our folder structure clean and simple, we'll create a new folder for SteamCMD

mkdir steam
cd steam

Download the SteamCMD executable.

wget http://media.steampowered.com/client/steamcmd_linux.tar.gz

Extract the contents to the directory.

tar -xvzf steamcmd_linux.tar.gz

Remove the tar file.

rm -f steamcmd_linux.tar.gz

Run and update SteamCMD.

./steamcmd.sh

Now loging to steam / verify your account and update

login username password
app_update 740 validate