GNX.ro
HomeNewsDownloadsLinksScreenshotsForumContact
GNX.RO Forum Statistics
Members:
We have: topics
Newest member:
Most Online:
Romana | English

 Bookmark me

CS 1.6 Linux Server Installation Tutorial (NoSteam)

Requirements
   -A computer with Linux installed (Fedora Core 4/5/6, Cent0s, or another distribution) and ssh access, with root privileges.
   -For a server with 22 players we need:
   -Processor 1 Gb
   -512 MB RAM
   -1-2 GB free space on your HDD;
    -An internet connection of approximately 1-1.5 MB/s (download as well as upload); the more plug-ins you want to install the more bandwith you need, as well as more RAM.
   -Routable IP ; forward port.

   I recommend using PuTTy and WinSCP for the following steps:
1) Downloadin files for the server:    First, we create a new folder, i will use hlds

mkdir/usr/hlds

   Enter the newly created folder

cd/usr/hlds
A) Download HLDSUpdateTool:

wget http://www.steampowered.com/download/hldsupdatetool.bin

In /usr/hlds execute the following commands:

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
AI) In case you receive an error regarding uncompress then enter this command:

ln -s /usr/bin/gunzip /usr/bin/uncompress

execute the command again:

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin


      b) Download hltv and the valve core(game engine):

./steam -command update -game valve -dir .

   After completing the update it will ask for the above command again. It will begin installing the necessary files for the Server. The download time varies depending on your external connection. At the end you should receive the following message:
HLDS installation up to date

      c) Download the files necessary for Counter-Strike:

./steam -command update -game cstrike -dir .

   It will begin installing the necessary files. The download time varies depending on your external connection. Once it's finished you should receive the following message:
HLDS installation up to date

2) Patching the server so it accepts both Steam and No-Steam clients

Download No-Steam engine

Click to download>

   Execute these commands:

rm -rf engine_amd.so
rm -rf engine_i486.so
rm -rf engine_i686.so
tar xfv engine.v15.tgz
3) Configuring the server: server.cfg
   Go to /usr/hlds/cstrike/server.cfg, delete everything and add:

hostname "The Name of the Server" 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 Password


   Write the name of the server instead of "The Name of the Server". Pay attention! It has to be between the quotation marks.
    Instead of Password (last line) write your desired password.
    ATTENTION! Don't tell this password to anyone else except the admins and the people you trust.

 - mp_c4timer 35 - the timer for the bomb (in seconds), the default is 35, on the majority of the servers it's 30.
 - mp_autoteambalance 0 - 0= no action will be taken; 1= if the teams are not balanced then the server will transfer players depending on their frags.
 - mp_buytime 2 - the time in which a player can buy weapons (in minutes), modify this option as you wish

You're on your own if you try modifying anything else.
4) No Secure server

   Go to /usr/hlds/cstrike/liblist.gam and search for: secure "1", replace 1 with 0, now it should look like secure "0"
5) Installing and Configuring Adminmod:

   Download Adminmod + Metamod:

wget http://www.gnx.ro/downloads/files/halflife-admin-2.50.60-linux.tar.gz

   Extract Adminmod:

tar xfvz halflife-admin-2.50.60-linux.tar.gz

   A new folder, Adminmod, will be created. To install Adminmod we need the be in the directory created from the archive:

cd Adminmod
./install_admin


The answer to the first question is Y.
You will be asked which is the HLDS folder. Answer with /usr/hlds.
You will be asked what mod you want to install adminmod for. Answer with 1.
To the following questions answer with Y.

   Configuring Adminmod:
 - Go to /usr/hlds/cstrike/addons/adminmod/config/adminmod.cfg
In front of every line you will see an explanation in english.

  admin_bot_protection - If it's set to 0 and you are playing with bots on the server then the admins will be able to slay, kick, ban etc the bots.
  admin_connect_msg - This is the message a player will see in the middle of the screen once he's connected.
  admin_cs_restrict - Preferably, set it to 1 so that you can restrict weapons in the game.
  admin_debug - Leave it 0
  admin_fun_mode - Preferably, leave it 0. This cvar makes the players shine in a certain color(glow blue).
  admin_fx - Set it to 1. Special Effects.
  admin_gag_name - 0 or 1 depending on which you preffer.
  admin_gag_sayteam - the same.
  admin_highlander - You should leave it 0. If you switch it to 1, only one admin, the highest, will have access to commands. For example,if there are 3 admins on the server the highest remains , and the other 2 will only be slots.
  admin_ignore_immunity - Depends on your tastes. If it's set to 1, admins, moderators and other players with immunity can slay, kick, ban etc each other.
  admin_repeat_msg - A message that appears in green on the screen every few minutes.
  admin_quiet - If you write 0, the commands given by an admin will appear along with his nick. If you write 1 the commands will appear but instead of the admin's name will appear just "Admin" and if you type 2, the commands won't appear at all.
  allow_client_exec - Definitely 1! With this you can force the players to execute any command (quit etc)
  password_field - Probably the most important cvar. The admins will have to type in the console what you write here before connecting to the server. For example if you write _password, an admin X with the password x789 will have to write in the console name X and then setinfo _password X789 before connecting to your server.
  reserve_slots - Allows the admins and other reserved slots to connect when the server is full.
  reserve_type - Leave it 0. It's best. If you're curious about what it does check out the adminmod's manual.
   Modify other lines only if you know what you're doing.

  How to add/delete admins:
   Open users.ini, an admin must be written like this name:password:access


Example: X:my_password:131071   -the code 1310701 is the maximum access and admin can have on the server. To calculate this code go here
Select what commands you want every class of admins to have.
6) Installing and configuring statsme: Download statsme:
wget http://ovh.dl.sourceforge.net/sourceforge/statsme/statsme-2.8.3-cstrike.zip

   After you finish downloading, extract statsme:

cd /usr/hlds/cstrike
unzip statsme-2.8.3-cstrike.zip

   Go to /usr/hlds/cstrike/addons/metamod and open plugins.ini and add this line above all others, it's very important that it's the first:

linux addons/statsme/dlls/statsme_mm_i386.so

   Go to cstrike\addons\statsme, open statsme.cfg, look for the line sm_menupassword, modify r3wt with another password of your choice.

   How to enable /rank and /top 10     -open statsme.cfg and at the line sm_storebyauth put 0 instead of 1
7) How to start the server:

   For the LuST server i use screens, it's easy and simple, write:

cd /usr/hlds
screen -a
screen -A -m -d -S hlds ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2


Home  |  News  |  Downloads  |  Links  |  Link to us  |  Screenshots  |  Forum  |  Contact
Partial or complete reproduction of materials (which include but are not limited to: images, files, articles etc.) is allowed only with specific GNX.RO approval
Copyright 2007 - 2011 GNX.RO. All rights reserved

WrestleBook.ro