SteamCMD is the official command line version of the Steam client. Through the command line of SteamCMD you can install, update and run Steam game servers, making it ideal for Linux systems.
This post is a guide on installing and setting up SteamCMD on an Ubuntu server.
Creating new user
Best security practises means not running Steam as root user, so create a new user:
adduser steam
Switch to the new user
su – steam
Create a new directory for SteamCMD:
mkdir /home/steam/steamcmd
Move into the directory:
cd /home/steam/steamcmd
Downloading and installing SteamCMD
Use wget to download the SteamCMD installer tool:
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
Now extract it:
tar -xvzf steamcmd_linux.tar.gz
Move into the directory
cd /home/steam/steamcmd
Run the installer with:
./steamcmd.sh
If it does not work and says: /home/steam/steamcmd/linux32/steamcmd: No such file or directory you will need to install lib32gcc1:
apt-get install lib32gcc1
Now re-run ./steamcmd.sh
Now you will see SteamCMD go through the download and installation progress.
SteamCMD will be active as per the
Steam>
Logging in
SteamCMD allows for anonymous login to download and run Steam based servers.
login anonymous
Or you can use your Steam account:
login YOURUSERNAME
That’s the installation of SteamCMD done, up next will be a game server download and install.
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…