In this article we will install the source dedicated server on the Linux platform with the help of HLDS- half life dedicated server. Half Life Dedicated Server basically is a software that powers many older steam games. Generally the Counter-Strike servers are the dedicated web servers running HDLS. We assume you have enough Linux knowledge to download, run files etc.
First step is to start with the HLDS Update tool
First of all download hldsupdatetool from the site. Make a dir called srcds_l, and save hldsupdatetool in that dir and run it. (Check the following code when you have an uncompress error. – To fix your ncompress option, you have 2 options. First, you can either install ncompress by getting a mandrake rpm for ncompress OR you and link it to gunzip
Code:
ln -s /usr/bin/gunzip /usr/bin/uncompress
NOTE: Your gunzip MIGHT be in /bin/gunzip )
Command(s):
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam
The new version of HLDSUpdateTool will be downloaded now. You will be returned to the console after its done.
After the first step we need to move ahead with the downloading the files, which can be done as follows:
We can start downloading the files. This can take a few hours depending on the connection the server uses.
Command(s):
./steam -command update -game “Counter-Strike Source” -dir .
If you want to install a Half-Life 2 Deathmatch server, use “hl2mp” for the game switch.
Now its the time to start the scrds
First edit (or create) srcds_l/cstrike/cfg/server.cfg like you want it to be. Now we are ready to run the srcds.
./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
and press enter. (-game hl2mp if it’s a HL2DM server ofcourse)
Your srcds is now up and running.
To take the extra step you can do is Running srcds in background (re-attachable)
We will make a script that will run the srcds in the background in a “screen”
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):
#!/bin/sh
echo “Starting Cs:Source Server”
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Save the file, and chmod it to run
Command(s):
chmod +x server.sh
If you want to start your server, simply run server.sh . It will start your srcd server in the background, to open it type:
Command(s):
screen -x css-server
If you want to close it again press ctrl+a+d, and it will detach the screen and keep it running in the background.
This is a type of internet hosting service in which the server is leased by a client not on shared basis but the server is dedicated server allotted to them. This can be also said as managed dedicated server hosting or dedicated hosting. This hosting is much more flexible than shared hosting as it provides full control and security over the server.
Basically dedicated server hosting consists of two types of hosting services (1) Managed dedicated server hosting and (2) Unmanaged dedicated server hosting. These two are in many ways similar to each and other but also they differ in some ways. As opposed to unmanaged hosting, managed hosting is exactly what it says, managed. The hosting provider makes sure that everything works as it should, also when it comes to the software.
Managed dedicated servers are known for its best services associated with them by the web hosting providers. This hosting actually is preferable for the benefits like security and high performance. Generally, Managed hosting will be a smooth ride for you as you won’t have to be a hosting expert when working with your site. The hosting provider is responsible for everything from software to equipment. The only thing you will have to be in charge of is the customer-specific application.
Generally managed web hosting servers are available on both the platforms to say: Linux & Windows and the users have full control over the resources of the server or on the server itself. This type of hosting services are opted by the people who doesn’t have much time to invest on managing their IT infrastructure and doesn’t want to put their time on work force to manage their servers, in a sense managed hosting servers are the best options for hassle free services in which the hosting providers will manage the server administration as an add-on services.
Dedicated servers has proved itself to be most redundant and secured solution basically for large businesses having a huge requirements of internet resources to be utilized. Dedicated web servers are generally or most often housed in data centers which provides redundant power sources & HVAC system. Managed dedicated servers is the feasible solution for those who has spent less overhead and can get larger returns on the investments. Dedicated hosting has long been an option for companies whose web presence is such that they can’t put their web site on a shared hosting plan without someone taking a big hit. Maybe their web site is really huge, with lots of interactive elements; or perhaps they get a lot of traffic, especially e-commerce. There might be any number of reasons a company needs a dedicated server.
Managed dedicated servers provide users with good bandwidth, space, security and reliability of being stable with the resources. With this hosting plan user has the servers with them and they have full liberty to operate the server as per their wish and wants, in a way have full control over it. Managed hosting sprang up as an additional option for companies with a strong enough online presence to require a dedicated server. With managed hosting, most of the server administration is handled by the web host rather than the company that owns the dedicated server.