Skip to content

Instantly share code, notes, and snippets.

View tongdaitructuyen's full-sized avatar

Martino Hugo tongdaitructuyen

View GitHub Profile
@tongdaitructuyen
tongdaitructuyen / Step 1 - Mautic v3 Update
Created December 22, 2020 02:31
Update Mautic V3 - 1
csf -x
service crond stop
@tongdaitructuyen
tongdaitructuyen / picker.php
Created December 22, 2020 02:23
wpdownloadmanager: The API developer key is invalid
setDeveloperKey('')
@tongdaitructuyen
tongdaitructuyen / Install Mautic on CentOS 7 - 8
Created May 19, 2020 08:39
Install Mautic on CentOS 7 - 8
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
sudo yum install MariaDB-server MariaDB-client -y
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service
@tongdaitructuyen
tongdaitructuyen / Install Mautic on CentOS 7 - 7
Created May 19, 2020 08:38
Install Mautic on CentOS 7 - 7
sudo systemctl start httpd.service
sudo systemctl enable httpd.service
sudo sed -i "s/Options Indexes FollowSymLinks/Options FollowSymLinks/" /etc/httpd/conf/httpd.conf
@tongdaitructuyen
tongdaitructuyen / Install Mautic on CentOS 7 - 4
Created May 19, 2020 08:36
Install Mautic on CentOS 7 - 4
sudo sed -i 's/^/#&/g' /etc/httpd/conf.d/welcome.conf
@tongdaitructuyen
tongdaitructuyen / Mautic on CentOS 7 - 3
Created May 19, 2020 08:35
Mautic on CentOS 7 - 3
sudo yum install httpd -y
sudo yum install epel-release -y
sudo yum update -y && sudo shutdown -r now
sudo dd if=/dev/zero of=/swapfile count=2048 bs=1M
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab