Skip to content

Instantly share code, notes, and snippets.

@katzueno
Last active September 7, 2022 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save katzueno/77b18eb0aa6acca1678bc851572f8874 to your computer and use it in GitHub Desktop.
Save katzueno/77b18eb0aa6acca1678bc851572f8874 to your computer and use it in GitHub Desktop.
Mautic Installation

Mautic Install Shell Script

Install MySQL

mysql-ctl start
mysql-ctl cli
CREATE USER 'mautic'@'127.0.0.1' IDENTIFIED BY 'mautic';
GRANT ALL PRIVILEGES ON *.* TO 'mautic'@'127.0.0.1' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit;

V1.4.1

curl https://gist.githubusercontent.com/katzueno/77b18eb0aa6acca1678bc851572f8874/raw/5ed4c1c648cf7c0d915f6b322ac469f7e003815c/install-mautic-cloud9.sh | bash
sh install-mautic-cloud9.sh

V2.0

curl https://gist.githubusercontent.com/katzueno/77b18eb0aa6acca1678bc851572f8874/raw/f4e48af5a24f6d2f1b0b516b6bcdc4619ce2a138/install-mautic2-0-cloud9.sh | bash

V2.9.1

curl https://gist.githubusercontent.com/katzueno/77b18eb0aa6acca1678bc851572f8874/raw/579e16a12e98599561292f393a7ed6b3ff5b060d/install-mautic2-9-0-cloud9.sh  | bash
#!/bin/bash
#
# Mautic Installation Shell to Cloud9:
# ----------
# Version 0.1
# By katzueno
# INSTRUCTION:
# ----------
# TBA
# USE IT AT YOUR OWN RISK!
# VARIABLES
# ----------
DOWNLOAD_URL="https://github.com/mautic/mautic/archive/1.4.1.zip"
DESTINATION="/home/ubuntu/workspace"
VERSION='1.4.1'
INSTALL_PHPMYADMIN="yes"
# EXEC
# ----------
cd ${DESTINATION}
if [ "$INSTALL_PHPMYADMIN" = "yes" ]; then
phpmyadmin-ctl install
fi
wget ${DOWNLOAD_URL}
unzip ${VERSION}.zip
mv mautic-${VERSION}/* ./
rm -rf mautic-${VERSION}
composer install
#!/bin/bash
#
# Mautic Installation Shell to Cloud9:
# ----------
# Version 0.1
# By katzueno
# INSTRUCTION:
# ----------
# TBA
# USE IT AT YOUR OWN RISK!
# VARIABLES
# ----------
DOWNLOAD_URL="https://github.com/mautic/mautic/archive/2.0.0.zip"
DESTINATION="/home/ubuntu/workspace"
VERSION='2.0.0'
INSTALL_PHPMYADMIN="yes"
# EXEC
# ----------
cd ${DESTINATION}
if [ "$INSTALL_PHPMYADMIN" = "yes" ]; then
phpmyadmin-ctl install
fi
wget ${DOWNLOAD_URL}
unzip ${VERSION}.zip
mv mautic-${VERSION}/* ./
rm -rf mautic-${VERSION}
composer install
#!/bin/bash
#
# Mautic Installation Shell to Cloud9:
# ----------
# Version 0.1
# By katzueno
# INSTRUCTION:
# ----------
# TBA
# USE IT AT YOUR OWN RISK!
# VARIABLES
# ----------
DOWNLOAD_URL="https://github.com/mautic/mautic/archive/2.9.0.zip"
DESTINATION="/home/ubuntu/workspace"
VERSION='2.9.0'
INSTALL_PHPMYADMIN="yes"
# EXEC
# ----------
cd ${DESTINATION}
if [ "$INSTALL_PHPMYADMIN" = "yes" ]; then
phpmyadmin-ctl install
fi
wget ${DOWNLOAD_URL}
unzip ${VERSION}.zip
mv mautic-${VERSION}/* ./
rm -rf mautic-${VERSION}
composer install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment