mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-21 17:11:33 -05:00
Add set -e
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
5aa7838940
commit
0b25901b86
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
# You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script.
|
# You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
# License for the specific language governing permissions and limitations under
|
# License for the specific language governing permissions and limitations under
|
||||||
# the License.
|
# the License.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#Meant to be run on Ubuntu Pro Minimal
|
#Meant to be run on Ubuntu Pro Minimal
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
# Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh
|
# Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
@ -30,7 +32,7 @@ sudo ufw allow 443
|
|||||||
|
|
||||||
# Add mainline NGINX repo
|
# Add mainline NGINX repo
|
||||||
# This is extremely important as Ubuntu keeps shipping outdated NGINX
|
# This is extremely important as Ubuntu keeps shipping outdated NGINX
|
||||||
sudo curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
|
unpriv curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
|
||||||
sudo chmod 644 /usr/share/keyrings/nginx-archive-keyring.gpg
|
sudo chmod 644 /usr/share/keyrings/nginx-archive-keyring.gpg
|
||||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/nginx.sources | sudo tee /etc/apt/sources.list.d/nginx.sources
|
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/nginx.sources | sudo tee /etc/apt/sources.list.d/nginx.sources
|
||||||
sudo chmod 644 /etc/apt/sources.list.d/nginx.sources
|
sudo chmod 644 /etc/apt/sources.list.d/nginx.sources
|
||||||
@ -39,7 +41,7 @@ sudo chmod 644 /etc/apt/sources.list.d/nginx.sources
|
|||||||
sudo add-apt-repository -y ppa:ondrej/php
|
sudo add-apt-repository -y ppa:ondrej/php
|
||||||
|
|
||||||
# Add upstream MariaDB repo
|
# Add upstream MariaDB repo
|
||||||
curl https://supplychain.mariadb.com/mariadb-keyring-2019.gpg | sudo tee /usr/share/keyrings/mariadb-keyring-2019.gpg
|
unpriv curl https://supplychain.mariadb.com/mariadb-keyring-2019.gpg | sudo tee /usr/share/keyrings/mariadb-keyring-2019.gpg
|
||||||
sudo chmod 644 /usr/share/keyrings/mariadb-keyring-2019.gpg
|
sudo chmod 644 /usr/share/keyrings/mariadb-keyring-2019.gpg
|
||||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/mariadb.sources | sudo tee /etc/apt/sources.list.d/mariadb.sources
|
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/mariadb.sources | sudo tee /etc/apt/sources.list.d/mariadb.sources
|
||||||
sudo chmod 644 /etc/apt/sources.list.d/maridadb.sources
|
sudo chmod 644 /etc/apt/sources.list.d/maridadb.sources
|
||||||
|
Loading…
Reference in New Issue
Block a user