How to Install Live Helper Chat on EndeavourOS Latest

Live Helper Chat is an open-source live support application that enables you to chat with your website visitors, monitor their activity, and track their behavior in real-time. In this tutorial, we'll explain how to install Live Helper Chat on EndeavourOS Latest.

Prerequisites

Before proceeding with the installation, make sure your system is up-to-date and you have sudo access. You will also need a LEMP stack installed on your server. If you haven't installed it yet, follow our tutorial on How to install a LEMP stack on EndeavourOS Latest.

Step 1: Download Live Helper Chat

First, download the latest version of Live Helper Chat from their official website. Open your web browser and navigate to https://livehelperchat.com/download-page. Click the "Download" button under the "Self-hosted version" section.

Step 2: Extract the Archive

Once the download is complete, navigate to the directory where the archive was downloaded, and extract it by running the following command:

$ tar -xvf livehelperchat-X.X.X.tar.gz

Replace X.X.X with the version number you have downloaded.

Step 3: Move Files to Document Root

Next, move the extracted files to your web server's document root directory, typically located at /var/www/html/. This can be accomplished by running the following command:

$ sudo mv livehelperchat-X.X.X /var/www/html/livehelperchat

Step 4: Set Permissions

Before proceeding, make sure the web server (Nginx) has ownership of the files by running the following commands:

$ sudo chown -R nginx:nginx /var/www/html/livehelperchat
$ sudo chmod -R 755 /var/www/html/livehelperchat

Step 5: Create a MySQL Database and User

Now it's time to create a database and a user for Live Helper Chat. Log in to your MySQL server as the root user:

$ sudo mysql -u root -p

Create a new database for Live Helper Chat by executing the following command:

CREATE DATABASE livehelperchat;

Create a new MySQL user for Live Helper Chat by running the following command (be sure to replace password with a strong password of your choice):

CREATE USER 'livehelperchatuser'@'localhost' IDENTIFIED BY 'password';

Grant the new user privileges to access the database:

GRANT ALL PRIVILEGES ON livehelperchat.* TO 'livehelperchatuser'@'localhost';

Flush privileges and exit MySQL:

FLUSH PRIVILEGES;
EXIT;

Step 6: Configure Nginx for Live Helper Chat

Next, create an Nginx server block for Live Helper Chat. Open your favorite text editor and create a new file:

$ sudo nano /etc/nginx/conf.d/livehelperchat.conf

Insert the following configuration:

server {
        listen       80;
        server_name  your-domain.com;

        root         /var/www/html/livehelperchat/;
        index        index.php;

        location / {
                try_files $uri $uri/ /index.php?$query_string;
        }

        location ~ \.php$ {
               fastcgi_pass   unix:/run/php-fpm/php-fpm.sock;
               fastcgi_index  index.php;
               fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
               include        fastcgi_params;
        }
}

Be sure to replace your-domain.com with your own domain name or server IP address.

Save and close the file.

Step 7: Restart Nginx and PHP-FPM

Now it's time to restart Nginx and PHP-FPM for the changes to take effect:

$ sudo systemctl restart nginx
$ sudo systemctl restart php-fpm

Step 8: Complete the Installation

Open your web browser and navigate to http://your-domain.com/livehelperchat/install/index.php (replace your-domain.com with your server's domain name). Follow the on-screen instructions to complete the installation of Live Helper Chat.

Conclusion

In this tutorial, we explained how to install Live Helper Chat on EndeavourOS Latest by downloading the package, extracting it to the proper document root directory, configuring Nginx, and creating a MySQL database and user. With Live Helper Chat, you can start chatting with your site visitors in real-time, track their activity, and improve the user experience.

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!