How to install cod4x on ubuntu 18.04
Posted: 30 Apr 2020 18:55
the easiest method I found was by the use of LinuxGSM (Linux Game Server Managers)
start off my using root access to your ubuntu and create a user
this example will use cod4server as a user
sudo adduser cod4server
add cod4server to sudo
sudo usermod -aG sudo cod4server
su - cod4server
change to cod4server directory
cd /home/cod4server
execute the command below
the https has been printed as h ttps for this post
wget -O linuxgsm.sh h ttps://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
if you get the error [ FAIL ] Curl is not installed
use
sudo apt-get install curl
then run this again
wget -O linuxgsm.sh h ttps://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
it will take a long time and look as if it will error a lot but just let it go it will complete
when all is finished run
./cod4server install
you should now have a cod4x server running just edit the server config and your ready to go
to learn about modes and usermaps see post viewtopic.php?f=246&t=5526
the mods and usermap section is the same for both windows and ubuntu
start off my using root access to your ubuntu and create a user
this example will use cod4server as a user
sudo adduser cod4server
add cod4server to sudo
sudo usermod -aG sudo cod4server
su - cod4server
change to cod4server directory
cd /home/cod4server
execute the command below
the https has been printed as h ttps for this post
wget -O linuxgsm.sh h ttps://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
if you get the error [ FAIL ] Curl is not installed
use
sudo apt-get install curl
then run this again
wget -O linuxgsm.sh h ttps://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
it will take a long time and look as if it will error a lot but just let it go it will complete
when all is finished run
./cod4server install
you should now have a cod4x server running just edit the server config and your ready to go
to learn about modes and usermaps see post viewtopic.php?f=246&t=5526
the mods and usermap section is the same for both windows and ubuntu