kabelkiste/Raspberry Pi/first_install.sh

25 lines
750 B
Bash

# Add non-free repository:
#wget -qO - https://ftp-master.debian.org/keys/archive-key-10.asc | sudo apt-key add -
#echo deb http://deb.debian.org/debian bullseye main contrib non-free | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get install python3 vim-nox tmux nano zsh git autossh mosh sshuttle fail2ban avahi-daemon ufw lynx npm ssmtp apticron tidy nmon python3-pip printer-driver-gutenprint htop ncdu python3-venv unrar par2 ack restic software-properties-common python3-launchpadlib
ufw allow ssh
ufw enable
pip3 install requests bs4 prospector black isort
npm install -g jsonlint
npm install -g fixjson
# Set zsh as default shell:
chsh -s /bin/zsh
# cups remote administration:
# sudo cupsctl --remote-admin