![]() To complete this tutorial, you will need a fully qualified (or subdomain) pointing to your server, a number for your service - 8080 or 7080 are good options so long as they're not already in use by other services on the same server, and a set of authenticating SMTP credentials so you can configure your Rocket.Chat to send email (by default, Rocket.Chat uses TOTP (Time-based One-Time Password) sent via email for extra security). It can be accessed via any modern web browser, and there are dedicated desktop applications for Linux, Microsoft Windows, and Apple MacOS, as well as mobile applications for Apple iOS and Android devices. There many ways you can interact with Rocket.Chat. It's also great for all sorts of integrations. You can also purchase it as Software-as-a-Service. You can also see our video tutorials on how to create one: complete, or starting from a DigitalOcean 'snapshot'.įrom that starting point, we can install Rocket.Chat - which, incidentally, is a full-featured messaging service, similar to more heavily marketed Slack, Discord, or Microsoft Teams, but free and open source, and self-hostable (other free and open source options include Mattermost and Element/Matrix among others, by Rocket.Chat is the OERF's preference). We start with a Docker Compose-configured server. By default, only the first user will get administrative privileges.This post is a companion to our video tutorial on installing Rocket.Chat 4.x on an Ubuntu 20.04 server via Docker Compose. ![]() Point your web browser to, and then register the first user for administration. Start the Rocket.Chat service: systemctl start rocketchat Start the MongoDB service: systemctl start mongodb In ROOT_URL, you can replace with your server's IP address 192.168.100.100, if your domain is not available. ![]() Note: In PORT, you can replace 3000 with the port number of your choosing. RestartSec=10 # Restart service after 10 seconds if node service crashesĮnvironment=NODE_ENV=production PORT=3000 ROOT_URL= MONGO_URL=mongodb://localhost:27017/rocketchat Restart=always # If set to always, the service will be restarted regardless of whether it exited cleanly or not, got terminated abnormally by a signal, or hit a timeout. Make sure to replace the domain with your own: Īfter=network.target remote-fs.target nss-lookup.target mongod.target nginx.target # Remove or Replace nginx with your proxyĮxecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js # Specify the location of node and location of main.js ![]() Use n to install Node.js version 8.9.3: n 8.9.3ĭownload and install Rocket.Chat: cd /optįor your convenience, you need to create the RocketChat systemd service unit: nano /etc/systemd/system/rvice Then we can install Node.js and other packages: apt install nodejs curl graphicsmagick -y So first add the NodeSource Debian binary distributions repository: curl -sL | bash. Rocket.Chat 0.60 and higher needs version 8.9.3 LTS of Node.js to work. Install Node.js, GraphicsMagick, npm and other dependencies Install the latest stable version of MongoDB: apt install mongodbģ. Log in as root and update the system to the latest stable status: apt update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |