Skip to main content

Mautic

On this site, you find a guide to install Mautic on CloudPanel.

Creating a Mautic Site#

Via CloudPanel#

  1. Click on + Add Site and then click on Create a PHP Site.
Create a PHP Site
  1. Select the Application Mautic 4, enter Domain Name, Site User, Site User Password, and click on Create.
Create a Mautic Site

Via CloudPanel CLI#

If you like the command line, you can create a Mautic Site with the following command as root user.

clpctl site:add:php --domainName=www.domain.com --phpVersion=7.4 --vhostTemplate='Mautic 4' --siteUser='john-doe' --siteUserPassword='!secretPassword!'

Creating a Mautic Project#

  1. Log in via SSH with the Site User:
ssh john-doe@server-ip-address
  1. Go to htdocs and delete the directory which CloudPanel has created:
cd htdocs && rm -rf www.domain.com
  1. Clone the latest version from the Mautic Git Repository:
git clone -b 4.4.1 https://github.com/mautic/mautic.git ~/htdocs/www.domain.com/
Latest Version

You find the latest version on github: https://github.com/mautic/mautic/releases

  1. Install the project via Composer:
cd ~/htdocs/www.domain.com/php7.4 /usr/local/bin/composer install
  1. Create a Database, open your site in the browser, and go through the Mautic Installer.
Mautic Installer
  1. Done. Mautic has been installed.
Mautic Installed