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
test |
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 | |
for i in update upgrade dist-upgrade full-upgrade autoremove; do | |
repeat(){ for j in {1..25}; do echo -n "#"; done } | |
repeat; echo -e "\n\nexecuting command: apt -y ${i}\n"; repeat; echo | |
apt -y ${i} | |
done |
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 | |
# Debian Repository not available for trixie (yet) | |
DISTRO=$(dpkg --status tzdata|grep Provides|cut -f2 -d'-') | |
if [ "${DISTRO}" == "trixie" ]; then DISTRO="bookworm"; fi | |
# Install dependencies | |
apt update | |
apt install apt-transport-https ca-certificates curl -y |
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 | |
# ------------------------------------------------------ | |
# Functions - Common | |
# ------------------------------------------------------ | |
DOMAIN=$1 | |
SUBDOMAIN=$2 | |
# See https://certbot-dns-rfc2136.readthedocs.io/en/stable/ for certbot.ini | |
COMMAND="certbot certonly --dns-rfc2136 --dns-rfc2136-credentials /root/.secrets/certbot.ini" |
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 | |
# ------------------------------------------------------ | |
# Functions - Common | |
# ------------------------------------------------------ | |
domain=$1 | |
domainpath0="/etc/nginx/sites-available/${domain,,}" | |
domainpath1="/etc/nginx/sites-enabled/${domain,,}" | |
logpath="/var/log/nginx/${domain,,}" |
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 | |
# See https://rspamd.com/downloads.html | |
apt update | |
apt-get install sudo | |
sudo apt-get install -y lsb-release wget gpg | |
CODENAME=`lsb_release -c -s` | |
if [ $CODENAME = "trixie" ]; then | |
CODENAME="bookworm" | |
fi |
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 | |
# | |
# This Script is by Razuuu | |
# | |
# Initialize variables with default values | |
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" | |
DEVICE="" | |
BUILD_TARGET="" |
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 | |
DEVICE="$1" | |
UMOUNT="$2" | |
if [ -z "$DEVICE" ]; then | |
echo "Usage: $0 <DEVICE> [optional: --unmount]" | |
exit 1 | |
fi |
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
See: https://github.com/PreMiD/Linux/blob/master/README.md#packagecloud | |
$ curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo bash | |
$ sudo apt install premid | |
if you're using debian buster and up like trixie, edit your sources.list.d file to buster instead of trixie | |
https://premid.app/downloads | |
Select your browser |
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
# See: https://prismlauncher.org/download/linux/#debian-ubuntu-(x86_64-arm64) | |
curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null | |
echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list | |
sudo apt update | |
sudo apt install prismlauncher | |
if using trixie, replace sources.list.d to bookworm instead |
OlderNewer