Running Magento On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.04 - Page 2

3.1 Launching The Web-Based Magento Installer

Now we can launch the web-based Magento installer by going to

... accept the Magento license and click on Continue:

Select your language, time zone, and the default currency for your Magento shop:

On the next screen, fill in your MySQL database details in the Database Connection section,...

... then scroll to the Web access options section. The Base URL and Admin Path fields should already be filled out (make sure that exists in DNS or at least in your /etc/hosts file because otherwise the Magento installer will refuse to continue the installation if it can't resolve the host from the Base URL field - if you don't want Magento to check if it can resolve the host, check the Skip Base URL Validation Before the Next Step checkbox). In order to make Magento use clean, search-engine friendly URLs, you should check Use Web Server (Apache) Rewrites as well. If you configured your Magento vhost to use https, also check Use Secure URLs (SSL):

Then scroll down to the bottom. The default option under Session Storage Options should be fine, so you can click on Continue:

Now fill in your personal details and a username and password for the Magento administration interface. You can also fill in an encryption key that Magento will use to encrypt passwords, credit card numbers, etc., but if you leave it empty, the installer will generate one for you. Click on Continue:

The installation is now finished. If you chose to let the Magento installer generate an encryption key for you, it is now displayed to you, and you should make a note of it. You can now use the Go to Frontend button to check out how your shop looks (links to; the Go to Backend button brings you to the login of the admin panel (

This is how the frontend looks - as there are no producty yet, it is pretty empty:

Under, you will find the login to the Magento admin panel - log in with the username and password that you specified during the installation:

This is how the admin panel looks:

That's it! Have fun with your Magento shop.


4 Links


About The Author

Falko Timme is the owner of Boost Your Site mit Timme Hosting - ultra-schnelles nginx-WebhostingTimme Hosting (ultra-fast nginx web hosting). He is the lead maintainer of HowtoForge (since 2005) and one of the core developers of ISPConfig (since 2000). He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

2 Comment(s)

Add comment


From: Chuck at: 2011-09-22 15:24:18

Magento should have been a great project, but it was just too messy. Their approach of covering all the bases is nice, but the overhead that incurs is a bit much. I worked with Magento for two years and became very good at modifying it, but it's code base is just a bunch of undocumented spaghetti. Doing the simplest thing requires a massive amount of code/xml files. I finally had to jump ship because it became overwhelming. I tried OpenCart next but their way of extending OpenCart was a bit unorthodox for my taste. Plus upgrading wasn't user friendly and sometimes broke code. However, I was still determined to use OpenCart until I was told about Lemon Stand. Its documentation, file structure, and extendability was a breath of fresh air. It does cost a little bit of money, but the time saving due to its ease of use will far out way its cost. Although it costs money, you can download it and install it for free so that you may evaluate or develop for it. The only thing that doesn't work, until you buy it, is order processing.

From: Anonymous at: 2013-03-07 13:36:22

please have a look in the vhost file

vi /etc/nginx/sites-available/ 

there is a mistake 

server {
    listen 80;

    ## SSL directives might go here
    ## see
    ## if you want to enable SSL for this vhost

    server_name *;