Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo su
- nano /etc/ssh/sshd_config #PermitRottLogin yes
- systemctl restart sshd
- passwd root
- apt update && apt full-upgrade --autoremove -y
- curl https://download.argon40.com/argon1.sh | bash
- printf 'UUID=143234AE323496A8 /mnt/toshiba ntfs defaults,auto,users,rw,nofail 0 0\n' >> /etc/fstab
- cat << 'EOF' >> /etc/bash.bashrc
- # Custom aliases
- if [ -f /etc/bash_aliases ]; then
- . /etc/bash_aliases
- fi
- EOF
- cp /mnt/toshiba/backup/bash_aliases /etc/
- cp /mnt/toshiba/backup/.bashrc /root/
- # Add Docker's official GPG key:
- apt install -y ca-certificates curl
- install -m 0755 -d /etc/apt/keyrings
- curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
- chmod a+r /etc/apt/keyrings/docker.asc
- # Add the repository to Apt sources:
- tee /etc/apt/sources.list.d/docker.sources <<EOF
- Types: deb
- URIs: https://download.docker.com/linux/debian
- Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
- Components: stable
- Signed-By: /etc/apt/keyrings/docker.asc
- EOF
- apt update
- apt install -y docker-ce docker-compose-plugin samba samba-common-bin unbound dnsutils
- cp /mnt/toshiba/backup/smb.conf /etc/samba/
- cp -r /mnt/toshiba/backup/samba /var/lib/
- systemctl restart smbd nmbd
- cp /mnt/toshiba/backup/docker/compose.yaml /home/pi/Desktop/
- cp /mnt/toshiba/backup/docker/update.sh /home/pi/Desktop/
- cd /home/pi/Desktop && ./update.sh
- docker ps
- docker logs -f CONTAINER_ID_OF_QBITTORRENT
- cp -r /mnt/toshiba/backup/docker/qBittorrent /etc/
- reboot
- curl -fsSL https://tailscale.com/install.sh | sh
- curl -sSL https://install.pi-hole.net | bash
Add Comment
Please, Sign In to add comment