Step 1: Install Raspbian on your RPi Step 2: Attach camera to RPi and enable camera support ( Step 3: Update your RPi with the following commands:

Step 4:

For Jessie Lite run sudo apt-get install git

Clone the code from github and enable and run the install script with the following commands:

after all finished, there will be a new folder called html under /var/www. Login that and further advanced camera settings will be available too.