Live Helper Chat is an open-source platform for customer support, which allows users to communicate with website visitors in real-time. In this tutorial, we will guide you through the installation of Live Helper Chat on Debian Latest using the command line.
Before you begin, make sure you have the following:
Live Helper Chat requires some PHP extensions to be installed on the system. To install the required PHP extensions, run the following command:
sudo apt-get install -y php-curl php-gd php-xml php-mbstring
Download the latest version of Live Helper Chat from the official website using the following command:
sudo wget https://livehelperchat.com/site/assets/files/10701/lhc_release_3.66.0.zip
Extract the downloaded file using the following command:
sudo unzip lhc_release_3.66.0.zip -d /var/www/
Log in to MySQL using the following command:
sudo mysql -u root -p
Create a new database for Live Helper Chat using the following commands:
CREATE DATABASE lhcdb;
GRANT ALL PRIVILEGES ON lhcdb.* TO 'lhcuser'@'localhost' IDENTIFIED BY 'lhcpassword';
FLUSH PRIVILEGES;
Replace 'lhcdb', 'lhcuser', and 'lhcpassword' with the desired database, username, and password.
Create a new virtual host configuration for Live Helper Chat using the following command:
sudo nano /etc/apache2/sites-available/lhc.conf
Add the following lines to the configuration file:
<VirtualHost *:80>
ServerAdmin admin@example.com
ServerName yourdomain.com
DocumentRoot /var/www/lhc_web/
<Directory /var/www/lhc_web/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
ErrorLog /var/log/apache2/lhc_error.log
CustomLog /var/log/apache2/lhc_access.log combined
</VirtualHost>
Replace 'admin@example.com', 'yourdomain.com', and '/var/www/lhc_web/' with the appropriate values.
Enable the virtual host using the following command:
sudo a2ensite lhc.conf
Restart Apache using the following command:
sudo systemctl restart apache2
Open a web browser and navigate to 'http://yourdomain.com/install/install.php'. Follow the on-screen instructions to complete the installation.
During the installation, when prompted for database details, enter the following:
Replace 'lhcdb', 'lhcuser', and 'lhcpassword' with the values you set in Step 3.
After the installation is complete, delete the 'install' folder using the following command:
sudo rm -rf /var/www/lhc_web/install/
Congratulations! You have successfully installed Live Helper Chat on Debian Latest. You can now log in to the Live Helper Chat administration panel, configure your settings, and start communicating with your website visitors in real-time.
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!