summaryrefslogtreecommitdiffstats
path: root/doc/install/Production-Ubuntu.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/install/Production-Ubuntu.md')
-rw-r--r--doc/install/Production-Ubuntu.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/install/Production-Ubuntu.md b/doc/install/Production-Ubuntu.md
index f8fcff978..da3487f45 100644
--- a/doc/install/Production-Ubuntu.md
+++ b/doc/install/Production-Ubuntu.md
@@ -34,6 +34,9 @@
* host all all 10.10.10.2/32 md5
1. Reload Postgres database
* ```sudo /etc/init.d/postgresql reload```
+1. Attempt to connect with the new created user to verify everything looks good
+ * ```psql --host=10.10.10.1 --dbname=mattermost --username=mmuser --password```
+ * ```mattermost=> \q```
## Set up Mattermost Server
@@ -41,7 +44,7 @@
1. For the sake of making this guide simple we located the files at `/home/ubuntu/mattermost`. In the future we will give guidance for storing under `/opt`.
1. We have also elected to run the Mattermost Server as the `ubuntu` account for simplicity. We recommend setting up and running the service under a `mattermost` user account with limited permissions.
1. Download the latest Mattermost Server by typing:
- * ``` wget https://github.com/mattermost/platform/releases/download/v1.2.1/mattermost.tar.gz```
+ * ``` wget https://github.com/mattermost/platform/releases/download/v1.3.0/mattermost.tar.gz```
1. Unzip the Mattermost Server by typing:
* ``` tar -xvzf mattermost.tar.gz```
1. Create the storage directory for files. We assume you will have attached a large drive for storage of images and files. For this setup we will assume the directory is located at `/mattermost/data`.
@@ -62,7 +65,7 @@
* ``` ./platform```
* You should see a console log like `Server is listening on :8065` letting you know the service is running.
* Stop the server for now by typing `ctrl-c`
-1. Setup Mattermost to use the Ubuntu Upstart daemon which handles supervision of the Mattermost process.
+1. Setup Mattermost to use the Upstart daemon which handles supervision of the Mattermost process.
* ``` sudo touch /etc/init/mattermost.conf```
* ``` sudo vi /etc/init/mattermost.conf```
* Copy the following lines into `/etc/init/mattermost.conf`
@@ -73,7 +76,7 @@ respawn
chdir /home/ubuntu/mattermost
setuid ubuntu
exec bin/platform
-```
+```
* You can manage the process by typing:
* ``` sudo start mattermost```
* Verify the service is running by typing:
@@ -102,7 +105,7 @@ exec bin/platform
* Create a configuration for Mattermost
* ``` sudo touch /etc/nginx/sites-available/mattermost```
* Below is a sample configuration with the minimum settings required to configure Mattermost
- ```
+```
server {
server_name mattermost.example.com;
location / {
@@ -172,8 +175,9 @@ exec bin/platform
gzip off;
proxy_set_header X-Forwarded-Ssl on;
```
-## Finish Mattermost Server setup
+
+## Finish Mattermost Server setup
1. Navigate to https://mattermost.example.com and create a team and user.
1. The first user in the system is automatically granted the `system_admin` role, which gives you access to the System Console.
1. From the `town-square` channel click the dropdown and choose the `System Console` option