This file contains hidden or 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
| #! /usr/bin/env bash | |
| # | |
| # shellcheck disable=SC1091,SC2034 # sourced files | |
| # | |
| set -a | |
| # | |
| export DEBIAN_FRONTEND="noninteractive" TZ="Europe/London" | |
| # | |
| cr="\e[31m" # [c]olor[r]ed | |
| cg="\e[32m" # [c]olor[g]reen |
This file contains hidden or 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
| #! /usr/bin/env bash | |
| # | |
| # shellcheck disable=SC1091,SC2034 # sourced files | |
| # | |
| set -a | |
| # | |
| export DEBIAN_FRONTEND="noninteractive" TZ="Europe/London" | |
| # | |
| cr="\e[31m" # [c]olor[r]ed | |
| cg="\e[32m" # [c]olor[g]reen |
This file contains hidden or 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
| #! /usr/bin/env bash | |
| # | |
| # shellcheck disable=SC1091,SC2034 # sourced files | |
| # | |
| set -a | |
| # | |
| export DEBIAN_FRONTEND="noninteractive" TZ="Europe/London" | |
| # | |
| cr="\e[31m" # [c]olor[r]ed | |
| cg="\e[32m" # [c]olor[g]reen |
This file contains hidden or 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
| ## https://docs.docker.com/engine/security/rootless | |
| ## Debian Specific | |
| echo "kernel.unprivileged_userns_clone=1" > /etc/sysctl.d/10-docker.conf \ | |
| && sysctl --system | |
| echo "options overlay permit_mounts_in_userns=1" > /etc/modprobe.d/10-docker.conf \ | |
| && modprobe overlay permit_mounts_in_userns=1 |
This file contains hidden or 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
| export python_version="$(curl -sNL https://www.python.org/downloads/source/ | sed -rn 's|(.*)Latest Python 3 Release - Python (.*)</a></li>|\2|p')" | |
| export python_url="https://www.python.org/ftp/python/$python_version/Python-$python_version.tgz" |
This file contains hidden or 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
| mkdir -p ~/bin && source ~/.profile | |
| wget -qO ~/node.js.tar.gz "$(curl -sNL https://nodejs.org/en/download/ | grep -Po 'https://nodejs.org/dist/(.*)/node-v(.*)-linux-x64.tar.xz')" | |
| tar xf ~/node.js.tar.gz --strip-components=1 -C ~/ | |
| cd && rm -rf node.js.tar.gz README.md LICENSE CHANGELOG.md |
This file contains hidden or 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
| #! /usr/bin/env bash | |
| # | |
| update () { | |
| apt update | |
| apt upgrade -y | |
| apt -t buster-backports update | |
| apt -t buster-backports upgrade -y | |
| apt autoremove -y | |
| [[ -f /var/run/reboot-required ]] && echo -e "\n\e[31mThis machine requires a reboot to continue installation. Please reboot now.\e[0m\n" || : | |
| } |
NewerOlder