This is a Automated Guide to Install CS:Promod On Linux
*Note: I SUGGEST NOT USING ROOT FOR RUNNING CSP SERVER. This Tutorial Will Create a New User. If you have already created a user then skip Step 1.


Step 1:
a) Log Into Root
b) Type
# nano createuser.sh
c) Paste In The Code Below
Code:
#!/bin/bash
echo "Welcome We Are Creating Your User For this CSPromod Install"
echo "Adding User"
useradd -d /home/cspromod cspromod
echo "... Complete"
echo "Making Directory"
mkdir /home/cspromod
echo "... Complete"
echo "Setting Directory Permissions"
chown cspromod /home/cspromod
echo "... Complete"
echo "Setting Password"
passwd cspromod
echo "... Complete"
echo "Time To Login!
d) Press CTRL + X to close editor
e) Press Y to confirm
f) Press Enter to save to filename specified earlyer
g) Type
# chmod +x createuser.sh
h) Type
# ./createuser.sh

Step 2:
a) Log Into cspromod
b) Type
# nano install-cspromod.sh
c) Paste In The Code Below
Code:
#!/bin/bash
echo "Welcome. This will install CS:Promod Server For You"
echo "Downloading Primary Server Software"
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
echo "... Complete"
echo "Extracting Bin Tool"
./hldsupdatetool.bin
echo "... Complete"
echo "Removing .bin file"
rm -rf hldsupdatetool.bin
echo "... Complete"
echo "Update Steam Installer"
./steam
echo "... Complete"
echo "Install Counter-Strike Source Base"
./steam -command update -game "Counter-Strike Source" -dir ~/
echo "... Complete"
echo "Verifying Counter-Strike Souce Base"
./steam -command update -game "Counter-Strike Source" -dir ~/ -verify_all
echo "... Complete"
echo "Downloading CS:Promod Files"
wget http://cspd1.divo.net/cspromod_b104.zip
echo "... Complete"
echo "Extracting CS:Promod Files"
unzip cspromod_b104.zip
echo "... Complete"
echo "Cleaning Up CS:Promod Files"
rm -rf cspromod_b104.zip
echo "... Complete"
echo "Command Options for Running Server"
echo "./srcds_run -console -game cspromod +map csp_dust2 -maxplayers 24 -autoupdate -tickrate 100"
echo "./srcds_run -console -game cspromod +ip 0.0.0.0 -port 27015  +map csp_dust2 -maxplayers 24 -autoupdate -tickrate 100"
echo "... SCRIPT COMPLETE"
echo "Its All Yours Now!"
d) Press CTRL + X to close editor
e) Press Y to confirm
f) Press Enter to save to filename specified earlyer
g) Type
# chmod +x install-cspromod.sh
h) Type
# ./install-cspromod.sh
*Go Eat/Grab a Coffee/Watch TV

CentOS Errors You May Encounter:
1) sh: uncompress: command not found
Option 1
# yum install gzip
Option 2 (if already installed) (*from root login)
# ln -s /usr/bin/gunzip /usr/bin/uncompress

* taken from CSPromod • View topic - [Guide] CentOS Linux Install Script