This commit is contained in:
2023-11-19 01:17:19 -06:00
parent e30a7df95a
commit 778136c34e
3 changed files with 0 additions and 77 deletions

View File

@@ -1,18 +0,0 @@
#!/usr/bin/env bash
###################-p - \
rdesktop \
-x lan \
-P \
-z \
-g 1920x1080 \
-a 24 \
-u gamestation \
-d home.weaver \
gamestation &
#-g 3840x2160 \
#-g 1024x768 \
# -g 1024x768 \
disown
exit 0

View File

@@ -1,37 +0,0 @@
#!/bin/sh
#
# new Alpine container/VM setup script
#
# -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
cat >/etc/apk/repositories <<EOF
https://dl-cdn.alpinelinux.org/alpine/edge/main
https://dl-cdn.alpinelinux.org/alpine/edge/community
https://dl-cdn.alpinelinux.org/alpine/edge/testing
EOF
apk update
apk upgrade
# for compability with various projects
apk add util-linux bash
apk add curl wget mandoc rsync git tree pv ncdu make neofetch pfetch htop neovim
apk add openssh openssh-server
sed -i 's/.*PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
rc-update add sshd default
rc-service sshd start
apk add fail2ban
rc-update add fail2ban default
rc-service fail2ban start
if ! dmesg >&2 | grep 'Operation not permitted' >/dev/null ; then
apk add qemu-guest-agent
rc-update add qemu-guest-agent default
rc-service qemu-guest-agent start
fi
apk add samba samba-client cifs-utils samba-client

View File

@@ -1,22 +0,0 @@
#!/bin/sh
ALPINE='seedbox caddy pihole'
UBUNTU='pbs proxmox portainer'
msg() {
>&2 printf '[*] %s\n' "$*"
}
for i in $ALPINE ; do
if ping -q -W 2 -c 1 "$i" >/dev/null ; then
msg "Updating: $i"
ssh "$i" 'apk update;apk upgrade'
fi
done
for i in $UBUNTU ; do
if ping -q -W 2 -c 1 "$i" >/dev/null ; then
msg "Updating: $i"
ssh "$i" 'apt update;apt upgrade -y;apt dist-upgrade -y;apt autoremove -y'
fi
done