Docs:02 Local Server Setup with Nginx: Difference between revisions

This page was last edited on 3 April 2025, at 08:44.
No edit summary
(→‎Section Contents:: added links and cleaned up)
 
Line 1: Line 1:
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 [https://www.nginx.com/ NGINX] to so this.
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 [https://www.nginx.com/ NGINX] 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 [https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/ many other ways to install NGINX] 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.
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 [https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/ many other ways to install NGINX] and several other versions of server software can be used, but this guide outlines the methods we used for the ServPub project using the open source version of NGINX.


<blockquote>[!NOTE] 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.
<blockquote>'''<u>What is a Server? ヽ(・∀・)ノ</u>'''
 
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.
</blockquote>
</blockquote>


NGINX has many other uses, and in the [[04.1 NginX for Reverse Proxy|Reverse Proxy]] section of this guide, we will use it again to setup different parts of the network  
NGINX has many other uses, and in the [[04.1 NginX for Reverse Proxy|Reverse Proxy]] section of this guide, we will use it again to setup and connect different parts of the network infrastructure.


==== Section Contents: ====
==== Section Contents: ====
[[02.1 NGINX]] - Install and access files  
[[Docs:02.1 NginX|02.1 NGINX]] - Install and access files  


[[02.2 Static NginX]] - Setting up HTML files and NGINX config  
[[Docs:02.2 Static NginX|02.2 Static NginX]] - Setting up HTML files and NGINX config  


[[02.3 Systemctl and autotmation]] - Creating some automated tasks to restart on reboot
[[Docs:02.3 Systemctl and autotmation|02.3 Systemctl and autotmation]] - Creating some automated tasks to restart on reboot
[[Category:Docs]]
[[Category:Docs]]

Latest revision as of 08:44, 3 April 2025

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 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 and several other versions of server software 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 and connect different parts of the network infrastructure.

Section Contents:

02.1 NGINX - Install and access files

02.2 Static NginX - Setting up HTML files and NGINX config

02.3 Systemctl and autotmation - Creating some automated tasks to restart on reboot