←
Tweaking your Counter-Strike: Global Offensive server
Small tweaks like server name and server settings.
If the Counter-Strike: Global Offensive process is running then first kill it. When the Counter-Strike: Global Offensive process isn't running then proceed to step 4.
1. SSH to the server
2. screen -r
3. quit
4. CTRL + c
5. cd ~/csgo/csgo/cfg/
6. mv server.cfg server.bak
7. wget https://zeus.geforce.nl/~mb/files/games/csgo/server.cfg
8. chmod 775 server.cfg
- Don't forget to edit the newly downloaded server.cfg to your own needs and settings
9. cd ~/csgo/
10. ./srcds_run -game csgo -ip 192.168.1.95 -usercon +game_mode 1 +game_type 0 +map de_dust2 -maxplayers_override 24 +sv_setsteamaccount <gslt>
11. After a few seconds and some stuff in your console you should see the following:
Connection to Steam servers successful.
VAC secure mode is activated.
12. The server is running, you can check this bij typing 'status', you should see the following:
hostname: My Counter-Strike: Global Offensive Server
version : 1.38.7.9/13879 1569/8853 secure [G:1:9438415]
udp/ip : 192.168.1.95:27015 (public ip: 127.0.0.1)
os : Linux
type : community dedicated
map : de_dust2
players : 0 humans, 0 bots (24/0 max) (not hibernating)
# userid name uniqueid connected ping loss state rate adr
#end
13. CTRL a + d (detached)
14. Done! You now have a fully functional and customized Counter-Strike: Global Offensive server running without mods/scripts.
→
Install 1000 HZ kernel and achieve a 1000 FPS server
Back in the days you had to manually compile a kernel and set it to 1000 Hz, nowadays it's a lot easier to get this done.
I don't think this works on VPS, cause those CPU's are virtual & shared. So this probably only works on dedicated servers.
Before with normal kernel:
1. grep 'CONFIG_HZ=' /boot/config-$(uname -r)
CONFIG_HZ=250
2. sudo apt update
3. sudo apt -y install linux-lowlatency
4. sudo reboot
Afterwards with low latency kernel:
5. grep 'CONFIG_HZ=' /boot/config-$(uname -r)
CONFIG_HZ=1000
And check in-game in your (rcon) console as well to see the result:
stats
CPU In Out Uptime Users FPS Players
9.00 0.00 0.00 949 1 900.05 0
To remove the low latency kernel and go back to the normal kernel use the following:
6. sudo apt-get -y autoremove --purge linux-lowlatency