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.

Linux VPS

Linux VPS UK

Linux VPS

VPS Windows

Serwer VPS Windows

VPS Linux VPSDeutschland

Linux VPS Hosting

VPS Linux VPSEspaña

Linux VPS Nederland

VPS Linux VPSItalia

VPS Linux VPSPortugal

VPS Linux VPS??????

VPS Linux VPS???????

VPS Linux VPS??

VPS Linux VPSSverige

VPS Linux VPSNorge

VPS Linux VPS????

VPS Linux VPSTü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