Install & Setup ElasticSearch 
Author: Josef Jezek
Check Download page for latest version of ElasticSearch and update VERSION
| <?php | |
| /* | |
| OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
| Author: _ck_ (with contributions by GK, stasilok) | |
| Version: 0.1.7 | |
| Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
| * revision history | |
| 0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
| 0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |

Author: Josef Jezek
Check Download page for latest version of ElasticSearch and update VERSION
| <?php | |
| /** | |
| * Drop this into the shell directory in the Magento root and run with -h to see all options. | |
| */ | |
| require_once 'abstract.php'; | |
| /** | |
| * Fix duplicate url keys for categories and products to work with the 1.8 alpha1 CE url key constraints. |
| <?php | |
| /** | |
| * Drop this into the shell directory in the Magento root and run without any arguments. | |
| */ | |
| require_once 'abstract.php'; | |
| /** | |
| * Clean up the 1.6.1 sample data to work with the 1.8 CE url key constraints. |
| #!/usr/bin/env php | |
| <?php | |
| /* | |
| Copyright 2013 Stuart Carnie and other contributors | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to |
| DELETE eav_attribute_option_value FROM eav_attribute_option,eav_attribute_option_value WHERE eav_attribute_option.attribute_id > 133 and eav_attribute_option.option_id = eav_attribute_option_value.option_id; | |
| DELETE FROM eav_attribute WHERE attribute_id > 133; | |
| DELETE FROM eav_attribute_label WHERE attribute_id > 133; | |
| DELETE FROM eav_attribute_option WHERE attribute_id > 133; | |
| DELETE FROM eav_attribute_group WHERE attribute_set_id > 25; |
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE_AFL.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php |
| // --- Compiling --- | |
| $ wget http://download.redis.io/releases/redis-2.8.3.tar.gz | |
| $ tar xzvf redis-2.8.3.tar.gz | |
| $ cd redis-2.8.3 | |
| $ make | |
| $ make install | |
| // --- or using yum --- | |
| $ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| $ rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm |
| Magento Overrride with patch for fixing the db deadlock error issue | |
| FILE PATH: | |
| /var/www/dev.linentablecloth.com/app/code/local/Mage/Sales/Model/Abstract.php | |
| SOURCE CODE: | |
| <?php | |
| /** |