-
-
Save greenlieber/5717491 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version=1.7.0.2 | |
wget http://www.magentocommerce.com/downloads/assets/$version/magento-$version.tar.gz | |
tar -zxvf magento-$version.tar.gz | |
mv magento/* magento/.htaccess . | |
chmod -R o+w media var | |
chmod o+w app/etc | |
rm -rf magento/ magento-$version.tar.gz | |
rm -rf index.php.sample LICENSE.txt LICENSE.html LICENSE_AFL.txt php.ini.sample RELEASE_NOTES.txt | |
php -f install.php -- \ | |
--license_agreement_accepted "yes" \ | |
--locale "en_GB" \ | |
--timezone "Europe/London" \ | |
--default_currency "GBP" \ | |
--db_host "localhost" \ | |
--db_name "magento" \ | |
--db_user "root" \ | |
--db_pass "password" \ | |
--session_save "db" \ | |
--url "http://192.168.0.1/oli/magento/" \ | |
--skip_url_validation "yes" \ | |
--use_rewrites "yes" \ | |
--use_secure "no" \ | |
--secure_base_url "" \ | |
--use_secure_admin "no" \ | |
--admin_firstname "Oli" \ | |
--admin_lastname "Mortimer" \ | |
--admin_email "[email protected]" \ | |
--admin_username "admin" \ | |
--admin_password "letmein" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment