|
1.If you are in a local Linux console window, please skip this step.
If you need to remote control Linux server, then please telnet or SSH to your Linux server first with SSH/telnet client software like Putty. Putty can be downloaded for free from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Then login to your server as shown below:


2.Download the latest Linux version of 123 Flash Chat Server Software at: http://www.123flashchat.com/download.html ,
Select the file: 123flashchat.tar.gz
You can download it by using this command:
$ wget http://www.123flashchat.com/download/123flashchat.tar.gz

3.Uncompress the 123flashchat.tar.gz
$ tar zxf 123flashchat.tar.gz
4.Start the server manually:
$ cd 123flashchat/server
$ ./fcserver.sh start

5.Stop the server manually:
$ ./fcserver.sh stop

6.Restart the server manually:
$./fcserver.sh restart

7.How to auto start chat server after rebooting your server?
It can be done following the steps below:
Step 1:
Modify fcserver.sh, find the FCSERVER_HOME section, and configure the directory of fcserver.sh.
For example, if you uncompress the 123flashchat.tar.gz into /usr/local/123flashchat, make sure fcserver.sh is in the directory of /usr/local/123flashchat/server, then remove the "#" before the two rows below in fcserver.sh.
FCSERVER_HOME=/usr/local/123flashchat/server
export FCSERVER_HOME
Step 2:
Modify /etc/rc.local file, add one row:
/usr/local/123flashchat/server/fserver.sh
Just replace "/usr/local/123flashchat/ " with your FCSERVER_HOME value.
updated at 2008-2-28 |