<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mautic marketing software ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/mautic-marketing-software-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 07 Dec 2020 08:51:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Mautic Marketing Software On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-mautic-marketing-software-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-mautic-marketing-software-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 03 Nov 2020 22:36:52 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How To Install Mautic Marketing Software On Ubuntu 20.04]]></category>
		<category><![CDATA[how to tutor]]></category>
		<category><![CDATA[install mautic on ubutnu 20.04]]></category>
		<category><![CDATA[mautic marketing software ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22799</guid>

					<description><![CDATA[<p>Today we are goig to learn that how to install Mautic Marketing Software On Ubuntu 20.04. Before moving towards the installation process, let&#8217;s have a short introduction about Mautic Marketing Software. Introduction: Mautic Marketing Software is an open source powerfull marketing tool that is used to grow your business and reach more customers. As you [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mautic-marketing-software-on-ubuntu-20-04/">How To Install Mautic Marketing Software On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are goig to learn that <a href="https://www.osradar.com/?p=22799" target="_blank" rel="noreferrer noopener">how to install Mautic Marketing Software On Ubuntu 20.04</a>. Before moving towards the installation process, let&#8217;s have a short introduction about Mautic Marketing Software.</p>



<h2>Introduction:</h2>



<p>Mautic Marketing Software is an open source powerfull marketing tool that is used to grow your business and reach more customers. As you all know, marketing plays an important role in any business. If you don&#8217;t reach people it means your business is not getting good profit. </p>



<p>In this modern era comapnies and business person use different techniques in order to achieve more profit and more customers. So, today we are going to talk about such a powerful tool that can be used for marketing purposes to attain more customers or sell more products. Let&#8217;s move towards the installation process. Just follow the below steps for an easy and optimal installtion.</p>



<h3>Requirements:</h3>



<p>Here&#8217;s the list of required packages for Mautic Marketing Software Installation.</p>



<ul><li>PHP version 7.2 or above ^ less than 7.4</li><li>PHP Modules</li><li>zip, xml, mcrypt, imap, mailparse</li><li>Web Server (Apache or Nginx)</li><li>Database Server</li><li>Git</li><li>Composer</li></ul>



<h3>Step 1: Update Your System</h3>



<p>As usual we do, update your system to have the latest packages installed. To do so, hit the below command.</p>



<pre class="wp-block-verse">sudo apt update -y
And then hit the below command to install some essential packages.</pre>



<pre class="wp-block-verse">sudo apt install vim git unzip curl -y</pre>



<h3>Step 2: Install &amp; Configure Database Server</h3>



<p>To store the data you need a database server, so we&#8217;re going to use MariaDB in this guide. Mautic will use it to store data. We also have to create a database for the Mautic Marketing Software. To install MariaDB on Ubuntu 20.04 visit the below link in case you don&#8217;t have installed.</p>



<p><a href="https://www.osradar.com/how-to-install-mariadb-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How To Install MariaDB On Ubuntu 20.04</a></p>



<p>After installing the database, create a database for Mautic.</p>



<pre class="wp-block-verse">sabi@Ubuntu20:~$ <strong>sudo mysql -u root -p</strong>
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 50
Server version: 10.3.25-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]&gt; <strong>CREATE DATABASE mauticdb</strong>;
Query OK, 1 row affected (0.000 sec)
MariaDB [(none)]&gt; <strong>CREATE USER 'mauticuser'@'localhost' IDENTIFIED BY 'Your_Password';</strong>
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]&gt; <strong>GRANT ALL PRIVILEGES ON mauticdb . * TO 'mauticuser'@'localhost';</strong>
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]&gt; <strong>FLUSH PRIVILEGES;</strong>
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]&gt; <strong>exit;</strong>
<strong>Bye</strong></pre>



<h3>Step 3: Install &amp; Configure Web Server &amp; PHP</h3>



<p>As mentioned in the requirements, we need a web server for serving the web pages. So, it&#8217;s up to you to use Apache or Nginx but I&#8217;ll recommend you to use Nginx Web Server for Mautic Markeeting Software. Also, install the PHP and the required dependencies.</p>



<pre class="wp-block-verse">sudo apt install nginx -y<br>sudo apt install software-properties-common<br>sudo add-apt-repository ppa:ondrej/php<br>sudo apt update<br>sudo apt install -y php7.3<br>sudo apt install php7.3-{cli,fpm,json,common,mysql,zip,gd,mbstring,curl,xml,bcmath,imap,intl} php-pear</pre>



<p>Verify the status of PHP-fpm services.</p>



<pre class="wp-block-verse">sabi@Ubuntu20:~$ <strong>sudo systemctl status php7.3-fpm</strong>
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor p&gt;
Active: active (running) since Thu 2020-10-29 16:00:43 PKT; 12s ago
Docs: man:php-fpm7.3(8)
Process: 18795 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /r&gt;
Main PID: 18775 (php-fpm7.3)
Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0re&gt;
Tasks: 3 (limit: 3450)
Memory: 11.4M
CGroup: /system.slice/php7.3-fpm.service
├─18775 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
├─18793 php-fpm: pool www
└─18794 php-fpm: pool www
اکتوبر 29 16:00:43 Ubuntu20 systemd[1]: Starting The PHP 7.3 FastCGI Process M&gt;
اکتوبر 29 16:00:43 Ubuntu20 systemd[1]: Started The PHP 7.3 FastCGI Process Ma&gt;
lines 1-16/16 (END)</pre>



<h3>Step 4: Configure PHP with Mautic Recommended Settings</h3>



<p>Edit the <strong>php.ini</strong> file under <strong>/etc/php/7.3/fpm/</strong> directory and setup the timezone.</p>



<pre class="wp-block-verse">sudo nano /etc/php/7.3/fpm/php.ini</pre>



<p>And then set the Memory limit to 512M and save the file.</p>



<p>Now, make some changes to the Nginx to configure it with Mautic. Switch to the <strong>/etc/nginx/sites-enaled/ </strong>directory and backup the default file. After backup, create a new file.</p>



<pre class="wp-block-verse">cd /etc/nginx/sites-enabled/
sudo mv default /tmp
sudo vim /etc/nginx/sites-enabled/mautic.conf</pre>



<p>Then paste the below content in the newly created file.</p>



<pre class="wp-block-verse">server {
listen 80 default_server;
listen [::]:80 default_server;
server_name example.com;
root /var/www/html/mautic;
index index.html index.htm index.php;

location / {
try_files $uri /index.php$is_args$args;
}

location ~ .php$ {
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_read_timeout 240;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_split_path_info ^(.+.php)(/.+)$;
}
rewrite ^themes/.<em>/(layouts|pages|partials)/.</em>.htm /index.php break;
rewrite ^bootstrap/.* /index.php break;
rewrite ^config/.* /index.php break;
rewrite ^vendor/.* /index.php break;
rewrite ^storage/cms/.* /index.php break;
rewrite ^storage/logs/.* /index.php break;
rewrite ^storage/framework/.* /index.php break;
rewrite ^storage/temp/protected/.* /index.php break;
rewrite ^storage/app/uploads/protected/.* /index.php break;
}</pre>



<p>Swith to the root directory where Webserver will check for the Mautic files &amp; clone the mautic files. You can change the directory according to your needs.</p>



<pre class="wp-block-verse">cd /var/www/html/
sudo git clone https://github.com/mautic/mautic.git</pre>



<p>After cloning the files, install the composer. To install it, hit the below command in your terminal.</p>



<pre class="wp-block-verse">cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=1.0.0-alpha8</pre>



<p>Verify the installation by typing</p>



<pre class="wp-block-verse">sabi@Ubuntu20:~$ composer -V
Composer version 1.0.0-alpha8 2014-01-06 18:39:59
</pre>



<p>Once installtion is successful, switch to root directory &amp; run the composer install.</p>



<pre class="wp-block-verse">cd /var/www/html/mautic<br>sudo composer install</pre>



<p>It&#8217;ll take some time to complete the process.</p>



<p>And then change the Mautic&#8217;s files permissions to Nginx.</p>



<pre class="wp-block-verse">sudo chown -R www-data:www-data /var/www/html/mautic/
sudo chmod -R 755 /var/www/html/mautic/</pre>



<p>Restart php-fpm services.</p>



<p>sudo systemctl restart nginx php7.3-fpm</p>



<h3>Step 5: Finish Mautic Installation Via Web Panel</h3>



<p>Type the IP address or domain name to launch the Mautic web dashboard. You&#8217;ll see the welcome page. Here you can see the recommendations to apply if you want otherwise click on the &#8220;<strong>Next Step</strong>&#8221; button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="450" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/1-1024x450.jpg" alt="How To Install Mautic Marketing Software On Ubuntu 20.04" class="wp-image-25103" srcset="https://www.osradar.com/wp-content/uploads/2020/11/1-1024x450.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/11/1-300x132.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/11/1-768x337.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/11/1-1536x675.jpg 1536w, https://www.osradar.com/wp-content/uploads/2020/11/1-696x306.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/11/1-1068x469.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/11/1.jpg 1898w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>On the next page provide Database details we&#8217;ve created earlier for Mautic and in the left bottom click on <strong>&#8220;No&#8221;</strong> (as we&#8217;ve not created database tables). And then, click on <strong>&#8220;Next Step&#8221;</strong> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="496" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2-1024x496.jpg" alt="How To Install Mautic Marketing Software On Ubuntu 20.04" class="wp-image-25104" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2-1024x496.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/11/2-300x145.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/11/2-768x372.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/11/2-1536x743.jpg 1536w, https://www.osradar.com/wp-content/uploads/2020/11/2-696x337.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/11/2-1068x517.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/11/2.jpg 1899w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, type your admin details alongwith email address and move to the next page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1889" height="927" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/3-1024x503.jpg" alt="" class="wp-image-25105" srcset="https://www.osradar.com/wp-content/uploads/2020/11/3-1024x503.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/11/3-300x147.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/11/3-768x377.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/11/3-1536x754.jpg 1536w, https://www.osradar.com/wp-content/uploads/2020/11/3-696x342.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/11/3-1068x524.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/11/3.jpg 1889w" sizes="(max-width: 1889px) 100vw, 1889px" /></figure>



<p>Next, provide your Mail Settings, and clik on <strong>&#8220;Next Setup&#8221;</strong>.And enter your admin credentials to login to the web dashboard. So, here you can add new comapigns, contacts and configure much more.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="488" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/6-1024x488.jpg" alt="How To Install Mautic Marketing Software On Ubuntu 20.04" class="wp-image-25106" srcset="https://www.osradar.com/wp-content/uploads/2020/11/6-1024x488.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/11/6-300x143.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/11/6-768x366.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/11/6-696x331.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/11/6-1068x509.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/11/6.jpg 1344w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>Step 6: Add Cron Jobs for Mautic</h3>



<p>As Mautic needs some cron jobs for handling the maintenance process and updating the compaigns and actions, so do it with the help of below cron job. You can also customize it according to your own needs.</p>



<pre class="wp-block-verse">sudo crontab -e
*/10 * * * 1 php /var/www/html/mautic/app/console mautic:segments:update &gt;&gt; /var/log/cronmautic.log 2&gt;&amp;1
*/20 * * * 3 php /var/www/html/mautic/app/console mautic:campaigns:update &gt;&gt; /var/log/cronmautic.log 2&gt;&amp;1
*/30 * * * 5 php /var/www/html/mautic/app/console mautic:campaigns:trigger &gt;&gt; /var/log/cronmautic.log 2&gt;&amp;1</pre>



<p>You can set your own time to run cron jobs. Here I&#8217;ll list the basic info.</p>



<pre class="wp-block-verse">.---------------- minute (0 - 59)
| .------------- hour (0 - 23)
| | .---------- day of month (1 - 31)
| | | .------- month (1 - 12) OR jan,feb,mar,apr …
| | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
| | | | |
* * * * * user-name command to be executed</pre>



<p>So, this is how you can install Mautic Marketing Software on Ubuntu 20.04.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mautic-marketing-software-on-ubuntu-20-04/">How To Install Mautic Marketing Software On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-mautic-marketing-software-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
