![]() ![]() For commercial reprints, please contact the author for authorization. For non-commercial reprints and citations, please indicate the author: Henry, and original article URL. Access the server IP + port 3000 to start filling in the configurationĮxample: :3000 Make sure firewall settings are okĬopyright statement: Unless otherwise stated, all articles on this blog adopt the CC BY-NC-SA 4.0 license agreement. Restart RocketChat and Caddy service systemctl restart What does Caddy do here: (i) configure reverse proxy (ii) automatically apply for SSL certificate 3. Auto SSL with Snaps snap set rocketchat-server caddy-url= snap set rocketchat-server caddy=enable Note: (i) For some lower version of linux, you may have to install snapd first: apt install snapd (ii) When you read ‘/snap/bin’ is not included in the PATH environment variable, try export PATH=$PATH:/snap/bin 2. Snap install apt install updateĪnd that’s it, done. Installation is very simple and fast (assuming all commands in sudo): 1. FYI, I installed RocketChat on a clean 1G RAM instance. ![]() If your instance RAM is 1G, but has other applications installed, like wordpress, it’s recommend not to install it. If your instance RAM is 500M (typical for some beginner user or even free plans), do not install it. (varies from active users, user actions, etc). RocketChat requires certain amount of RAM. Why do I even post this? Official Doc is quite nice. If you know any more helpful commands such as these, let us know in the comments.What’s RocketChat? To me it’s an open source Slack. You can adjust it to omit & sudo snap refresh if you don’t use Snaps, such as if you’re on Linux Mint. These commands should work on any system that uses apt. This should also apply all the available Flatpak updates too if there are any to be had. Sudo apt update & sudo apt upgrade -y & sudo snap refresh & sudo flatpak update This is helpful if you’re aware of any troublesome packages that you don’t want to install on your system accidentally.Īs the update command chain is one you’ll probably want to run several times over a few weeks it’s handy to know that you can tap the Up arrow whilst in the terminal to flick through previously used commands, you can do this to go back to the update command chain above and tap enter to get the process stated.įlatpaks are not supported by Ubuntu out of the box, but if you do use them, you could adapt the command chain from earlier to: The command above omits the “-y” portion, this means you’ll be shown the updates that’ll be installed and you’ll be asked to confirm them to make sure you’re happy. ![]() ![]() Sudo apt update & sudo apt upgrade & sudo snap refresh If you’d like more control over the update process, feel free to use the command chain below: Once you’ve typed or copied that into your terminal window, you’ll be asked for your password and then it will look for updates and apply them without confirmation, it will also check for new Snaps and apply any available updates. Sudo apt update & sudo apt upgrade -y & sudo snap refresh The command chain to update everything in one go is: It includes 10 security patches, 9 brand-new features, and 25+ overall platform enhancements. If you use these commands, you’re interrupted mid-way to ask if you definitely want to apply the updates.Ĭonsidering that most updates are pretty stable, it's good to be able to install all Deb and Snap packages in one fell swoop, without being asked to confirm the updates and without having to go through separate commands for Debs and Snaps. Update now Rocket.Chat 6.0 is our most secure and scalable version yet. Some of you may be aware of the apt update and apt upgrade commands, these are great for updating your Deb packages but they don’t touch the Snap packages, for these, you need to use snap refresh. Until a few months ago it seemed like these were updating on their own, but recently I’ve been getting notifications saying that updates are ready to be applied this means more work for me! On top of the “other software” problem, you also have Snaps. ![]()
0 Comments
Leave a Reply. |