Vajuta lingile, et tõmmata SSH klienti: putty.exe.
Ühenda serveriga SSH abil ja järgne:
- cd /
- mkdir serverid
- cd /serverid
- mkdir csserver
- cd /csserver
- wget http://steampowered.com/download/hldsupdatetool.bin
- chmod +x hldsupdatetool.bin
- ./hldsupdatetool.bin
- Kui license agreement värk tekst tuleb, siis kirjuta "yes"/"y"
- ./steam -command update -game cstrike -dir .
Kui tegid ära, siis CS 1.6 serverifailid on serveril ning tuleb käivitada serverit.
Code: Select all
cd /serverid/csserver
screen -A -m -d -S csserver ./hlds_run -binary ./hlds_i686 -game cstrike +maxplayers 12 +ip xx.xx.xx.xx -port xxxxx +exec server.cfg +map de_dust2 -pingboost 2
Code: Select all
cd /serverid/csserver && screen -A -m -d -S csserver ./hlds_run -binary ./hlds_i686 -game cstrike +maxplayers 12 -port xxxxx +exec server.cfg +map de_dust2 -pingboost 2
Selleks on sul vaja leida protsessi ID. Siseta käsklus:
Code: Select all
pgrep -f csserver
Code: Select all
screen -r protsessiID
---
Code: Select all
./steamcmd.sh +login anonymous +force_install_dir /27015/ +app_update 90 validate +quit