Install magento via ssh

If you upload magento via FTP then it is taken too much time to upload I describe here simple step to download magento on direct your server create install ready magento via ssh
step :1 download putty software it is help to access your server via ssh
step:2 in putty give host or ip address and give port then click on open button it will open window
give credential of your server now you are in server. To check current directory give command

pwd
 

For check directory listing give command

 ls – l 

And for change directory give command

 cd direcotryname

For install magento on your root directory give command

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

Optionally delete the download file and empty directory from the extracted files:

rm -rf magento/ magento-1.4.2.0.tar.gz

If you want to install magento in subdirectory create directory or change directory and do same.

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

Speak Your Mind

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: