It is highly recommended to run the server under a dedicated non-root user, such as rocketchat , to improve security.
curl -L https://releases.rocket.chat/latest/download -o rocket.chat.tgz rocket-chat.tgz
Once downloaded, the file is typically moved to a temporary directory for extraction and installation. Extraction To unpack the archive, use the following tar command: tar -xzf rocket.chat.tgz -C /tmp It is highly recommended to run the server
Replace latest with the version number, such as 6.13.0 . such as rocketchat
If you see "not in gzip format," verify your download URL; sometimes a 404 error page is downloaded as an HTML file instead of the actual archive.
Always implement SSL/TLS encryption and regular backups for any production environment. Deploy Rocket Chat on CentOS for Secure Messaging