Installing Latest Nginx on CentOS Gnu/Linux

September 16, 2019 | By the+gnu+linux+evangelist.

Getting Started

  1. 4. Starting

    Next to Start NGINX on the default Http port
    (Necessary Only if also Apache is installed)

    sudo service apache2 stop
    sudo service nginx restart
  2. 5. Testing

    Finally, to Test NGINX Server Setup
    On a localhost with curl:

    curl http://127.0.0.1

    Or the same address with a Browser…

  3. 6. Configuring

    To Edit the NGINX Configuration File

    sudo nano /etc/nginx/conf.d/default.conf

Contents


QuickChic Theme • Powered by WordPress