Docs:02 Local Server Setup with Nginx

This page was last edited on 19 February 2025, at 16:01.
Revision as of 16:01, 19 February 2025 by Sun.seeking.goth (talk | contribs) (index upload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The next step is to install and configure the software we need to make our pi machine into a web server. We will be installing and using the open source software [NGINX](https://www.nginx.com/) to so this.

This section will take us through all steps needed to install, configure and implement some automated jobs in the open source version of NGINX. There are [many other ways to install NGINX](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/) and several other version of it that can be used, but this guide outlines the methods we used for the ServPub project using the open source version of NGINX.

What is a Server: A server is a computer that provides information to other computers called "clients" on a network. Servers can provide various functionalities, called "services", such as sharing data or resources among multiple clients. > In our case, we are using a server to "serve" a simple website to the network locally and on the public internet. NGINX does this by handling the static content delivery, of our website files including HTML, CSS and images. We will setup these in the coming section.

NGINX has many other uses, and in the Reverse Proxy section of this guide, we will use it again to setup different parts of the network.

    1. Section Contents:

02.1 NginX - Install and access files

02.2 Static NginX - Setting up HTML files and NGINX config

02.3 Systemctl_autotmation_ - Creating some automated tasks to restart on reboot