Debian 11'de Chatwoot Mesajlaşma Platforması Nasıl Kurulur

 

Debian 11'de Chatwoot Mesajlaşma Platforması Nasıl Kurulur

Debian 11 sunucunuzda Chatwoot'u kurmak için bu adım adım kılavuzu izleyin.

Adım 1: Sistemi Güncelleyin

Herhangi bir yazılımı kurmadan önce, sistem paketlerini güncellemek önemlidir:

sudo apt update && sudo apt upgrade -y

Adım 2: Bağımlılıkları Kurun

Chatwoot birkaç bağımlılık gerektirir. Bunları kurmak için aşağıdaki komutları kullanın:

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

Adım 3: Yarn'ı Kurun

Yarn, JavaScript paketlerini yönetmek için gereklidir. Aşağıdaki komutlarla kurun:

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

Adım 4: Chatwoot'u Kurun

Chatwoot deposunu sunucunuza klonlayın:

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

Chatwoot dizinine gidin ve gerekli gemleri ve paketleri kurun:

cd chatwoot
bundle install
yarn install

Adım 5: Veritabanını Yapılandırın

PostgreSQL veritabanını yapılandırın:

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

Şimdi veritabanı göçlerini çalıştırın:

RAILS_ENV=production bundle exec rails db:setup

Adım 6: Varlıkları Önceden Derleyin

Chatwoot için gerekli varlıkları önceden derleyin:

RAILS_ENV=production bundle exec rails assets:precompile

Adım 7: Chatwoot'u Başlatın

Chatwoot uygulamasını aşağıdaki komutlarla başlatın:

RAILS_ENV=production bundle exec rails s

Adım 8: Nginx'i Ters Proxy Olarak Yapılandırın

Chatwoot'u bir alan adı üzerinden sunmak için Nginx'i ters proxy olarak yapılandırın. Nginx'i kurun:

sudo apt install nginx

Chatwoot için bir Nginx yapılandırma dosyası oluşturun:

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

Aşağıdaki içeriği ekleyin:

server {
    listen 80;
    server_name domeniniz.com;

    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;
    }
}

Yapılandırmayı etkinleştirin ve Nginx'i yeniden başlatın:

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

Sonuç

Debian 11 sunucunuza Chatwoot'u başarıyla kurdunuz. Artık platforma alan adınız üzerinden erişebilir ve müşterilerinizle iletişim kurabilirsiniz.



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
  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

Boost Your Ubuntu System's Performance with a Swap File: A Step-by-Step Guide

What is a Swap File? A swap file in Ubuntu serves as dedicated virtual memory on your hard...

How to Migrate ISPConfig 2, ISPConfig 3.x, Confixx, CPanel or Plesk to ISPConfig 3.2 (single server)

Introduction Migration from other control panels like ISPConfig 2, ISPConfig 3.x, Confixx,...

How to Install and Configure Zabbix Server and Client on Rocky Linux 9

Introduction Zabbix is an open-source monitoring solution that provides real-time...

How to Install CockroachDB Cluster on Debian 12

Introduction CockroachDB is a distributed SQL database built to handle large-scale,...

How to Install Joomla with Apache and Let's Encrypt SSL on AlmaLinux 9

Introduction Joomla is a popular open-source content management system (CMS) used to build...