How To Install Rocket.Chat on Ubuntu 14.04

Nicola Malizia
Jun 6, 2015 · 3 min read

Big Disclaimer: This blog post was published Jun 6, 2015 and guess what ? It’s outdated :) The project evolved at a rate that I could not keep up. Thank you for reading and supporting this blog post but I strongly recommend you to check out the official documentation. Have great chats :)

Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework.

It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.

Since this essay got very popular and since this project is still under development, I’ll try to keep the install instructions updated. Please leave a note or tweet me if you see that the instructions are no longer valid.

This project aims to provide a Slack like chat for teams and collaborations.

If you want to know more about what it can do please refer to the official webpage or GitHub wiki.

While there is a demo online I was not able to wait and I tried to install one instance myself.

Since the process was easy I want to provide you a step by step tutorial on how to install it on your local machine or virtual machine or VPS or where you like most.

I assume that you already have a SSH access or shell login into the machine where we will install an instance of Rocket.Chat

Step 1 — Installing Git

Since we will have to clone the project repository make sure you have git installed:

sudo apt-get install -y git

Step 2 — Installing Docker

To simplify the process we will use Docker to deploy the application.

Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux, Mac OS and Windows.

To get the latest Docker package.

$ curl -sSL | sh

The system prompts you for your sudo password. Then, it downloads and installs Docker and its dependencies.

Step 3 — Installing Docker-Compose

Compose is a tool for defining and running multi-container applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.

To get the latest version of Docker-Compose:

curl -L`uname -s`-`uname -m` > sudo /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Where VERSION_NUM is the number of the latest version of the package, check the release page of the project to see the latest version available.

For example for the version 1.4.2:

curl -L`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Step 4— Cloning

To actual install the chat let’s clone the repository:

git clone

After changing the directory we can start Rocket.Chat

cd Rocket.Chat


sudo docker-compose up

After a while you can access to your application on http://localhost:80 or http://server_ip:80

Step 5 — Creating the first user

By default the first user created is also the administrator of the instance.

Happy chat!

If you like what you read, please hit the green “Recommend” button below so that others might stumble upon this essay. For more essay like this scroll down and follow me.

Follow me on Twitter or visit my personal blog. If you want to hear some tips from me that I do not usually share on twitter subscribe also on my Telegram channel.

Nicola Malizia

Written by

Computer Engineering Student, Computer Science Enthusiast, Music Dreamer and Space Explorer

More From Medium

Also tagged Nodejs

Also tagged Open Source

Top on Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade