sasha2002 Blog's

Just another blog from admin's

Установка Redis server для Debian —

1. Устанавливаем modman :
bash < <(wget -O –
2. С помощью modman устанавливаем модуль для Magentoo :
cd /your/home/of/app/
/root/bin/modman init
/root/bin/modman clone git://

3. Настраиваем app/etc/local.xml :
4. Чистим кэш и тестируем настройки :
php .modman/Cm_RedisSession/migrateSessions.php –test
5. Меняем в app/etc/local.xml :
<session_save> на
6. Мигрируем уже созданные сессии в redis :
cd /var/www # Magento installation root
touch maintenance.flag # Enter maintenance mode
sleep 2 # Allow any running processes to complete
# This will copy sessions into redis and clear the config cache so local.xml changes will take effect
sudo php .modman/Cm_RedisSession/migrateSessions.php -y
rm maintenance.flag # All done, exit maintenance mode

Categorised as: Linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.