![]() If there aren’t any errors, it works! For now, though, stop Rocket.Chat using CTRL+C. Now you can run Rocket.Chat using the following command: export MONGO_URL =mongodb://localhost:27017/rocketchat.Set MongoDB’s URL under the MONGO_URL variable. We need to set up some environmental variables to help Rocket.Chat keep track of things like URLs, ports, and more.įirst, set the ROOT_URL variable to your domain name. Move back into the parent Rocket.Chat directory. Let’s move the contents of the bundle directory into something easier to remember.Ĭhange into the directory where we’ll install Rocket.Chat using NPM. This expands the entire archive into a directory named bundle. To start off, download the latest stable version of Rocket.Chat using curl.Įxpand the archive we just downloaded using the tar command. Next, we’ll install Rocket.Chat itself and do a little bit of configuration. Use that package to change the node version to 0.10.40. We need to install a package using NPM to allow us to change the node version: sudo apt-get install npm mongodb-org curl graphicsmagick.Now that that’s done, we can go ahead and install npm, mongodb-org, curl and graphicsmagick, which are all dependencies of Rocket.Chat: echo "deb trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt//mongodb-org-3.0.list.sudo apt-key adv -keyserver hkp://:80 -recv 7F0CEB10.First, we need to add a keyserver so we can access the packages. Let’s start with getting MongoDB up and running. In this section, we’ll be installing some of Rocket.Chat’s dependencies such as MongoDB and NodeJS. Generate a self-signed certificate, ( ), or buy one from another provider. Check out this tutorial if you need help. Make sure your domain name is configured to point to your server.You can purchase one on Namecheap or get one for free on Freenom. Non-root user with sudo privileges ( Initial Server Setup with Ubuntu 14.04 explains how to set this up.).One Ubuntu 14.04 server with a recommended minimum of 1 GB of RAM.Once we’re finished, you’ll have a functional instance of Rocket.Chat accessible from virtually anywhere. In this tutorial, we will be installing and configuring Rocket.Chat on a fresh Ubuntu server as well as setting up a reverse proxy via Nginx to boost security and make accessing Rocket.Chat much easier. Rocket.Chat is great for those who prefer to have full control over their communications. It supports video conferencing, file sharing, voice messages, has a fully-featured API, and more. Rocket.Chat is an open-source messaging app built with Meteor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |