Live Helper Chat is a free, open-source live chat application designed to provide real-time assistance to your website visitors. It offers features like chat transfers, canned messages, chat history, and more.
In this tutorial, we will guide you through the steps to install Live Helper Chat on Fedora Server Latest edition.
Before we start with the installation process, make sure your Fedora Server meets the following requirements:
First, navigate to the Live Helper Chat website https://livehelperchat.com/download and download the latest version of the application. Unzip the package to a directory of your choice.
wget https://github.com/LiveHelperChat/livehelperchat/archive/master.zip
unzip master.zip
Next, we need to create a new database and user for Live Helper Chat. Use the following commands to log in to the MariaDB shell and create a new database and user.
mysql -u root -p
# Enter the root account password to log in
CREATE DATABASE lhcdb;
GRANT ALL PRIVILEGES ON lhcdb.* TO 'lhcuser'@'localhost' IDENTIFIED BY 'password';
# Replace 'password' with a strong password of your choice
Copy the settings/settings.ini.default.php
file to settings/settings.ini.php
.
cd livehelperchat-master
cp settings/settings.ini.default.php settings/settings.ini.php
Then, edit the settings.ini.php
file to configure your Live Helper Chat installation.
nano settings/settings.ini.php
Update the following values as per your requirements.
...
'default_departament' => 1,
'direct_login_link' => '',
'debug_output' => false, # set to true to enable debug output
'dataprovider' =>
array (
'debug' => false,
'type' => 'PDO',
'server' => 'localhost',
'port' => '3306',
'database' => 'lhcdb', # replace with your database name
'user' => 'lhcuser', # replace with your database user name
'password' => 'password' # replace with your database user password
),
...
Live Chat Helper Chat requires several dependencies to function correctly. Use the following command to install them.
sudo dnf install php php-mysqlnd php-gd php-json php-mbstring php-xml mariadb-server
After installing the dependencies, we need to configure the web server to serve the Live Helper Chat files correctly.
If you are using Apache web server, create a new VirtualHost file for Live Helper Chat.
sudo nano /etc/httpd/conf.d/lhc.conf
Add the following configuration to the file.
<VirtualHost *:80>
ServerName example.com
DocumentRoot /path/to/livehelperchat-master
<Directory /path/to/livehelperchat-master>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Don't forget to replace the ServerName
and DocumentRoot
values with your own.
Then, restart the Apache web server to apply the changes.
sudo systemctl restart httpd
If you are using Nginx web server, create a new server block for Live Helper Chat.
sudo nano /etc/nginx/conf.d/lhc.conf
Add the following configuration to the file.
server {
listen 80;
server_name example.com;
root /path/to/livehelperchat-master;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
}
Don't forget to replace the server_name
and root
values with your own.
Then, restart the Nginx web server to apply the changes.
sudo systemctl restart nginx
Finally, initialize the Live Helper Chat database by running the following command.
php cron.php -s site_admin -c cron/startup
Congratulations! You have successfully installed Live Helper Chat on your Fedora Server.
In this tutorial, we have guided you through the steps to install Live Helper Chat on Fedora Server. You can now use this powerful live chat application to engage with your website visitors and improve your customer support.
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!