- sudo apt-get update && sudo apt-get upgrade
- sudo rpi-update
- sudo reboot
- sudo rpi-eeprom-update -d -a
- sudo apt-get install zsh
- sudo chsh -s $(which zsh)
- sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- vi .zshrc
change default theme to:
ZSH_THEME="bira"
- update plugins to foollowing in .zshrc file
plugins=(git docker docker-compose)
- add the following entries to .zshrc file for custom aliases
#CUSTOM ALIAS
alias cls=clear
alias ls='ls -al'
alias up.up='sudo apt update && sudo apt upgrade -y'
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
alias pyt=python3
alias py=python3
alias py3=python3
alias dcupdb='docker-compose up -d --build'
alias dcdown='docker-compose down'
alias dcrun='docker-compose run --rm'
alias dsp='docker system prune'
- Setup Raspberry Pi SSH Keys for Authentication https://pimylifeup.com/raspberry-pi-ssh-keys/
sudo vi /boot/config.txt
# Disable Bluetooth
dtoverlay=disable-bt
disable related services
sudo systemctl disable hciuart.service
sudo systemctl disable bluealsa.service
sudo systemctl disable bluetooth.service
wget https://www.openssl.org/source/openssl-3.3.0.tar.gz
tar xvf openssl-3.3.0.tar.gz
cd openssl-3.3.0
./config
make
sudo make install
It can take upto 10 minutes for above command to complete
By default your manual install of openSSL will be in /usr/local/ssl. You can confirm this by checking the modify time of the ssl directory with ls -la /usr/local/ssl .
wget https://www.python.org/ftp/python/3.12.3/Python-3.12.3.tgz
tar -zxvf Python-3.12.3.tgz
cd Python-3.12.3
UNCOMMENT following lines in Modules/Setup
SSL=/usr/local/ssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
./configure --enable-optimizations
sudo make altinstall
It can take upto 10 minutes for above command to complete
- sudo update-alternatives --install /usr/bin/python python /usr/local/bin/python3.12.3
- sudo wget -O /usr/bin/zram.sh https://raw.githubusercontent.com/novaspirit/rpi_zram/master/zram.sh
- sudo chmod +x /usr/bin/zram.sh
- sudo vi /etc/rc.local
add line before exit 0
/usr/bin/zram.sh &
- save the file and reboot pi
- sudo apt-get install -y python3-pip
- pip3 install ansible
- sudo reboot
- git clone https://github.com/geerlingguy/internet-pi.git
- cd internet-pi
- ansible-galaxy collection install -r requirements.yml
- cp example.inventory.ini inventory.ini
- cp example.config.yml config.yml