Teaching Research and Publishings Speaking Engagements Professional Development About Me

Notice: Undefined variable: connect in /var/www/codeadam.ca/includes/header.php on line 20

Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /var/www/codeadam.ca/includes/header.php on line 20

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /var/www/codeadam.ca/includes/header.php on line 22

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/codeadam.ca/includes/header.php on line 24

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.