Live Helper Chat is an open-source live chat software designed for customer support on websites. This tutorial will guide you through the steps to install and configure Live Helper Chat on Elementary OS Latest.
Before you start the installation process, you need to make sure you have the following prerequisites installed on your system:
If you don't have any of these installed, you can do so by running the following commands in your terminal:
sudo apt update
sudo apt install apache2 php mysql-server
You can download the latest version of Live Helper Chat from their website at https://livehelperchat.com/download. Once the download is complete, extract the contents of the .zip file to your Apache web root directory.
sudo unzip lhc_web_x.x.x.zip -d /var/www/html/
Note: Replace x.x.x with the version number you downloaded.
Live Helper Chat requires a database to store its data. To create a new MySQL database, run the following command:
sudo mysql -u root -p
This will prompt you for your MySQL root password. After entering it, you'll be logged into your MySQL server. You can create a new database by running the following command:
CREATE DATABASE lhcdb DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Note: You can replace "lhcdb" with any other name you prefer.
Now, create a new user and grant them access to the database:
CREATE USER 'lhcuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON lhcdb.* to 'lhcuser'@'localhost';
FLUSH PRIVILEGES;
Note: Replace "lhcuser" and "password" with your desired username and password.
Navigate to the Live Helper Chat directory in your web root directory:
cd /var/www/html/lhc_web_x.x.x/
Copy the configuration file:
cp settings/settings.ini.default.php settings/settings.ini.php
Open the configuration file with your favorite text editor:
sudo nano settings/settings.ini.php
Update the following values in the configuration file:
$DefaultUser='lhcuser';
$DefaultPass='password';
$DefaultDatabase='lhcdb';
Note: Replace "lhcuser", "password", and "lhcdb" with the values you created in Step 2.
Now you're ready to install Live Helper Chat. Open a web browser and navigate to "http://localhost/lhc_web_x.x.x/index.php/install/start". Follow the installation wizard to configure your chat settings.
After the installation is complete, you can start the Live Helper Chat service by running the following command:
sudo /etc/init.d/apache2 restart
Now, open your web browser and navigate to "http://localhost/lhc_web_x.x.x/index.php". You should see the Live Helper Chat interface.
Congratulations, you've successfully installed Live Helper Chat on Elementary OS Latest!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!