F.E.A.R. Linux Server is a stand-alone server software for Linux.
A Linux distribution with the following components:
┬· kernel 2.4 or later
┬· glibc 2.3.2 or later
Please refer to Section II for more information on the libstdc++.so.5 and libgcc_s.so.1 libraries.
┬· Pentium(R) 4 1.7 GHz or equivalent processor (16 players)*
┬· Pentium(R) III 700 MHz or equivalent processor (8 players)*
┬· 256 MB RAM or more
┬· A broadband Internet connection or LAN connection**
* The minimum CPU specified is a conservative number and allows for additional background services as well as a graphical environment running on the host machine. It may be possible to host more players and/or additional server instances if all unnecessary services are removed from the host's configuration.
** Clients may have trouble connecting to servers behind certain firewalls or NATs.
The F.E.A.R. standalone Linux server is distributed as a compressed tar file. To install the server, copy the compressed file to the desired parent directory and type the following:
tar -zxvf fear-linuxserver-1.02.tar.gz
This will create a subdirectory named FEAR which will contain all of the necessary files.
NOTE: It is recommended that the files are installed as a standard user rather than the root user. Installing as a standard user will enable the server to run as a non-root user, as described below in section III.
The F.E.A.R. standalone Linux server also requires that the system is configured with at least one DNS server. To set a DNS server, you will need to edit the /etc/resolv.conf file (as root) and add a valid nameserver entry.
In addition, it may be necessary on some installations to set a valid hostname and domainname, and create an /etc/hosts file entry for the host so that it can resolve its own IP address.
For more information on the above configuration tasks, please consult the documentation that accompanied your Linux distribution.
The F.E.A.R. standalone Linux server requires the libstdc++.so.5 and libgcc_s.so.1 libraries to be present in either the standard library directories (e.g., /lib and /usr/lib), or in the F.E.A.R. installation directory itself. If your system is missing either of these libraries you may receive an error similar to the following when you attempt to start the server:
./fearserver.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
The easiest way to resolve this error is to acquire the missing library (libstdc++.so.5 and/or libgcc_s.so.1) and copy it directly into the F.E.A.R. installation directory. It may be necessary to perform an Internet search for these libraries to locate a download location, or to copy them from a Linux distribution that has them preinstalled.
The server is configured by editing the server options file using a standard text editor. The server options file is located in the ServerOptions subdirectory of the F.E.A.R. standalone Linux server installation directory. After installation, this directory will contain the default server options file, which is named ServerOptions.txt
To make changes to the server's configuration, edit ServerOptions.txt as necessary. Please note that the values in this file are identical to those used by the Win32 server.
Multiple server options files can be used by specifying the '-optionsfile' command line argument to the fearserver.bin executable. The options file must be located in the ServerOptions subdirectory. For example, to use the options file named "MyServerOptions.txt" which resides in the ServerOptions subdirectory, change the third line of the start.sh to the following:
./fearserver.bin -optionsfile MyServerOptions
For more information on configuring the server, please refer to the serverreadme.txt file included in this distribution.
NOTE: The F.E.A.R. dedicated Linux server stores all files in its installation directory or a subdirectory of the installation directory. Any references to the following directory in the serverreadme.txt file should be replaced with the F.E.A.R. standalone Linux server installation directory:
C:Documents and SettingsAll UsersShared DocumentsMonolith ProductionsFEAR
To start the server, type the following at a command prompt after changing
to the FEAR installation directory:
NOTE: It is recommended that you start the server as a standard user rather than as the root user.
To stop the server, press Ctrl-C at the command prompt, or type kill < pid > where < pid > is the process ID of the F.E.A.R. standalone Linux server process.