01. apt-get install screen
02. dpkg --add-architecture i386
03. apt-get update
04. sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
05. cd /home
06. mkdir servers
07. cd servers
08.{ wget https://ia802600.us.archive.org/26/items/cod4_linux_server_files_201501/cod4_linux_server_files.zip}
{http://192.53.114.178/cod/cod4_linux_server_files.zip}
09. apt-get install unzip
10. unzip cod4_linux_server_files.zip
11. cd cod4
12.{ "wget https://cod4x.me/downloads/cod4x_server-linux_19.2.zip"}
13. chmod -R 777 cod4x18_dedrun main pb mods
Upload Your Mod and Server cfg
14. nano start.sh
15. #!/bin/bash
screen -dmS cod4 ./cod4x18_dedrun +set dedicated 2 +set sv_authorizemode 0 +set rcon_password cod4host123 +set sv_punkbuster 1 +exec server.cfg +set sv_maxclient 32 +set net_port 28960 +set fs_basepath /home/servers/cod4 +set fs_homepath /home/servers/cod4 +set fs_game mods/pml220 +map_rotate
16. sudo chmod +x start.sh
17. cd /home/servers/cod4
18. ./start.sh