Scroll Top

Rocket.Chat (https://rocket.chat/) adalah aplikasi chat-communication team yang opensource dengan fitur obrolan, file sharing, panggilan video, layanan helpdesk dan suara yang membuatnya menjadi alternatif yang bagus selain Slack.  Rocket chat dapat kamu install di server sehingga bisa digunakan oleh team/grup secara bersama. Berikut Cara Install Rocket Chat di Linux Ubuntu.

Fitur-fitur Rocket.Chat :

  • Public and private channels
  • Live chat / Messaging call center / Audio Calls
  • Different APIs
  • File Upload and sharing
  • Remote Video Monitoring
  • Custom emojis, sounds, and company assets
  • Android, iOS, Windows, Mac, Linux, and web applications

Cara Install Rocket Chat di Linux Ubuntu

Requirement Sistem:

  • Server dengan minimum ram 2 GB.
  • Node.js JavaScript run-time environment
  • MongoDB database server
  • GraphicsMagick and curl

Lakukan langkah berikut di terminal/console:

apt update && apt upgrade
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list

^ jika kamu menggunakan ubuntu 14.04 ubah xenial menjadi trusty. Dan jika kamu menggunakan ubuntu 18.04 ubah xenial menjadi bionic
apt update
apt install -y mongodb-org curl graphicsmagick

Kita akan buat file autoservice untuk mongoDB

nano /etc/systemd/system/mongodb.service

isi File:

[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target

[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf

[Install]
WantedBy=multi-user.target

Jalankan perintah berikut:

systemctl start mongodb
systemctl enable mongodb

Install NodeJS

apt -y install npm nodejs
apt -y install build-essential
npm install -g n
node --version

Hasilnya akan muncul versi Nodejs yang terinstall.

Install RocketChat

cd /opt
curl -L https://releases.rocket.chat/latest/download -o rocket.chat.tgz
tar zxvf rocket.chat.tgz
mv bundle rocketchat
cd rocketckat/programs/server
npm install
cd /opt/rocketckat/
export ROOT_URL=http://domain.com:3000/
export MONGO_URL=mongodb://localhost:27017/rocketchat
export PORT=3000

node main.js

Hasilnya akan muncul seperti berikut:

➔ +----------------------------------------------------+
➔ |                   SERVER RUNNING                   |
➔ +----------------------------------------------------+
➔ |                                                    |
➔ |  Rocket.Chat Version: 0.68.5                       |
➔ |       NodeJS Version: 8.9.3 - x64                  |
➔ |             Platform: linux                        |
➔ |         Process Port: 3000                         |
➔ |             Site URL: https://ayies.com:3000/  		|
➔ |     ReplicaSet OpLog: Disabled                     |
➔ |          Commit Hash: e412d018f8                   |
➔ |        Commit Branch: HEAD                         |
➔ |                                                    |
➔ +----------------------------------------------------+

Akses sesuai alamat. Misal https://ayies.com:3000

Related Posts