Linux Ubuntu Nginx Server Quick-Start Easy Guide

July 11, 2013 | By Regaz | Filed in: Uncategorized.

This Short Guide Shows You Step-by-Step How to Getting-Started Quickly with Nginx Web Server Development Release on Ubuntu Linux Distro.

To the Article Top there is a Link to Guides for How to Installing the Nginx Web Server on Ubuntu Linux.

After is Presented a Basic & Easy Getting-Started and Running with Nginx Fast Web Server.

Linux Gnome Penguin Nginx
  1. How to Install nginx Web Server on Ubuntu Linux

    Installing nginx for Ubuntu
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Cmd and Search “term”

    Ubuntu Linux Raring Open Terminal
  3. Editing localhost Server Parameters:

    sudo su -c "nano /etc/nginx/sites-enabled/default"

    Next You are Able to Set the “root” & “port” Parameters.

    By Default the root is Serving in:

    root /usr/share/nginx/html;

    And “of course” the Port is Set to 80:

    listen 80;

    Ctrl+x to Save & Exit.

  4. In Case of Changes then Reload the Nginx Web Server:

    sudo su -c "nginx -s reload"

      Ngix Administration Basic Commands List:

    • Starting nginx:
      sudo su -c "nginx"
    • Stopping nginx:
      sudo su -c "nginx -s stop"
    • Restarting nginx:
      sudo su -c "nginx -s reload"
  5. Access Locally your Server on Browser:

    http://localhost

    If Also Apache is Running on Port 80 then Possibly Stop It!

  6. How to Add Virtual Host for Nginx Easy Guide

    Nginx Virtual-Hosts
  7. How to Install Google-Chrome Browser on Ubuntu

    Install Chrome for Ubuntu

Tags: , , , , , , , , , , , ,