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

How to install extensions in Magento on SSH

如何在不使用 /downloader UI 的情况下将 Connect 2.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
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