Skip to content

Instantly share code, notes, and snippets.

View raybogman's full-sized avatar

Ray Bogman raybogman

  • Magento
  • Amsterdam
View GitHub Profile
wget -qO- https://get.docker.com/ | sh
curl -L "https://github.com/docker/compose/releases/download/1.13.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Linux:
wget -qO- https://get.docker.com/ | sh
curl -L "https://github.com/docker/compose/releases/download/1.13.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
############################################################
https://www.section.io/magento/magento2/
https://marketplace.magento.com/sectionio-metrics.html
############################################################
Make sure u got a running Magento 2 site.
############################################################
#!/bin/bash
#Owner + Group dir
user="cdn01"
# Directory for the backup
dir1="/home/magento/domains/magento-speed.com/public_html/media"
dir2="/home/magento/domains/magento-speed.com/public_html/js"
dir3="/home/magento/domains/magento-speed.com/public_html/skin"