Added hashbang and made executable.
This commit is contained in:
parent
43bfd704ba
commit
09b38627ed
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
usermod -g 3003 _apt
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
#!/usr/bin/env bash
|
||||
bash -c "cat > /etc/apt/preferences.d/avoid-avahi.pref" << 'EOF'
|
||||
Package: avahi*
|
||||
Pin: origin ""
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
bash -c 'cat > /etc/apt/apt.conf.d/02proxy' << 'EOF'
|
||||
Acquire::http { Proxy "http://192.168.1.50:3142"; };
|
||||
#Acquire::http { Proxy "http://192.168.1.65:3142"; };
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# avoid duplicates
|
||||
set -x
|
||||
rm /etc/apt/sources.list
|
||||
|
|
@ -39,8 +40,8 @@ echo ${#OTHER_LIST[@]}
|
|||
for RELEASE in "${OTHER_LIST[@]}"; do
|
||||
echo "${RELEASE}"
|
||||
bash -c "cat > ${AVAILABLE}/devuan_${RELEASE}.list" <<EOF
|
||||
deb http://packages.devuan.org/devuan ${RELEASE} main
|
||||
deb-src http://packages.devuan.org/devuan ${RELEASE} main
|
||||
deb http://pkgmaster.devuan.org/devuan ${RELEASE} main
|
||||
deb-src http://pkgmaster.devuan.org/devuan ${RELEASE} main
|
||||
EOF
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
echo 'APT::Get::Show-Versions "1";' > /etc/apt/apt.conf.d/verbose
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# copy a get-selections from the livecd (install your prefered programs beforehand)
|
||||
## Backup:
|
||||
dpkg --get-selections > /var/tmp/packages.list
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
bash -c "cat > /etc/apt/apt.conf.d/99z_suggests" << 'EOF'
|
||||
APT::Install-Suggests "0";
|
||||
APT::AutoRemove::SuggestsImportant "false";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
## Docker likes kernel swappiness support (on reboot)
|
||||
bash -c "$(perl -p -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"/g' /etc/default/grub)"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt-get install -y --reinstall qemu qemu-user-static binfmt-support
|
||||
sudo update-binfmts --enable qemu-aarch64
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Set env
|
||||
apt-get -y install locales
|
||||
locale-gen "en_GB.UTF-8"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# prevent renaming of network interfaces by udev
|
||||
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install --reinstall resolvconf
|
||||
mkdir -p /etc/resolvconf/resolv.conf.d/
|
||||
bash -c 'echo "nameserver 62.113.203.55" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 82.141.39.32" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 51.254.141.22" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "options timeout 1 attempts 1 rotate" >> /etc/resolvconf/resolv.conf.d/tail'
|
||||
bash -c 'echo "nameserver 94.247.43.254" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 212.159.6.10" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 69.164.196.21" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 84.200.79.111" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "nameserver 192.168.1.1" >> /etc/resolvconf/resolv.conf.d/head'
|
||||
bash -c 'echo "search broadband" >> /etc/resolvconf/resolv.conf.d/tail'
|
||||
#bash -c 'echo "options timeout 1 attempts 1 rotate" >> /etc/resolvconf/resolv.conf.d/tail'
|
||||
/etc/init.d/resolvconf reload
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
sed -i 's,^\(PasswordAuthentication \).*,\1'yes',' /etc/ssh/sshd_config
|
||||
/etc/init.d/ssh restart
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# xmodmap
|
||||
cat > ~/.Xmodmap << 'EOF'
|
||||
! Swap caps lock and escape
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# kill the beep
|
||||
# https://wiki.archlinux.org/index.php/Disable_PC_speaker_beep
|
||||
# bash shell
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
cat > /etc/udev/rules.d/99-saleae-logic.rules << 'EOF'
|
||||
# Rules for the Saleae Logic analyzer to allow to run the programs a normal user
|
||||
# being part of the plugdev group. Simply copy the file to /etc/udev/rules.d/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# sysctl -w vm.max_map_count=262144
|
||||
|
||||
if grep -q '^\(vm.max_map_count=\)' /etc/sysctl.conf
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y remove --purge pulseaudio pulseaudio-module-x11 pulseaudio-utils pavucontrol gstreamer1.0-pulseaudio pacman pavumeter pavucontrol
|
||||
|
||||
kill -9 `ps aux | grep -v grep | grep start-pulseaudio | awk {'print $2'}`
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install software-properties-common apt-transport-https wget curl lvm2
|
||||
apt-get -y install apt-file
|
||||
apt-get -y install tree
|
||||
|
|
@ -41,7 +42,7 @@ apt-get -y install flac
|
|||
apt-get -y install vorbis-tools
|
||||
apt-get -y install sox
|
||||
apt-get -y install wavpack
|
||||
apt-get -y install shntools
|
||||
apt-get -y install shntool
|
||||
apt-get -y install lltag
|
||||
|
||||
apt-get -y install firmware-iwlwifi #For thinkpad wifi: Intel 5100 AGN [Shiloh]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Provides the wl drive for broadcom BCM43xx wireless network cards see:
|
||||
# https://wiki.debian.org/wl
|
||||
apt-get install broadcom-sta-dkms
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# to remove you need to specify the version of libudev1 to downgrade
|
||||
# apt-cache policy libudev1
|
||||
# apt-get install udev libudev1=232-25+deb9u1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# git log --graph --decorate --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
#git config --global alias.lg "log --color --graph --decorate --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y hddtemp
|
||||
|
||||
# RUN_DAEMON="false"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# From version 0.128, the boot code waits for a suspend/resume device
|
||||
# to appear, rather than checking just once. If the configured or
|
||||
# automatically selected resume device is not available at boot time,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
## Setting init in grub can use the pre-exiting init system
|
||||
# init=/lib/sysvinit/init
|
||||
# init=/lib/systemd/systemd
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# openrc uses sysvinit but from 0.2.5 can replace it. ascii version currently 0.2.3
|
||||
apt-get install sysvinit-core
|
||||
apt-get install util-linux sysvinit-utils
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y python-dev python3-dev
|
||||
apt-get install -y python3-requests
|
||||
apt-get install -y python3-autopep8
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Install salt
|
||||
# ascii/stretch version 2016.11.2+ds-1
|
||||
# ceres version 2017.7.1+ds-1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Considerations for zfs
|
||||
# http://warpmech.com/?news=zfs-tuning-arc
|
||||
# https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# safest to always shift to udev before installing other things.
|
||||
# You can swap between udev and vdev
|
||||
## /usr/share/vdev/vdev-install.sh udev | vdev
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# All the zfs packages in debian stretch
|
||||
apt-get install -y dkms busybox-static
|
||||
apt-get install -y initramfs-tools dh-autoreconf
|
||||
|
|
|
|||
|
|
@ -1,5 +1,26 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
# https://www.kernel.org/doc/Documentation/blockdev/zram.txt
|
||||
|
||||
apt-get install -y insserv
|
||||
apt-get install -y zram-tools # Provides /etc/default/zramswap
|
||||
|
||||
CORES=1 # By default, zramswap-start will use all available cores.
|
||||
PERCENTAGE=10 # Specifies percentage of available RAM that should be used for zram
|
||||
ALLOCATION=256 # static amount of RAM that should be used, in MiB
|
||||
PRIORITY=100 # Specifies the priority for the swap devices, see swapon(2)
|
||||
|
||||
#sed -i '/^#CORES=.*/ s/.*/&\nCORES=\"\"/' /etc/default/zramswap
|
||||
sed -i '/^#PERCENTAGE=.*/ s/.*/&\nPERCENTAGE=\"\"/' /etc/default/zramswap
|
||||
sed -i '/^#ALLOCATION=.*/ s/.*/&\nALLOCATION=\"\"/' /etc/default/zramswap
|
||||
sed -i '/^#PRIORITY=.*/ s/.*/&\nPRIORITY=\"\"/' /etc/default/zramswap
|
||||
|
||||
#sed -i 's,^\(CORES=\).*,\1'\"${CORES}\"',' /etc/default/zramswap
|
||||
sed -i 's,^\(PERCENTAGE=\).*,\1'\"${PERCENTAGE}\"',' /etc/default/zramswap
|
||||
sed -i 's,^\(ALLOCATION=\).*,\1'\"${ALLOCATION}\"',' /etc/default/zramswap
|
||||
sed -i 's,^\(PRIORITY=\).*,\1'\"${PRIORITY}\"',' /etc/default/zramswap
|
||||
|
||||
# https://wiki.debian.org/ZRam
|
||||
|
||||
cat > /etc/init.d/zram <<'EOF'
|
||||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Merges upstream debian repos with devuan. Amprolla3 should include filters to spot systemd deps
|
||||
# Since other upstream repos can be included we should be able to use amprolla to report on other
|
||||
# systemd distro repos when wishing to import to devuan. Other packages such as pulseaudio could
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
ARDUINO_VERSION=1.8.5
|
||||
#ARDUINO_VERSION=nightly
|
||||
#ARDUINO_HOME=~/
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install audacity
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# To enable audit/rules.d
|
||||
|
||||
sed -i 's,^\(USE_AUGENRULES=\).*,\1'\"yes\"',' /etc/default/auditd
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# ascii version 2.78.a+dfsq0-4
|
||||
|
||||
sudo apt-get -y install blender
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
sudo apt-get install \
|
||||
dh-autoreconf \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y bootchart2 pybootchartgui
|
||||
|
||||
sed -i 's|^GRUB_CMDLINE_LINUX="\(.*\)"|GRUB_CMDLINE_LINUX="\1 initcall_debug printk.time=y init=/sbin/bootchartd"|' /etc/default/grub
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
curl -s https://brave-browser-apt-beta.s3.brave.com/brave-core-nightly.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-beta.gpg add -
|
||||
|
||||
#source /etc/os-release
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
curl -s https://brave-browser-apt-dev.s3.brave.com/brave-core-nightly.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-dev.gpg add -
|
||||
|
||||
#source /etc/os-release
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
curl -s https://brave-browser-apt-nightly.s3.brave.com/brave-core-nightly.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-nightly.gpg add -
|
||||
|
||||
#source /etc/os-release
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
RELEASE=bionic
|
||||
echo ${RELEASE}
|
||||
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# A debian based collection of openbox/tint2/conky themes
|
||||
|
||||
RELEASE=hydrogen
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
wget -c --directory-prefix=/var/tmp https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
dpkg -i /var/tmp/google-chrome-stable_current_amd64.deb
|
||||
apt-get -f install
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install conky conky-all curl jq ttf-ubuntu-font-family
|
||||
|
||||
HOME=/home/default
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# dpkg-reconfigure console-setup
|
||||
|
||||
# Original settings
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y sysv-rc-conf
|
||||
apt-get install -y chkconfig
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
cd /space/code_repositories/
|
||||
mkdir devuan_arm-sdk && cd devuan_arm-sdk
|
||||
git clone https://github.com/parazyd/arm-sdk
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
apt-get install djmount
|
||||
#!/usr/bin/env bash
|
||||
apt-get install -y djmount
|
||||
|
||||
DJMOUNT_DIR=~/dlna
|
||||
mkdir -p ${DJMOUNT_DIR}
|
||||
|
|
@ -32,6 +33,7 @@ Hidden=false
|
|||
EOF
|
||||
#chmod +x /usr/share/applications/djmount.desktop
|
||||
|
||||
mkdir -p ~/.local/share/applications
|
||||
bash -c "cat > ~/.local/share/applications/djmount.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "kernel.dmesg_restrict=0" > /etc/sysctl.d/10-dmesg.conf
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install docker-compose
|
||||
#!/usr/bin/env bash
|
||||
apt-get install -y docker-compose
|
||||
#dpkg -i /var/tmp/docker-compose/docker-compose_1.11.0-1_amd64.deb
|
||||
|
||||
# PROJECT=docker/compose
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
# Install docker
|
||||
set -x
|
||||
#echo '#bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"' > /etc/apt/sources.list.d/docker.list
|
||||
#echo "deb http://apt.dockerproject.org/repo debian-stretch main" >> /etc/apt/sources.list.d/docker.list
|
||||
|
||||
echo '#bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -"' > /etc/apt/sources.list-available/docker.list
|
||||
echo '#bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -"' > /etc/apt/sources.list-available/docker.list
|
||||
echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" >> /etc/apt/sources.list-available/docker.list
|
||||
|
||||
ln -s /etc/apt/sources.list-available/docker.list /etc/apt/sources.list.d/docker.list
|
||||
ln -sf /etc/apt/sources.list-available/docker.list /etc/apt/sources.list.d/docker.list
|
||||
|
||||
#bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"
|
||||
bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -"
|
||||
bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -"
|
||||
|
||||
|
||||
apt-get update
|
||||
|
|
@ -50,11 +52,73 @@ else
|
|||
echo "/etc/docker/daemon.json exits."
|
||||
fi
|
||||
|
||||
DOCKER_OPT[0]='.["dns"] = ["52.174.55.168","188.165.200.156"]'
|
||||
DOCKER_OPT[1]='.["storage-driver"] = "zfs"'
|
||||
#DOCKER_OPT[2]='.["storage-opts"] = ["zfs.fsname=rpool/docker","size=256"]'
|
||||
DOCKER_OPT[2]='.["storage-opts"] = ["zfs.fsname=rpool/docker"]'
|
||||
DOCKER_OPT[3]='.["insecure-registries"] = ["soleine.lan:5000"]'
|
||||
# https://docs.docker.com/engine/security/https/
|
||||
TLS_HOME=/var/docker
|
||||
|
||||
DOCKER_OPT[0]='.["storage-driver"] = "zfs"'
|
||||
DOCKER_OPT[1]='.["storage-opts"] = ["zfs.fsname=rpool/docker"]'
|
||||
DOCKER_OPT[2]='.["insecure-registries"] = ["soleine.lan:5000"]'
|
||||
DOCKER_OPT[3]='.["live-restore"] = true'
|
||||
DOCKER_OPT[4]='.["hosts"] = ["fd://","unix:///var/run/docker.sock","tcp://0.0.0.0:2376"]'
|
||||
DOCKER_OPT[5]='.["dns"] = ["52.174.55.168","188.165.200.156"]'
|
||||
#DOCKER_OPT[6]='.["dns-opts"] = []'
|
||||
#DOCKER_OPT[7]='.["dns-search"] = []'
|
||||
#DOCKER_OPT[8]='.["userland-proxy"] = false'
|
||||
#DOCKER_OPT[9]='.["userns-remap"] = ""'
|
||||
#DOCKER_OPT[10]='.["api-cors-header"] = ""'
|
||||
#DOCKER_OPT[11]='.["authorization-plugins" = []'
|
||||
#DOCKER_OPT[12]='.["bip"] = ""'
|
||||
#DOCKER_OPT[13]='.["bridge"] = ""'
|
||||
#DOCKER_OPT[14]='.["cgroup-parent"] = ""'
|
||||
#DOCKER_OPT[15]='.["cluster-store"] = ""'
|
||||
#DOCKER_OPT[16]='.["cluster-store-opts"] = {}'
|
||||
#DOCKER_OPT[17]='.["cluster-advertise"] = ""'
|
||||
#DOCKER_OPT[18]='.["debug"] = true'
|
||||
#DOCKER_OPT[19]='.["default-gateway"] = ""'
|
||||
#DOCKER_OPT[20]='.["default-gateway-v6"] = ""'
|
||||
#DOCKER_OPT[21]='.["default-runtime"] = "runc"'
|
||||
#DOCKER_OPT[22]='.["disable-legacy-registry"] = false'
|
||||
#DOCKER_OPT[23]='.["exec-opts"] = []'
|
||||
#DOCKER_OPT[24]='.["exec-root"] = ""'
|
||||
#DOCKER_OPT[25]='.["fixed-cidr"] = ""'
|
||||
#DOCKER_OPT[26]='.["fixed-cidr-v6"] = ""'
|
||||
#DOCKER_OPT[27]='.["graph"] = ""'
|
||||
#DOCKER_OPT[28]='.["group"] = ""'
|
||||
#DOCKER_OPT[29]='.["hosts"] = ["tcp://192.168.59.3:2376"]'
|
||||
#DOCKER_OPT[30]='.["icc"] = true'
|
||||
#DOCKER_OPT[31]='.["ip"] = "0.0.0.0"'
|
||||
#DOCKER_OPT[32]='.["iptables"] = true'
|
||||
#DOCKER_OPT[33]='.["ipv6"] = false'
|
||||
#DOCKER_OPT[34]='.["ip-forward"] = false'
|
||||
#DOCKER_OPT[35]='.["ip-masq"] = false'
|
||||
#DOCKER_OPT[36]='.["labels"] = []'
|
||||
#DOCKER_OPT[37]='.["log-driver"] = ""'
|
||||
#DOCKER_OPT[38]='.["log-level"] = ""'
|
||||
#DOCKER_OPT[39]='.["log-opts"] = {}'
|
||||
#DOCKER_OPT[40]='.["max-concurrent-downloads"] = 3'
|
||||
#DOCKER_OPT[41]='.["max-concurrent-uploads"] = 5'
|
||||
#DOCKER_OPT[42]='.["mtu"] = 0'
|
||||
#DOCKER_OPT[43]='.["oom-score-adjust"] = -500'
|
||||
#DOCKER_OPT[44]='.["pidfile"] = ""'
|
||||
#DOCKER_OPT[45]='.["raw-logs"] = false'
|
||||
#DOCKER_OPT[46]='.["registry-mirrors"] = []'
|
||||
#DOCKER_OPT[47]='.["runtimes"] = {}'
|
||||
#DOCKER_OPT[48]='.["selinux-enabled"] = false'
|
||||
#DOCKER_OPT[49]='.["swarm-default-advertise-addr"] = ""'
|
||||
#DOCKER_OPT[50]='.["debug"] = true'
|
||||
#DOCKER_OPT[51]='.["tls"] = true'
|
||||
#DOCKER_OPT[52]='.["tlscacert"] = "/etc/docker/tls/ca.pem"'
|
||||
#DOCKER_OPT[53]='.["tlscert"] = "/etc/docker/tls/server.pem"'
|
||||
#DOCKER_OPT[54]='.["tlskey"] = "/etc/docker/tls/serverkey.pem"'
|
||||
#DOCKER_OPT[55]='.["tlsverify"] = true'
|
||||
#DOCKER_OPT[56]='.["shutdown-timeout"] = 15'
|
||||
|
||||
mkdir -p ${TLS_HOME}
|
||||
## Change the subj line to reflect you details for key generation and uncomment above to turn tls on.
|
||||
#openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 \
|
||||
# -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" \
|
||||
# -keyout ${TLS_HOME}/serverkey.pem \
|
||||
# -out ${TLS_HOME}/server.pem
|
||||
|
||||
|
||||
for ((i = 0; i < ${#DOCKER_OPT[@]}; ++i)); do
|
||||
|
|
@ -107,9 +171,9 @@ done
|
|||
# mv -b /tmp/daemon.json.new /etc/docker/daemon.json
|
||||
#done
|
||||
|
||||
groupadd docker
|
||||
#groupadd docker
|
||||
#usermod -aG docker $USER
|
||||
gpasswd -a "$USER" docker
|
||||
newgrp docker
|
||||
#gpasswd -a "$USER_NAME" docker
|
||||
#newgrp docker
|
||||
|
||||
/etc/init.d/docker restart
|
||||
#/etc/init.d/docker restart
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
||||
php composer-setup.php && \
|
||||
mv composer.phar /usr/local/bin/composer && \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set +x
|
||||
PROJECT=drush-ops/drush-launcher
|
||||
RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | .tag_name')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://www.openprinting.org/driver/epson-201106w/
|
||||
DRIVER_VERSION=1.0.1-1lsb3.2
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://github.com/balena-io/etcher
|
||||
|
||||
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list-available/etcher.list
|
||||
sudo ln -s /etc/apt/sources.list-available/etcher.list /etc/apt/sources.list.d/etcher.list
|
||||
AVAILABLE=/etc/apt/sources.list-available
|
||||
ACTIVE=/etc/apt/sources.list.d
|
||||
|
||||
echo "deb https://deb.etcher.io stable etcher" | sudo tee ${AVAILABLE}/etcher.list
|
||||
sudo ln -s ${AVAILABLE}/etcher.list ${ACTIVE}/etcher.list
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install balena-etcher-electron
|
||||
|
||||
apt-get clean
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y etckeeper git openssh-client
|
||||
|
||||
# use the GitLab API to create a project
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install linux-firmware
|
||||
apt-get install firmware-linux
|
||||
apt-get install firmware-linux-free
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Install fish
|
||||
apt-get install -y fish
|
||||
mkdir -p ~/.config/fish
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
cd /var/tmp
|
||||
|
||||
apt-get install -y toilet fzf mpc vis ffmpeg
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# A collection of fonts to install to support nerdfont/powerline patched fonts that are missing.
|
||||
|
||||
#http://nerdfonts.com/#downloads
|
||||
|
|
@ -9,30 +11,41 @@ set -x
|
|||
RELEASE=$(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest | grep tarball_url | cut -d '"' -f 4 | awk -F "/" {'print $8'})
|
||||
FONT_NAMES=( \
|
||||
# 3270 \
|
||||
# Agave \
|
||||
# AnonymousPro \
|
||||
# Arimo \
|
||||
# AurulentSansMono \
|
||||
# BigBlueTerminal \
|
||||
# BitstreamVeraSansMono \
|
||||
# CascadiaCode \
|
||||
# CodeNewRoman \
|
||||
# Cousine \
|
||||
# DaddyTimeMono \
|
||||
DejaVuSansMono \
|
||||
# DroidSansMono \
|
||||
# FantasqueSansMono \
|
||||
# FiraCode \
|
||||
# FiraMono \
|
||||
FiraCode \
|
||||
FiraMono \
|
||||
# Go-Mono \
|
||||
# Gohu \
|
||||
# Hack \
|
||||
# Hasklig \
|
||||
# HeavyData \
|
||||
# Hermit \
|
||||
# IBMPlexMono \
|
||||
# Inconsolata \
|
||||
# InconsolataGo \
|
||||
# Iosevka \
|
||||
# JetBrainsMono \
|
||||
# Lekton \
|
||||
# LiberationMono \
|
||||
Meslo \
|
||||
# Monofur \
|
||||
# Monoid \
|
||||
# Mononoki \
|
||||
# MPlus \
|
||||
# Noto \
|
||||
# OpenDyslexic \
|
||||
# Overpass \
|
||||
# ProFont \
|
||||
# ProggyClean \
|
||||
# RobotoMono \
|
||||
|
|
@ -40,6 +53,7 @@ FONT_NAMES=( \
|
|||
# SourceCodePro \
|
||||
# SpaceMono \
|
||||
Terminus \
|
||||
# Tinos \
|
||||
# Ubuntu \
|
||||
# UbuntuMono \
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Fossamail (thunderbird v24/25b era)
|
||||
# Fosshub gives expiring links that makes wget difficult.
|
||||
# wget -c --directory-prefix /var/tmp http://www.fossamail.org/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# build from unstable source - below
|
||||
#apt-get -y install free42-nologo
|
||||
mkdir -p ~/.free42/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://github.com/FreeCAD/FreeCAD/releases/
|
||||
# debian is still on 0.16 but 0.17 is needed for current workbenches
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# The script needs to be run in each firefox profile directory.
|
||||
cd /var/tmp
|
||||
wget -c https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/updater.sh
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install git-cola
|
||||
apt-get -y install meld
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
# Using in combination with bfg to remove large binary files from a git repo and replace them with a pointer to a uri/url
|
||||
# debianized repo
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
BIN_DIR=/usr/local/bin
|
||||
#BIN_DIR=~/bin
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install grc
|
||||
ALIAS_HOME=~/.zsh_aliases.d/
|
||||
ALIAS_FILE=${ALIAS_HOME}/003-grc.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install hexchat
|
||||
mkdir -p ~/.config/hexchat
|
||||
cat > ~/.config/hexchat/chanopt.conf <<'EOF'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub|apt-key add -
|
||||
|
||||
cat <<EOF | tee /etc/apt/sources.list-available/iridium-browser.list
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install multimedia-jack
|
||||
apt-get -y install patchage
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
cat > /etc/apt/sources.list-available/jitsi-stable.list << 'EOF'
|
||||
# wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
|
||||
deb http://download.jitsi.org stable/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set +x
|
||||
PROJECT=magkopian/keepassxc-debian
|
||||
RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | .tag_name')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# sudo apt-get install kodi
|
||||
|
||||
# 18.04 bionic buster
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# sudo apt-get install kodi
|
||||
|
||||
# 18.04 bionic buster
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Debian / Ubuntu
|
||||
|
||||
# All Debian and Ubuntu users can enable our repositories by installing this deb file: kxstudio-repos.deb.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
PREFIX=/tmp
|
||||
NAME=lsd
|
||||
PROJECT=Peltoche/lsd
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# NB. cgmanager for nested unprivileged containers has been deprecated (dbus usage was a bad idea)
|
||||
# in favor of lxcfs on older kernels or the kernels CGroup Namespace on newer, expect lxcfs to go
|
||||
# the same way as cgmanager, just use newer kernels.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
groupadd --system lxd
|
||||
adduser --system lxd lxd
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y lxdm && apt-get -y remove lxlock xscreensaver xscreensaver-data
|
||||
sed -i '/^# session=.*/ s/.*/&\nsession=\/usr\/bin\/startxfce4/' /etc/lxdm/lxdm.conf
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y meld
|
||||
|
||||
dbus-launch --exit-with-session gsettings set org.gnome.meld style-scheme 'meld-dark'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
PREFIX=/tmp
|
||||
NAME=alicevision
|
||||
PROJECT=alicevision/meshroom
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get -y install mps-youtube youtube-dl python3-pafy python3-pyperclip ffmpeg avconv mpv
|
||||
|
||||
# Change transcoding settings here:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y nano
|
||||
#apt-get install -y checkinstall
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
apt-get install -y neofetch
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Install Neovim
|
||||
apt-get install -y software-properties-common
|
||||
apt-get install -y neovim
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install nethogs
|
||||
setcap "cap_net_admin,cap_net_raw+pe" /usr/sbin/nethogs
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
||||
wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# http://developer.download.nvidia.com/compute/DevZone/docs/html/C/doc/CUDA_C_Getting_Started_Linux.pdf
|
||||
|
||||
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-metas
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt-get install obs-studio ffmpeg
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install jq
|
||||
|
||||
set +x
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install jq
|
||||
|
||||
set +x
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Palemoon
|
||||
# Needed to return native unix behavior
|
||||
# browser.urlbar.autoFill false
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y cowbuilder dh-golang ccache
|
||||
|
||||
DIST=ascii
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
## VisualSFM - A Visual Structure from Motion System
|
||||
# http://ccwu.me/vsfm/
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install -y pidgin pidgin-otr
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# http://docs.platformio.org/en/latest/faq.html#faq-install-shell-commands
|
||||
|
||||
sudo apt-get install python python-pip checkinstall
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://github.com/containers/libpod/blob/master/docs/tutorials/podman_tutorial.md
|
||||
|
||||
# Buildah and podman are redhats implementation of docker containers.
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue