Mautic is free and open source marketing automation application that can be used to save time and increase sales. You can also integrate mautic with various email services like Gmail, Sendgrid and Mandrill.
In this tutorial we will learn how to install Mautic on Ubuntu 16.04 server.
A server running Ubuntu-16.04.
A non-root user with sudo privileges setup on your server.
Update the System
First, you will need to update the system with latest version of Ubuntu. You can do this with the following command:
sudo apt-get update -ysudo apt-get upgrade -y
Installing LEMP Stack
Before starting, you will need to install the Nginx web server, PHP and MariaDB as a prerequisite of Mautic.
You can install this by running the following command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libaio1 libcgi-fast-perl libcgi-pm-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libgd3 libhtml-parser-perl
Once installation is complete, start Nginx server and enable it to start on boot:
You can see the status of Nginx and MariaDB with the following command:
sudo systemctl status nginx
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-11-13 23:42:09 IST; 2min 48s ago
Main PID: 17443 (nginx)
├─17443 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
└─17444 nginx: worker process
Nov 13 23:42:09 Node1 systemd: Starting A high performance web server and a reverse proxy server...
Nov 13 23:42:09 Node1 systemd: Started A high performance web server and a reverse proxy server.
Nov 13 23:44:21 Node1 systemd: Started A high performance web server and a reverse proxy server.
sudo systemctl status mysql
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: active (running) since Sun 2016-11-13 23:42:05 IST; 3min 21s ago
├─17081 /bin/bash /usr/bin/mysqld_safe
├─17082 logger -p daemon err -t /etc/init.d/mysql -i
├─17226 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-fi
└─17227 logger -t mysqld -p daemon error
If MariaDB is not running, start it with the following command:
sudo systemctl start mysql
Then, enable MariaDB service to start at boot with the following command:
sudo systemctl enable mysql
Next, you will need to secure MariaDB because default MariaDb installation is not secured.
You can secure it by running the mysql_secure_installation script:
Answer all the questions as shown below:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
First, you will need to download the latest version of Mautic from it's official website.
Otherwise, you can download it with the following command:
The downloaded file is a zip archive. You can extract it using unzip command:
You can create an email email filters through your cPanel control panel which is where you manage your hosting account. Email filters can be set up to target specific word, subject, from or to. Emails that are filtered out can be sent to a different email, deleted, delivered to a...
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...