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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • --- Interlude GvE PvP new season start at 2026-06-27 21:00 GMT+3 ---   Gameplay: Chronicle: Interlude Type: Faction/GvE (Angels vs Nature vs Demons) GM Shop: B-S grade Buff slots: 20+4 Starting level: 74 + rebirth system   New Features: Client: Modern interface based on Essence Balance: New class skills for better balance Achievement Rewards: Daily, Weekly, One-time TOP rankings: PvP, Event PvP, Map PvP, Clan PvP, Event MvP, Map MvP Zones: 70 different PvP zones,  18 different events (8 map events | 10 main events) 12 Grand/raid bosses. Castle siege Olympiad Clan Hall challenge Custom Enchant System: Dynamic success chance (greater enchant level or item grade less enchanting success chance) Enchant rate: Blessed scrolls dynamic from 100% to 25%. Crystal Scrolls: 100%; Max enchant weapon +12 Max enchant armor +8 Safe point enchant system Extra Features: PvP items with level upgrade Weapon/Armor upgrade (from B grade to S) system Attributes system   Website: https://l2cygnus.com Community: Discord Facebook: https://www.facebook.com/l2cygnus Youtube: 
    • 🚀 L2JOne Website System — Features & Security Overview 📌 Overview The L2JOne Website System is a complete platform designed for Lineage 2 servers, providing account management, donation processing, game integration, automation tools, and advanced security protections.   Built with a focus on: Security Performance Automation Scalability Easy Administration 🎮 Player Features ✔ Account Registration Direct account creation from the website Game database integration Data validation Optional email verification Google reCAPTCHA protection ✔ Secure Login System Protected user sessions Automatic Session ID regeneration Session Fixation protection Secure logout ✔ Player Control Panel Ticket balance management Purchase history Transfer history Character selection Automatic item delivery ✔ Account Recovery Email-based recovery Temporary recovery tokens Automatic token expiration 💰 Donation System Supported Payment Gateways Mercado Pago PIX Credit Card Debit Card Stripe International credit cards PayPal Worldwide payments Binance Pay Cryptocurrency payments ⚡ Automated Credit Delivery Once a payment is confirmed: Gateway validates the transaction. Webhook signature is verified. Order is marked as completed. Credits are added to the player's balance. Player transfers credits to a character. Items are automatically delivered in-game. No manual intervention required. 🎁 Coupon System Percentage discounts Fixed value discounts Usage limits Expiration dates Minimum purchase requirements 🎟 Ticket System Internal virtual currency Item conversion system Administrative adjustments Full transaction history Balance management 📊 Administrative Dashboard Real-Time Statistics Total revenue Daily revenue New registrations Total purchases Pending payments Approved payments Reports Sales reports Financial reports Player activity reports Transfer history Interactive Charts Revenue growth Daily earnings Monthly earnings Visitors by country Payment distribution 🌍 Analytics System Visitor countries Browser statistics Operating systems Device tracking Access history 📰 News Management System Unlimited news posts Featured images HTML editor support Homepage highlights 🎥 Video & Streaming System Supports: YouTube Twitch Kick Custom stream embeds ⏳ Countdown System Launch countdown timer Configurable date and time Timezone support Homepage integration 📥 Download Center Fully configurable: Game Client Official Patch Mirror Downloads Torrent Downloads External Download Links 📱 Social Media Integration Discord Facebook Instagram Telegram YouTube 🔒 Security Layer CSRF Protection All forms include: Unique security tokens Mandatory validation Automatic expiration Protects against: Cross-Site Request Forgery (CSRF) Google reCAPTCHA Protection Integrated Google reCAPTCHA v3 Protects against: Bots Automated registrations Brute-force attacks Session Security Session ID regeneration HttpOnly cookies SameSite cookie protection Secure cookie support Protects against: Session hijacking Session fixation attacks Upload Protection Sensitive file types are blocked: .sql .sqlite .log .pem .key Directory Protection Direct access denied to: config/ private/ storage/ cli/ database/ Unauthorized access is blocked. Anti-Replay Protection Financial callbacks include: Signed timestamps Expiration windows One-time validation Protects against: Payment replay attacks Duplicate transaction processing Webhook Security HMAC signature validation Shared secret verification Mandatory request authentication Protects against: Fake payment notifications Fraudulent credit generation Duplicate Payment Prevention Built-in: Idempotency control Transaction reference validation Payment status verification Prevents: Double credits Repeated processing SQL Injection Protection Secure database layer using: PDO Prepared Statements Parameter Binding No unsafe SQL concatenation. XSS Protection Output sanitization through: HTML escaping Input filtering Protects against: Cross-Site Scripting (XSS) Session theft Licensing Protection Centralized licensing system with: Unique license key Unique secret key Remote validation Domain verification Heartbeat monitoring Anti-Cloning Protection Licenses are linked to: Authorized domain Unique credentials Central validation server Unauthorized domain usage can be automatically blocked. ⚙ Administrative Tools User Management Create accounts Edit accounts Suspend users Adjust balances Financial Management Approve transactions Cancel orders Financial reports Content Management News management Download management Video management Social media management Global Settings Rates configuration Countdown management Payment gateway settings License management 🚀 Technology Stack PHP 8+ MySQL 9+ / MariaDB 11+ Bootstrap 5.3.8 AdminLTE 4..0.2 Mercado Pago SDK Stripe SDK PayPal API Binance Pay API Google reCAPTCHA v3 PDO Secure Database Layer 🛡 Final Result The L2JOne Website System delivers a professional-grade solution for Lineage 2 servers, combining: ✅ Modern Administrative Dashboard ✅ Advanced Donation System ✅ Automatic In-Game Delivery ✅ Real-Time Statistics ✅ Centralized Licensing Platform ✅ Financial Fraud Protection ✅ SQL Injection Protection ✅ XSS Protection ✅ CSRF Protection ✅ Anti-Replay Security ✅ Anti-Cloning Protection A complete, secure, and scalable platform built for professional Lineage 2 server operations DEMO SITE: "My Site" - Lineage II I am currently studying programming in Trybe | Cursos de Inteligência Artificial e Tecnologia Price: 150 USDT Payment methods: Crypto using the Tron network or PayPal (you pay an administrative fee). You can choose to pay a monthly fee to get new features or stick with your current version with security updates! The maintenance fee is only 30 USDT per month. Customers currently using my website: http://www.l2shadowwars.com/                                                                                                        Panel Admin:            Database WebSIte     PANEL PLAYER     StartPack    
    • Fixed a lot of null crashes, damn vanganth 🤣 Added engine that you can create your custom quests Extender dungeon systen so u can create as many dungeons as you like       Possibility to create a server from scratch its possible just is the work + the license/month , many ask for the creation.. i can do everything u like, i can even implement UFOs to fly over gym so.. whatever your dream is i can be as close as possible!
    • Hello, it is someone here to help me to make multiskill on helios pack? ( Not stacksub ) i want. On Hi5 i have this config .   # When enabled, the following will be true: # All classes can learn all skills. # Skills of another class costs x2 SP to learn. # Skills of another race costs x2 SP to learn. # Skills of fighters/mages costs x3 SP to learn. # Default: False AltGameSkillLearn = True
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..