{"id":34848,"date":"2020-11-23T09:05:38","date_gmt":"2020-11-23T15:05:38","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=34848"},"modified":"2023-01-05T10:13:13","modified_gmt":"2023-01-05T16:13:13","slug":"how-to-install-rocket-chat-on-centos-8","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/","title":{"rendered":"How to Install Rocket.Chat on CentOS 8"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" class=\"wp-image-35015\" title=\"How to Install Rocket.Chat on CentOS 8\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg\" alt=\"How to Install Rocket.Chat on CentOS 8\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"alignright size-large is-resized\"><img decoding=\"async\" class=\"wp-image-34931\" title=\"steps-on-installing-rocket.chat-on-centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-on-installing-rocket.chat-on-centos-1024x876.png\" alt=\"steps-on-installing-rocket.chat-on-centos\" width=\"120\" height=\"100\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Rocket.Chat is a free and open-source chat and messaging application <a href=\"https:\/\/www.rosehosting.com\/meteor-hosting\/\">built with Meteor<\/a>. It is an alternative to Slack and allows you to chat with other members, make video and audio calls, create channels and private groups, share files, and folders and many more. It is self-hosted and helps your team to communicate and share ideas on desktop and mobile devices.<\/p>\r\n\r\n\r\n\r\n<p>In this tutorial, we will show you how to deploy Rocket.Chat with Nginx as a reverse proxy on CentOS 8.<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\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-69ec05031e0bf\" 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-69ec05031e0bf\"  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-centos-8\/#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-centos-8\/#Step-1-Log-in-to-the-Server-Update-the-Server-OS-Packages\" >Step 1: Log in to the Server &amp; Update the Server OS 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-centos-8\/#Step-2-Install-Required-Packages\" >Step 2: Install Required Packages<\/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-centos-8\/#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-centos-8\/#Step-4-Install-and-Configure-MongoDB\" >Step 4: Install and Configure MongoDB<\/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-rocket-chat-on-centos-8\/#Step-5-Install-RocketChat\" >Step 5: Install Rocket.Chat<\/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-rocket-chat-on-centos-8\/#Step-6-Create-a-Systemd-Service-File-for-RocketChat\" >Step 6: Create a Systemd Service File for Rocket.Chat<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#Step-7-Configure-Nginx-as-a-Reverse-Proxy\" >Step 7: Configure Nginx as a Reverse Proxy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#Step-8-Configure-Firewall\" >Step 8: Configure Firewall<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#Step-9-Access-RocketChat\" >Step 9: Access Rocket.Chat<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>A CentOS 8 VPS.<\/li>\r\n<li>Access to the root user account (or access to an admin account with root privileges)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-1-log-in-to-the-server-update-the-server-os-packages\"><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-the-Server-Update-the-Server-OS-Packages\"><\/span>Step 1: Log in to the Server &amp; Update the Server OS Packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>First, log in to your CentOS 8 server via SSH as the root user:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\r\n\r\n\r\n\r\n<p>You will need to replace \u2018IP_Address\u2018 and \u2018Port_number\u2018 with your server\u2019s respective IP address and SSH port number. Additionally, replace \u2018root\u2019 with the username of the admin account if necessary.<\/p>\r\n\r\n\r\n\r\n<p>Before starting, you have to make sure that all CentOS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf update -y<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-2-install-required-packages\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Required-Packages\"><\/span>Step 2: Install Required Packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>First, you will need to install some packages required to install Rocket.Chat in your system.<\/p>\r\n\r\n\r\n\r\n<p>First, install EPEL repo with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf install epel-release -y<\/pre>\r\n\r\n\r\n\r\n<p>After installing, EPEL repo, install Nginx web server and development tools with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf install nginx curl GraphicsMagick gcc-c++ -y\r\ndnf groupinstall 'Development Tools'<\/pre>\r\n\r\n\r\n\r\n<p>Once all the packages are installed, start the Nginx service and enable it to start at system reboot:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl start nginx\r\nsystemctl enable nginx<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-3-install-node-js\"><span class=\"ez-toc-section\" id=\"Step-3-Install-Nodejs\"><\/span>Step 3: Install Node.js<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Next, you will need to install Node.js in your system. By default, the latest version of Node.js is not available in the CentOS 8 default repository. So you will need to enable the Node.js module in your system. You can enable the Node.js version 12 module with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf module enable nodejs:12<\/pre>\r\n\r\n\r\n\r\n<p>Next, install the Node.js with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf install nodejs -y<\/pre>\r\n\r\n\r\n\r\n<p>After installing Node.js, verify the installed version of Node.js with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">node --version<\/pre>\r\n\r\n\r\n\r\n<p>You should get the following output:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">v12.18.4\r\n<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-4-install-and-configure-mongodb\"><span class=\"ez-toc-section\" id=\"Step-4-Install-and-Configure-MongoDB\"><\/span>Step 4: Install and Configure MongoDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Rocket.Chat uses MongoDB as a database backend. So you will need to install it in your system.<\/p>\r\n\r\n\r\n\r\n<p>First, create a MongoDB repo with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">nano \/etc\/yum.repos.d\/mongodb-org.repo<\/pre>\r\n\r\n\r\n\r\n<p>Add the following lines:<\/p>\r\n\r\n\r\n\r\n<p>[mongodb-org-3.6]<\/p>\r\n\r\n\r\n\r\n<p>name=MongoDB Repository baseurl=https:\/\/repo.mongodb.org\/yum\/redhat\/$releasever\/mongodb-org\/3.6\/x86_64\/ gpgcheck=1 enabled=1 gpgkey=https:\/\/www.mongodb.org\/static\/pgp\/server-3.6.asc<\/p>\r\n\r\n\r\n\r\n<p>Save and close the file then install the MongoDB server with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dnf install mongodb-org -y<\/pre>\r\n\r\n\r\n\r\n<p>Once installed, start the MongoDB service and enable it to start at system reboot with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl start mongod\r\nsystemctl enable mongod<\/pre>\r\n\r\n\r\n\r\n<p>Next, you will need to define replica set in MongoDB. You can define it with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">nano \/etc\/mongod.conf<\/pre>\r\n\r\n\r\n\r\n<p>Add the following lines:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">replication:\r\n  replSetName: \"myreplica01\"\r\n<\/pre>\r\n\r\n\r\n\r\n<p>Save and close the file then restart the MongoDB service to apply the changes:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl restart mongod<\/pre>\r\n\r\n\r\n\r\n<p>Next, login to MongoDB shell and initiate the replica set with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">mongo\r\n\r\n&gt; rs.initiate()<\/pre>\r\n\r\n\r\n\r\n<p>You should get the following output:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">{\r\n    \"info2\" : \"no configuration specified. Using a default configuration for the set\",\r\n    \"me\" : \"127.0.0.1:27017\",\r\n    \"ok\" : 1,\r\n    \"operationTime\" : Timestamp(1604905164, 1),\r\n    \"$clusterTime\" : {\r\n        \"clusterTime\" : Timestamp(1604905164, 1),\r\n        \"signature\" : {\r\n            \"hash\" : BinData(0,\"AAAAAAAAAAAAAAAAAAAAAAAAAAA=\"),\r\n            \"keyId\" : NumberLong(0)\r\n        }\r\n    }\r\n}\r\n<\/pre>\r\n\r\n\r\n\r\n<p>Next, exit from the MongoDB shell with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">myreplica01:SECONDARY&gt; exit<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-5-install-rocket-chat\"><span class=\"ez-toc-section\" id=\"Step-5-Install-RocketChat\"><\/span>Step 5: Install Rocket.Chat<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>First, you will need to create a separate user to run Rocket.Chat. You can create it with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">useradd -m -U -r -d \/opt\/rocket rocket<\/pre>\r\n\r\n\r\n\r\n<p>Next, add the rocket user to the Nginx group with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">usermod -a -G rocket nginx<\/pre>\r\n\r\n\r\n\r\n<p>Next, give proper permission to the \/opt\/rocket directory with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">chmod 750 \/opt\/rocket<\/pre>\r\n\r\n\r\n\r\n<p>Next, switch the user to rocket and download the latest version of Rocket.Chat with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">su - rocket\r\ncurl -L https:\/\/releases.rocket.chat\/latest\/download -o rocket.chat.tgz<\/pre>\r\n\r\n\r\n\r\n<p>Next, extract the downloaded file with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">tar zxf rocket.chat.tgz<\/pre>\r\n\r\n\r\n\r\n<p>Next, move the extracted directory to Rocket.Chat:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">mv bundle Rocket.Chat<\/pre>\r\n\r\n\r\n\r\n<p>Next, change the directory to Rocket.Chat server and install required modules with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">cd Rocket.Chat\/programs\/server\r\nnpm install<\/pre>\r\n\r\n\r\n\r\n<p>Next, exit from the rocket user with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">exit<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-6-create-a-systemd-service-file-for-rocket-chat\"><span class=\"ez-toc-section\" id=\"Step-6-Create-a-Systemd-Service-File-for-RocketChat\"><\/span>Step 6: Create a Systemd Service File for Rocket.Chat<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Next, you will need to create a systemd service file to manage the Rocket.Chat service. You can create it with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">nano \/etc\/systemd\/system\/rocketchat.service<\/pre>\r\n\r\n\r\n\r\n<p>Add the following lines:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">[Unit]\r\nDescription=Rocket.Chat server\r\nAfter=network.target nss-lookup.target mongod.target\r\n\r\n[Service]\r\nStandardOutput=syslog\r\nStandardError=syslog\r\nSyslogIdentifier=rocketchat\r\nUser=rocket\r\nEnvironment=MONGO_URL=mongodb:\/\/localhost:27017\/rocketchat ROOT_URL=http:\/\/chat.example.com:3000\/ PORT=3000\r\nExecStart=\/usr\/local\/bin\/node \/opt\/rocket\/Rocket.Chat\/main.js\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\r\n\r\n\r\n\r\n<p>Save and close the file then reload the systemd daemon with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl daemon-reload<\/pre>\r\n\r\n\r\n\r\n<p>Next, start the Rocket.Chat service and enable it to start at system reboot with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl start rocketchat\r\nsystemctl enable rocketchat<\/pre>\r\n\r\n\r\n\r\n<p>You can now verify the status of the Rocket.Chat with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl status rocketchat<\/pre>\r\n\r\n\r\n\r\n<p>You should get the following output:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">\u25cf rocketchat.service - Rocket.Chat server\r\n   Loaded: loaded (\/etc\/systemd\/system\/rocketchat.service; disabled; vendor preset: disabled)\r\n   Active: active (running) since Mon 2020-11-09 02:01:10 EST; 28s ago\r\n Main PID: 65031 (node)\r\n    Tasks: 11 (limit: 25014)\r\n   Memory: 573.6M\r\n   CGroup: \/system.slice\/rocketchat.service\r\n           \u2514\u250065031 \/usr\/local\/bin\/node \/opt\/rocket\/Rocket.Chat\/main.js\r\n\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |      MongoDB Version: 3.6.20                         |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |       MongoDB Engine: wiredTiger                     |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |             Platform: linux                          |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |         Process Port: 3000                           |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |             Site URL: http:\/\/chat.example.com:3000\/  |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |     ReplicaSet OpLog: Enabled                        |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |          Commit Hash: e37d7ba8ed                     |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |        Commit Branch: HEAD                           |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 |                                                      |\r\nNov 09 02:01:33 centos8 rocketchat[65031]: \u2794 +------------------------------------------------------+\r\n<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-7-configure-nginx-as-a-reverse-proxy\"><span class=\"ez-toc-section\" id=\"Step-7-Configure-Nginx-as-a-Reverse-Proxy\"><\/span>Step 7: Configure Nginx as a Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>At this point, Rocket.Chat is started and listening on port 3000. Next, you will need to configure Nginx as a reverse proxy to access the Rocket.Chat using port 80.<\/p>\r\n\r\n\r\n\r\n<p>First, create an Nginx virtual host configuration file with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">nano \/etc\/nginx\/conf.d\/rocket.conf<\/pre>\r\n\r\n\r\n\r\n<p>Add the following lines:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">upstream rocketchat_backend {\r\n  server 127.0.0.1:3000;\r\n}\r\n\r\nserver {\r\n    listen 80;\r\n    server_name chat.example.com;\r\n\r\n    location \/ {\r\n        proxy_pass http:\/\/rocketchat_backend\/;\r\n        proxy_http_version 1.1;\r\n        proxy_set_header Upgrade $http_upgrade;\r\n        proxy_set_header Connection \"upgrade\";\r\n        proxy_set_header Host $http_host;\r\n\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forward-Proto http;\r\n        proxy_set_header X-Nginx-Proxy true;\r\n\r\n        proxy_redirect off;\r\n    }\r\n}\r\n<\/pre>\r\n\r\n\r\n\r\n<p>Save and close the file then restart the Nginx service to apply the changes:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">systemctl restart nginx<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-8-configure-firewall\"><span class=\"ez-toc-section\" id=\"Step-8-Configure-Firewall\"><\/span>Step 8: Configure Firewall<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Next, you will needto allow port 80 through firewalld. You can allow it with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">firewall-cmd --zone=public --add-port=80\/tcp --permanent<\/pre>\r\n\r\n\r\n\r\n<p>Next, reload the firewalld to apply the changes:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">firewall-cmd --reload<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-9-access-rocket-chat\"><span class=\"ez-toc-section\" id=\"Step-9-Access-RocketChat\"><\/span>Step 9: Access Rocket.Chat<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Now, open your web browser and access the Rocket.Chat using the URL http:\/\/chat.example.com. You should see the following screen:<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"520\" class=\"wp-image-34889\" title=\"how-to-install-rocket.chat-on-centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos.png\" alt=\"how-to-install-rocket.chat-on-centos\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-300x152.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-150x76.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-768x390.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Provide your admin information and click on the <strong>Continue<\/strong> button. You should see the following screen:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"545\" class=\"wp-image-34890\" title=\"guide on how to install rocket.chat on centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-on-how-to-install-rocket.chat-on-centos.png\" alt=\"guide on how to install rocket.chat on centos\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-on-how-to-install-rocket.chat-on-centos.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-on-how-to-install-rocket.chat-on-centos-300x160.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-on-how-to-install-rocket.chat-on-centos-150x80.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-on-how-to-install-rocket.chat-on-centos-768x409.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Provide your Organization information and click on the <strong>Continue<\/strong> button.<\/p>\r\n\r\n\r\n\r\n<p>On the next page, provide your server information and click on the <strong>Continue<\/strong> button:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"522\" class=\"wp-image-34891\" title=\"easy guide on how to install rocket.chat on centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/easy-guide-on-how-to-install-rocket.chat-on-centos.png\" alt=\"easy guide on how to install rocket.chat on centos\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/easy-guide-on-how-to-install-rocket.chat-on-centos.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/easy-guide-on-how-to-install-rocket.chat-on-centos-300x153.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/easy-guide-on-how-to-install-rocket.chat-on-centos-150x76.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/easy-guide-on-how-to-install-rocket.chat-on-centos-768x392.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Now, register your server and click on the <strong>Continue<\/strong> button. You should see the following screen:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"873\" height=\"641\" class=\"wp-image-34892\" title=\"how to install rocket.chat on centos guide\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-guide.png\" alt=\"how to install rocket.chat on centos guide\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-guide.png 873w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-guide-300x220.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-guide-150x110.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-install-rocket.chat-on-centos-guide-768x564.png 768w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Click on the <strong>Continue<\/strong> button. You should see the following screen:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"522\" class=\"wp-image-34928\" title=\"guide to install rocket.chat on centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-to-install-rocket.chat-on-centos.png\" alt=\"guide to install rocket.chat on centos\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-to-install-rocket.chat-on-centos.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-to-install-rocket.chat-on-centos-300x153.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-to-install-rocket.chat-on-centos-150x76.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/guide-to-install-rocket.chat-on-centos-768x392.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Click on the <strong>Go to your workspace<\/strong>. You should see the Rocket.Chat dashboard in the following screen:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"541\" class=\"wp-image-34929\" title=\"steps-to-install-rocket.chat-on-centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-to-install-rocket.chat-on-centos.png\" alt=\"steps-to-install-rocket.chat-on-centos\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-to-install-rocket.chat-on-centos.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-to-install-rocket.chat-on-centos-300x158.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-to-install-rocket.chat-on-centos-150x79.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-to-install-rocket.chat-on-centos-768x406.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Of course, you don\u2019t have to install Rocket.Chat on CentOS 8, if you use one of our <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">Managed <\/a><\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"alignleft size-large is-resized\"><img decoding=\"async\" class=\"wp-image-34931\" title=\"steps-on-installing-rocket.chat-on-centos\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/11\/steps-on-installing-rocket.chat-on-centos-1024x876.png\" alt=\"steps-on-installing-rocket.chat-on-centos\" width=\"120\" height=\"100\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS Hosting<\/a> plans, in which case you can simply ask our expert Linux admins to install Rocket.Chat on CentOS 8 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\r\n\r\n\r\n\r\n<p>PS. If you liked this post on how to install Rocket.Chat on CentOS 8, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Rocket.Chat is a free and open-source chat and messaging application built with Meteor. It is an alternative to Slack and &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Rocket.Chat on CentOS 8\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#more-34848\" aria-label=\"Read more about How to Install Rocket.Chat on CentOS 8\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":35015,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1236,21,13],"tags":[34,1837,1741],"class_list":["post-34848","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-guides","category-tips-and-tricks","category-tutorials","tag-centos","tag-centos8","tag-rocket-chat","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 CentOS 8 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Easy guide on how to install Rocket.Chat on CentOS 8. We&#039;ve made the steps easy to follow so you can have Rocket.Chat running in no time.\" \/>\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-centos-8\/\" \/>\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 CentOS 8\" \/>\n<meta property=\"og:description\" content=\"How to Install Rocket.Chat on CentOS 8 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/\" \/>\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=\"2020-11-23T15:05:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-05T16:13:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.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-centos-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Rocket.Chat on CentOS 8\",\"datePublished\":\"2020-11-23T15:05:38+00:00\",\"dateModified\":\"2023-01-05T16:13:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/\"},\"wordCount\":996,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/how-to-install-rocket.chat-on-centos-8.jpg\",\"keywords\":[\"centos\",\"centos8\",\"Rocket.Chat\"],\"articleSection\":[\"CentOS\",\"Guides\",\"Tips and Tricks\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/\",\"name\":\"How to Install Rocket.Chat on CentOS 8 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/how-to-install-rocket.chat-on-centos-8.jpg\",\"datePublished\":\"2020-11-23T15:05:38+00:00\",\"dateModified\":\"2023-01-05T16:13:13+00:00\",\"description\":\"Easy guide on how to install Rocket.Chat on CentOS 8. We've made the steps easy to follow so you can have Rocket.Chat running in no time.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/how-to-install-rocket.chat-on-centos-8.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/how-to-install-rocket.chat-on-centos-8.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install Rocket.Chat on CentOS 8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-rocket-chat-on-centos-8\\\/#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 CentOS 8\"}]},{\"@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 CentOS 8 | RoseHosting","description":"Easy guide on how to install Rocket.Chat on CentOS 8. We've made the steps easy to follow so you can have Rocket.Chat running in no time.","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-centos-8\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Rocket.Chat on CentOS 8","og_description":"How to Install Rocket.Chat on CentOS 8 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2020-11-23T15:05:38+00:00","article_modified_time":"2023-01-05T16:13:13+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.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-centos-8\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Rocket.Chat on CentOS 8","datePublished":"2020-11-23T15:05:38+00:00","dateModified":"2023-01-05T16:13:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/"},"wordCount":996,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg","keywords":["centos","centos8","Rocket.Chat"],"articleSection":["CentOS","Guides","Tips and Tricks","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/","name":"How to Install Rocket.Chat on CentOS 8 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg","datePublished":"2020-11-23T15:05:38+00:00","dateModified":"2023-01-05T16:13:13+00:00","description":"Easy guide on how to install Rocket.Chat on CentOS 8. We've made the steps easy to follow so you can have Rocket.Chat running in no time.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/12\/how-to-install-rocket.chat-on-centos-8.jpg","width":742,"height":372,"caption":"How to Install Rocket.Chat on CentOS 8"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-rocket-chat-on-centos-8\/#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 CentOS 8"}]},{"@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\/34848","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=34848"}],"version-history":[{"count":16,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/34848\/revisions"}],"predecessor-version":[{"id":44654,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/34848\/revisions\/44654"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/35015"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=34848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=34848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=34848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}