BungeeCloud Forum
How to make CS:GO server on your own VPS - Printable Version

+- BungeeCloud Forum (https://forum.bungeecloud.org)
+-- Forum: English (https://forum.bungeecloud.org/forumdisplay.php?fid=13)
+--- Forum: Tutorials (https://forum.bungeecloud.org/forumdisplay.php?fid=24)
+---- Forum: vServer (https://forum.bungeecloud.org/forumdisplay.php?fid=28)
+---- Thread: How to make CS:GO server on your own VPS (/showthread.php?tid=71)



How to make CS:GO server on your own VPS - Sova - 11-03-2019

CS:GO Server Installation!



1.You don’t need root to run the server, so it’s recommended you do the installation with a regular user.


Code:
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
./steamcmd.sh

2.Install CS:GO server:

At the Steam> prompt:

Login to Steam: 

Code:
login anonymous


3.If you see “Login Failure: No Connection”, run these commands (outside of steamcmd) to open up the ports that steam uses:

Code:
iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT
iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT

4.Install Directory:



Code:
force_install_dir ./csgoserver/


5.Install CS:GO


Code:
app_update 740 validate


6.Start Server:

Create the file server.cfg in /csgo/cfg/ and add these lines:


Code:
hostname "Counter-Strike: Global Offensive Dedicated Server"
rcon_password "<password>"


You can now start the server with the ./srcds_run command.

The command below will start a deathmatch server on de_dust2 (be sure to fill in your IP address before running it):



Code:
./srcds_run -game csgo -console -usercon +ip xxx.xxx.xx.xx -port 27015 +game_type 1 +game_mode 2 +mapgroup mg_bomb +map de_dust2

you’re done!