Running PrestaShop 1.5.x On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10 - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2013-04-04 13:52. ::

On the next page specify the name of your store, select a category (e.g. Computer Hardware and Software) and your country and timezone. You can also upload your shop logo (all these settings can later be modified in the shop backend):

Further down the page specify the admin details (name, email address, password) and click on Next:

PrestaShop is now being installed:

Click on the Manage your store button to go to the PrestaShop backend - but before you do this, you must delete the install folder:

rm -fr /var/www/www.example.com/web/install

Fill in the login details that you specified during installation:

This is how the backend looks:

Let's configure two important things now: search-engine friendly URLs and caching. For the search-engine friendly URLs, go to Preferences > SEO & URLs:

Enable Friendly URL and click on Save (the other settings are not that important - some of them apply to Apache only):

To enable caching, go to Advanced Parameters > Performance:

First you can enable compression/minification and caching of CSS, JavaScript, and HTML files (our nginx vhost configuration already contains the nginx equivalent of Apache optimization, so browser caching will work out of the box):

Further down, you can enable caching of data - you can choose between memcached, APC, XCache, and a file system cache. In this tutorial we have APC installed, so you can either use that, or memcached (which I prefer). XCache will not work (unless you install it).

That's it! Now visit the frontend. This is how the demo store looks:

If you browse the shop, you will see that search-engine friendly URLs are working:

 

4 Links

 

About The Author

Falko Timme is the owner of 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".


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.
Submitted by radus (not registered) on Sun, 2013-06-30 15:37.

+1
Great to see this tutorial. I understand that if VHost has browser caching optimized ( img, css, js ), activating it from back office makes no harm.
many thanks,

radus