Jump to content
  • Dear guest!

    You can register or log in here:

Poradnik - Jak zainstalować serwer cs2 na linuxie na przykładzie debiana


Dzagu
 Share

Recommended Posts

  • Owner

Należy zacząć od instalacji steamcmd

instalacja potrzebnych pakietów

apt-get install lib32gcc-s1
apt-get install tmux screen -y;
add-apt-repository multiverse
apt install software-properties-common
dpkg --add-architecture i386

Od debiana 11 należy dodać następujące repo w  /etc/apt/sources.list 

czyli odpalamy nano  /etc/apt/sources.list i dopisujemy na końcu

deb http://deb.debian.org/debian bullseye main contrib non-free
 deb-src http://deb.debian.org/debian bullseye main contrib non-free
 
 deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
 deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
 
 deb http://deb.debian.org/debian bullseye-updates main contrib non-free
 deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

następnie wklejamy następujące polecenia

 sudo apt install software-properties-common
 sudo dpkg --add-architecture i386
 sudo apt update
 sudo apt install lib32gcc-s1 steamcmd

teraz można odpalić steamcmd

cd ~/Steam
./steamcmd.sh

teraz należy ustawić ścieżkę instalacji cs2

force_install_dir /home/cs2/

aby zainstalować cs2 należy się jeszcze zalogować na swoje konto

login <username> [<password>] [<Steam guard code>]

i teraz już wystarczy odpalić instalację

app_update 730 validate

tak przebiega proces instalacji:

image.png
aby odpalić serwer należy przejść do folderu z grą, w tym przypadku

cd /home/cs2

następnie wejść do

cd game/bin/linuxsteamrt64/cs2

i na tym etapie można odpalić serwer

.

/cs2 -dedicated +map de_dust2

tryby gry

Competitive:
game_alias competitive <- sets both game mode and game type commands
game_mode 1
game_type 0

Wingman
game_alias wingman <- sets both game mode and game type commands
game_mode 2
game_type 0

Casual
game_alias casual <- sets both game mode and game type commands
game_mode 0
game_type 0

Deathmatch
game_alias deathmatch <- sets both game mode and game type commands
game_mode 2
game_type 1

Custom
game_alias custom <- sets both game mode and game type commands
game_mode 0
game_type 3

 

Link to post
Share on other sites
Cegiełki

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing

    No registered users viewing this page.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Create New...