Skip to content

Instantly share code, notes, and snippets.

@LinauxTerminology
Last active March 7, 2021 17:15
Show Gist options
  • Save LinauxTerminology/9815fa62b3c9b4d252e9fe533fc5455d to your computer and use it in GitHub Desktop.
Save LinauxTerminology/9815fa62b3c9b4d252e9fe533fc5455d to your computer and use it in GitHub Desktop.
I Will Do Mautic Install Linux
If youu need Mautic Setup in Linux contact with me:
Email: [email protected]
Skype: https://join.skype.com/VOgbAxZNCAFi
Telegram: https://t.me/LinauxTerminology
WhatsApp: +8801408694088
Imo: +8801408694088
YouTube: https://youtu.be/OEcO0v0i8x4
twiteer:https://twitter.com/LinauxTerminoal
facebook:https://www.facebook.com/LinauxTerminology
bip:01314582960
instagram:[email protected]
===========================================================================================================
-------- Install Mautic in ubuntu -------
sudo apt update -y
sudo apt-get upgrade -y
sudo apt upgrade -y
sudo apt -f install
sudo apt autoremove -y
sudo apt -y autoclean
sudo apt -y clean
sudo apt update
sudo apt update && sudo apt upgrade
sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
sudo apt-get install apache2
apache2 -v
sudo service apache2 start
sudo systemctl enable apache2
sudo service apache2 restart
# Visit: http://localhost/
# Install Mysql
sudo apt install mysql-server
# Create Mautic Database
sudo mysql -u root -p
CREATE DATABASE mautic DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON mautic.* TO 'muser'@'localhost' IDENTIFIED BY 'M@Utic786';
FLUSH PRIVILEGES;
EXIT;
sudo service mysql restart
#Install PHP
sudo apt update
sudo apt install php7.4
# For save & exit ctrl+s and ctrl+x
sudo systemctl restart apache2.service
# test PHP 7.4 settings
sudo nano /var/www/html/phpinfo.php
# add
<?php phpinfo( ); ?>
http://localhost/phpinfo.php
# Install PHPmyAdmin
sudo apt update
sudo apt install phpmyadmin
# visit: http://localhost/phpmyadmin/
# Clone Mautic
curl -sS https://getcomposer.org/installer | sudo php
# Configure Apache2
sudo touch /etc/apache2/sites-available/mautic.conf
sudo nano /etc/apache2/sites-available/mautic.conf
# copy & paste
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/mautic
ServerName localhost
ServerAlias www.example.com
<Directory /var/www/html/mautic/>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#Enable the Mautic
sudo a2ensite mautic.conf
sudo a2enmod rewrite
sudo systemctl restart apache2.service
# Enjoy http://localhost/mautic/
# use Database user name Password during installation
#MAUTIC #Apache #MySQL #PHP 7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment