Merge pull request #1544 from npcode/fix-productun-ubuntu.md
Fix productun ubuntu.md
Этот коммит содержится в:
@@ -37,18 +37,18 @@
|
||||
|
||||
## Set up Mattermost Server
|
||||
1. For the purposes of this guide we will assume this server has an IP address of 10.10.10.2
|
||||
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```
|
||||
1. Unzip the Mattermost Server by typing:
|
||||
* ``` tar -xvzf mattermost.tar.gz```
|
||||
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. 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`.
|
||||
* Create the directory by typing:
|
||||
* ``` sudo mkdir -p /mattermost/data```
|
||||
* Set the ubuntu account as the directory owner by typing:
|
||||
* ``` sudo chown -R ubuntu /mattermost```
|
||||
1. Configure Mattermost Server by editing the config.json file at /home/ubuntu/mattermost/config`
|
||||
1. Configure Mattermost Server by editing the config.json file at `/home/ubuntu/mattermost/config`
|
||||
* ``` cd ~/mattermost/config```
|
||||
* Edit the file by typing:
|
||||
* ``` vi config.json```
|
||||
|
||||
Ссылка в новой задаче
Block a user