GNU/Linux >> Linux Esercitazione >  >> Cent OS

Come installare Rocket.Chat su CentOS 8

In questa guida mostreremo come installare Rocket.Chat su CentOS 8. Rocket.Chat è una piattaforma di chat open source, alternativa a Slack, con supporto a messaggistica, videochiamate e condivisione schermo.

Prerequisiti

Server CentOS 8 aggiornato e utente sudo.

Installazione

Passo 1. Installa le dipendenze:

sudo dnf install epel-release
sudo dnf update
sudo dnf groupinstall 'Development Tools'
sudo dnf install curl GraphicsMagick gcc-c++

Passo 2. Installa Node.js e Nginx:

curl -sL https://rpm.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo dnf install nodejs nginx
sudo systemctl enable --now nginx

Passo 3. Installa MongoDB e configura il replica set:

sudo dnf install mongodb-org
sudo systemctl enable --now mongod

Passo 4. Crea l'utente Rocket.Chat e scarica il pacchetto:

useradd -m -U -r -d /opt/rocket rocket
usermod -a -G rocket nginx
chmod 750 /opt/rocket
su - rocket
curl -L https://releases.rocket.chat/latest/download -o rocket.chat.tgz
tar zxf rocket.chat.tgz
mv bundle Rocket.Chat
cd Rocket.Chat/programs/server
npm install

Passo 5. Crea il servizio systemd, configura Nginx come reverse proxy e apri le porte web nel firewall.

Accedi all'interfaccia tramite dominio e completa la configurazione iniziale.

Cent OS
  1. Come installare Vagrant su CentOS 7

  2. Come installare e configurare Gitea su CentOS 8

  3. Come installare e configurare Memcached su CentOS 8

  4. Come installare ownCloud su CentOS 8

  5. Installare Rocket.Chat su CentOS 7 con Apache come reverse proxy

Installare Apache su CentOS 8

Come installare Jenkins su CentOS 8

Come installare Zoom su CentOS 8

Come installare Nethogs su CentOS

Come installare YOURLS su CentOS 8

Come installare Rocket.Chat su CentOS 8