• 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 866 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 (24.3K 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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

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, January 29, 2023, https://thecustomizewindows.com/2016/05/steps-to-install-rocket-chat-on-ubuntu-14-04-lts/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT