Saturday, April 20, 2013

How to install nginx

Nginx is a very lightweight and highly scalable server. If we don't want to use all of the modules of Apache, then we can go for nginx.

To install nginx, we will follow the below ways:
  • From apptitude: We can get nginx from the ubuntu package distribution. At the moment, we will get nginx 1.3.12. we need to add the ppa. you will find the ppa information here. To add the ppa, type this command:
    sudo add-apt-repository ppa:nginx/development[stable]
    

    Now, we add the sources to the source list file: /etc/apt/sources.list.
    deb http://ppa.launchpad.net/nginx/development/ubuntu quantal main 
    deb-src http://ppa.launchpad.net/nginx/development/ubuntu quantal main 
    

    Here, we will update the apptitude and install nginx:
    apt-get update 
    apt-get install nginx
    

  • From source: we can also get it from source.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: