Monday, 7 December 2015

How to Setup Chat Support On Website With Mibew Messenger on Centos/RHEL 6.X

Setup Chat Support On Your Website With Mibew Messenger

Mibew Messenger, also known as Open Web Messenger, is an open-source live/chat support application written in PHP and MySQL. It enables one-on-one chat assistance in real-time directly from your website. Just place the Mibew Messenger button at your site, the visitors of your site will be able to get assistance from your operators, technical support executives and customer support executives who help them by clicking on the chat button.

Step 1: Prerequisites

* First you have to install and configure LAMP server

Step 2: create a database called “mibewdb” and database user called “mibewuser” with password “redhat” for ProcessWire

# mysql -u root -p
Enter password:

mysql> create database mibewdb;
Query OK, 1 row affected (0.02 sec)

mysql> GRANT ALL ON mibewdb.* TO mibewuser@localhost IDENTIFIED BY 'centos';
Query OK, 0 rows affected (0.01 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

Step 3: Getting Mibew

# cd /mnt && wget https://sourceforge.net/projects/webim/files/Mibew%20Messenger/1.6.5/mibew165.zip --no-check-certificate

Step 4: Create a directory called “mibew” under web root folder i.e /var/www/html/

# mkdir /var/www/html/mibew

Step 5: Copy and unzip the mibew installation file in /var/www/html/mibew/ folder

# cp mibew165.zip /var/www/html/mibew/
# cd /var/www/html/mibew/
# unzip mibew165.zip
# rm -rf mibew165.zip

Step 6: Set privileges to mibew directory with command

# chown -R root:apache /var/www/html/mibew/

Step 7: Edit file config.php file

# vi /var/www/html/mibew/libs/config.php

$webimroot = "/mibew";

#### Enter the MySQL details as shown below
*  MySQL Database parameters
 */
$mysqlhost = "localhost";
$mysqldb = "mibewdb";
$mysqllogin = "mibewuser";
$mysqlpass = "redhat";
$mysqlprefix = "";

---- save and quit (:wq) ----

Step 8: Begin Installation

Open up browser and go to to URL http://domain-name/mibew/install/index.php or http://ip-address/mibew/install/index.php

If everything seems ok, the following screen should appear. Click Create required tables link.
and follow the Screen for the Further Instructions

Step 9: login to chat as user admin with empty password. For security reason set the password immediately and remove the /mibew/install/ folder

# rm -fr /var/www/html/mibew/install/

Step 10: Now click on the Proceed to Login page and login as admin with empty password

Step 11: In the next page you will be asked to create your administrator login password and email as shown below


Step 12: From here, you can

– create/delete operators,

– find the waiting users,

– Search chat history,

– View the chat statistics,

– Setup common system behavior and chat options,

– Change administrator profile details and so on.

Step 13: How to add the chat button on my website

It’s very simple. Go to the Mibew admin console. You will see a link called button code in the middle of the admin console window. Open the link in the new window and copy the HTML code and you can paste them in your website at any place. Also can change the chat image using Choose image button and can change the chat window style as well.

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.

0 comments:

Post a Comment

Thanks for Visiting the Blog, For more Tutorials keep Visiting the Blog