How to Install Mattermost with PostgreSQL and Nginx on Ubuntu 16.04

In this tutorial, I will guide you to create your own Mattermost server that uses PostgreSQL as the database system and Nginx as the reverse proxy for Mattermost. I will use ubuntu 16.04 as the operating system. Mattermost is an open source messaging system written in the programming languages Golang and React. It’s a slack alternative, we can build our own messaging service like slack or hipchat with it.