Jump to content

[Guide]CS 1.6 STEAM ONLY SERVER INSTALLATION TUTORIAL FOR LINUX


Recommended Posts

Posted

CS 1.6 STEAM ONLY SERVER INSTALLATION TUTORIAL FOR LINUX

 

Introduction

What do you need to make your own counter-strike server on Linux?

- a computer with Linux o ssh acces

- root privileges

- a internet conection (speed at least 100kB/s metro and extern) throw OPTIC FIBER. .

- 1-2 GB HDD

space

- wget, screen and a text editor (pico, nano or mcedit)

 

Downloading the files

First of all, create e directory.

mkdir /usr/hlds
cd /usr/hlds

 

Then download the next tools:

- HldsUpdateTool

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

 

- AdminMod + MetaMod

wget http://ovh.dl.sourceforge.net/sourceforge/halflifeadmin/halflife-admin-2.50.60-linux.tar.gz

 

Instaling the server:

1. Let's start with hldsupdatetool.bin

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

 

The command must result a new file, colled steam

2. Now, we start to install the server:

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

 

Probably will make update, after that repeat the commad. Just press UP ARROW, then ENTER.. When it's ready, will show you the next message: HLDS installation up to date

3.Instaling the mod (counter-strike)

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

 

When is ready, you will receive a message like this: HLDS installation up to date

 

server.cfg

In /usr/hlds/cstrike is a file, called server.cfg. Open that file with cu pico, nano, mcedit, vi

DELETE EVERYTHING from server.cfg and add the next cvar's :

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 PASSWORD

 

replace <HOSTNAME> with your server name.. At <PASSWORD> write a password. With that password you can control the server from distance. That's all.. don't change other cvar's in server.cfg..

 

AdminMod install

We have download halflife-admin-2.50.60-linux.tar.gz Extract it AnyWhere.

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

 

we have a folder, called AdminMod. Now use the next commands:

cd Adminmod
./install_admin

 

At the first question we write yes and press enter

The next question is abbout default directory of hlds.. We write /usr/hlds si enter. Then we have to select the mod. Write 1 (for cstrike) and press ENTER. Then Y and ENTER to the next questions. That's all.

 

Minimal Configuration for AdminMod:

 

Go in /usr/hlds/cstrike/addons/adminmod/config

cd /usr/hlds/cstrike/addons/adminmod/config/

 

Here we have some files that require out atention. We start with adminmod.cfg that we open with Your text editor.

nano adminmod.cfg

 

admin_balance_teams - we are not interested in this, so let it 0

admin_bot_protection - if is 0 and we have bot's on the server, this cvar will let the admin to slay/ kick ban

, to bot's.

admin_connect_msg - this is the message that will appeare to the player, in the middle of the monitor, after he connect's to the server.

admin_cs_restrict - we will put it on 1 to restrict the weapons in the game.

admin_debug - we are not interested in this, so let it 0

admin_fun_mode - this cvar will make the players to shine. So let it 0.

admin_fx - we will put change it in 1. Special effects

admin_gag_name - 0 or 1 . Witch you like..

admin_gag_sayteam - 0 or 1 . Witch you like..

admin_highlander - this must be 0, because if will change it in 1, only the "biggest" admin will have acces to commands.

admin_ignore_immunity - If is 1 the admins / moderators can kick, ban, slay each other.

admin_repeat_msg - The green message that will appear on the center every 5-10 minutes.

admin_quiet - if is 0, the commands will appear with the admin nick. If is 1, the commands will appear without admin nickname.

allow_client_exec - MUST BE 1 !. With this command you will force the player to execute the commands (quit..)

password_field - the most important cvar,. what we will write here, the admins must write in game-consol before connecting to the server. For example if we put _password, the admin gigi with the password gigi123 must write in the game-console gigi after that setinfo _password gigi123 before connecting to the server.

reserve_slots - Here we will write the number of reserved slots. when the server is full, the admin can connect to it.

reserve_type - we are not interested in this, so let it 0

You will see that we don't write all cvars because it's recommended to let them in the original form.

 

Adding / deleting admins

We have to open users.ini with wordpad. Here we have to write the admin names, passwords, and acces..For example we will create admin gigi and the password gigi123. In users.ini we will write this line

gigi:gigi123:131071

 

For custom acces levels, go to http://www.adminmod.org/help/online/Admin_Mod_Reference/Access_Levels_and_Respective_Admin_Commands.htm  there custom your admin commands, and press "calculate access right" Write the number that result after admin name and password. in the example with gigi, we replace 131071 with the number that result. Each admin line will be under the last. NOT consecutive.Or if you know to make a database bettar and in the end will be more easy for you.

 

Secure server

Go in /usr/hlds/cstrike directory and open liblist.gam with pico, nano or mcedit. Replace secure "1" with secure "0".

 

Starting the server:

Go in l /usr/hlds and write the next command:

./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map 
de_dust2

 

TO start the server, use this command:

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

 

This command put's the server on the background. Too acces it, use the next command:

screen -r hlds

 

To make it background again, Hold ctrl, then press and hold A, then press D

 

If we want to start the server once with the boot, write the next command's in /etc/rc.local

 

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

 

Credits:Strike&Me for few changes and corrections

 

DONT FORGET !

You can play on this server, only if you had a Original

Steam License.

  • 4 weeks later...
Posted

is the same for linux and for windows ?

 

No,only for cs 1.6 Steam On Servers.

I mean Linux server with protocol 48 (Steam Server Only)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



  • Posts

    • It is still possible. If someone manages to steal your active Facebook session cookie (somehow), Facebook will recognize them as you and they can bypass both your password and 2FA. This is called session hijacking
    • SOCNET BOOST - is a new solution among all existing SMM panels. Our panel offers more than 6100+ promotion services in social networks such as Instagram, TikTok, Telegram, VKontakte, Reddit, YouTube, Twitter (X.com), Snapchat, Spotify and many, many others services + increasing the traffic of your website in search results. Our service cooperates with high-quality and proven service providers for promoting your profiles, posts, videos, publications and others on various social networks and your website in the search engine, as well as an additional way to earn income from your referrals.   Available payment methods: via PayPal, any cryptocurrency (+Binance Pay), Telegram Stars, Cash App, or any bank card.   ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Our online store⭐  SOCNET.STORE ⭐ Telegram store ⭐ SOCNET.SHOP News resources ➡ Telegram channel: https://t.me/socnet_news Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store     We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website!   ㅤㅤINSTAGRAM SERVICES   Instagram - Followers ~ Real ~ Refill  30D ~ 20k-100k/days  | Start From $5.324 per 1000 Instagram - Likes ~ 300k ~ 100k/days ~ Asian/Russian  | Start from $0.051 per 1000 Instagram - Views ( All Videos ) ~ 500k-1M/days ~ Instant | Start From $0.003  per 1000 Instagram - Comment ~ Custom ~ 1M ~ Refill  30D ~ 1k/Days ~ Asian/Turkish | Start from $4.875 per 1000 Instagram - Instagram - Story Views ~ All Stories ~ 150k ~ Refill  30D ~ 5k/days | Start from $0.148  per 1000 Instagram - Mentions ~ Custom List ~ 100K/Days ~ 0-12hrs  | Start from $2.763 per 1000   ㅤㅤTELEGRAM SERVICES   Telegram - Members ~ Max 100k ~ 100-1k/days ~ 0-1hrs | Start from $0.604 per 1000 Telegram - Premium Members + Views: From search l 7 day Premium l 7 day No Drop | Start from $7.216  per 1000 Telegram Bot Start - Instant - Speed : 10K/D - NoRefill  | Start from $0.297 per 1000 Telegram - Channel/Group Members ~ USA~ Max 70k ~ Refill 10D ~ 5k/days ~ Instant | Start from $1.788 per 1000 Telegram - Views ~ 1 POST ~ Instant  | Start from $0.005 per 1000 Telegram - Reactions | Start from $1.306 per 1000   ㅤㅤTWITTER (x.com) SERVICES   Twitter (x.com) - Likes ~ 200k ~ 10k/days ~ Asian | Start from $1.187 per 1000 Twitter (x.com) - Retweets ~ 200k ~ 10k/days ~ Asian | Start from $0.894 per 1000 Twitter (x.com) - Followers | Non-Drop | 30 Days Refill | Auto Refill Every 1 Hours | Start from $19.50 per 1000 Twitter (x.com) - Likes ~ 350k ~ 2k-10k/days ~ Mixed ~ | Start from $1.727 per 1000 Twitter (x.com) - Tweet Views ~ Max 100M ~ Refill 30D ~ 10M/days ~ Instant | Start from $0.032 per 1000 Twitter (x.com) - Tweet Impression ~ Max 1M ~ 1M/days ~ Instant | Start from $0.114 per 1000   ㅤㅤTHREADS   Threads - Likes ~ No Refill ~ 1k-10k/days ~ 0-1hrs  | Start from $1.045 per 1000 Threads - Followers ~ 500-1k/days ~ No Refill ~ Instant | Start from $2.438 per 1000 Threads - Reshare ~ 1k-5k/days ~ Refill 30D ~ 0-2hrs  | Start from $8.125  per 1000   ㅤㅤLIKEE   Likee - Follower ~ Max 30k ~ Real ~ Instant | Start from $10.112 per 1000 Likee - Likes ~ Max 30k ~ Real ~ Instant | Start from $3.787 per 1000 Likee - Shares ~ Max 30k ~ Real ~ Instant | Start from $2.649 per 1000 Likee - Comments ~ Max 30k ~ Real ~ Instant | Start from $11.473 per 1000 Likee - Views ~ Max 1m ~ Real ~ Instant | Start from $3.787 per 1000   ㅤㅤTIKTOK SERVICES   TikTok - Views ~ 10k-100k/days | Start from $0.033 per 1000 TikTok - Likes + Views ~ 30D ~ 3k-5k/days | Start from $0.203 per 1000 TikTok - Followers ~ 30D ~ 5k/days | Start from $2.474 per 1000 TikTok - Shares ~ 30D ~ 1M/days | Start from $0.163 per 1000 TikTok - Save ~ 30D ~ 3k-5k/days | Start from $0.163  per 1000   ㅤㅤFACEBOOK SERVICES   Facebook - Video Views ~ 5k-100k/days | Start from $0.11 per 1000 Facebook - Post Likes ~ 5k/days | Start from $2.548 per 1000 Facebook - Page Likes + Followers ~ 1k-10k/days ~ Instant | Start from $0.85 per 1000 Facebook - Share ~ 30D ~ 1k-5k/days | Start from $1.451 per 1000 Facebook - Post/Photo likes ~ 20k ~ LifeTime ~ 1k-50k/days ~ Instant | Start from 0.66$ per 1000 Facebook - Emoticons Post Likes ~ 1k-5k/Days ~ INSTANT | Start from $0.943 per 1000 Facebook Live Stream [ Watch 15 Minute ] | Start from $1.338 per 1000 Facebook - Video/Reels Views ~ 3 Sec ~ 500k-1m/days | Start from $0.11 per 1000   ㅤㅤREDDIT SERVICES   Reddit Channel Subscribers [Refill 30 Days] [Max: 100M] [Start Time: 0 -1 Hour] [Speed: 5M/Day] | Start from $2.08 per 1000 Reddit Shares | 500M | Refill: Lifetime | ULTRAFAST | 0-10 Min | 100M/Day | Start from $0.371 per 1000 Reddit Views | 500M | Refill: Lifetime | ULTRAFAST | 0-10 Min | 100M/Day | Start from $0.371 per 1000 Reddit View + Shares | 500M | Refill: Lifetime | ULTRAFAST | 0-10 Min | 100M/Day | Start from $0.741 per 1000 Reddit Link Shares | 500M | Refill: Lifetime | ULTRAFAST | 0-10 Min | 100M/Day | Start from $0.371 per 1000   ㅤㅤDISCORD SERVICES   Discord Offline Members | READ THE DESCRIPTION | ADD BOT | HQ | MAX 5K | Start from $1.58 per 1000 Discord Global Online Server Members | +2 Month Online | Max 15K | Start from $108.986 per 1000 Discord Server Boosts | For 1/3/6/12 Months | 1x-14x boosts | Start from 2.23$ per 1 boost Discord | Only Reactions | UHQ | Instant Start | Start from $5.695 per 1000   ㅤㅤLINKEDIN SERVICES   LinkedIn - Profile Followers ~ Max 1k ~ Refill 30D ~ 500-1k/days ~ 0-1Hrs | Start from $21.97 per 1000 LinkedIn - Page Followers ~ Max 1k ~ Refill 30D ~ 500-1k/days ~ 0-1Hrs | Start from $21.97 per 1000 Linkedin - Post Likes [+ Impressions ] ~ Refill 30D ~ 500/days ~ Instant | Start from $16.90 per 1000 Linkedin - Comments [ Random ] ~ Max 1k ~ No Refill ~ 30-50/days ~ 1-6hrs | Start from $28.73 per 1000 LinkedIn - Connection ~ Refill 30D ~ 500/days ~ Instant | Start from $28.73  per 1000   ㅤㅤYOUTUBE SERVICES   YouTube - Views ~ LifeTime ~ 500k-1M/Days | Start from $1.488 per 1000 YouTube - Likes ~ No Refill ~ 1k-5k/days ~ Instant  | Start from $0.13 per 1000 Youtube - Subscribers | MQ 5K | 250-500 Per Day R30 | Start from $78.00 per 1000 YouTube - Comments ~ Random ~ 100k ~ No Refill ~ 1k-5k/days ~ 0-3Hrs | Start from $19.013 per 1000 YouTube - Shorts Likes ~ 50k-60k/days ~ Refill 30D - Instant | Start from $1.30 per 1000 YouTube - Live Stream Reaction ~ Help Small Boosting Live ~ Instant  | Start from $0.192 per 1000     ㅤㅤWHATSAPP SERVICES   WhatsApp Channel Members [ Global-Real ] [ Speed: 500/day ] [ Start: 0-1hrs ] | Start from $15.647 per 1000 WhatsApp Group Members [ Mix Country ] [ Real Quality ] | Start from $30.893 per 1000 WhatsApp Channel Members [ Mix Country ] [ Real Quality ] | Start from $28.179 per 1000 Whatsapp Channel Emoji Reactions | Start from $6.797 per 1000 Whatsapp Channel Post Emoji Reactions | Random Mix |  Start from $3.861 per 1000   ㅤㅤTWITCH/KICK/TROVO SERVICES   Twitch - Followers ~ Max 1k ~ 1k/Days ~ Instant | Start from $0.183 per 1000 Twitch - Video Views ~ Max 20k ~ No Refill ~ 5k/days ~ 0-1Hrs  | Start from $1.073 per 1000 Twitch - Clip Views ~ Max 20k ~ No Refill ~ 5k/days ~ 0-1Hrs | Start from $0.163 per 1000 Twitch Live Views | 10 Minutes | Start from $0.597 per 1000 Trovo Live Followers [Max: 5K] [Offers] [1-2/Hour] [30 Day Refill]  | Start from $18.688 per 1000 Kick - Followers ~ 1.2k ~ No Refill ~ 1k/Days ~ INSTANT | Start from $4.55 per 1000 Kick - Live Viewers - Stable viewers HQ ~ Duration: 60 min | Start from $40.30 per 1000   ㅤㅤSOUNDCLOUD SERVICES   Soundcloud - Followers ~ 2.5k ~ Refill 30D ~ 100-500/days ~ Instant | Start from $7.132 per 1000 Soundcloud - Likes ~ 2.5k ~ Refill 30D ~ 100-500/days ~ Instant | Start from $7.132 per 1000 Soundcloud - Reposts ~ 2.5k ~ Refill 30D ~ 100-500/days ~ Instant | Start from $7.132 per 1000   ㅤㅤSPOTIFY SERVICES   Spotify - Followers ~ 292k ~ 20k/days | Start from $4.225 per 1000 Spotify - Saves ~ 400k ~ 20k/days | Start from $0.488 per 1000 Spotify - Monthly Listeners ~ LifeTime ~ 5k-20k/days | Start from $1.788  per 1000   ㅤㅤQUORA SERVICES   Quora.com - Upvote ~ Max 10k ~ Refill 30D  | Start from $8.125 per 1000 Quora.com - Shares ~ Max 10k ~ Refill 30D  | Start from $8.125 per 1000 Quora.com - Followers ~ Max 10k ~ Refill 30D  | Start from $8.45 per 1000   ㅤㅤWEBSITE TRAFFIC Worldwide / GEO Target - Custom Referral Traffic | Start from $1.284 per 1000 visits WorldWide Traffic from Google.com [Organic] [Custom Keywords] | Start from $0.244 per 1000 visits WorldWide Traffic from Google.com | Start from $0.244 per 1000 visits WorldWide Traffic from Facebook  | Start from $0.244 per 1000 visits WorldWide Traffic from Instagram | Start from $0.244 per 1000 visits WorldWide Traffic from Quora | Start from $0.244 per 1000 visits WorldWide Traffic from Reddit | Start from $0.244 per 1000 visits WorldWide Traffic from YouTube | Start from $0.244 per 1000 visits WorldWide Traffic from Twitter | Start from $0.244 per 1000 visits Attention: this text block does not represent our full product range; for more details, please visit the relevant links below!   If you have any questions, our support team is always ready to help!   Available payment methods: via PayPal, any cryptocurrency (+Binance Pay), Telegram Stars, Cash App, or any bank card.   ⭐ Our SMM-Panel for social media promotion ⭐ SOCNET.PRO ⭐ Our online store⭐  SOCNET.STORE ⭐ Telegram store ⭐ SOCNET.SHOP News resources ➡ Telegram channel: https://t.me/socnet_news Contacts and support ➡ Telegram support: https://t.me/socnet_support ➡ Discord support: socnet_support ➡ Discord server: https://discord.gg/y9AStFFsrh ➡ WhatsApp support: https://wa.me/79051904467 ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Email support: solomonbog@socnet.store   We have been operating for a long time and have gathered a huge list of reviews about our work! Our large list of positive and honest reviews is presented on our website! ⭐ Get a $1 bonus for your first test run ⭐ Just submit a support ticket with the subject “Get Trial Bonus” on our website. Go to SMM Panel (clickable) or contact our bot support ⭐ We invite you to COOPERATE and EARN with us ⭐   Want to sell your product or service in our stores and earn money?   Become our partner or propose mutually beneficial cooperation?   You can contact us via the CONTACTS provided in this topic.   FAQ and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a service that does not fully meet the requirements or fails to meet the stated quality will only be issued if the product description specified a warranty and the period of good faith warranty. In other cases, a refund for the service will not be fully processed and will not be issued! By purchasing such a service, you automatically agree to our refund rules for undelivered services! We currently accept CRYPTOMUS, Payeer, NotPayments, Perfect Money, Russian and Ukrainian bank cards, AliPay, BinancePay, CryptoBot, credit bank cards, and PayPal. The $1 registration bonus can only be used for purchases and only once after the user's first registration in any of the socnet projects. We value every customer and provide replacements for invalid accounts via our contacts! p.s: The purchase bonus can be used in any SOCNET projects: online store or Telegram bots.
    • 08-22-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • If your pc and browser are clean (no malware, no extensions, nobody else has access) then its not possible for anyone else to use your FB session. 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock