What is Ajax IM?
Ajax IM (“Ajax Instant Messenger”) is a browser-centric instant messaging framework. It uses AJAX to create a real-time (or near real-time) IM environment that can be used in conjunction with existing community and commercial software, or simply as a stand-alone product.
Ajax IM has been truly rebuilt from the bottom up, implementing the latest libraries, techniques, and shininess including jQuery, local session storage (using HTML5 or Flash), Node.js, and much more.
Let’s get you set up, shall we?
By default, there are two choices for installation: thePHP-based or standalone servers. While thestandalone server is recommended for scaling and extensibility, it requires you to be on a VPS or dedicated server. On the other hand, the PHP-basedserver does not have this requirement, though it is recommended that you use a server other than Apache in this case
Step 1 — Extract
After downloading the latest version, extract the archive into its own folder. Upload all included files to your server.
Step 2 — Configure and Install
Change the permissions for
755 (writable). Additionally, if you plan on using a library that uses the standalone Node.js server (
NodeJS Guests), set the permissions for
755 as well. The install script will need to alter these files during installation (unless you handle installation manually).
In your browser, navigate to
install.php in the folder where you uploaded Ajax IM (e.g.,
http://yoursite.com/ajaxim/install.php). The installer will guide you through the steps and configuration options for setting up Ajax IM, the database (if necessary), and the standalone server (if necessary).
Note: After completing installation, delete
config.php → 0755 (rwxrw-rw--) js/ ↳ im.js → 0755 (rwxrw-rw--) node/ ↳ config.js → 0755 (rwxrw-rw--)
Step 3 — Implement
To use Ajax IM on your website, you’ll only need to manually include the
im.load.js script in your pages. The script will automatically test for and include any of the dependencies and the main Ajax IM library.
Step 4 — Finished
That’s it! There really isn’t anything more to the installation.
For more information about integrating Ajax IM with your database, take a look at the documentation; also be sure to check out the
add-ons (coming soon) page for alternative server scripts, database engines, and modifications.
Reference : http://ajaxim.com/installation/