|
 |
 |
 |
- Download the server (IntChatServer-X.Y.Z.zip) package.
-
Unpack IntChatServer-X.Y.Z.zip into some folder FOLDER
(something like c:\IntChat on Windows or
/usr/local/IntChat on *NIX). You will find new folder inside:
IntChatServer-X.Y.Z.
-
On Windows edit FOLDER\IntChatServer-X.Y.Z\run.cmd to correct the path to javaw.exe;
on *NIX edit FOLDER/IntChatServer-X.Y.Z/run.sh to correct the path to java.
-
Open the file FOLDER/IntChatServer-X.Y.Z/conf/Server.xml for editing. You will
need to edit at least the following parameters:
- FileSpool. This parameter defines the folder where Internal Chat Server will put
all the incoming (sent by users) files. By default it is set to FOLDER/IntChatServer-X.Y.Z/spool.
- Database access parameters: DBHost, DBPort, DBName (IC
in the case), DBUser (ICUSER
in the case), DBPassword (set password that you
specified during database setup)
-
Run run.cmd (on Windows) or run.sh (on *NIX, make sure that
EXECUTE file system attribute is set for this file) - the server should
start. You can examine its logs in FOLDER/IntChatServer-X.Y.Z/logs
to make sure that everything is working
properly.
Useful tips
You can set alternative configuration file or logfile to use. Internal Chat Server understands
two custom system properties:
- intchatserver.conffile
- intchatserver.logfile
If you want your Internal Chat Server will use the configuration file other than
the default one (FOLDER/IntChatServer-X.Y.Z/conf/Server.xml), add the following command line
argument to the startup line of your run.cmd or run.sh scripts:
-Dintchatserver.conffile=PATH_TO_YOUR_CONFIGURATION_FILE
To use the alternative log file add the following:
-Dintchatserver.logfile=PATH_TO_YOUR_LOG_FILE
|
 |
 |
 |