
1. Sukuriame serverio aplanką:
Code: Select all
mkdir /home/csgo && cd /home/csgo
URL1:
Code: Select all
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
Code: Select all
wget blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz
3. Išsarchyvuojame atsisiųstą archyvą:
Code: Select all
tar xvfz *.tar.gz
Code: Select all
STEAMEXE=steamcmd ./steam.sh
Code: Select all
Steam>
Toliau mums reikės prisijungti, naudojant savo Steam vartotoją. Tam įrašykite į eilutę:
Code: Select all
Steam>login Jūsų steam login
Code: Select all
Steam> set_steam_guard_code JŪSŲ_SLAPTAŽODIS
Code: Select all
Steam>login Jūsų login - šį kartą jis turi būti sėkmingas.
Code: Select all
Steam>force_install_dir /home/csgo
Tokiu atveju Jūsų serverio struktūra atrodys taip:
Code: Select all
/home/csgototal 1928drwxr-xr-x 10 csgo csgo 4096 May 12 06:25 .drwxr-xr-x 5 root root 4096 May 12 05:42 ..drwxr-xr-x 4 csgo csgo 4096 May 12 06:25 852513c258fb430b76a1a1c2497d65a4djtf4gdrwxr-xr-x 4 csgo csgo 4096 May 12 06:25 bindrwxr-xr-x 14 csgo csgo 4096 May 12 06:25 csgodrwxr-xr-x 2 csgo csgo 4096 May 12 06:24 depotcachedrwxr-xr-x 2 csgo csgo 4096 May 12 05:45 linux32drwxr-xr-x 2 csgo csgo 4096 May 12 05:45 packagedrwxr-xr-x 10 csgo csgo 4096 May 12 06:25 platformdrwxr-xr-x 2 csgo csgo 4096 May 12 05:45 public-rwx------ 1 csgo csgo 99328 May 12 06:25 srcds.exe-rwx------ 1 csgo csgo 10259 May 12 06:25 srcds_linux-rwx------ 1 csgo csgo 11233 May 12 06:25 srcds_run-rwxr-xr-x 1 csgo csgo 1964 May 8 14:08 steam.sh-rw-r--r-- 1 csgo csgo 1715622 Apr 12 03:44 steamcmd.tar.gz-rwx------ 1 csgo csgo 73216 May 12 06:25 thirdpartylegalnotices.doc
Code: Select all
Steam>app_update 740 validate
Code: Select all
Steam>app_update 740
Paleidimo nustatymai (port, žemėlapis, žaidimo režimas).
8. Paleidžiame serverį:
Code: Select all
./srcds_linux -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_allclassic +map de_dust2