kabelkiste/Raspberry Pi/first_install.sh
2024-05-21 17:49:10 +02:00

25 lines
702 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
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