CHEATS GUIs SCRIPTS MAPS TUTORIALS SOUNDS EFFECTS TOOLS SERVERS SKINS TEXTURES MODELS PLUGINS MODS
 
 GVME > CSS > Tutorials > Server
Remove ads!
Rating
Based on GVME Community!
Rating:


Your rating: N/A
Total votes: 0

You cannot rating yet!
You can rate anything - when you add rating to a submission your vote determines its success or failure.

To vote on this submission
register or login

You cannot add to Favorites!
Total Favorites

You cannot say thanks!
You must register or login

Statistics
Scores and popularity
Views: 626
Downloads: 0
Feedback: 0

Install A Counter-Strike Source Server On Ubuntu

Share: F F F F F F F
  Added by: Admin
  Category: Counter-Strike: Source > Server
Difficulty Level: Intermediate
  Tags: css server install ubuntu dedicated
In this tutorial we will be covering the process of installing and running a CS:S Game server.

Prerequisites
  • A vps Instance with 2 GB of RAM and running Ubuntu.


Getting Started
Update the packages:
CODE
sudo apt-get update -y && sudo apt-get upgrade -y


Install these additional libraries:
CODE
sudo apt-get install lib32gcc1 libc6-i386


Add a new user for running the game server:
CODE
sudo adduser steam

(For security purposes)

Login to the new user that we created:
CODE
su steam


Downloading SteamCMD
SteamCMD is a free tool created by Valve and used to download Game Server files easily.

As you are logged as the steam user, make sure you’re in
CODE
/home/steam


Create a directory for SteamCMD:
CODE
mkdir SteamCMD


Navigate to the newly created directory and download the SteamCMD archive:
CODE
cd steamCMD && wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz


Extract the archive:
CODE
tar -xvzf steamcmd_linux.tar.gz


Running SteamCMD
Now we get to the exciting bit, downloading the actual files that make the game server operate.

Run SteamCMD:
CODE
./steamcmd.sh

Login to Steam servers anonymously:
CODE
login anonymous


Set the install directory:
CODE
force_install_dir ./css/


Download the game files:
CODE
app_update 232330 validate

(This may take a while)

Quit the SteamCMD console:
CODE
quit


Running the CS:S server
Navigate to the CS:S Installation Directory:
CODE
cd css


Execute this command to run the server:
CODE
./srcds_run -console -game cstrike -maxplayers 20 - port 27015 +map de_dust2


Conclusion
Your CS:S server should be up and running! To connect to it use the IP on your Vultr instance.

For an advanced configuration guide refer to the CS:S section on the SteamCMD Wiki. Enjoy!

This concludes our tutorial. Thank you for reading.
  Added: Dec 8 2020, 03:59 PM    Modified: Never edited!    Thanks List: [+]      
Add Feedback

You cannot post yet!
Get involved on GVME by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login
Feedback