Menginstall Counter Strike 1.6 Server di CentOS

In Entertainment, Games, Komputer, Tutorial

Counter Strike merupakan game tembak-tembakan yang paling berjaya di permainan PC.
Bisa di install di VPS maupun DS, Support Multiple OS, Tetapi disini akan diterangkan menggunakan Linux.
Berikut langkah-langkah membuat Server Counter-Strike 1.6 dengan menggunakan OS CentOS.

1. Setelah menginstall CentOS diupdate dulu

[[email protected]]# yum -y update
[[email protected]]# yum install wget
[[email protected]]# yum install unzip
[[email protected]]# yum install vim
[[email protected]]# yum install screen

Kalo menggunakan x64 (64bit) OS install lib i686

[[email protected]]# yum -y install glibc.i686
[[email protected]]# yum install libgcc_s.so -y

2. Membuat User terlebih dahulu.

[[email protected]]# adduser cstrike
[[email protected]]# passwd cstrike
[[email protected]]# su cstrike

3. Mendownload Server Files
Mendownload server files ke server asli steam,

[[email protected]]$ mkdir server ; mkdir steamcmd ; cd steamcmd
[[email protected]]$ wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
[[email protected]]$ tar -xvzf steamcmd_linux.tar.gz
[[email protected]]$ ./steamcmd.sh

Setelah itu tunggu sampai ada prompt Steam>

Steam> login anonymous
Steam> force_install_dir /home/csserver/server
Steam> app_update 90 validate

Tunggu sampai keluar tulisan Success! App ’90’ fully installed.
Kalau belum keluar tulisan tersebut, atau tulisan error… blaa.. blaa..
ulangi terus command app_update 90 validate.

4. Install AmxModx+Metamod

[[email protected]]$ cd /home/csserver/server/cstrike
[[email protected]]$ wget https://files.nscodes.com/cs16/metamod-p-1.21p37-linux_i686.tar.gz
[[email protected]]$ wget https://files.nscodes.com/cs16/amxmodx-1.8.2-base-linux.tar.gz
[[email protected]]$ wget https://files.nscodes.com/cs16/amxmodx-1.8.2-cstrike-linux.tar.gz
[[email protected]]$ tar -xzvf amxmodx-1.8.2-base-linux.tar.gz
[[email protected]]$ tar -zxvf metamod-p-1.21p37-linux_i686.tar.gz
[[email protected]]$ tar -xzvf amxmodx-1.8.2-cstrike-linux.tar.gz
[[email protected]]$ echo linux addons/amxmodx/dlls/amxmodx_mm_i386.so > addons/metamod/plugins.ini
[[email protected]]$ echo gamedll_linux "addons/metamod/dlls/metamod.so" >> liblist.gam

5. Install dProto
dProto adalah module dari metamod, berfungsi agar server bisa diakses oleh steam & non-steam.

[[email protected]]$ cd /home/cstrike/server/cstrike/addons/
[[email protected]]$ wget https://files.nscodes.com/cs16/dproto_i386.zip
[[email protected]]$ unzip dproto_i386.zip
[[email protected]]$ echo linux addons/dproto/dproto_i386.so >> ../addons/metamod/plugins.ini

6. Start Server
Untuk start server tinggal execute command ini..

[[email protected]]$ ./hlds_run -game cstrike +map de_dust2 +maxplayers 25 -pingboost 2

 

Tinggalkan Balasan

Mobile Sliding Menu