Download the server from given link. And follow the below steps to run it on your Linux VPS.
How To Install & Run
Note : Running server as root user is not recommended. However if any of the below command gives you permission error. Just add
1. Login to your VPS using Putty.
2. Create a folder named css.
3. Upload the linux_clean_server.zip in the css folder using WinSCP or FileZilla.
4. Extract the linux_clean_server.zip file.
5. Install 32 bit libraries and other dependencies.
6. Change necessary file permissions.
7. To start the server, use
To minimize the server console screen, press CTRL+A then D key.
Note: You can configure start.sh file as you like. It contains the setting of port number, maxplayers, tickrate etc.
7. To resume the server console screen, use
8. To stop the server, use
How To Install & Run
Note : Running server as root user is not recommended. However if any of the below command gives you permission error. Just add
sudo
before each command.1. Login to your VPS using Putty.
2. Create a folder named css.
Bash:
cd /home
mkdir css
cd css
4. Extract the linux_clean_server.zip file.
Bash:
# For Ubuntu/Debian
apt update
apt install zip unzip -y
unzip linux_clean_server.zip
# For CentOS/RHEL
yum update
yum install zip unzip -y
unzip linux_clean_server.zip
# For ArchLinux
pacman -Syy
pacman -S zip unzip
unzip linux_clean_server.zip
Bash:
# For Ubuntu/Debian
apt install lib32gcc1 libc6-i386 lib32stdc++6 lib32z1 screen -y
# For CentOS/RHEL
yum install glibc.i686 glibc.i386 libstdc++.i686 zlib.i686 screen -y
# For ArchLinux
pacman -S lib32-glibc lib32-gcc-libs
Bash:
chmod 777 srcds_amd
chmod 777 srcds_i486
chmod 777 srcds_i686
chmod 777 srcds_run
chmod 777 start.sh
chmod 777 stop.sh
chmod 777 session.sh
Bash:
sh start.sh
Note: You can configure start.sh file as you like. It contains the setting of port number, maxplayers, tickrate etc.
7. To resume the server console screen, use
Bash:
sh session.sh
Bash:
sh stop.sh