In this tutorial, we will set up a Web server running on Nginx on Linux.

Step 1: Set up a Web server with the following OS and software:

  • CentOS 8 (64-bit)

  • Nginx

    The next section Installing Nginx has detailed installation instructions.

Step 2: Configure the CentOS user account: you can either use the root account or create a new account with administrative privileges.

Step 3: Set up a firewall on the server and make sure the firewall allows the port (the HTTP port is 80 in this tutorial) to go through.

Step 4: Make sure the server can connect to Internet during the installation of Nginx.