Magento installation via SSH

Magento installation via SSH

The following assumes an installation version of 1.2.0.  It also makes the assumption that you do not want your installation to live in a folder named ‘magento,’ but rather your web root folder.

SSH into your server and navigation to your web root folder.  Type the following commands:

wget http://www.magentocommerce.com/downloads/assets/1.2.0/magento-1.2.0.tar.gz
tar -zxvf magento-1.2.0.tar.gz
cd magento
mv * ../
mv .htaccess ../
cd ../
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
rm -rf magento

Chances are you’ll need to use Magento Connect, so you might as well set that up to work properly now:

find . -type d -exec chmod 777 {} \;
find . -type f -exec chmod 644 {} \;

That’s it. Now you’ll need to navigate to your web root folder from your browser and get the rest setup.

DOWNLOAD SOLUTION HERE