This repository contains a collection of installer scripts that I use internally for automation with Terraform and Ansible. These scripts help me quickly deploy and switch between different versions of NGINX (as well as Docker, Ansible, Terraform, and Kubernetes) on various systems. The idea is to have a simple, one-command installation that can easily be updated or switched between versions when needed.
To run a script directly without saving it, use the following command in a terminal.
For example:
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/main/nginx_installer.sh \
| sudo bash
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/main/nginx_installer.sh \
| sudo bash -s stable
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/main/nginx_installer.sh \
| sudo bash -s mainline
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/refs/heads/main/docker_installer.sh | sudo bash
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/refs/heads/main/ansible_installer.sh | sudo bash
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/refs/heads/main/terraform_installer.sh | sudo bash
curl -fsSL https://raw.githubusercontent.com/Stensel8/basic-scripts/refs/heads/main/kubernetes_installer.sh | sudo bash
irm https://raw.githubusercontent.com/Stensel8/basic-scripts/refs/heads/main/Enable-WinRM.ps1 | iex