- A PC with Linux on itl (Fedora Core 4/5/6, Cent0s, sau alta distributie) acces ssh , root privileges .
- For a good server ( at least 22 players ) we need:
- Processor 1 GB ;
- 512 MB RAM ;
- 1-2 GB space on HDD ;
- At least 1 - 1.5 MB/s Internet speed; download andi upload !
- IP Rootable ; port forward .
It is rocommended to use PuTTy and WinSCP for the next steps :
1) Download server:
First thing we will create some folders
Code:
mkdir /usr/hlds
Code:
cd /usr/hlds
Code:
wget http://www.steampowered.com/download/hldsupdatetool.bin
Code:
chmod +x hldsupdatetool.bin /hldsupdatetool.bin
Code:
ln -s /usr/bin/gunzip /usr/bin/uncompress
Code:
chmod +x hldsupdatetool.bin ./hldsupdatetool.bin
Code:
./steam -command update -game valve -dir .
3. Download the Counter - Strike files:
Code:
./steam -command update -game cstrike -dir .
4.Patching the server 2 accept STEAM and No - Steam clients
Download NO - Steam engine
Code:
wget http://www.gnx.ro/downloads/tutorials/engine.v15_linux.tgz
Code:
rm -rf engine_amd.so rm -rf engine_i486.so rm -rf engine_i686.so tar xfv engine.v15.tgz
Go to /usr/hlds/cstrike/server.cfg ( delete all lines and we add )
Code:
hostname "Server name" mp_autokick 0 mp_autocrosshair 0 mp_autoteambalance 0 mp_buytime 2 mp_consistency 1 mp_c4timer 35 mp_fadetoblack 0 mp_falldamage 0 mp_flashlight 1 mp_forcecamera 3 mp_forcechasecam 2 mp_friendlyfire 1 mp_freezetime 3 mp_fraglimit 0 mp_hostagepenalty 0 mp_limitteams 6 mp_logfile 1 mp_logmessages 1 mp_logdetail 3 mp_maxrounds 0 mp_playerid 0 mp_roundtime 3 mp_startmoney 800 mp_timelimit 35 mp_tkpunish 0 mp_winlimit 0 sv_aim 0 sv_airaccelerate 10 sv_airmove 1 sv_allowdownload 1 sv_clienttrace 1.0 sv_clipmode 0 sv_allowupload 1 sv_cheats 0 sv_gravity 800 sv_lan 1 sv_maxrate 7000 sv_maxspeed 320 sv_maxupdaterate 101 sys_ticrate 10000 decalfrequency 60 pausable 0 log on decalfrequency 60 edgefriction 2 host_framerate 0 exec listip.cfg exec banned.cfg rcon_password Server Password
Go to /usr/hlds/cstrike/liblist.gam and we look for secure "1" and we write 0 so will look like this secure "0"
7.Instalare si configurare Adminmod:
Downlod Adminmod + Metamod:
Code:
wget http://downloads.sourceforge.net/halflifeadmin/halflife-admin-2.50.60-linux.tar.gz?modtime=1093132800&big_mirror=0
Code:
tar xfvz halflife-admin-2.50.60-linux.tar.gz
Code:
cd Adminmod ./install_admin
Code:
At first question we answer Y And then he will ask were is the HLDS folder..type /usr/hlds . At the next one type 1 At last question type Y
Go to /usr/hlds/cstrike/addons/adminmod/config/adminmod.cfg
Code:
admin_bot_protection - set 0 to let bots play admin_connect_msg - MOTD << Welcome msg admin_cs_restrict - set to 1 admin_debug -set to 0 admin_fun_mode - set to 0 admin_fx - set to 1 admin_gag_name - set to 0 or 1 ( ur choice ) admin_gag_sayteam - set to 0 or 1 ( ur choice ) admin_highlander - set to 0 admin_ignore_immunity - set to 0 admin_repeat_msg - a green message that flashes every minute admin_quiet - set 1 password_field - name X and then [b]setinfo _password pass[/b] reserve_slots - set 0 reserve_type - set 0






