How to install Live Helper Chat on OpenSUSE leap 42.3
To install Live Helper Chat on OpenSUSE leap 42.3
Live helper chat is a free, flexible, and open-source live support chat for your website. It is written in PHP and uses MySQL/MariaDB to store its data. It provides lots of features such as online user tracking, multiple chats, archive chat, user screenshots, file upload and much more. You can seamlessly install the Live Helper Chat on OpenSUSE Leap 42.3
Requirements
LAMP STACK
- Apache
- Mariadb
- PHP7 (zypper install php-gd php-imap php-ldap php-pear php-xml php-xmlrpc php-mbstring php-mcrypt curl curl-devel php-bcmath)
Installing Live Helper Chat
First, you need to download the installation package for Live Helper Chat by using wget command in the following manner.
www.linuxhelp.com:~ # wget https://github.com/remdex/livehelperchat/archive/master.zip
--2017-11-23 14:14:46-- https://github.com/remdex/livehelperchat/archive/master.zip
Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/LiveHelperChat/livehelperchat/archive/master.zip [following]
--2017-11-23 14:14:47-- https://github.com/LiveHelperChat/livehelperchat/archive/master.zip
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/LiveHelperChat/livehelperchat/zip/master [following]
--2017-11-23 14:14:47-- https://codeload.github.com/LiveHelperChat/livehelperchat/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121
Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9457875 (9.0M) [application/zip]
Saving to: ‘ master.zip’
100%[======================================> ] 9,457,875 623KB/s in 17s
2017-11-23 14:15:05 (540 KB/s) - ‘ master.zip’ saved [9457875/9457875]
And then, you need to extract the package in Apache document root by making use of the following command.
www.linuxhelp.com:~ # unzip master.zip -d /srv/www/htdocs/
Archive: master.zip
5b14c6499a69512d476d063e48fa95e3195384a5
creating: /srv/www/htdocs/livehelperchat-master/
extracting: /srv/www/htdocs/livehelperchat-master/.gitignore
inflating: /srv/www/htdocs/livehelperchat-master/README.md
inflating: /srv/www/htdocs/livehelperchat-master/composer.json
creating: /srv/www/htdocs/livehelperchat-master/lhc_web/
extracting: /srv/www/htdocs/livehelperchat-master/lhc_web/.gitignore
inflating: /srv/www/htdocs/livehelperchat-master/lhc_web/bower.json
.
.
.
creating: /srv/www/htdocs/livehelperchat-master/lhc_web/var/tmpfiles/
inflating: /srv/www/htdocs/livehelperchat-master/lhc_web/var/tmpfiles/.gitignore
creating: /srv/www/htdocs/livehelperchat-master/lhc_web/var/userphoto/
inflating: /srv/www/htdocs/livehelperchat-master/lhc_web/var/userphoto/.gitignore
inflating: /srv/www/htdocs/livehelperchat-master/lhc_web/webpack.config.js
Move inside the extracted directory by making use of the following commands.
www.linuxhelp.com:~ # cd /srv/www/htdocs/
www.linuxhelp.com:/srv/www/htdocs # ls -l
total 20
drwxrwxr-x 2 wwwrun www 4096 Oct 9 23:15 gif
-rwxrwxr-x 1 wwwrun www 2356 Mar 18 2017 info2html.css
drwxr-xr-x 3 root root 4096 Nov 22 21:54 livehelperchat-master
And then, rename the folder.
www.linuxhelp.com:/srv/www/htdocs # mv livehelperchat-master livehelperchat
After that, you need to provide appropriate owner and file execution permissions by making use of the following commands.
www.linuxhelp.com:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/livehelperchat/
www.linuxhelp.com:/srv/www/htdocs # chmod -R 775 /srv/www/htdocs/livehelperchat/
Now, you need to make an important configuration to your Apache .conf file. So run the following command to create the file.
www.linuxhelp.com:/srv/www/htdocs # vim /etc/apache2/conf.d/live.conf
And in that file, you need to make the following configuration.
< VirtualHost *:80>
DocumentRoot " /srv/www/htdocs"
ServerName www.linuxhelp1.com
< Directory " /srv/www/htdocs/" >
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory>
< /VirtualHost>
Once you are done with the configuration, you need to restart your apache service by making use of the following command.
www.linuxhelp.com:/srv/www/htdocs # systemctl restart apache
After that, you need to switch on to your browser and type http://yourdomainname and select the installed directory.
And now check if all the compatibility checking and other folder permissions are done.
In the step 2 of the setup, you need to configure the database settings and proceed further after you are done with it.
Follow the previous action by creating admin credentials in application settings and proceed further.
Now the installation is completed.
You can now login with the credentials.
Once you log in, you will be taken to the dashboard
With this, the installation of Live Helper Chat on OpenSUSE Leap 42.3 comes to an end.
LAMP STACK
Apache
Mariadb
PHP7 (zypper install php-gd php-imap php-ldap php-pear php-xml php-xmlrpc php-mbstring php-mcrypt curl
"https://github.com/remdex/livehelperchat/".
you need place the Embed code in the overall_footer.html file of your phpbb template.