Bash script to install Call Of Duty 4 Modern Warfare Linux server on Ubuntu in just 4 steps :)
β
Tested on Ubuntu 18.04, 20.04, 22.04, 24.04
β
No need to run as Root (except for dependency installation).
β
Easy and Fast!!
β
Manage with Web panel (coming soon..)
Testing on Google Cloud VM (Ubuntu 18.04) >> https://web.facebook.com/sathix.bro.5/videos/1333027637279391/?notif_id=1684959865966366¬if_t=video_processed&ref=notif
Before running the script, ensure you have a clean Ubuntu installation and access to a user with sudo privileges.
For 64-bit systems, you need to enable the i386 architecture and install the required 32-bit libraries.
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 unzip screengit clone https://github.com/SathiraSriSathsara/cod4x-linux-server.git
cd cod4x-linux-serversudo apt-get install -y dos2unix
dos2unix install.sh
chmod +x install.sh./install.shβ°ββ€ Max Clients >> 32
β°ββ€ Default Gamemode >> S&D
β°ββ€ Default Map >> Crash
β°ββ€ Rcon Password >> rconpasswd
β°ββ€ Mod Name >> your_mod (Add your mod files to mods/your_mod folder)
β°ββ€ Default Mod >> promodlive220_flags_mod
If you want to change these settings, edit the start.sh file after installation.
To register your server on master servers, add this command to start.sh or server.cfg:
+set sv_authtoken "YOUR_TOKEN"This link will help you get a token.
π¬ If you have any problems, contact me via Discord: SaM β’#9353
π Discord server: https://discord.gg/TRYZMZsQWF
π£οΈ Teamspeak: ts.enforcers.lk
π Website: https://www.enforcers.lk/