{"id":47077,"date":"2023-11-20T12:30:00","date_gmt":"2023-11-20T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=47077"},"modified":"2023-10-24T03:42:19","modified_gmt":"2023-10-24T08:42:19","slug":"how-to-install-rocketchat-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/","title":{"rendered":"How to Install RocketChat on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp\" alt=\"how to install rocketchat on ubuntu 22 04\" class=\"wp-image-47114\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>RocketChat is an open-source fully customizable communication platform written in Javascript. RocketChat offers a variety of features such as real-time communication, flexibility, and scalable solutions, and has high data protection standards. In this tutorial, we are going to guide you on how to install RocketChat on Ubuntu 22.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>This post will use the Nginx as a reverse proxy for our RocketChat application.<\/p>\n\n\n\n<p>Installing RocketChat with Nginx as a reverse proxy is a straightforward process that may take up to 25 minutes depending on your familiarity with Linux. Let&#8217;s get started!<\/p>\n\n\n\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-69e9c6a41283f\" 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-69e9c6a41283f\"  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-rocketchat-on-ubuntu-22-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-rocketchat-on-ubuntu-22-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/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-rocketchat-on-ubuntu-22-04\/#Step-2-Install-Nginx\" >Step 2. Install Nginx<\/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-rocketchat-on-ubuntu-22-04\/#Step-3-Install-MongoDB\" >Step 3. Install MongoDB<\/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-rocketchat-on-ubuntu-22-04\/#Step-4-Install-RocketChat-on-Ubuntu-2204\" >Step 4. Install RocketChat on Ubuntu 22.04<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#Step-5-Create-the-RocketChat-Service\" >Step 5. Create the RocketChat Service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#Step-6-Configure-RocketChat-with-an-Nginx-Reverse-Proxy\" >Step 6. Configure RocketChat with an Nginx Reverse Proxy<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\">VPS running Ubuntu 22.04<\/a><\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n\n\n\n<li>A valid domain pointed to the server IP address<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with installation of RocketChat, we need to update the system packages to the latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update -y &amp;&amp; sudo apt-get upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Nginx\"><\/span>Step 2. Install Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the Nginx web server, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install nginx -y<\/pre>\n\n\n\n<p>Once the installation is complete, start and enable the Nginx service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start nginx &amp;&amp; sudo systemctl enable nginx<\/pre>\n\n\n\n<p>To check the status of the Nginx service, you can execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status nginx<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# systemctl status nginx\n\u25cf nginx.service - A high performance web server and a reverse proxy server\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\n     Active: active (running) since Tue 2023-10-10 03:47:12 CDT; 7s ago\n       Docs: man:nginx(8)\n   Main PID: 2401 (nginx)\n      Tasks: 4 (limit: 4558)\n     Memory: 4.0M\n        CPU: 84ms\n     CGroup: \/system.slice\/nginx.service\n             \u251c\u25002401 \"nginx: master process \/usr\/sbin\/nginx -g daemon on; master_process on;\"\n             \u251c\u25002402 \"nginx: worker process\"\n             \u251c\u25002403 \"nginx: worker process\"\n             \u2514\u25002404 \"nginx: worker process\"\n\nOct 10 03:47:12 host.test.vps systemd[1]: Starting A high performance web server and a reverse proxy server...\nOct 10 03:47:12 host.test.vps systemd[1]: Started A high performance web server and a reverse proxy server.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-MongoDB\"><\/span>Step 3. Install MongoDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>RocketChat needs a database service in order to function and store the information. We need to install the MongoDB database service. First, we will add the MongoDB repository and GPG key:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -qO - https:\/\/www.mongodb.org\/static\/pgp\/server-6.0.asc |  gpg --dearmor | sudo tee \/usr\/share\/keyrings\/mongodb.gpg &gt; \/dev\/null\n\necho \"deb [ arch=amd64,arm64 signed-by=\/usr\/share\/keyrings\/mongodb.gpg ] https:\/\/repo.mongodb.org\/apt\/ubuntu jammy\/mongodb-org\/6.0 multiverse\" | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-6.0.list<\/pre>\n\n\n\n<p>Once done, update the system and install MongoDB:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update\n\nsudo apt install mongodb-org<\/pre>\n\n\n\n<p>Once installed, start and enable the service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mongod &amp;&amp; sudo systemctl enable mongod<\/pre>\n\n\n\n<p>To check the status of the MongoDB service, you can run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mongod<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status mongod\n\u25cf mongod.service - MongoDB Database Server\n     Loaded: loaded (\/lib\/systemd\/system\/mongod.service; enabled; vendor preset: enabled)\n     Active: active (running) since Sun 2022-10-11 07:36:21 UTC; 2s ago\n       Docs: https:\/\/docs.mongodb.org\/manual\n   Main PID: 81644 (mongod)\n     Memory: 57.1M\n     CGroup: \/system.slice\/mongod.service\n             \u2514\u250081644 \/usr\/bin\/mongod --config \/etc\/mongod.conf<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-RocketChat-on-Ubuntu-2204\"><\/span>Step 4. Install RocketChat on Ubuntu 22.04<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Download and extract the latest RocketChat version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -L https:\/\/releases.rocket.chat\/latest\/download -o \/opt\/rocket.chat.tgz\n\ntar -xzf \/opt\/rocket.chat.tgz -C \/opt<\/pre>\n\n\n\n<p>Then go to the directory where RocketChat is extracted and execute the following commands to install:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mv \/opt\/bundle\/ \/opt\/RocketChat\n\ncd \/opt\/RocketChat\/programs\/server \n\nnpm install<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Create-the-RocketChat-Service\"><\/span>Step 5. Create the RocketChat Service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we create the service, we need to create a system user which RocketChat will run as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo useradd -M rocketchat &amp;&amp; sudo usermod -L rocketchat\n\nsudo chown -R rocketchat:rocketchat \/opt\/RocketChat<\/pre>\n\n\n\n<p>Once the user is created, configure the storage for MongoDB:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo sed -i \"s\/^#  engine:\/  engine: wiredTiger\/\"  \/etc\/mongod.conf\n\nsudo sed -i \"s\/^#replication:\/replication:\\n  replSetName: rs01\/\" \/etc\/mongod.conf\n<\/pre>\n\n\n\n<p>Once this is added, we need to create the service file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/lib\/systemd\/system\/rocketchat.service<\/pre>\n\n\n\n<p>Open the file with your favorite text editor and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=The Rocket.Chat server\nAfter=network.target remote-fs.target nss-lookup.target nginx.service mongod.service\n[Service]\nExecStart=\/usr\/bin\/node \/opt\/RocketChat\/main.js\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=rocketchat\nUser=rocketchat\nEnvironment=MONGO_URL=mongodb:\/\/localhost:27017\/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb:\/\/localhost:27017\/local?replicaSet=rs01 ROOT_URL=http:\/\/localhost:3000\/ PORT=3000\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<p>Reload the Daemon and start the RocketChat service. You should also enable the service to run on startup:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl daemon-reload\n\nsudo systemctl start rocketchat\n\nsudo systemctl enable rocketchat<\/pre>\n\n\n\n<p>With this, your RocketChat instance is running! You can access it at <strong>http:\/\/&lt;server IP address&gt;:3000<\/strong> .<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Configure-RocketChat-with-an-Nginx-Reverse-Proxy\"><\/span>Step 6. Configure RocketChat with an Nginx Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Create the Nginx configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/etc\/nginx\/sites-enabled\/rocketchat.conf<\/pre>\n\n\n\n<p>Once created, open it with your favorite text editor and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server {\n  listen 80;\n  server_name YourDomainNameHere;\n  access_log \/var\/log\/nginx\/rocket_access.log;\n  error_log \/var\/log\/nginx\/rocket_error.log;\n\n    location \/ {\n        proxy_pass http:\/\/127.0.0.1:3000\/;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"upgrade\";\n        proxy_set_header Host $http_host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forward-Proto http;\n        proxy_set_header X-Nginx-Proxy true;\n    }\n}\n<\/pre>\n\n\n\n<p>Save the file, close it and check the Nginx configuration for syntax errors with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nginx -t<\/pre>\n\n\n\n<p>If everything is OK, you should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# nginx -t\nnginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful\n<\/pre>\n\n\n\n<p>Restart the Nginx service, and access your RocketChat installation at <b>http:\/\/YourDomainName<\/b><\/p>\n\n\n\n<p>The interface is very intuitive, and you will need to create an organization name, set up an admin account, and of course a strong password. <\/p>\n\n\n\n<p>If you find it difficult to set up such a configuration, you can always contact our technical support and they will do the rest. We are available 24\/7 and we will make your server run smoothly in no time.<\/p>\n\n\n\n<p>If you liked this post on how to install RocketChat on Ubuntu 22.04, please share it with your friends on social networks or simply leave a reply below. Thanks. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>RocketChat is an open-source fully customizable communication platform written in Javascript. RocketChat offers a variety of features such as real-time &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install RocketChat on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#more-47077\" aria-label=\"Read more about How to Install RocketChat on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":47114,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2072,13,1698],"tags":[971,59],"class_list":["post-47077","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-tutorials","category-ubuntu","tag-rocketchat","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 RocketChat on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Get your RocketChat chat platform running quickly by following our guide on how to install RocketChat on Ubuntu 22.04.\" \/>\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-rocketchat-on-ubuntu-22-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 RocketChat on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"How to Install RocketChat on Ubuntu 22.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-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=\"2023-11-20T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\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=\"5 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-rocketchat-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install RocketChat on Ubuntu 22.04\",\"datePublished\":\"2023-11-20T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/\"},\"wordCount\":535,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/how-to-install-rocketchat-on-ubuntu-22-04.webp\",\"keywords\":[\"rocketchat\",\"ubuntu\"],\"articleSection\":[\"Open-source\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/\",\"name\":\"How to Install RocketChat on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/how-to-install-rocketchat-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-11-20T18:30:00+00:00\",\"description\":\"Get your RocketChat chat platform running quickly by following our guide on how to install RocketChat on Ubuntu 22.04.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/how-to-install-rocketchat-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/how-to-install-rocketchat-on-ubuntu-22-04.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install rocketchat on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocketchat-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install RocketChat on Ubuntu 22.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 RocketChat on Ubuntu 22.04 | RoseHosting","description":"Get your RocketChat chat platform running quickly by following our guide on how to install RocketChat on Ubuntu 22.04.","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-rocketchat-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install RocketChat on Ubuntu 22.04","og_description":"How to Install RocketChat on Ubuntu 22.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-11-20T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install RocketChat on Ubuntu 22.04","datePublished":"2023-11-20T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/"},"wordCount":535,"commentCount":4,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp","keywords":["rocketchat","ubuntu"],"articleSection":["Open-source","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/","name":"How to Install RocketChat on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp","datePublished":"2023-11-20T18:30:00+00:00","description":"Get your RocketChat chat platform running quickly by following our guide on how to install RocketChat on Ubuntu 22.04.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/10\/how-to-install-rocketchat-on-ubuntu-22-04.webp","width":1024,"height":576,"caption":"how to install rocketchat on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocketchat-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install RocketChat on Ubuntu 22.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\/47077","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=47077"}],"version-history":[{"count":9,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47077\/revisions"}],"predecessor-version":[{"id":47392,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47077\/revisions\/47392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/47114"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=47077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=47077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=47077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}