forked from mattermost/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a couple more files and started revising the content
- Loading branch information
1 parent
0cee362
commit a1a77c2
Showing
12 changed files
with
117 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
====================== | ||
Configuring Mattermost | ||
====================== | ||
|
||
After installing the Mattermost components, you must create the first user and first team. You can also configure the system to enhance performance and security. | ||
|
||
.. contents:: | ||
:backlinks: top | ||
:local: | ||
|
||
.. include:: config-mattermost-server.rst | ||
.. include:: config-tls-mattermost.rst | ||
.. include:: config-ssl-http2-nginx.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
A complete Mattermost installation consists of 3 major components: a proxy server, a database server, and the Mattermost server. You can install all components on 1 machine, or you can install each component on its own machine. If you have only 2 machines, then install the proxy and the Mattermost server on one machine, and install the database on the other machine. | ||
|
||
The Mattermost server must be installed on a 64-bit machine, but the database and proxy can be on 32-bit machines. For the database, you can install either MySQL or ProstgreSQL. The proxy is NGINX. | ||
|
||
After all the components are installed, some configuration is required. You can set up email notifications, SSL, TSL, and HTTP/2. For more information about configuring, see |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
Set up MySQL Database Server | ||
============================ | ||
Installing MySQL Database Server | ||
================================ | ||
|
||
1. Install MySQL 5.6. | ||
Mattermost supports either MySQL or PostgreSQL. | ||
|
||
- ``sudo apt-get install mysql-server-5.6`` | ||
**To install MySQL 5.6 on Ubuntu Server:** | ||
|
||
1. Log into the server that will host the database and issue the following command: | ||
|
||
``sudo apt-get install mysql-server-5.6`` | ||
|
||
2. Log in to MySQL as root. | ||
|
||
``mysql -u root -p`` | ||
|
||
When prompted, enter the root password that you created when installing MySQL. | ||
|
||
- ``mysql -u root -p`` | ||
3. Create the Mattermost user 'mmuser'. | ||
|
||
When prompted, enter the root password that you created when installing MySQL. | ||
``mysql> create user 'mmuser'@'%' identified by 'mmuser-password';`` | ||
|
||
3. Create the Mattermost user, 'mmuser'. | ||
**Notes**: | ||
|
||
- ``mysql> create user 'mmuser'@'%' identified by 'mmuser-password';`` | ||
1. Use a password that is more secure than 'mmuser-password' | ||
2. The '%' means that mmuser can connect from any machine on the network. However, it's more secure to use the IP address of the machine that hosts Mattermost. For example, if you install Mattermost on the machine with IP address 10.10.10.2, then use the following command: | ||
|
||
**Notes**: | ||
|
||
1. Use a password that is more secure than 'mmuser-password' | ||
2. The '%' means that mmuser can connect from any machine on the network. However, it's more secure to use the IP address of the machine that hosts Mattermost. For example, if you install Mattermost on the machine with IP address 10.10.10.2, then use the following command: | ||
|
||
- ``mysql> create user 'mmuser'@'10.10.10.2' identified by 'mmuser-password';`` | ||
``mysql> create user 'mmuser'@'10.10.10.2' identified by 'mmuser-password';`` | ||
|
||
4. Create the Mattermost database. | ||
|
||
- ``mysql> create database mattermost;`` | ||
``mysql> create database mattermost;`` | ||
|
||
5. Grant access privileges to the user 'mmuser' | ||
|
||
- ``mysql> grant all privileges on mattermost.* to 'mmuser'@'%';`` | ||
``mysql> grant all privileges on mattermost.* to 'mmuser'@'%';`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
Install Ubuntu Server (x64) 14.04 LTS | ||
===================================== | ||
Installing Ubuntu Server 14.04 LTS | ||
================================== | ||
|
||
1. Set up 3 machines with Ubuntu 14.04 with 2GB of RAM or more. The | ||
servers will be used for the Proxy, Mattermost (must be | ||
x64), and Database. | ||
Install Ubuntu Server on each machine that hosts one or more of the components. In most cases you need the 64-bit version. | ||
|
||
- **Optional:** You can also use a **1 machine setup** (Proxy, Mattermost and Database on one machine) or a **2 machine setup** (Proxy and Mattermost on one machine, Database on another) depending on your data center standards. | ||
You can use the 32-bit version on a machine that hosts the database and proxy server, but the Mattermost server requires 64-bit. | ||
|
||
2. Make sure the system is up to date with the most recent security | ||
patches. | ||
**To install Ubuntu Server:** | ||
|
||
1. Download the appropriate ISO image from http://releases.ubuntu.com/14.04.5/ and burn it to a CD-ROM. | ||
|
||
2. Boot the system from the CD-ROM drive and follow the on-screen prompts. | ||
|
||
3. After the system is installed, make sure that it's up to date with the most recent security patches. Open a terminal window and issue the following commands: | ||
|
||
- ``sudo apt-get update`` | ||
- ``sudo apt-get upgrade`` |