Howto: Battlefield 2142 and 2142CC on Linux
Battlefield 2142 dedicated server installation
First, make sure you are logged in as the user you created in the previous chapter.
The Linux server binaries are available from many different locations and mirrors. You should find a mirror close to you to download them. You can download the server installer from EA:
http://largedownloads.ea.com/pub/patches/
Make sure that you download the latest version (see the introduction of this document to see what version that is). Download the files to your system. If the server files are zipped you need to unzip them first. Also, make sure that the unzipped file is executable:
$ wget http://largedownloads.ea.com/pub/patches/BF2142/1.20/NonRankedStandAloneServer/bf2142-linuxded-1.07.94.0-installer.sh.gz
$ gunzip bf2142-linuxded-1.07.94.0-installer.sh.gz
$ chmod +x bf2142-linuxded-1.07.94.0-installer.sh
$ ./bf2142-linuxded-1.07.94.0-installer.sh
Now, you will be shown the EULA for the BF2 dedicated Linux server and PunkBuster. Accept them both by typing 'accept' and 'yes' respectively. When the install script asks you to enter a target installation directory, type the home directory of the user you just created (/home/bf2141server).
After just a couple of seconds, you will see a message 'Installation complete'. Your Battlefield 2142 server is now installed in /home/bf2142server/bf2142.
| << Creating a new user account | 2142CC installation >> |


