|
Please read this document completely
before proceeding with installation.
Please note these instructions are not fully comprehensive,
a more thorough userguide will be available on the FBDS website
in the near future. However, this document will walk you through
the basics on installing.
System Requirements:
1. win32 platform, suggest windows 2000 or windows XP.
2. MySQL Database
3. Java 2 SDK
4. Java Application Server, Resin 2 is recommended.
5. MySQL jdbc driver.
Prepare for Install:
1. Download and install mysql, http://www.mysql.com
, version 4.0 is recommended.
2. Download and install J2SE SDK from http://java.sun.com/
version 1.4.2 j2se sdk is recommended.
3. Download and install resin server from http://www.caucho.com/
version 2.1 is recommended.(Note: if you want resin run with
apache or IIS, please read resin documents. you can select other java app server, such as tomcat etc.)
4. Download and extract fbds package to <FBDS_install_dir>.
|
1.Quick Install - import database to MySQL. |
run following command will create "fbds" database and import data:
Your_MySQL_Path/bin/mysql -u Your_MySQL_user -pYour_MySQL_pass < <FBDS_install_dir>/fbds.sql
*Note* A admin account admin/admin will be created too, please remember change the password.
|
2.Quick Install - FBDS core. |
- Copy FBDS core binary to a local directory on your system.
for example: Copy <FBDS_install_dir>/fbds_core_v2.1 to <FBDS_Core_RUN_dir>
- Stop your currently running IL2FB Dedicated Server by
using the "exit" command in the server console.
- Edit your "confs.ini" file in the IL2FB Dedicated
Server directory, add the below code (select all):
[game]
eventlog=eventlog.lst
eventlogkeep=0 |
the edited ini file will be looked like this:
[NET]
speed=80000
serverChannels=32
localPort=21000
SkinDownload=0
difficulty=12580351
serverName=dof
serverDescription=dof
checkServerTimeSpeed=1
checkClientTimeSpeed=0
socksHost=
[chat]
autoLogDetail=3
[MaxLag]
farMaxLagTime=10.0
nearMaxLagTime=2.0
cheaterWarningDelay=10.0
cheaterWarningNum=3
[game]
eventlog=eventlog.lst
eventlogkeep=0
[Console]
IP=21000
IPS=221.233.240.9
LOG=1
LOGTIME=1
LOGFILE=logs.lst
HISTORY=128
HISTORYCMD=128
LOGKEEP=1
|
- Start il2 fb server, make sure you can telnet the console.
- Edit <FBDS_Core_RUN_dir>/fbdscore.prop file:
- GAME_SERVER_IP=xxx.xxx.xxx.xxx
the game server console IP address (ie, 221.221.45.68),
must equals one of the IPS of [Console] section of confs.ini.
- GAME_SERVER_PORT=21000
the game server service udp port, must equals the
localPort of [NET] section of confs.ini
- GAME_SERVER_CONSOLE_PORT=21000
the game server console port, must equals the
IP of [Console] section of confs.ini
- MySQL_USER=root
the MySQL username.
- MySQL_PASS=your_pwd
the MySQL pasword.
- MySQL_URL=jdbc:mysql://localhost/fbds?useUnicode=true&characterEncoding=GBK
the MySQL JDBC url, in sample above, fbds is
database name.
- GAME_SERVER_PATH=D:\\Localhost\\IL2DServer
the game server physical path your uploaded.
- MUST_AUTH=False
this value means that your server is must authentication
to join, if this value set True, all user must use fbdsloader.exe to login and play.
|
3.Quick Install - FBDS JSP. |
- Copy <FBDS_install_dir>/fbds_jsp_v2.1/jsp/* to a directory that under your java application server's DocumentRoot.
- Copy <FBDS_install_dir>/fbds_jsp_v2.1/fbdsbean.prop to your java application server's ROOT directory, and Edit it:
- GAME_SERVER_NAME=your server name
the server name shows on jsps and loader.
- GAME_SERVER_IP=xxx.xxx.xxx.xxx
the game server console IP address (ie, 221.221.45.68),
must equals one of the IPS of [Console] section of confs.ini.
- GAME_SERVER_PORT=21000
the game server service udp port, must equals the
localPort of [NET] section of confs.ini
- MySQL_USER=root
the MySQL username.
- MySQL_PASS=your_pwd
the MySQL pasword.
- MySQL_URL=jdbc:mysql://localhost/fbds?useUnicode=true&characterEncoding=GBK
the MySQL JDBC url, in sample above, fbds is
database name.
- GAME_SERVER_PATH=D:\\Localhost\\IL2DServer
the game server physical path your uploaded.
- MUST_AUTH=False
this value means that your server is must authentication
to join, if this value set True, all user must use fbdsloader.exe to login and play.
- LOADER_VERSION=2.1.25
the version of fbdsloader, for auto-update.
- Copy <FBDS_install_dir>/fbds_jsp_v2.1/support jars/* to your java application server's LIB directory.
- Download and extract the fbds-maps package to jsp path.
- Restart your java application server.
|
4.Quick Install - RUN ! |
- cd <FBDS_Core_RUN_dir>
- open your browser, visit jsp, login as admin/admin, and init a mission sequence first.
- run fbds.bat
- That's all, have fun!
|
|
|
|