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 | |
# shopt -s nullglob | |
shopt -s nocasematch | |
veros=$( grep 'release' /etc/*release | grep release | cut -d " " -f4 | uniq ) | |
#read -p "please enter your ip:" ipinput | |
#ssh -o StrictHostKeyChecking=no $ipnput -l root "main" | |
vminstall() { |
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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Ubuntu Server | |
# Run like (without sudo) - bash install_lamp.sh | |
# Script should auto terminate on errors | |
export DEBIAN_FRONTEND=noninteractive |