Installing Magento Via SSH

Last modified by matt1237 on Wed, August 22, 2012 20:27
Show Page|Old Revisions  

This shows you the differences between the selected revision and the current version of the page.

1_-_installation_and_configuration:installing_magento_via_shell_ssh 2012/08/22 20:27 1_-_installation_and_configuration:installing_magento_via_shell_ssh 2014/05/19 17:35 current
Line 11: Line 11:
**Latest Stable Release** **Latest Stable Release**
-The latest stable version of **Magento** is 1.7.0.2 (26.6 MB)+The latest stable version of **Magento** is 1.9.0.1 (26.6 MB)
-http://www.magentocommerce.com/downloads/assets/1.7.0.2/magento-1.7.0.2.tar.gz+http://www.magentocommerce.com/downloads/assets/1.9.0.1/magento-1.9.0.1.tar.gz
-The latest stable version of **Magento Downloader** (not Magento itself!) is 1.7.0.0 (45.6 KB)+The latest stable version of **Magento Downloader** (not Magento itself!) is 1.9.0.01 (45.6 KB)
-http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-downloader-1.7.0.0.tar.gz+http://www.magentocommerce.com/downloads/assets/1.9.0.1/magento-downloader-1.9.0.1.tar.gz
(The downloader will install the latest stable release of Magento Commerce.) (The downloader will install the latest stable release of Magento Commerce.)
Line 28: Line 28:
==== Installing Into The Website Document Root ==== ==== Installing Into The Website Document Root ====
-<code bash>wget http://www.magentocommerce.com/downloads/assets/1.7.0.2/magento-1.7.0.2.tar.gz +<code bash>wget http://www.magentocommerce.com/downloads/assets/1.9.0.1/magento-1.9.0.1.tar.gz 
-tar -zxvf magento-1.7.0.2.tar.gz+tar -zxvf magento-1.9.0.0.tar.gz
mv magento/* magento/.htaccess . mv magento/* magento/.htaccess .
chmod -R o+w media var chmod -R o+w media var
Line 36: Line 36:
Optionally delete the download file and empty directory from the extracted files: Optionally delete the download file and empty directory from the extracted files:
-<code bash>rm -rf magento/ magento-1.7.0.2.tar.gz</code>+<code bash>rm -rf magento/ magento-1.9.0.0.tar.gz</code>
Then simply follow through with the web-based installation process. Then simply follow through with the web-based installation process.
Line 47: Line 47:
==== Installing Into The Website Document Root ==== ==== Installing Into The Website Document Root ====
-<code bash>wget http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-downloader-1.7.0.0.tar.gz +<code bash>wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-downloader-1.9.0.0.tar.gz 
-tar -zxvf magento-downloader-1.7.0.0.tar.gz +tar -zxvf magento-downloader-1.9.0.0.tar.gz 
-rm -rf magento-downloader-1.7.0.0.tar.gz</code>+rm -rf magento-downloader-1.9.0.0.tar.gz</code>
Now load http://www.yourwebsite.com/downloader.php in your web browser. Now load http://www.yourwebsite.com/downloader.php in your web browser.
Line 61: Line 61:
<code bash>mkdir SUBDIRECTORY <code bash>mkdir SUBDIRECTORY
cd SUBDIRECTORY cd SUBDIRECTORY
-wget http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-downloader-1.7.0.0.tar.gz +wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-downloader-1.9.0.0.tar.gz 
-tar -zxvf magento-downloader-1.7.0.0.tar.gz +tar -zxvf magento-downloader-1.9.0.0.tar.gz 
-rm -rf magento-downloader-1.7.0.0.tar.gz</code>+rm -rf magento-downloader-1.9.0.0.tar.gz</code>
Now load http://www.yourwebsite.com/SUBDIRECTORY/downloader.php in your web browser. Now load http://www.yourwebsite.com/SUBDIRECTORY/downloader.php in your web browser.
Line 78: Line 78:
This is almost the same as above, except you don't need to know the directory name. You will only have to replace **DBHOST**, **DBNAME**, **DBUSER**, and **DBPASS**. This is almost the same as above, except you don't need to know the directory name. You will only have to replace **DBHOST**, **DBNAME**, **DBUSER**, and **DBPASS**.
-<code bash>wget http://www.magentocommerce.com/downloads/assets/1.7.0.2/magento-1.7.0.2.tar.gz +<code bash>wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-1.9.0.0.tar.gz 
-tar -zxvf magento-1.7.0.2.tar.gz +tar -zxvf magento-1.9.0.0.tar.gz 
-wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz +wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-sample-data-1.9.0.0.tar.gz 
-tar -zxvf magento-sample-data-1.6.1.0.tar.gz +tar -zxvf magento-sample-data-1.9.0.0.tar.gz 
-mv magento-sample-data-1.6.1.0/media/* magento/media/ +mv magento-sample-data-1.9.0.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-sample-data-1.9.0.0/magento_sample_data_for_1.9.0.0.sql magento/data.sql
mv magento/* magento/.htaccess* . mv magento/* magento/.htaccess* .
chmod -R o+w media var chmod -R o+w media var
mysql -h DBHOST -u DBUSER -pDBPASS DBNAME < data.sql mysql -h DBHOST -u DBUSER -pDBPASS DBNAME < data.sql
chmod o+w var var/.htaccess app/etc chmod o+w var var/.htaccess app/etc
-rm -rf magento/ magento-sample-data-1.6.1.0/ magento-1.7.0.2.tar.gz magento-sample-data-1.6.1.0.tar.gz data.sql</code>+rm -rf magento/ magento-sample-data-1.9.0.0/ magento-1.9.0.0.tar.gz magento-sample-data-1.9.0.0.tar.gz data.sql</code>
Line 102: Line 102:
This is almost the same as above, except you don't need to know the directory name. You will only have to replace **DBHOST**, **DBNAME**, **DBUSER**, and **DBPASS**. This is almost the same as above, except you don't need to know the directory name. You will only have to replace **DBHOST**, **DBNAME**, **DBUSER**, and **DBPASS**.
-<code bash>wget http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-downloader-1.7.0.0.tar.gz +<code bash>wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-downloader-1.9.0.0.tar.gz 
-wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz +wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-sample-data-1.9.0.0.tar.gz 
-tar -zxvf magento-downloader-1.7.0.0.tar.gz +tar -zxvf magento-downloader-1.9.0.0.tar.gz 
-tar -zxvf magento-sample-data-1.6.1.0.tar.gz +tar -zxvf magento-sample-data-1.9.0.0.tar.gz 
-mv magento-sample-data-1.6.1.0/media/* magento/media/ +mv magento-sample-data-1.9.0.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-sample-data-1.9.0.0/magento_sample_data_for_1.9.0.0.sql magento/data.sql
mv magento/* magento/.htaccess . mv magento/* magento/.htaccess .
chmod -R o+w media chmod -R o+w media
Line 116: Line 116:
chmod o+w var var/.htaccess app/etc chmod o+w var var/.htaccess app/etc
rm -rf downloader/pearlib/cache/* downloader/pearlib/download/* rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*
-rm -rf magento/ magento-sample-data-1.6.1.0/ +rm -rf magento/ magento-sample-data-1.9.0.0/ 
-rm -rf magento-downloader-1.7.0.0.tar.gz magento-sample-data-1.6.1.0.tar.gz data.sql</code>+rm -rf magento-downloader-1.9.0.0.tar.gz magento-sample-data-1.9.0.0.tar.gz data.sql</code>
Line 137: Line 137:
<code bash>mkdir SUBDIRECTORY <code bash>mkdir SUBDIRECTORY
cd SUBDIRECTORY cd SUBDIRECTORY
-wget http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-downloader-1.7.0.0.tar.gz +wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-downloader-1.9.0.0.tar.gz 
-wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz +wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-sample-data-1.9.0.0.tar.gz 
-tar -zxvf magento-downloader-1.7.0.0.tar.gz +tar -zxvf magento-downloader-1.9.0.0.tar.gz 
-tar -zxvf magento-sample-data-1.6.1.0.tar.gz +tar -zxvf magento-sample-data-1.9.0.0.tar.gz 
-mv magento-sample-data-1.6.1.0/media/* magento/media/ +mv magento-sample-data-1.9.0.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-sample-data-1.9.0.0/magento_sample_data_for_1.9.0.0.sql magento/data.sql
mv magento/* magento/.htaccess . mv magento/* magento/.htaccess .
chmod -R o+w media chmod -R o+w media
Line 151: Line 151:
chmod o+w var var/.htaccess app/etc chmod o+w var var/.htaccess app/etc
rm -rf downloader/pearlib/cache/* downloader/pearlib/download/* rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*
-rm -rf magento/ magento-sample-data-1.6.1.0/ +rm -rf magento/ magento-sample-data-1.9.0.0/ 
-rm -rf magento-downloader-1.7.0.0.tar.gz magento-sample-data-1.6.1.0.tar.gz data.sql</code>+rm -rf magento-downloader-1.9.0.0.tar.gz magento-sample-data-1.9.0.0.tar.gz data.sql</code>
Line 233: Line 233:
**NOTE:** in order to have properly functioning ./pear command, your magento instance must be installed following one of the steps explained at this page. **NOTE:** in order to have properly functioning ./pear command, your magento instance must be installed following one of the steps explained at this page.
-Other Pages You May Find Useful When Upgrading to 1.6+Other Pages You May Find Useful When Upgrading to 1.9
http://www.magentocommerce.com/boards/viewthread/248230/ http://www.magentocommerce.com/boards/viewthread/248230/
http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh
http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/magento_1.5_to_1.6_upgrade http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/magento_1.5_to_1.6_upgrade
http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/manual_upgrade_using_fresh_install_and_original_database#process http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/manual_upgrade_using_fresh_install_and_original_database#process



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs