This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs nginx from nginx repository (not distro repo) | |
# | |
# Usage: sudo ./install_nginx.sh [ --stable ] | |
# --stable option: Use stable channel instead of mainline | |
# | |
# Currently supported: | |
# RHEL | |
# CentOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# This script installs or updates to the latest version of Go. | |
# Multi-platform (Linux and macOS) | |
# Multi-architecture (amd64, arm64, arm) support | |
# | |
# Add to your .profile, .bash_profile or .zshenv: | |
# export PATH=$PATH:/usr/local/go/bin | |
error_string=("Error: This command has to be run with superuser" |
OlderNewer