• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Steps to Install Rocket.Chat on Ubuntu 14.04 LTS

By Abhishek Ghosh May 10, 2016 11:06 pm Updated on May 10, 2016

Steps to Install Rocket.Chat on Ubuntu 14.04 LTS

Advertisement

We talked about Chat Server like IRC. Rocket.Chat is a Chat Server Application to Host Own Chat Service With Mobile Apps. Here are Steps to Install Rocket.Chat on Ubuntu 14.04. It is a Free Software and needs 1 GB of RAM, we have VPS Dime 6GB RAM server at $7/month cost, Host1Plus at very lower price per month. Host1Plus has support for installing Software at extra fees. KeyCDN is our CDN and they are one of the sponsor of the project.

 

Why You Will Like to Install Rocket.Chat on Ubuntu

 Steps to Install Rocket-Chat on Ubuntu 14-04 LTS

It can run on your server as another web application beside WordPress and Forum Software. Nginx is already installed, just create a subdomain and have TLS certificate installed on the subdomain. So, the server block will be easy.

You can chat with audio and video, website visitors can contact you in real-time, you can share files, integrate your chat to multiple services including GitHub, GitLab, client applications are available for GNU/Linux, Windows and OS X, there are mobile applications.

Advertisement

---

We need MongoDB and NodeJS apart from Nginx.

 

First Expert Way to Install Rocket.Chat on Ubuntu 14.04 LTS

 

Vim
1
2
3
4
5
6
7
apt-get install git && add-apt-repository ppa:chris-lea/node.js
apt update && sudo apt-get install nodejs
apt-get install mongodb
curl https://install.meteor.com/ | sh
git clone https://github.com/RocketChat/Rocket.Chat.git
cd Rocket.Chat
sudo meteor

Go to http://your_server_ip:3000. Done

 

Second Expert Way to Install Rocket.Chat on Ubuntu 14.04 LTS With Docket At Port 80

 

Vim
1
2
3
4
5
6
7
8
9
sudo apt-get install -y git
curl -sSL https://get.docker.com/ | sh
curl -L https://github.com/docker/compose/releases/download/VERSION_NUM/docker-compose-`uname -s`-`uname -m` > sudo /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.4.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
git clone https://github.com/RocketChat/Rocket.Chat.git
cd Rocket.Chat
sudo docker-compose up

Go to http://server_ip:80. Done.

 

Third Step by Step Way to Install Rocket.Chat on Ubuntu 14.04 LTS With Nginx Reverse Proxy

 

This is recommended. Add key, set repo for MongoDB, update :

Vim
1
2
3
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
apt update && apt upgrade

Install the components :

Vim
1
apt-get install npm mongodb-org curl graphicsmagick nginx-extras

These are NPM related commands, if you are not used, may read their documents, just follow the screen instructions :

Vim
1
sudo npm install -g n && sudo n 0.10.40

Take that, domain name is jima.in, we thought the subdomain as chat.jima.in, we have basic setup of Nginx for that server block, added chat.jima.in via DNS service to point and /usr/share/nginx/html/Rocket.Chat as root location. Now we can download the rocket.chat from their server or from Github :

Vim
1
https://github.com/RocketChat/Rocket.Chat.Docs.git

https://rocket.chat/releases/latest/download

Do a ls and check the files, bundle and install :

Vim
1
2
3
mv bundle Rocket.Chat
cd Rocket.Chat/programs/server
npm install

We need to go 2 level up to go to Rocket.Chat dir :

Vim
1
2
3
mv bundle Rocket.Chat
cd .. && ls
cd .. && ls

We to set ROOT_URL, port and MongoDB URL :

Vim
1
2
3
export ROOT_URL=https://chat.jima.in/
export MONGO_URL=mongodb://localhost:27017/rocketchat
export PORT=3000

Run Rocket.Chat with the command :

Vim
1
node main.js

Now, we need to work with Nginx :

Vim
1
nano /etc/nginx/sites-enabled/default

This is reverse proxy :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server {
    listen 443;
    server_name chat.jima.in;
    error_log /var/log/nginx/rocketchat.access.log;
 
# SSL stuffs here
    ssl on;
# Add SSL stuffs here
 
    location / {
        proxy_pass http://chat.jima.in:3000/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forward-Proto http;
        proxy_set_header X-Nginx-Proxy true;
        proxy_redirect off;
    }
}

Run configtest with nginx -t and complete the full work :

Vim
1
2
3
4
5
6
7
cd ~/Rocket.Chat
node main.js
sudo npm install -g forever
sudo npm install -g forever-service
Now, let's make sure we're still in the Rocket.Chat directory:
sudo forever-service install -s main.js -e "ROOT_URL=https://chat.jima.in/ MONGO_URL=mongodb://localhost:27017/rocketchat PORT=3000" rocket chat
sudo start rocketchat

Now, got to the front-end like https://chat.jima.in/ and complete the browser based installation.

Tagged With chat ubuntu windows , how to install rocket chat with apache2 in ubuntu , Install Rocket Chat on Ubuntu with Docker , paperuri:(76480fb33947097db3e31f70bfc67ad2) , Rocket Chat , rocket chat server for window , rocket chat ubuntu 14 , rocketchat docket autostart ubuntu

This Article Has Been Shared 892 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Steps to Install Rocket.Chat on Ubuntu 14.04 LTS

  • Rackspace Cloud Hosting Review : Suits Everyone’s Wallet

    Rackspace Cloud Hosting Review is intended for the users who are seeking a reliable Cloud Computing Platform or a reliance elegant managed Cloud Hosting.

  • Cloud Computing, Open Source and Developers

    Cloud Computing, specially Public Cloud, can not progress without being Open Source because of the huge contribution from developers makes softwares bug free.

  • Who Should Use Bare Metal and Who Cloud Platform

    Who Should Use Bare Metal and Who Cloud Platform? Definitely there should be should be some logical criterion to choose the right platform.

  • Install WordPress on HP Cloud (Ubuntu, Nginx)

    Here is step by step guide to install WordPress on HP Cloud with one Database Server and one Web server on Ubuntu and Nginx PHP5-FPM platform.

  • Intel’s Tool For OpenStack Instance’s Performance Monitoring

    Intel continues the way of Software Defined Infrastructure and automation, presenting a software for Performance Monitoring of the OpenStack nodes.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What are Offshore Sportsbooks and How to Take Advantage of Them? May 28, 2022
  • The True Cost Of Container Security: Why They’re Not A Silver Bullet May 28, 2022
  • How To Build An AI Strategy That Works May 26, 2022
  • The Future Of Serverless: The Load-Intensive Workload Case May 25, 2022
  • Cutting Out The Coding: Serverless Computing In Action May 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Steps to Install Rocket.Chat on Ubuntu 14.04 LTS," in The Customize Windows, May 10, 2016, May 29, 2022, https://thecustomizewindows.com/2016/05/steps-to-install-rocket-chat-on-ubuntu-14-04-lts/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy