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. 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. 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. # sudo nano /etc/nginx/conf.d/nfĪdd the following text in the opened file and save it.Rocket.Chat is one of the most popular open source chat applications. To do so, execute the following command to create a nginx configuration file using nano editor. In this step, you will setup reverse proxy to access Rocket Chat so that you can access it via domain name without using any port in the end of address. # sudo apt-get install nodejs Setup Reverse Proxy: To install Node.js, execute the command below. # sudo systemctl enable nginx Install Node.js: Start and enable nginx server so that on system reboot, it can start automatically. To install Nginx server, execute the command below. To setup reverse proxy, you will need to install Nginx server. You can enable these ports while creating ECS instance, but in case if you have forgotten to unblock these ports, you can follow the procedure in this guide: Install Nginx:Īs you will need to access Rocket Chat via http ://localhost:3000, hence, you will need to setup a reverse proxy. If you have activated firewalls, you will have to define a rule in Alibaba Cloud security group for your cloud server to add exception for port 80/tcp and 443/tcp. You will see the following screen but before making any settings at this stage, I will recommend to perform all the steps in the following sections including reverse proxy and then access Rocket Chat without concatenating port and do settings for Rocket Chat. You can access Rocket Chat server via domain name or Alibaba Cloud ECS IP address by concatenating port 3000 in the end of URL. To check the status of Rocket Chat, you can execute the following command. Rocket Chat service will start automatically after installation. To install Rocket Chat, execute the following command. Snaps are an easy, secure and best way to install and manage apps, hence, you will use Snap to install Rocket Chat. # sudo apt-get install snapd Install Rocket Chat: To install snapd, you will need to execute the following command. Snapd is a service which runs and manages the snap. To install Rocket Chat, you will need to use snap, a containerized software package that can be installed on any Linux operating system. To execute this command, remember to login from non-root user with sudo privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |