Skip to content

Instantly share code, notes, and snippets.

👨‍🍳
Deploying Auto-Scalable Magento Cluster

MagenX magenx

👨‍🍳
Deploying Auto-Scalable Magento Cluster
Block or report user

Report or block magenx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:07503580876a372b2b54
#!/bin/bash
### System Setup ###
DIRS="/var/www/shop/public_html"
BACKUP=/tmp/backup.$$
NOW=$(date +"%d-%m-%Y")
DELDATE=$(date -d "-7 days" +"%d-%m-%Y")
### MySQL Setup ###
MUSER="xxx"
View multipatch-7405.sh
#!/bin/bash
updatedb
PATCH1620="https://gist.githubusercontent.com/magenx/ee00c33a95a5c1d43100/raw/f4932a762d7bc344caf02d2446c87aa9cd797348/PATCH_SUPEE-7405_CE_1.6.2.0_v1-2016-01-20-06-27-39.sh"
PATCH1700="https://gist.githubusercontent.com/magenx/ebd84626fab92f1096e4/raw/a23ff3c029178e4ccd1f460670a224311c334948/PATCH_SUPEE-7405_CE_1.7.0.2_v1-2016-01-20-04-58-44.sh"
PATCH1701="https://gist.githubusercontent.com/magenx/ebd84626fab92f1096e4/raw/a23ff3c029178e4ccd1f460670a224311c334948/PATCH_SUPEE-7405_CE_1.7.0.2_v1-2016-01-20-04-58-44.sh"
PATCH1702="https://gist.githubusercontent.com/magenx/ebd84626fab92f1096e4/raw/a23ff3c029178e4ccd1f460670a224311c334948/PATCH_SUPEE-7405_CE_1.7.0.2_v1-2016-01-20-04-58-44.sh"
PATCH1800="https://gist.githubusercontent.com/magenx/72e4355b8eb7cd7abe54/raw/d2fbcd1c66e918e9d91603b6c0eaa59519d3f3b7/PATCH_SUPEE-7405_CE_1.8.0.0_v1-2016-01-20-04-48-23.sh"
PATCH1810="https://gist.githubusercontent.com/magenx/60c145ebe678391e6a35/raw/90dbc95ffaea56e96383729fa12d4d831ee2a25e/PATCH_SUPEE-
View PATCH_SUPEE-7405_CE_1.9.0.1_v1-2016-01-20-04-45-14.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.9.2.2_v1-2016-01-20-04-35-33.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.9.1.1_v1-2016-01-20-04-42-03.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.8.1.0_v1-2016-01-20-04-47-00.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.8.0.0_v1-2016-01-20-04-48-23.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.7.0.2_v1-2016-01-20-04-58-44.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View PATCH_SUPEE-7405_CE_1.6.2.0_v1-2016-01-20-06-27-39.sh
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
View Load bad ip addresses to cloudflare api
cat iptocf.txt
27.153.185.20
220.168.125.60
202.101.111.137
.....
#!/bin/bash
You can’t perform that action at this time.