sudo git clone https:\/\/github.com\/mautic\/mautic.git<\/code><\/pre>\r\n\r\n\r\n\r\nNow Install Mautic by running the following commands:<\/p>\r\n\r\n\r\n\r\n
cd \/var\/www\/html\/mautic\r\n\r\nsudo composer instal<\/pre>\r\n\r\n\r\n\r\nAfter the installation finishes, get the permission to set some files by running the following commands.<\/p>\r\n\r\n\r\n\r\n
sudo chown -R www-data:www-data \/var\/www\/html\/mautic\/\r\n\r\nsudo chmod -R 755 \/var\/www\/html\/mautic\/<\/code><\/pre>\r\n\r\n\r\n\r\nConfigure Apache2 Web Server<\/strong><\/h4>\r\n\r\n\r\n\r\nNow we\u2019ve installed the Mautic. So, you\u2019ve to configure Apache to access the Mautic by using your domain name. How To Build And Configure Mautic 3.<\/p>\r\n\r\n\r\n\r\n
In order to do so first follow the below steps:<\/p>\r\n\r\n\r\n\r\n
\r\n- Open WinSCP again and navigate to this directory:\u00a0\/etc\/apache2\/sites-available\/.<\/strong><\/li>\r\n
- Then, create a new file and name it \u201cmautic.example.com.conf\u201d<\/strong> to change your domain.<\/li>\r\n
- Create mautic.conf<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n