Teaching Research and Publishings Speaking Engagements Professional Development About Me

Server Setup Documents

Installing Nginx

Open up the SSH tool in the Google Cloud and run the following commands:

  1. Check for any updates:

    sudo apt-get update
  2. Install Nginx:

    sudo apt-get install nginx
  3. Adjust the Firewall to allow for HTTP and HTTPS traffic:

    sudo apt-get install ufw
    sudo ufw allow 'Nginx HTTP'
  4. You can check to ensure everything is working by running the following command:

    systemctl status nginx

    Look for the work Active in the output.