![]() ![]() Next, start the MongoDB shell and initiate the ReplicaSet from before: export LC_ALL=CĪfter you run rs. Now, restart MongoDB so the changes can take effect: systemctl restart mongod ![]() We’ll use nano: nano /etc/nfĬomment out the 24th line (with #) to enable MongoDB to run on another IP other than localhost: net:Īnd add the ReplicaSet below (at line 34): #replication: Configure a MongoDB ReplicaSetīy using a ReplicaSet, you’ll greatly improve the performance of your Rocket.Chat.Įdit the ‘/etc/nf’ file with an editor of your choice. Next, enable mongodb to start on boot: systemctl enable mongod Next, update the Ubuntu repository: apt-get updateĪnd install MongoDB with: apt-get install mongodb-org -y Now, create a list file for MongoDB: echo "deb xenial/mongodb-org/3.4 multiverse" | tee /etc/apt//mongodb-org-3.4.list Rocket.Chat uses MongoDB as a database server.īefore we can actually install MongoDB, we need to add the MongoDB keyserver: apt-key adv -keyserver hkp://:80 -recv EA312927 Next, we’ll install all the required packages for Rocket.Chat, including Nginx and Node.js: apt-get install curl graphicsmagick build-essential nodejs npm nginx -y Snap will download the rocketchat-server package to make it available on your system. Rocket.Chat Installation Instructionsįirst, log in to your VPS as root and as always, we’ll start with updating our system: apt-get update & apt-get upgrade -y Go back to your terminal window and issue the command: sudo snap install rocketchat-server. So you will need to add the MongoDB repository in your system. By default, the latest version of MongoDB is not available in the Ubuntu 20.04 default repository. Now that we got the requirements out of the way, let’s go to the installation. Next, you will need to install the MongoDB server in your system. Root access to your VPS (sudo/root user).You can get a 1GB RAM VPS from Linode or Vultr for $5/month. The server needs to have at least 1GB RAM (although 2 or more is recommended).Of course, you can still use Rocket.Chat without WordPress, but for the purposes of this tutorial, we’ll assume that you already have a WordPress site. You can either get a cheap unmanaged one or a cheap managed one. Usually, shared hosting accounts don’t allow the stuff you need to run Rocket.Chat, so you’ll have to get a VPS for this. Rocket.Chat is a self-hosted application, so you’ll need a VPS/Dedicated Server. ![]() Rocket.Chat doesn’t run on your usual LAMP/LEMP stack. In this tutorial, we’ll install Rocket.Chat on an Ubuntu 16.04 server with Nginx as a reverse proxy and add it to our WordPress site. Feel free to submit your package/installation issues as long as PR in the GitHub repository. ![]() In this tutorial, we’ll focus on the live chat option that Rocket.Chat offers, not the Slack-alternative team chat option, although it’s really great and you should try it out. Hello, World :-) This AUR package is now managed on GitHub. It’s free, everything’s unlimited and it has a bunch of cool features like Video chat, Screen sharing, Mobile apps and more. A great alternative to both Slack and paid live chat applications. You can try to update Rocket.Chat settings directly in DBĢ) run the following command, so mongodb shell will be opened: mongoģ) select current DB in the opened shell, the default db name is "rocketchat": use rocketchat Ĥ) run the following queries to update settings, make sure to replace FULL-URL-TO-UNA-SITE (starting with or YOUR-KEY & YOUR-SECRET with your actual values db.rocketchat_settings.update()"It maybe Rocket.Chat restart will be is one of the most popular open source chat applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |