GNU/Linux >> Linux Esercitazione >  >> Debian

Installare la piattaforma di customer engagement Chatwoot su Debian 11

Chatwoot è una piattaforma gratuita e open source per il customer engagement in tempo reale. Inserisce un widget di live chat sul tuo sito e convoglia in un'unica inbox condivisa le conversazioni provenienti da altri canali, semplificando parecchio l'erogazione di un supporto coerente sui social media. Le integrazioni coprono Facebook, WhatsApp, Twitter e altri, e il risultato è un'alternativa self-hosted credibile a strumenti commerciali come Intercom o Zendesk.

Di seguito vediamo come mettere in funzione Chatwoot su Debian 11.

Prerequisiti

  • Un server con Debian 11.
  • Un nome di dominio già puntato all'indirizzo IP del server.
  • Accesso root sul server.

Installare Chatwoot

L'installazione è guidata da uno script presente nel repository Git del progetto, quindi parti proprio da Git:

apt-get install git -y

Clona il repository:

git clone https://github.com/chatwoot/chatwoot.git

Esegui quindi lo script di setup dalla directory di deployment:

cd chatwoot/deployment/
bash setup_20.04.sh -O setup.sh

Lo script pone una serie di domande. Rispondendo come indicato qui sotto abiliti un certificato Let's Encrypt e lasci che l'installer provveda a installare PostgreSQL e Redis in locale:

Would you like to configure a domain and SSL for Chatwoot?(yes or no): yes Enter your sub-domain to be used for Chatwoot (chatwoot.domain.com for example) : chatwoot.linuxbuz.com This script will try to generate SSL certificates via LetsEncrypt and serve chatwoot at https://chatwoot.linuxbuz.com. Proceed further once you have pointed your DNS to the IP of the instance. Do you wish to proceed? (yes or no): yes Would you like to install postgres and redis?(Answer no if you plan to use external services): yes Enter email address (used for urgent renewal and security notices): [email protected] (Y)es/(N)o: Y Account registered. Requesting a certificate for chatwoot.linuxbuz.com IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/chatwoot.linuxbuz.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/chatwoot.linuxbuz.com/privkey.pem *************************************************************************** Woot! Woot!! Chatwoot server installation is complete The server will be accessible at https://chatwoot.linuxbuz.com ***************************************************************************

Verifica che il target di Chatwoot sia attivo:

systemctl status chatwoot.target
● chatwoot.target Loaded: loaded (/etc/systemd/system/chatwoot.target; enabled; vendor preset: enabled) Active: active since Sun 2022-03-06 06:07:21 UTC; 1min 36s ago Mar 06 06:07:21 debian11 systemd[1]: Reached target chatwoot.target.

L'applicazione vera e propria ascolta sulla porta 3000, come puoi confermare con:

ss -antpl | grep 3000
LISTEN 0 1024 0.0.0.0:3000 0.0.0.0:* users:(("ruby",pid=38128,fd=8))

Nginx e la relativa configurazione Let's Encrypt sono stati installati dallo script. Verifica il web server:

systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2022-03-06 06:09:48 UTC; 10s ago Main PID: 38378 (nginx) Mar 06 06:09:48 debian11 systemd[1]: Started A high performance web server and a reverse proxy server.

L'interfaccia web di Chatwoot

Apri https://chatwoot.linuxbuz.com nel browser: accederai alla schermata di creazione dell'account.

Installare la piattaforma di customer engagement Chatwoot su Debian 11

Inserisci nome, email, nome dell'azienda e una password, poi premi Finish Setup. Chatwoot mostra ora la pagina di login.

Installare la piattaforma di customer engagement Chatwoot su Debian 11

Accedi con le credenziali appena create per raggiungere la dashboard.

Installare la piattaforma di customer engagement Chatwoot su Debian 11

Premendo Inboxes si arriva alla schermata di scelta del canale, dove decidi quale piattaforma collegare per prima.

Installare la piattaforma di customer engagement Chatwoot su Debian 11

Conclusioni

Chatwoot è installato e servito via HTTPS su Debian 11. Da qui puoi collegare i tuoi canali social e iniziare a gestire le conversazioni con i clienti da un'unica inbox all'interno della tua organizzazione. Se qualcosa non è chiaro, chiedi pure.


Debian
  1. Installare Debian 10 Buster: procedura grafica passo passo

  2. Come installare Python 3.9 su Debian 10

  3. Come installare Memcached su Debian 10

  4. Come installare TeamViewer su Debian 10

  5. Come installare Git su Debian 9

Come installare R su Debian 10

Installare X-Cart eCommerce su Debian 10

Come installare Debian 11 Bullseye: guida passo passo

Come installare Go (Golang) su Debian 10 Buster

Come installare Chatwoot su Debian 11

Come installare Go (Golang) su Debian