how to install ajaxim on debian etch - web chat client

1. create a directory  /var/www/ajaxim/
cd  /var/www/ajaxim/
 
 
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 webmaster@test-server.com
        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
 
 
now register a user and start chatting !!!!!!!!!
 
 
 
--

No comments:

Other Articles

Enter your email address: