Live Helper Chat is an open-source chat application that enables live support for websites. It can be easily installed on a Linux distribution like OpenSUSE. In this tutorial, we will guide you step by step on how to install Live Helper Chat on OpenSUSE.
Before proceeding with the installation, make sure you have root access to your server, and PHP, MySQL, and Apache are installed on your system.
Open your terminal and update your system's repositories -
sudo zypper update
Install Apache, PHP, and MySQL using the following command -
sudo zypper install apache2 php7 php7-mysql php7-mbstring php7-ctype php7-curl php7-xml php7-simplexml php7-gd mysql mysql-client
Now, download the Live Helper Chat package using the following command-
sudo wget https://download.livehelperchat.com/download.php?archive=latest -O lhc.tar.gz
This will download the latest Live Helper Chat package to your system.
Extract the downloaded package using the following command -
sudo tar -xzvf lhc.tar.gz
Now, move the Live Helper Chat directory to your Apache web server root directory using the following command -
sudo mv livehelperchat /srv/www/htdocs/
This will move the Live Helper Chat directory to your Apache web server root directory.
Change the ownership of the Live Helper Chat directory to the Apache user using the following command -
sudo chown -R wwwrun:www /srv/www/htdocs/livehelperchat
Create a new database for Live Helper Chat using the following command -
sudo mysql -u root -p
Once you are inside MySQL prompt, run the following commands one by one -
CREATE DATABASE lhcdb;
GRANT ALL PRIVILEGES ON lhcdb.* TO 'lh_user'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
Replace the username and password with your own values.
Now, import the Live Helper Chat database structure to your newly created database using the following command -
mysql -u lh_user -p lhcdb < /srv/www/htdocs/livehelperchat/sql/lhc_mysql.sql
Enter the password when prompted.
Finally, open your web browser and navigate to the following URL -
http://localhost/livehelperchat
This will open the Live Helper Chat installation wizard. Follow the instructions to complete the installation. You will be prompted to provide your database credentials that you created earlier.
Congratulations! You have successfully installed Live Helper Chat on OpenSUSE. You can now use it to enable live support on your website.
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!