
You will need it later to enable HTTPS access for your chat server. On the Ngrok Dashboard – Auth page, copy the provided Tunnel AuthToken to the clipboard. Sign up for a free Ngrok account and then go to the download page and download the Linux/ARM version of Ngrok. It may not seem like a big deal if someone hacks your Pi, but once in, hackers can use it as a platform to attack other devices on your network or conduct other illegal activity. It is still a good idea to make sure your Pi is secure which is beyond the scope of this tutorial, but at the very least make sure you change the default password to a tough password, disable any unused services, throttle login attempts, use public-key or two-factor authentication and regularly update and back up your Pi. In other words, it’s a slightly safer way to put your chat server on the Internet.

Instead there is a free service called Ngrok which provides secure introspectable tunnels to your localhost. For security reasons, I don’t ever recommend opening ports on your home or business router. You’ll probably want other people on the Internet to access your chat server. CD to rocketchat/bundle/programs/server folder and type meteor/dev_bundle/bin/npm install.
#CURL URL FOR ROCKETCHAT DOWNLOAD INSTALL#
It is necessary to replace the placeholders for the database user credentials.īack in terminal, the Node.js package manager ( npm) will be used to install the Rocket.Chat dependencies. You will need the URI later so copy it to the clipboard. mLab will provide a URI to access your new database. Afterwards, create a database user account and give it write access to the new database.

Sign up and create a free mLab sandbox database. Their free sandbox package provides a single database with 500 megabytes and no credit card is required. (previously known as Mongo Lab) provides a cloud database service. MongoDB could be installed on the Pi, but because of the high write volume it’s probably not too good for your SD card and there is a high risk of data corruption. tgzĪ MongoDB database is required to store our chat data. Mkdir rocketchat cd rocketchat curl https :// cdn - download.
