Setting a Static IP

This article will walk you through setting a static IP.

What is a static IP?

Every device has an IP address. It’s that devices ’name’ on your network. We use it to SSH into machines or visit pages on that machine. But by default, the device’s IP can change when reconnecting to your network or rebooting. This can be annoying, as you have to figure out the IP every time it changes.

APT Tutorial

This is a heavily oversimplified tutorial to the Advanced Package Tool, which is somewhat of a wrapper of dpkg, the Debian package manager. In this tutorial, I will explain the basics of how to use apt, including installing, downloading, updating, and uninstalling packages.

What’s a “package tool”?

A package tool is generally a piece of software that automates the process of installing, updating, and removing software. Usually, such a package tool is built as a better front-end, or wrapper, of the system’s package manager, a lower-level tool for managing the software on your machine. The package tool generally links to package repositories, including its own, and community-made ones. In the case of apt, it is generally quite a complicated process to get a package on their repository, so often times, developers opt to either make their own package repository, make an installation program to install the software themselves, or host a downloadable .deb file (see here) on a website.

Making a static NGINX page

This tutorial will walk you through installing NGINX and creating a static page on Linux.

NGINX, pronounced “Engine-X”, is among other things an open-source web server. It was originally written by Igor Sysoev and released under the 2-clause BSD License.

Installing NGINX

Use your distribution’s package manager to install the nginx package:

sudo apt install nginx
sudo pacman -S nginx
sudo dnf install nginx

If all goes well, you should have successfully installed NGINX to your machine.