Magento Community Edition es una plataforma de comercio electrónico flexible y rica en funciones. Redis mejora el rendimiento al mantener caché y sesiones en memoria.
Descargar Magento
cd /root/ wget https://www.magentocommerce.com/downloads/assets/1.9.0.1/magento-1.9.0.1.tar.gz tar -xzvf magento-1.9.0.1.tar.gz mv /root/magento /var/www/html/magento/ chown www-data:www-data -R /var/www/html/magento/ cd /var/www/html/magento chmod -R o+w app/etc/ chmod -R o+w var/ chmod -R o+w media/
Crear base de datos e instalar Redis
mysql -u root -p create database magentodb; GRANT ALL PRIVILEGES ON magentodb.* TO magento@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION; flush privileges;
apt-get install redis-server apt-get install php5-dev pecl pecl install redis
Configurar Apache y Redis
Crea el virtual host, habilita los módulos redis y mcrypt, activa el manejador de sesión Redis y añade el bloque de caché Redis en local.xml. Limpia caché y sesiones antiguas.