


Next, enable mongodb to start on boot: systemctl enable mongod
#Curl url for rocketchat download install#
Next, update the Ubuntu repository: apt-get updateĪnd install MongoDB with: apt-get install mongodb-org -y Now, create a list file for MongoDB: echo "deb xenial/mongodb-org/3.4 multiverse" | tee /etc/apt//mongodb-org-3.4.list Rocket.Chat uses MongoDB as a database server.īefore we can actually install MongoDB, we need to add the MongoDB keyserver: apt-key adv -keyserver hkp://:80 -recv EA312927 Next, we’ll install all the required packages for Rocket.Chat, including Nginx and Node.js: apt-get install curl graphicsmagick build-essential nodejs npm nginx -y Rocket.Chat Installation Instructionsįirst, log in to your VPS as root and as always, we’ll start with updating our system: apt-get update & apt-get upgrade -y Now that we got the requirements out of the way, let’s go to the installation. Root access to your VPS (sudo/root user).You can get a 1GB RAM VPS from Linode or Vultr for $5/month. The server needs to have at least 1GB RAM (although 2 or more is recommended).Of course, you can still use Rocket.Chat without WordPress, but for the purposes of this tutorial, we’ll assume that you already have a WordPress site. You can either get a cheap unmanaged one or a cheap managed one. Usually, shared hosting accounts don’t allow the stuff you need to run Rocket.Chat, so you’ll have to get a VPS for this. Rocket.Chat is a self-hosted application, so you’ll need a VPS/Dedicated Server.Rocket.Chat doesn’t run on your usual LAMP/LEMP stack. In this tutorial, we’ll install Rocket.Chat on an Ubuntu 16.04 server with Nginx as a reverse proxy and add it to our WordPress site. In this tutorial, we’ll focus on the live chat option that Rocket.Chat offers, not the Slack-alternative team chat option, although it’s really great and you should try it out. It’s free, everything’s unlimited and it has a bunch of cool features like Video chat, Screen sharing, Mobile apps and more. A great alternative to both Slack and paid live chat applications. Rocket.Chat is one of the most popular open source chat applications.
