diff options
Diffstat (limited to 'doc/install/Production-Ubuntu.md')
-rw-r--r-- | doc/install/Production-Ubuntu.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/install/Production-Ubuntu.md b/doc/install/Production-Ubuntu.md index c4de9a877..3d4a87b70 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 @@ -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 |