With almost 30K installs detected during application lifetime (10Y) it’s a stable solution for everyone who want’s to have Live Support Chat application hosted on their infrastructure.
Package | Version | License |
---|---|---|
Nginx | 1.20.1 | Custom |
MariaDB | 10.4.24 | GPL 2 |
NodeJS | 10.24.1 | Custom |
Redis | 3.2.12 | 3-Clause-BSD |
Fail2ban | 0.11.1 | GPL 2 |
PHP | 7.4.28 | PHP License v3.01 |
Postfix | 2.10.1 | IBM Public |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Live Helper Chat 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Live Helper Chat Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "livehelperchat-7-8-2003"}' \
"https://api.digitalocean.com/v2/droplets"
In addition to the package installation, the One-Click also:
firewalld
to allow only SSH (port 22, rate limited), HTTP (port 80), and HTTPS (port 443) access.Note, the Droplet root user will not be prompted for the MySQL password.
After you create a Live Helper Chat One-Click Droplet, you’ll need to log into the Droplet via SSH to finish the Live Helper Chat setup. If you try to visit the Droplet’s IP address before logging into the Droplet, you’ll see a Live Helper Chat landing page.
From a terminal on your local computer, connect to the Droplet as root. Make sure to substitute the Droplet’s IP address.
ssh root@use_your_droplet_ip
Once the installation is complete, you can use the Live helper Chat administration dashboard to further customize the Live Helper Chat. Back office address will be found at
http://<ip>/site_admin/
If you setup HTTPS with your domain
https://example.com/site_admin/
To update Live Helper Chat run this command. I always recommend to update after a fresh install.
/opt/livehelperchat/lhc_upgrade.sh
For reference:
If you didn’t enable HTTPS during the initial setup script, you can enable it manually at any time after the fact.
Setting up an SSL certificate enables HTTPS on the web server, which secures the traffic between the server and the clients connecting to it. Certbot is a free and automated way to set up SSL certificates on a server. It’s included as part of the Live Helper Chat One-Click to make securing the Droplet easier.
To use Certbot, you’ll need a registered domain/subdomain name and one DNS record:
/etc/nginx/conf.d/lhc.conf
and append your domain/subdomain to server_name
directive.Once the DNS records and, optionally, the virtual hosts files are set up, you can generate the SSL certificate. Make sure to substitute the domain in the command.
certbot --nginx -d support.example.com