如何在SSH上安装Magento中的扩展

时间:2015-05-11 16:19:17

标签: magento ssh centos

如何在不使用/ downloader UI的情况下将Connect 2.0扩展安装到本地开发框?如何在部署例程中编写脚本?

2 个答案:

答案 0 :(得分:0)

只是

rm -rf var/cache var/session
chmod 550 ./mage
./mage mage-setup .
./mage config-set preferred_state stable 
/*This link you get from Magento Connect*/
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force

答案 1 :(得分:0)

rm -rf var/cache var/session
chmod 550 ./mage
./mage mage-setup .
./mage config-set preferred_state stable 
/*This link you get from Magento Connect*/
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force