Jump to content

大清河

Sign in to follow this  
  • entries
    4
  • comment
    1
  • views
    267

INSTALLING MAGENTO 1.8.1.0 VIA SSH

z2

105 views

Get the latest version of Magento

wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz

Unpack the downloaded package

tar -zxvf magento-1.8.1.0.tar.gz

When you unpack Magento it will be contained within a folder called /magento the following command will move the contents of that directory to your current directory

mv magento/* magento/.htaccess .

Now adjust the permissions on the var and media directories

chmod -R o+w media var

The same applies to the app/etc directories

chmod o+w app/etc

To reduce the space taken up by Magento you can delete the download of magento 1.8.1.0 as this is no longer needed.

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



1 Comment


Recommended Comments

mkdir mage_test
cd mage_test
wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz
wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz
tar -zxvf magento-1.8.1.0.tar.gz
tar -zxvf magento-sample-data-1.6.1.0.tar.gz
mv magento-sample-data-1.6.1.0/media/* magento/media/
mv magento-sample-data-1.6.1.0/magento_sample_data_for_1.6.1.0.sql magento/data.sql
mv magento/* magento/.htaccess .
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
mysql -h localhost -u root -proot123 db_name chmod 755 mage
./mage mage-setup .
chmod -R 777 var/package

Share this comment


Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...