I am a newbie here, and a newbie in programming, and I got a task to install Mattermost on DigitalOcean VPS. Using Ubuntu 14.04. I know most of the problem is due to my lack of knowledge in programming/terminal/or reading documentation. And my purpose to install Mattermost is for my school district, so that teachers can try an alternative to teaching via Mattermost.
I am using:
- iMac, latest OSX
- VPS hosted on digitalocean, 2GB Ram with Ubuntu 14.04
- Documentation: http://docs.mattermost.com/install/prod-ubuntu.html
So far here’s what I have done, and where I have failed:
Creating 3 machines
- Go create 3 machines with Ubuntu 14.04 with 2GB of RAM
- Completed the sudo
sudo apt-get upgrade
- I understood that there are 3 new IP that I got from my VPS provider
Tried Setting up database server (failed)
Completed step 1 to 13, and error is shown on the last step as pasted below:
root@Mattermost-dbserver:~# sudo /etc/init.d/postgresql reload
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “UTF-8”,
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Error: Invalid line 59 in /etc/postgresql/9.3/main/postgresql.conf: »listen_addresses = * # what IP address(es) to listen on;
- No PostgreSQL clusters exist; see "man pg_createcluster"
it only goes away when I removed the
'*' and change it to
Tried to setup Mattermost Server
I dont understand the first 3 step
For the purposes of this guide we will assume this server has an IP address of 10.10.10.2
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.
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.
- I managed to download and unzip the file
- step 6 Failed
- I managed to change the config on step 7
- the rest does not work
Tried Setting up Nginx server
will update this post as soon as I completed it