On 7/10/08, ravindra ture <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> hi,,
>
> i
> want to setup a linux chat server. and i want the clients to be
> windows.since i have not done it before can any one help me in this
> regards.can someone tell me which software should i use. and how to
> configure it. my need is only for internel chating (with in our
> network). plz give me your ideas.
>
> thanks and regards
> Ravindra ture

firstly there are lots of stuff you can avail by googling thru !
i had install ajaxim a web based cha server .... here is a how-to

1. create a directory  /var/www/ajaxim/
cd  /var/www/ajaxim/

wget http://ajaxim.com/download/3.22

unzip 3.22

2. edit the /var/www/ajaxim/config.php
// MySQL Database Configuration
$sql_user   = 'agnello';
$sql_pass   = 'agnello';
$sql_host   = 'localhost';
$sql_db     = 'ajaxim';


3. create a database ajaxim  and assign/creat a user for it

mysqladmin -u root -pagnello create ajaxim

log into mysql and use ajaxim db

GRANT ALL ON ajaxim.* to 'ajaxim'@'localhost' IDENTIFIED BY 'password';
quit;

4. edit the following vi /etc/apache2/sites-available/default ( using
name based virtual hosting )

<VirtualHost *>
        # Basic setup
        ServerAdmin [EMAIL PROTECTED]
        ServerName www.messenger.test-server.com
        ServerAlias messenger.test-server.com
        DocumentRoot /var/www/ajaxim/


# HTML documents, with indexing.
        <Directory />
        Options +Includes
        </Directory>

# CGI Handling
#  ScriptAlias /cgi-bin/ /home/www/www.foo.com/cgi-bin/
# <Location /cgi-bin>
#  Options +ExecCGI
# </Location>

#Logfiles
         ErrorLog  /var/log/test-server.com/ajaxim/error.log
         CustomLog /var/log/test-server.com/ajaxim/access.log combined
 </VirtualHost>


restart apache 2

5. run the following link on ur browser
http://messenger.test-server.com/install.php

http://messenger.test-server.com

now register a user and start chatting !!!!!!!!!



-- 

सादर
Agnello Dsouza
www.linux-vashi.blogspot.com
www.bible-study-india.blogspot.com

Reply via email to