Skip to content

Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur

Netcloud24
Cloud Infrastructure Expert
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

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:

Visual overview of Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
Visual overview: Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
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 Deutschland

Windows VPS España

Key topics covered in Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
Key topics covered in this NetCloud24 guide.

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Practical checklist for Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
Practical checklist for applying the guidance in this article.

Windows RDS (Remote Desktop Services)

Windows VPS

Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
Debian 11'de Chatwoot Mesajla?ma Platformas? Nas?l Kurulur
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.