![]() Install LEMP (Linux, Nginx, MariaDB and PHP) server.Ī Ubuntu 16.04 LEMP server is required. Run the following commands to add some environment variables:Įxport MONGO_URL=mongodb://localhost:27017/rocketchat The messaging system requires Node.js 4.5+, so ensure that you choose 4.5:Ĭheck if you have the right node.js version:įirst, download the latest version of Rocket.Chat: Node.js and npm are required by Rocket.Chat and are both available on Ubuntu repositories:įirst, install the ‘n’ package globally on the whole system: Please go back and follow the steps exactly as shown in this tutorial. If the value of “ok” is not 1, then something’s wrong. Using a default configuration for the set", Next, run its shell and initiate the replica set:Īfter you run rs.initiate(), you should get the following results: Rocket.Chat Server uses a MongoDB replica set: This is an optional step, but those who want performance improvements should follow it. ![]() Open MongoDB and set it to run automatically at boot time: Update the repository and install MongoDB with the apt command: Then add the MongoDB repository with the command below:Įcho "deb xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt//mongodb-org-3.2.list In this step, we will install MongoDB from the MongoDB repository:Īpt-key adv -keyserver hkp://:80 -recv EA312927 Rocket.Chat requires MongoDB for the installation. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal. I will show you through the step by step installation Rocket.Chat on an Ubuntu 16.04 Xenial Xerus server. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. It’s free, what is unlimited and it’s a bunch of cool features like Video chat, Screen sharing, Mobile apps and more. A fantastic alternate to both Slack and compensated live chat software. Rocket.Chat is one of the most popular open source chat software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |