Skip to content

Instantly share code, notes, and snippets.

@pcolazurdo
Last active November 23, 2023 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcolazurdo/e4672f22a823a56cb2a63d7ec4946fa9 to your computer and use it in GitHub Desktop.
Save pcolazurdo/e4672f22a823a56cb2a63d7ec4946fa9 to your computer and use it in GitHub Desktop.
Home Raspberry PI setup

Install Ruby (as a prereq for Homebrew):

  1. Prerequisite: Install required Developer Libraries

sudo apt-get install libssl-dev libreadline-dev

  1. Then, follow up this tutorial: https://www.anegron.site/2020/01/30/installing-rbenv-and-ruby-on-raspberry-pi/

  2. Now activate the proper version for Homebrew - as of July 2020 the commands were:

rbenv install 2.6.3
rbenv local 2.6.3
rbenv global 2.6.3

Install HomeBrew:

Follow official tutorial: https://docs.brew.sh/Homebrew-on-Linux

Install Privoxy

sudo apt-get -y install privproxy
sudo bash -c "echo listen-address  YOURLOCALIP:8118 >>/etc/privoxy/config"
sudo systemctl restart privoxy
wget https://raw.githubusercontent.com/Andrwe/privoxy-blocklist/main/privoxy-blocklist.sh
chmod +x privoxy-blocklist.sh
sudo bash -c "source ./privoxy-blocklist.sh"
sudo systemctl restart privoxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment