???????? ????? ?????????? ???????????, ????? ?????????? Chatwoot ?? ????? ??????? Debian 11.

??? 1: ???????? ???????

????? ?????????? ?????? ???????????? ??????????? ????? ???????? ?????? ???????:

sudo apt update && sudo apt upgrade -y

??? 2: ?????????? ???????????

Chatwoot ??????? ????????? ????????????. ??????????? ????????? ??????? ??? ?? ?????????:

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

??? 3: ?????????? Yarn

Yarn ????????? ??? ?????????? ???????? JavaScript. ?????????? ??? ? ??????? ????????? ??????:

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

??? 4: ?????????? Chatwoot

?????????? ??????????? Chatwoot ?? ??? ??????:

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

????????? ? ??????? Chatwoot ? ?????????? ??????????? ???? ? ??????:

cd chatwoot
bundle install
yarn install

??? 5: ????????? ???? ??????

????????? ???? ?????? PostgreSQL:

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

?????? ????????? ???????? ???? ??????:

RAILS_ENV=production bundle exec rails db:setup

??? 6: ??????????????? ?????????? ????????

?????????????? ????????????? ??????????? ??????? ??? Chatwoot:

RAILS_ENV=production bundle exec rails assets:precompile

??? 7: ????????? Chatwoot

????????? ?????????? Chatwoot ? ??????? ????????? ??????:

RAILS_ENV=production bundle exec rails s

??? 8: ????????? Nginx ??? ???????? ??????

????? ???????????? Chatwoot ????? ?????, ????????? Nginx ??? ???????? ??????. ?????????? Nginx:

sudo apt install nginx

???????? ???? ???????????? Nginx ??? Chatwoot:

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

???????? ????????? ???????:

server {
    listen 80;
    server_name ????????.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;
    }
}

??????????? ???????????? ? ????????????? Nginx:

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

??????????

?? ??????? ?????????? Chatwoot ?? ??? ?????? Debian 11. ?????? ?? ?????? ???????? ?????? ? ????????? ????? ???? ????? ? ???????????? ?? ??? ??????? ? ?????????.

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