Befolgen Sie diese Schritt-für-Schritt-Anleitung, um die Chatwoot-Plattform auf Ihrem Server mit Debian 11 zu installieren.

Schritt 1: Aktualisieren Sie Ihr System

Bevor Sie Software installieren, ist es wichtig, die Systempakete zu aktualisieren:

sudo apt update && sudo apt upgrade -y

Schritt 2: Installieren Sie die Abhängigkeiten

Chatwoot benötigt mehrere Abhängigkeiten. Verwenden Sie die folgenden Befehle, um sie zu installieren:

sudo apt install -y git curl apt-transport-https gnupg2 redis-server postgresql postgresql-contrib libpq-dev build-essential nodejs

Schritt 3: Installieren Sie Yarn

Yarn wird benötigt, um JavaScript-Pakete zu verwalten. Installieren Sie es mit diesen Befehlen:

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

Schritt 4: Installieren Sie Chatwoot

Klonen Sie das Chatwoot-Repository auf Ihren Server:

git clone https://github.com/chatwoot/chatwoot.git --branch stable

Wechseln Sie in das Chatwoot-Verzeichnis und installieren Sie die benötigten Gems und Pakete:

cd chatwoot
bundle install
yarn install

Schritt 5: Konfigurieren Sie die Datenbank

Richten Sie die PostgreSQL-Datenbank ein:

sudo -u postgres psql
CREATE USER chatwoot WITH PASSWORD 'password';
ALTER ROLE chatwoot SUPERUSER;
CREATE DATABASE chatwoot_production OWNER chatwoot;
\q

Führen Sie nun die Datenbankmigrationen durch:

RAILS_ENV=production bundle exec rails db:setup

Schritt 6: Kompilieren Sie die Assets vor

Kompilieren Sie die erforderlichen Assets für Chatwoot vor:

RAILS_ENV=production bundle exec rails assets:precompile

Schritt 7: Starten Sie Chatwoot

Starten Sie die Chatwoot-Anwendung mit den folgenden Befehlen:

RAILS_ENV=production bundle exec rails s

Schritt 8: Konfigurieren Sie Nginx als Reverse-Proxy

Um Chatwoot über eine Domain bereitzustellen, konfigurieren Sie Nginx als Reverse-Proxy. Installieren Sie Nginx:

sudo apt install nginx

Erstellen Sie eine Nginx-Konfigurationsdatei für Chatwoot:

sudo nano /etc/nginx/sites-available/chatwoot

Fügen Sie den folgenden Inhalt hinzu:

server {
    listen 80;
    server_name ihrdomain.de;

    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

Aktivieren Sie die Konfiguration und starten Sie Nginx neu:

sudo ln -s /etc/nginx/sites-available/chatwoot /etc/nginx/sites-enabled/
sudo systemctl restart nginx

Fazit

Sie haben Chatwoot erfolgreich auf Ihrem Debian 11 Server installiert. Sie können nun auf die Plattform über Ihre Domain zugreifen und sie für die Kundenkommunikation nutzen.

Windows VPS

Windows VPS UK

Windows VPS

VPS Windows

Serwer VPS Windows

VPS Windows Deutschland

Windows VPS Hosting

VPS Windows España

Windows VPS Nederland

VPS Windows Italia

VPS Windows Portugal

VPS Windows ??????

VPS Windows ???????

VPS Windows ??

VPS Windows Sverige

VPS Windows Norge

VPS Windows ????

VPS Windows Türkiye

Remote Desktop Services (RDS)

RDS CAL (Client Access License)

Remote Desktop VPS

Keywords: windows vps uk, windows vps, uk windows vps, windows vps hosting uk, vps windows server, uk vps windows, vps windows, servidor vps windows, vps uk windows, vps with windows, virtual private server windows, windows virtual private server, windows vps server uk, vps for windows, servidores vps windows, vps windows uk, windows vps hosting, vps windows hosting, windows vps server, windows virtual private servers, vps on windows, vps windows servers, cheap windows vps uk, windowsvps, windows desktop vps, buy vps windows, windows server vps, windows 10 vps uk, rds services, rds cal, remote desktop services, remote desktop hosting

#windowsvps #vpshosting #ukvps #virtualserver #windowsvpsuk #vpsserver #hostingvps #cloudvps #windowsvpshosting #cheapvps #vpswithwindows #windowsserver #servervps #vpssolutions #vpswindows #rdscal #remotedesktop #remotedesktopvps #rds #windowsrds

vps windows