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
Help for creating a Cod4X Server then adding Mods and Custom maps - Ubuntu Only ⇒ How to install cod4x on ubuntu 18.04
-
Topic author - KAB Administrator
- Posts: 362
- Joined: 19 Jan 2004 18:28
- 20
- Contact:
How to install cod4x on ubuntu 18.04
Gen Stranger
Stranger-KAB
Stranger-KAB
-
Topic author - KAB Administrator
- Posts: 362
- Joined: 19 Jan 2004 18:28
- 20
- Contact:
Re: How to install cod4x on ubuntu 18.04
what to do in case the download of linuxgsm.sh fails using wget -O linuxgsm.sh h ttps://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
first download this copy of linuxgsm.sh place it in the cod4server directory then run
chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
then ./cod4sever install
first download this copy of linuxgsm.sh place it in the cod4server directory then run
chmod +x linuxgsm.sh && bash linuxgsm.sh cod4server
then ./cod4sever install
Gen Stranger
Stranger-KAB
Stranger-KAB
-
Topic author - KAB Administrator
- Posts: 362
- Joined: 19 Jan 2004 18:28
- 20
- Contact:
Re: How to install cod4x on ubuntu 18.04
there is an error in the server config
its
set sv_nosteamnames 1 // 1 = Use names from steam if steam is available
the proper format is
set sv_nosteamnames 0 // 0 = Use names from steam if steam is available
its
set sv_nosteamnames 1 // 1 = Use names from steam if steam is available
the proper format is
set sv_nosteamnames 0 // 0 = Use names from steam if steam is available
Gen Stranger
Stranger-KAB
Stranger-KAB