Unpack chat server files on the server specified in the license. Note that java 1.6 should be installed on this server to run application.
The Chat server package has the following file structure:
*.sh files in linux package only
*.bat files in windows package only
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
default.admin.settings.xml – that is where all default settings for admin panel are stored. After the first launch of the server (if the file admin.settings.xml is missing) it is copied to admin.settings.xml. Afterwards all the settings are read and recorded in admin.settings.xml. default.admin.settings.xml remains unchanged in case all the settings will need to be set back to default.
Linux Installation:
In linux version there are pre-setup, as required for particular package. This is conducted by the package compilator.
| 1. | put executable rights (755) on run.sh, shutdown.sh, flashcoms_chat_server.sh |
| 2. | copy flashcoms_chat_server.sh to /etc/init.d |
| 3. | configure firewall and open ports indicated in settings/main.properties |
Now server can be run as service:
/etc/init.d/flashcoms_chat_server.sh start
/etc/init.d/flashcoms_chat_server.sh stop
/etc/init.d/flashcoms_chat_server.sh restart
In linux version handlers are already pre-setup for client’s domain. In windows version handlers are set to localhost and will need to be modified.
./run.sh
by default ./run.sh is launched in background and the display of the server in console is not visible. But everything can be seen in logs
less logs/chat-server.log
tail -f logs/chat-server.log (for tracking logs in real time)
Background mode is not a service yet. If you close console, server will stop.
./run.sh console
It is launched in foreground and all output is written to the server console.
It is useful for debugging.
Deletion of Chat Server on Linux
Windows Installation:
In windows version parameters are pre-setup for localhost and with default ports. This file is stored inside installator and will be the same for all packages.
Launch installer chat_server.msi, which is included in the package

Accept the license

Choose catalogue where to complete installation


To configure chat server settings please do the following:
Launch installer chat_server.msi, which is included in the package
