Rocket. Chat brings teams together to collaborate on projects so work can get done as quickly and efficiently as possible. Whether you’re a small or large enterprise, this platform can help your team communicate and share ideas, and these conversations will be available on the desktop, mobile devices, and everywhere you have Rocket.Chat app is installed. This brief tutorial shows students and new users how to easily install Rocket. Chat server on Ubuntu 16.04 | 18.04 LTS servers. For more about Rocket. Chat, please visit its homepage. Some of the features available are listed below:
Real-time translation Incoming and outgoing WebHook integrations to Rocket.Chat Live chat / Messaging call center / Audio Calls Powerful APIs File Upload and sharing Web, Desktop and Mobile applications for Linux, Android, iOS, Windows and Mac Remote Video Monitoring Custom themes, emojis, sounds, and company assets and many more…
When you’re ready to install Rocket. Chat, follow the steps below:
Install MongoDB
Rocket.Chat relies on the MongoDB database server. You’ll have to get MongoDB installed and configured before continuing. to do that, follow the guide below: To get the latest version of MongoDB, you must add its repository to Ubuntu. to do that, run the commands below to add the official repository key. After adding the repository key to Ubuntu, run the commands below to add the MongoDB repository to your system… Now that the repository and key have been added to Ubuntu, run the commands below to install the package. After installing MongoDB, the commands below can be used to stop, start and enable MongoDB to automatically startup when the system boots up. By default, MongoDB listens on port 27017. after installing, the local server should be able to communicate with MongoDB. to verify whether MongoDB is running and active, run the commands below: You should see something like the lines below: Configure MongoDB to support Rocket.Chat Rocket.Chat uses the MongoDB replica set to improve performance via Meteor Oplog tailing. Note please check release notes to ensure you are using a compatible version of Mongo To configure the replica set add this section into /etc/mongod.conf: Then copy and paste the lines at the end of the file and save. You can accomplish the same settings above by running the command below: After running the commands above, run this to restart the MongoDB service: Next, start the MongoDB shell Then the commands below to initiate the replica set The output of the command should look like this: Exit and you’re done with MongoDB.
Install Node.js
Rocket.Chat also requires Node.js and the steps below show you how to install it on Ubuntu. At the time of this writing, Rocket.Chat only support Node.js from the 8.x repository. After that, run the commands to get the recommended node and n packages. After installing, both Node.js and NPM modules should be installed and ready to use….
Install Rocket.Chat Server
Now that you have installed both MongoDB and Node.js, run the commands below to install Rocket. Chat. First, run the commands below to create a new user account for Rocket. Chat. You probably don’t want to run it as root. Switch over to the rocket user: The following commands assume that you are currently operating as user rocket chat. Next, download the latest Rocket.Chat server package into the rocketchat user home directory. Once it is downloaded, extract the Rocket.Chat archive and run npm install: After that, run the lines below: Then change into rocketchat home directory. and run the commands below If everything runs as expected. you should see the status of the server running. Exit from the rocketchat user process. by typing exit (maybe twice). This should bring you to your account profile. After that, run the commands below to create Rocket.Chat service. Then copy and paste the lines below into the file and save. Save the file and exit. Next, enable the rocketchat services we just created above. Check the status of Rocket.Chat by running the commands below: You should see similar lines below: Now everything is installed and configured. Open your browser and browse to the server name followed by port 3000 The installation wizard will guide you through setting up your first administrative user, configuring your organization, registering your server to receive free push notifications, and more. Next, type in your organization info and continue After that, provide your server info Then Register your server. Next, That’s it! Congratulations! You have successfully installed and configured Rocket. Chat server on Ubuntu 16.04 | 18.04 LTS You may also like the post below: