{"id":17962,"date":"2015-10-16T19:46:18","date_gmt":"2015-10-17T00:46:18","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=17962"},"modified":"2024-07-16T01:59:16","modified_gmt":"2024-07-16T06:59:16","slug":"install-mattermost-on-an-ubuntu-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/","title":{"rendered":"Install Mattermost on an Ubuntu VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-150x150.jpg\" alt=\"install-mattermost-on-an-ubuntu-vps\" class=\"wp-image-17967\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-150x150.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-300x300.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-100x100.jpg 100w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-50x50.jpg 50w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps-75x75.jpg 75w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg 512w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/figure>\n<\/div>\n\n\n<p>In this article, we will show you how to install Mattermost on an Ubuntu 14.04 VPS with PostgreSQL and Nginx. Mattermost is an open-source, on-prem Slack-alternative written in Golang and React. This guide should work on other <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> systems as well but was tested and written for an <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 14.04 VPS<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\" id=\"login-to-your-vps-via-ssh\">Login to your VPS via SSH<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh user@vps\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"update-the-system-and-install-necessary-packages\">Update the system and install necessary packages<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo apt-get update &amp;&amp; sudo apt-get -y upgrade\n&#91;user]$ sudo apt-get install software-properties-common wget\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-a-new-user\">Create a new user<\/h3>\n\n\n\n<p>To create a new system user called mmuser run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo adduser --home \/opt\/mmuser --shell \/bin\/bash --gecos 'Mattermost application' mmuser\n&#91;user]$ sudo install -d -m 755 -o mmuser -g mmuser \/opt\/mmuser\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-postgresql\">Install PostgreSQL<\/h3>\n\n\n\n<p>To install PostgreSQL on your <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu VPS<\/a>, just run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo apt-get install postgresql postgresql-contrib\n<\/code><\/pre>\n\n\n\n<p>After the PostgreSQL installation is complete, log in to the psql shell and create a new mmuser user:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo -i -u postgres\n&#91;postgres]$ psql\npostgres=# CREATE DATABASE mmdb;\npostgres=# CREATE USER mmuser WITH PASSWORD 'mmuser_password';\npostgres=# GRANT ALL PRIVILEGES ON DATABASE mmdb to mmuser;\npostgres=# \\q\n&#91;postgres]$ exit\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-mattermost\">Install Mattermost<\/h3>\n\n\n\n<p>Create a new <code>mattermost<\/code> directory and change to it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ mkdir -p \/opt\/mmuser\/mattermost\n&#91;user]$ cd \/opt\/mmuser\/mattermost\n<\/code><\/pre>\n\n\n\n<p>Download the latest stable branch of the Mattermost (At the time of the writing of this article, the stable version is 1.1)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ wget -q -O - https:\/\/github.com\/mattermost\/platform\/archive\/v1.1.0.tar.gz | tar -xzf - --strip 1 -C \/opt\/mmuser\/mattermost\n<\/code><\/pre>\n\n\n\n<p>Create the storage directory using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$  mkdir -p \/opt\/mmuser\/mattermost\/data\n<\/code><\/pre>\n\n\n\n<p>Edit the <code>config\/config.json<\/code> file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ nano \/opt\/mmuser\/mattermost\/config\/config.json\n<\/code><\/pre>\n\n\n\n<p>and change the database information as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"DriverName\": \"postgres\",\n\"DataSource\": \"postgres:\/\/mmuser:mmuser_password@127.0.0.1:5432\/mmdb?sslmode=disable&amp;connect_timeout=10\",\n<\/code><\/pre>\n\n\n\n<p><span class=\"st\"> and enter your SMTP server settings.<\/span><\/p>\n\n\n\n<p>Change ownership to mmuser user and group:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo chown mmuser: -R \/opt\/mmuser\n<\/code><\/pre>\n\n\n\n<p>Test the <a href=\"https:\/\/www.rosehosting.com\/mattermost-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Mattermost server<\/a> for the first time by typing:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo -u mmuser bin\/platform\n<\/code><\/pre>\n\n\n\n<p>You should see something like below :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;10\/16\/15 17:40:49] &#91;INFO] Starting Server...\n&#91;10\/16\/15 17:40:49] &#91;INFO] Server is listening on :8065\n<\/code><\/pre>\n\n\n\n<p>Hit CTRL-C to stop the server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-a-systemd-service\">Create a systemd service<\/h3>\n\n\n\n<p>To create a new systemd service for Mattermost, open your editor of choice<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo nano \/etc\/init\/mattermost.conf\n<\/code><\/pre>\n\n\n\n<p>and create a new file with the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>description \"Mattermost Service\"\n\nstart on filesystem or runlevel &#91;2345]\nstop on runlevel &#91;!2345]\n\nsetuid mmuser\nsetgid mmuser\n\nrespawn\n\nchdir \/opt\/mmuser\/mattermost\nexec bin\/platform\n<\/code><\/pre>\n\n\n\n<p>You can now start your Mattermost service with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo service mattermost start\n<\/code><\/pre>\n\n\n\n<p>and check the status with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo service mattermost status\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-and-configure-nginx\">Install and configure Nginx<\/h3>\n\n\n\n<p>Ubuntu 14.04 comes with Nginx version 1.4, to install the latest stable version of Nginx version 1.8, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo add-apt-repository -y ppa:nginx\/stable\n&#91;user]$ sudo apt-get update\n&#91;user]$ sudo apt-get -y install nginx\n<\/code><\/pre>\n\n\n\n<p>If you don\u2019t have a CA-signed certificate, you can generate a self-signed certificate with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo mkdir -p \/etc\/nginx\/ssl\n&#91;user]$ cd \/etc\/nginx\/ssl\n&#91;user]$ sudo openssl genrsa -des3 -passout pass:x -out mattermost.pass.key 2048\n&#91;user]$ sudo openssl rsa -passin pass:x -in mattermost.pass.key -out mattermost.key\n&#91;user]$ sudo rm mattermost.pass.key\n&#91;user]$ sudo openssl req -new -key mattermost.key -out mattermost.csr\n&#91;user]$ sudo openssl x509 -req -days 365 -in mattermost.csr -signkey mattermost.key -out mattermost.crt\n<\/code><\/pre>\n\n\n\n<p>Create a new Nginx server block<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo nano \/etc\/nginx\/sites-available\/your_mattermost_site\n<\/code><\/pre>\n\n\n\n<p>with the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server {\n    listen      443;\n    server_name your_mattermost_site;\n\n    ssl on;\n    ssl_certificate     \/etc\/nginx\/ssl\/mattermost.crt;\n    ssl_certificate_key \/etc\/nginx\/ssl\/mattermost.key;\n    ssl_session_timeout 5m;\n\n    ssl_ciphers               'AES128+EECDH:AES128+EDH:!aNULL';\n    ssl_protocols              TLSv1 TLSv1.1 TLSv1.2;\n    ssl_prefer_server_ciphers on;\n\n    access_log  \/var\/log\/nginx\/mattermost.access.log;\n    error_log   \/var\/log\/nginx\/mattermost.error.log;\n\n    location \/ {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gzip off;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header X-Forwarded-Ssl on;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_max_body_size 50M;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Upgrade $http_upgrade;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Connection \"upgrade\";\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Host $http_host;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header X-Real-IP $remote_addr;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header X-Forwarded-Proto $scheme;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header&nbsp;&nbsp; X-Frame-Options&nbsp;&nbsp; SAMEORIGIN;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass http:\/\/localhost:8065;\n    }\n}\n\nserver {\n    listen      80;\n    server_name your_mattermost_site;\n\n    add_header Strict-Transport-Security max-age=2592000;\n    rewrite ^ https:\/\/$server_name$request_uri? permanent;\n}\n<\/code><\/pre>\n\n\n\n<p>Activate the server block by creating a symbolic link :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo ln -s \/etc\/nginx\/sites-available\/your_mattermost_site \/etc\/nginx\/sites-enabled\/your_mattermost_site\n<\/code><\/pre>\n\n\n\n<p>Test the Nginx configuration and restart Nginx:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;user]$ sudo nginx -t\n&#91;user]$ sudo service nginx restart\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"final-steps\">Final steps<\/h3>\n\n\n\n<p>Open <code>http:\/\/myour_mattermost_site<\/code> in your favorite web browser and create a team and user. Administrative access is automatically granted to the first registered user.<\/p>\n\n\n\n<p>That\u2019s it. You have successfully installed Mattermost on your Ubuntu 14.04 VPS. For more information about Mattermost, please refer to the <a href=\"https:\/\/docs.mattermost.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">official Mattermost documentation<\/a>.<\/p>\n\n\n\n<p>If you&#8217;d like to learn <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mattermost-chat-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to install Mattermost Chat on Ubuntu 20.04<\/a>, we have a tutorial for that as well.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>Of course, you don\u2019t have to do any of this if you use one of our <a title=\"linux vps hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to set this up for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n\n\n\n<p><strong>PS<\/strong>. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show you how to install Mattermost on an Ubuntu 14.04 VPS with PostgreSQL and Nginx. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install Mattermost on an Ubuntu VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#more-17962\" aria-label=\"Read more about Install Mattermost on an Ubuntu VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":17967,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[942],"class_list":["post-17962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-mattermost","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install Mattermost on an Ubuntu VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Mattermost on an Ubuntu VPS using our simple step-by-step guide or have our Linux admins do it for you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Mattermost on an Ubuntu VPS\" \/>\n<meta property=\"og:description\" content=\"Install Mattermost on an Ubuntu VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-17T00:46:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-16T06:59:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Mattermost on an Ubuntu VPS\",\"datePublished\":\"2015-10-17T00:46:18+00:00\",\"dateModified\":\"2024-07-16T06:59:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/\"},\"wordCount\":448,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/install-mattermost-on-an-ubuntu-vps.jpg\",\"keywords\":[\"Mattermost\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/\",\"name\":\"Install Mattermost on an Ubuntu VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/install-mattermost-on-an-ubuntu-vps.jpg\",\"datePublished\":\"2015-10-17T00:46:18+00:00\",\"dateModified\":\"2024-07-16T06:59:16+00:00\",\"description\":\"Learn how to install Mattermost on an Ubuntu VPS using our simple step-by-step guide or have our Linux admins do it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/install-mattermost-on-an-ubuntu-vps.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/install-mattermost-on-an-ubuntu-vps.jpg\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-mattermost-on-an-ubuntu-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Mattermost on an Ubuntu VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install Mattermost on an Ubuntu VPS | RoseHosting","description":"Learn how to install Mattermost on an Ubuntu VPS using our simple step-by-step guide or have our Linux admins do it for you.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install Mattermost on an Ubuntu VPS","og_description":"Install Mattermost on an Ubuntu VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-10-17T00:46:18+00:00","article_modified_time":"2024-07-16T06:59:16+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Mattermost on an Ubuntu VPS","datePublished":"2015-10-17T00:46:18+00:00","dateModified":"2024-07-16T06:59:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/"},"wordCount":448,"commentCount":4,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg","keywords":["Mattermost"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/","name":"Install Mattermost on an Ubuntu VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg","datePublished":"2015-10-17T00:46:18+00:00","dateModified":"2024-07-16T06:59:16+00:00","description":"Learn how to install Mattermost on an Ubuntu VPS using our simple step-by-step guide or have our Linux admins do it for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/10\/install-mattermost-on-an-ubuntu-vps.jpg","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-mattermost-on-an-ubuntu-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Mattermost on an Ubuntu VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=17962"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17962\/revisions"}],"predecessor-version":[{"id":48853,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17962\/revisions\/48853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/17967"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=17962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=17962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=17962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}