Running Drupal 7.7 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04 - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Wed, 2011-09-07 15:45. ::

Now we can launch the web-based Drupal installer by going to http://www.example.com - select Standard and click on Save and continue:

Select your desired language next:

Next fill in the database details:

Drupal is now being installed:

Next fill in some details regarding your site (like site name, email address) and specify an admin user and password:

That's it! Drupal is now installed. Click on the Visit your new site. link...

... to see your new Drupal web site:

The first thing you should do is enable clean URLs. Go to Configuration > Clean URLs:

Check the Enable clean URLs checkbox and click on Save configuration:

If you have already created some content on your Drupal site, you can now browse that content. If everything goes well, you should now see clean URLs in the browser's address bar (it is also possible to define URL aliases in Drupal to create speaking URLs):

There's no need to specify any rewrite rules in your nginx configuration for the clean URLs to work! That is because of this cool little line in our vhost configuration /etc/nginx/sites-available/www.example.com.vhost:

try_files $uri $uri/ /index.php?q=$uri;

If you don't want to use the Boost cache plugin, you are finished now! The next chapter deals with the Boost plugin.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.