Installing Magento easy way, the blessing of n98-magerun
October 10, 2013 Leave a comment
The blessings of n98-magenrun phar archive has really eased the pain of installing Magento. Also the beautiful post by Fabrizio Branca at this post http://www.fabrizio-branca.de/build-your-magento-playground-in-less-than-60-seconds.html is really comprehensive. Please do check it out.
You first need composer.phar to get the dependencies. After getting n98-magerun.phar, follow the steps in the previous post. You might be interested in setting up the n98-magerun.yaml in /etc/ directory (assuming you are in GNU Linux, Debian distro) run the install under the www root of your hosting:
n98-magerun.phar install
This will give you step by step prompt to install Magento. There is a gotcha though, when you are asked for Enter Installation Folder, this does not accept absolute directory, rather the path is relative to the parent folder i.e. ./magento_installation_document_root. The installation runs smoothly. When you are done, set up your virtual host and go the URL that will prompt you to complete the installation from GUI.
Also to uninstall Magento installation, go to the document root of Magento installation earlier from terminal, then hit
n98-magerun.phar uninstall -f
This will automatically remove the installation folders and database.
Enjoy!
Recent Comments