{"id":40,"date":"2019-11-02T10:11:48","date_gmt":"2019-11-02T10:11:48","guid":{"rendered":"http:\/\/otb.agency\/?p=40"},"modified":"2020-10-21T06:07:06","modified_gmt":"2020-10-21T06:07:06","slug":"mautic-installation","status":"publish","type":"post","link":"https:\/\/otb.agency\/?p=40","title":{"rendered":"Mautic installation"},"content":{"rendered":"<p>Welcome to part 2 of the Mautic installation series. In the previous part, we were preparing our fresh Ubuntu 18.04 server for hosting open-source marketing automation platform Mautic. In case you missed it, check out the part 1, <a href=\"https:\/\/otb.agency\/mautic\/configuring-ubuntu-18-04-for-mautic-hosting\/\" target=\"_blank\" rel=\"noopener noreferrer\">Configuring Ubuntu 18.04 for Mautic hosting<\/a>.<\/p>\n<h2>Downloading Mautic files<\/h2>\n<p>Now, we are stepping into the installation procedure and initial configuration. For that, we will have to get back to the terminal one more time, before the installation.<\/p>\n<p>So, you need to ssh to your server<\/p>\n<p><code class=\"language-bash\">ssh user@server-ip<\/code><\/p>\n<p>If you created phpinfo file from the previous article, you will first need to remove it and then enter your <strong>htdocs<\/strong> folder on the server<\/p>\n<pre><code class=\"language-bash\">sudo rm -rf \/var\/www\/mautic.yourdomain.com\/htdocs\/*\r\ncd \/var\/www\/mautic.yourdomain.com\/htdocs<\/code><\/pre>\n<p>Head over to <a href=\"https:\/\/github.com\/mautic\/mautic\/releases\" target=\"_blank\" rel=\"noopener noreferrer\">Mautic GitHub repository<\/a> and download the latest release (at the time of writing, the most recent version is 2.15.3).<\/p>\n<pre><code class=\"language-bash\">sudo wget https:\/\/github.com\/mautic\/mautic\/releases\/download\/2.15.3\/2.15.3.zip\r\nsudo unzip 2.15.3.zip\r\nsudo rm -rf 2.15.3.zip<\/code><\/pre>\n<p>After that, let&#8217;s change the owner of the files from\u00a0<strong>root<\/strong> to\u00a0<strong>www-data<\/strong> to avoid any errors running the app.<\/p>\n<pre><code class=\"language-bash\">cd \/var\/www\/mautic.yourdomain.com\/\r\nsudo chown -R www-data:www-data htdocs\/*<\/code><\/pre>\n<p>With this complete, you can terminate your terminal session and navigate to <strong>https:\/\/mautic.yourdomain.com<\/strong> in your browser. If you followed all the steps from the previous article, you should be presented with the following screen, informing you that your server \u00a0is all set up for installing Mautic.<\/p>\n<figure id=\"attachment_87\" aria-describedby=\"caption-attachment-87\" style=\"width: 3200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-87\" src=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01.png\" alt=\"Mautic ready to install\" width=\"3200\" height=\"1800\" srcset=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01.png 3200w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-300x169.png 300w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-768x432.png 768w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-1024x576.png 1024w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-1080x608.png 1080w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-1280x720.png 1280w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-980x551.png 980w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-01-480x270.png 480w\" sizes=\"auto, (max-width: 3200px) 100vw, 3200px\" \/><\/a><figcaption id=\"caption-attachment-87\" class=\"wp-caption-text\">Mautic ready to install<\/figcaption><\/figure>\n<h2>Installing Mautic<\/h2>\n<p>In order to install Mautic, you will be guided through 3 simple steps:<\/p>\n<ul>\n<li>Configure database connection<\/li>\n<li>Create administrator user<\/li>\n<li>Configure email transport<\/li>\n<\/ul>\n<p>So let&#8217;s jump right into it.<\/p>\n<h3>Database information<\/h3>\n<p>On the first screen, the installer will ask you for the database name, user and password. If you remember, that information we have from our previous post. Fill in the data required and proceed to the next step.<\/p>\n<figure id=\"attachment_88\" aria-describedby=\"caption-attachment-88\" style=\"width: 3200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-88\" src=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration.png\" alt=\"Database information\" width=\"3200\" height=\"1800\" srcset=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration.png 3200w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-300x169.png 300w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-768x432.png 768w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-1024x576.png 1024w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-1080x608.png 1080w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-1280x720.png 1280w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-980x551.png 980w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-02-database-configuration-480x270.png 480w\" sizes=\"auto, (max-width: 3200px) 100vw, 3200px\" \/><\/a><figcaption id=\"caption-attachment-88\" class=\"wp-caption-text\">Database information<\/figcaption><\/figure>\n<h3>Admin user<\/h3>\n<p>The following screen will ask you to enter the information for the admin user. This will be the first user in the system, however, in Mautic you can create as many users as you need, with different roles and permissions level. In most cases, if you are a small business, you will likely need only one user with all privileges. Like with any passwords, try to make it strong and unique. For this, I suggest again, use <a href=\"https:\/\/strongpasswordgenerator.com\" target=\"_blank\" rel=\"noopener noreferrer\">strongpasswordgenerator.com<\/a> to create a random password and keep it somewhere safe.<\/p>\n<h3>Email configuration<\/h3>\n<p>The final step in the installation is configuring the email transport system. Since we are going to use Amazon Simple Email System, we can forward with default configuration since I will cover complete configuration in the next article.<\/p>\n<figure id=\"attachment_90\" aria-describedby=\"caption-attachment-90\" style=\"width: 3200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-90\" src=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration.png\" alt=\"Email configuration\" width=\"3200\" height=\"1800\" srcset=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration.png 3200w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-300x169.png 300w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-768x432.png 768w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-1024x576.png 1024w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-1080x608.png 1080w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-1280x720.png 1280w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-980x551.png 980w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-04-email-configuration-480x270.png 480w\" sizes=\"auto, (max-width: 3200px) 100vw, 3200px\" \/><\/a><figcaption id=\"caption-attachment-90\" class=\"wp-caption-text\">Email configuration<\/figcaption><\/figure>\n<h3>Congratulations<\/h3>\n<p>At this stage, your Mautic installation is now complete and you are presented with login screen.<\/p>\n<figure id=\"attachment_91\" aria-describedby=\"caption-attachment-91\" style=\"width: 3200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-91\" src=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer.png\" alt=\"Mautic login screen\" width=\"3200\" height=\"1800\" srcset=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer.png 3200w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-300x169.png 300w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-768x432.png 768w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-1024x576.png 1024w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-1080x608.png 1080w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-1280x720.png 1280w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-980x551.png 980w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-05-finished-installer-480x270.png 480w\" sizes=\"auto, (max-width: 3200px) 100vw, 3200px\" \/><\/a><figcaption id=\"caption-attachment-91\" class=\"wp-caption-text\">Mautic login screen<\/figcaption><\/figure>\n<p>And if you login with the credentials you created in Step 2 of the installer, you will be presented with the Mautic dashboard. The one you should be seeing a lot in the future \ud83d\ude42<\/p>\n<figure id=\"attachment_92\" aria-describedby=\"caption-attachment-92\" style=\"width: 3200px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-92\" src=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard.png\" alt=\"Mautic dashboard\" width=\"3200\" height=\"1800\" srcset=\"https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard.png 3200w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-300x169.png 300w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-768x432.png 768w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-1024x576.png 1024w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-1080x608.png 1080w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-1280x720.png 1280w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-980x551.png 980w, https:\/\/otb.agency\/wp-content\/uploads\/2019\/11\/mautic-installer-06-dashboard-480x270.png 480w\" sizes=\"auto, (max-width: 3200px) 100vw, 3200px\" \/><\/a><figcaption id=\"caption-attachment-92\" class=\"wp-caption-text\">Mautic dashboard<\/figcaption><\/figure>\n<p>That&#8217;s all folks. I&#8217;ll see you in the next article where we will cover configuring Mautic to send emails via Amazon Simple Email Service, as well as managing bounces and complaints via Amazon Simple Notification Service.<\/p>\n<p>Peace \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to part 2 of the Mautic installation series. In the previous part, we were preparing our fresh Ubuntu 18.04 server for hosting open-source marketing automation platform Mautic. In case you missed it, check out the part 1, Configuring Ubuntu 18.04 for Mautic hosting. Downloading Mautic files Now, we are stepping into the installation procedure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-mautic"],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Goran \u0106ulibrk","author_link":"https:\/\/otb.agency\/?author=1"},"uagb_comment_info":10,"uagb_excerpt":"Welcome to part 2 of the Mautic installation series. In the previous part, we were preparing our fresh Ubuntu 18.04 server for hosting open-source marketing automation platform Mautic. In case you missed it, check out the part 1, Configuring Ubuntu 18.04 for Mautic hosting. Downloading Mautic files Now, we are stepping into the installation procedure&hellip;","_links":{"self":[{"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/otb.agency\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":6,"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/otb.agency\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/otb.agency\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otb.agency\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otb.agency\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}