There are so many dedicated servers available and among all of them, we will going to see the source dedicated server but before start with the topic, first all you should know
What is a “dedicated server”?
A dedicated server is basically designed to serve the needs of the whole network which contain thousands of computer connected to each other and communicate with each other. In a network it is a single computer which is set aside to serve the need of the network. For e.g. In a network, there are many computers from which some of them are dedicated to internet connection, some are dedicated to scanner resources, few of them are dedicated to printer resources, some of them are serving as a firewall and others are doing some other job. Thus in the whole network all these computers are assigned a particular or specific task in the network and they all are working on them i.e. dedicated to their respective tasks. Thus, they all are known as dedicated servers, serving all the needs of the whole network.
Dedicated Server Providers
What is a Source dedicated server?
Source dedicated server linux is a tool that runs the components of server of game without the components of client. Server providers who wanted to serve many games from the one computer only, then for them source dedicated server is a good choice and it is mostly used by them. It allows the developers to run this server on their home computer.
How to install source dedicated server Linux?
As we all know that we require some kind of operating system to install the server, so here we will going to install Source dedicated server on operating system called Linux. But for this you must have the knowledge of Linux i.e. how to run the file, how to download the file on Linux and other functions.
Steps to install Source dedicated server on Linux
To install Source dedicated server on Linux, we will start with HLDSUpdatetool. First of all you are required to download hldsupdatetool from the Valve web server. Then make a dir called srcds_l, and save hldsupdatetool in that dir and run it. But remember check this when you have an uncompress error. Now write the following command
chmod +x hldsupdatetool.bin
In the next step down load the file which will take few hours which depend on the connection the server is using. After file is being downloaded, write the following command:
. /steam -command update -game “Counter-Strike Source” -dir
Now in the next step If you want to install a Half-Life 2 Death match server, then use “hl2mp” for the game switch. In the third step, you will going to install source dedicated server for this you are required to first edit or create srcds_l/cstrike/cfg/server.cfg in the way you want it to be. Now after creating scrds we are ready to run the srcds.
To run the scrds write the following command . /srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate and press enter. (-game hl2mp if it’s a HL2DM server) Your srcds is ready to run Extra) Running srcds in background (re-attachable) and for this we will make a script that will run the srcds in the background in a “screen “but for this you will need to have screen installed for this. Thus, make a file called server.sh and put this in the following Command:
echo “Starting Cs: Source Server”
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate Next save the file, and to run this write the command
chmod +x server.sh
Now in the next step If you want to start your server, simply run server.sh. It will start your srcd server in the background and to open it type:
screen -x css-server And in the last If you want to close it again press Ctrl+A+D, and it will detach the screen and keep it running in the background.