{"id":30055,"date":"2019-07-03T15:40:38","date_gmt":"2019-07-03T20:40:38","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=30055"},"modified":"2022-06-03T03:33:40","modified_gmt":"2022-06-03T08:33:40","slug":"how-to-install-rocket-chat-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/","title":{"rendered":"How to Install Rocket.Chat on Ubuntu 18.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-31361\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will guide you through the process of installing Rocket.Chat on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 18.04 VPS<\/a>.<\/p>\n<p>Rocket.Chat is an open-source web chat server, which is an excellent self-hosted alternative to Slack. It offers many functionalities such as chat, video and voice conferencing, file sharing, and a help-desk system.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-31362\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/install-set-up-rocket.chat-rocket-chat-easily-quickly-ubuntu18.04-vps.jpg\" alt=\"\" width=\"197\" height=\"46\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/install-set-up-rocket.chat-rocket-chat-easily-quickly-ubuntu18.04-vps.jpg 197w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/install-set-up-rocket.chat-rocket-chat-easily-quickly-ubuntu18.04-vps-150x35.jpg 150w\" sizes=\"(max-width: 197px) 100vw, 197px\" \/>Rocket.Chat has many handy features. Some of them are listed below:<\/p>\n<ul>\n<li>Real-time translation<\/li>\n<li>Incoming and outgoing WebHook integrations to Rocket.Chat<\/li>\n<li>Live chat \/ Messaging call center \/ Audio Calls<\/li>\n<li>Powerful APIs<\/li>\n<li>File Upload and sharing<\/li>\n<li>Web, Desktop and Mobile applications for Linux, Android, iOS, Windows and Mac<\/li>\n<li>Remote Video Monitoring<\/li>\n<li>Custom themes, emojis, sounds, and company assets<\/li>\n<li>and many more&#8230;<\/li>\n<\/ul>\n<p>Let&#8217;s begin with the installation.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ef90e45832d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ef90e45832d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#Step-1-Log-in-and-Update-the-Systems-Software-Packages\" >Step 1: Log in and Update the System&#8217;s Software Packages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#Step-2-Install-MongoDB\" >Step 2: Install MongoDB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#Step-3-Install-Nodejs\" >Step 3: Install Node.js<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#Step-4-Install-RocketChat\" >Step 4: Install Rocket.Chat<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span><strong>Prerequisites<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>An <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu 18.04 VPS<\/a>. We will use one of our SSD 2 VPS hosting plans.<\/li>\n<li>A system user with root privileges, or access to the root user itself.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-and-Update-the-Systems-Software-Packages\"><\/span><strong>Step 1: Log in and Update the System&#8217;s Software Packages<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Login to your Ubuntu 18.04 VPS via SSH as the root user (or as the user with root privileges):<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_number<\/span><\/pre>\n<p>Where &#8216;<span style=\"color: #ff0000;\">IP_Address<\/span>&#8216; and &#8216;<span style=\"color: #ff0000;\">Port_number<\/span>&#8216; are the actual IP address and SSH port number of your server.<\/p>\n<p>Once you are logged in, run the following commands to make sure that all installed packages on your server are updated to their latest available versions:<\/p>\n<pre>apt update &amp;&amp; apt upgrade<\/pre>\n<p>Once this is done, we can start with the actual software installation.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-MongoDB\"><\/span><strong>Step 2: Install MongoDB<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Rocket.Chat requires a MongoDB database server, version 3.2 or higher. At the moment of writing this article, the latest MongoDB version available in the official Ubuntu 18.04 repository is 3.6.3. While this server version will work fine, it&#8217;s always ideal to use the latest version possible. In order to install a more recent version of MongoDB, we will install the database server from the MongoDB repositories. These repositories can be easily added by importing the MongoDB public key with the following command:<\/p>\n<pre>apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4<\/pre>\n<p>Output:<\/p>\n<pre>Executing: \/tmp\/apt-key-gpghome.LTAnWbMyRv\/gpg.1.sh --keyserver hkp:\/\/keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4\r\ngpg: key 68818C72E52529D4: public key \"MongoDB 4.0 Release Signing Key &lt;packaging@mongodb.com&gt;\" imported\r\ngpg: Total number processed: 1\r\ngpg:               imported: 1<\/pre>\n<p>Then add the repository and install the MongoDB database server along with a few of its dependencies:<\/p>\n<pre>echo \"deb https:\/\/repo.mongodb.org\/apt\/ubuntu bionic\/mongodb-org\/4.0 multiverse\" | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-4.0.list\r\napt update &amp;&amp; apt install -y mongodb-org curl graphicsmagick<\/pre>\n<p>With this step, MongoDB is now installed and ready to use. We can check the version using the following command:<\/p>\n<pre>mongod -version\r\nversion v4.0.6<\/pre>\n<p>But in order to start it as a service, a systemd unit file is required. Create a file in \/etc\/systemd\/system\/ using your preferred text editor &#8211; we&#8217;ll be using &#8216;nano&#8217;. We can create it with the following command:<\/p>\n<pre>nano \/etc\/systemd\/system\/mongodb.service<\/pre>\n<p>Now add these contents to the file:<\/p>\n<pre>[Unit]\r\nDescription=High-performance, schema-free document-oriented database server\r\nAfter=network.target\r\n\r\n[Service]\r\nUser=mongodb\r\nExecStart=\/usr\/bin\/mongod --quiet --config \/etc\/mongod.conf\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<p>When finished, save and exit the file. Then reload the units using systemctl:<\/p>\n<pre>systemctl daemon-reload<\/pre>\n<p>Now we can check if MongoDB is up and running. That can be done using this command:<\/p>\n<pre>systemctl status mongodb<\/pre>\n<p>The output should look like this:<\/p>\n<pre>mongodb.service - High-performance, schema-free document-oriented database\r\n   Loaded: loaded (\/etc\/systemd\/system\/mongodb.service; disabled; vendor preset: enabled)\r\n   Active: active (running) since Fri 2019-03-15 03:42:11 CDT; 59min ago\r\n Main PID: 30802 (mongod)\r\n    Tasks: 27 (limit: 2320)\r\n   CGroup: \/system.slice\/mongodb.service\r\n           30802 \/usr\/bin\/mongod --quiet --config \/etc\/mongod.conf<\/pre>\n<p>Next, start the MongoDB server and enable it to automatically start after a reboot.<\/p>\n<pre>systemctl start mongodb\r\nsystemctl enable mongodb<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Install-Nodejs\"><\/span><strong>Step 3: Install Node.js<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Rocket.Chat requires Node.js. It can be easily installed from the official Ubuntu repositories:<\/p>\n<pre>apt -y install node.js<\/pre>\n<p>Once installed, check the installed version:<\/p>\n<pre>node --version\r\nv8.10.0<\/pre>\n<p>Next, install the &#8216;npm&#8217; package manager (along with some other dependencies required for building npm packages from source):<\/p>\n<pre>apt install npm build-essential<\/pre>\n<p>According to Rocket.Chat&#8217;s official documentation it is recommended to have version 8.11.3 of Node.js. The version can be easily changed using a tool named &#8216;n&#8217;:<\/p>\n<pre>npm install -g inherits n &amp;&amp; n 8.11.3<\/pre>\n<p>Output:<\/p>\n<pre>  install : node-v8.11.3\r\n       mkdir : \/usr\/local\/n\/versions\/node\/8.11.3\r\n       fetch : https:\/\/nodejs.org\/dist\/v8.11.3\/node-v8.11.3-linux-x64.tar.gz\r\n   installed : v8.11.3\r\n<\/pre>\n<p>You can verify that the desired version of Node.js is installed:<\/p>\n<pre>node --version\r\nv8.11.3<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Install-RocketChat\"><\/span><strong>Step 4: Install Rocket.Chat<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It is not recommended to run Rocket.Chat as user root, so the next step will be to create a new system user.<\/p>\n<pre>useradd -m -U -r -d \/opt\/rocketchat rocketchat<\/pre>\n<p>Switch the user to the newly created one:<\/p>\n<pre>su - rocketchat<\/pre>\n<p>Then download the latest stable release of Rocket.Chat in a directory on your server. Make sure to change to that directory first. Here&#8217;s the command for downloading the latest version of Rocket.Chat:<\/p>\n<pre>curl -L https:\/\/releases.rocket.chat\/latest\/download -o rocket.chat.tgz<\/pre>\n<p>Once it is downloaded, unpack the Rocket.Chat archive:<\/p>\n<pre>tar zxvf rocket.chat.tgz<\/pre>\n<p>The contents of the application will be stored in a new directory named \u2018bundle\u2019. We will rename the directory to &#8216;rocketchat&#8217;:<\/p>\n<pre>mv bundle rocketchat<\/pre>\n<p>Change the current working directory and use the npm package manager to install all dependencies listed in the packages.json file provided by the application:<\/p>\n<pre>cd rocketchat\/programs\/server\r\nnpm install<\/pre>\n<p>In order to start Rocket.Chat, we have to set the environment variables (as shown below):<\/p>\n<pre>cd \/opt\/rocketchat\/rocketchat\r\nexport ROOT_URL=http:\/\/<span style=\"color: #ff0000;\">yourdomain.com<\/span>:3000\/\r\nexport MONGO_URL=mongodb:\/\/localhost:27017\/rocketchat\r\nexport PORT=3000<\/pre>\n<p>Don&#8217;t forget to replace &#8216;<code>yourdomain.com<\/code>&#8216; with your actual domain name.<\/p>\n<p>And finally, start Rocket.Chat using the following command:<\/p>\n<pre>node main.js<\/pre>\n<p>Once Rocket.Chat is successfully started, you will get text output that looks similar to the following:<\/p>\n<pre>+-----------------------------------------------------------------------+\r\n|                             SERVER RUNNING                            |\r\n+-----------------------------------------------------------------------+\r\n|                                                                       |\r\n|  Rocket.Chat Version: 0.74.3                                          |\r\n|       NodeJS Version: 8.11.3 - x64                                    |\r\n|             Platform: linux                                           |\r\n|         Process Port: 3000                                            |\r\n|             Site URL: http:\/\/yourdomain.com:3000\/                     |\r\n|     ReplicaSet OpLog: Disabled                                        |\r\n|          Commit Hash: 202a465f1c                                      |\r\n|        Commit Branch: HEAD                                            |\r\n|                                                                       |\r\n+-----------------------------------------------------------------------+<\/pre>\n<p>You can also configure Rocket.Chat to run as a service. Create a unit file like in <strong>Step 2<\/strong> using your preferred text editor.<\/p>\n<pre>nano  \/etc\/systemd\/system\/rocketchat.service<\/pre>\n<p>Then add the following contents to the file:<\/p>\n<pre>[Unit]<\/pre>\n<pre>Description=RocketChat Server\r\nAfter=network.target remote-fs.target nss-lookup.target mongod.target\r\n\r\n[Service]\r\nExecStart=\/usr\/local\/bin\/node \/opt\/rocketchat\/rocketchat\/main.js    \r\nRestart=always                                               \r\nRestartSec=10                                                \r\nStandardOutput=syslog                                        \r\nStandardError=syslog                                         \r\nSyslogIdentifier=nodejs-example\r\n#User=\r\n#Group=\r\nEnvironment=NODE_ENV=production PORT=3000 ROOT_URL=http:\/\/yourdomain.com MONGO_URL=mongodb:\/\/localhost:27017\/rocketchat\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>Save and exit the file, then reload the units:<\/p>\n<pre>systemctl daemon-reload<\/pre>\n<p>Once this is done, you can start the Rocket.Chat service and enable it to start upon a reboot:<\/p>\n<pre>systemctl enable rocketchat\r\nsystemctl start rocketchat<\/pre>\n<p>Now you will be able to access Rocket.Chat and complete the installation at <code>http:\/\/yourdomain.com:3000<\/code> . 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.<\/p>\n<p>Fore more information on how to use and configure Rocket.Chat. Please check their official documentation.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-31363\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/managed-support-configure-rocket-chat-ubuntu18.04-vps.jpg\" alt=\"\" width=\"197\" height=\"46\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/managed-support-configure-rocket-chat-ubuntu18.04-vps.jpg 197w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/managed-support-configure-rocket-chat-ubuntu18.04-vps-150x35.jpg 150w\" sizes=\"(max-width: 197px) 100vw, 197px\" \/>Of course, you don\u2019t have to install Rocket.Chat on Ubuntu 18.04 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Managed Ubuntu Hosting<\/a> plans, in which case you can simply ask our expert Linux admins to install Rocket.Chat on Ubuntu 18.04 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS.<\/span> <\/strong>If you liked this post on how to install Rocket.Chat on Ubuntu 18.04, please share it with your friends on the social networks using the share shortcuts below, or simply leave a comment down in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will guide you through the process of installing Rocket.Chat on an Ubuntu 18.04 VPS. Rocket.Chat is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Rocket.Chat on Ubuntu 18.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#more-30055\" aria-label=\"Read more about How to Install Rocket.Chat on Ubuntu 18.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":31361,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1698],"tags":[1741,59],"class_list":["post-30055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-rocket-chat","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Rocket.Chat on Ubuntu 18.04\" \/>\n<meta property=\"og:description\" content=\"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-03T20:40:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:33:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Rocket.Chat on Ubuntu 18.04\",\"datePublished\":\"2019-07-03T20:40:38+00:00\",\"dateModified\":\"2022-06-03T08:33:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/\"},\"wordCount\":922,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\",\"keywords\":[\"Rocket.Chat\",\"ubuntu\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\",\"datePublished\":\"2019-07-03T20:40:38+00:00\",\"dateModified\":\"2022-06-03T08:33:40+00:00\",\"description\":\"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-rocket.chat-on-ubuntu18.04.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Rocket.Chat on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting","description":"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Rocket.Chat on Ubuntu 18.04","og_description":"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-07-03T20:40:38+00:00","article_modified_time":"2022-06-03T08:33:40+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Rocket.Chat on Ubuntu 18.04","datePublished":"2019-07-03T20:40:38+00:00","dateModified":"2022-06-03T08:33:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/"},"wordCount":922,"commentCount":4,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg","keywords":["Rocket.Chat","ubuntu"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/","name":"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg","datePublished":"2019-07-03T20:40:38+00:00","dateModified":"2022-06-03T08:33:40+00:00","description":"How to Install Rocket.Chat on Ubuntu 18.04 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-rocket.chat-on-ubuntu18.04.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Rocket.Chat on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=30055"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30055\/revisions"}],"predecessor-version":[{"id":41718,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30055\/revisions\/41718"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/31361"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=30055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=30055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=30055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}