User Tools

Site Tools


raspberry-pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberry-pi [2020/02/02 12:45] – [Updating CertBot to use ACMEv2] dblumeraspberry-pi [2023/04/12 20:44] (current) – external edit 127.0.0.1
Line 282: Line 282:
   echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until   echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
      
 +==== Problem pip install hash verification ====
 +
 +[[https://community.letsencrypt.org/t/certbot-auto-certificates-fails-while-installing-phyton-packages-with-these-packages-do-not-match-the-hashes/90363/5|Certbot fails when installing Python packages]]. This can be resolved by deleting the ''/etc/pip.conf'' file:
 +
 +<file bash /etc/pip.conf>
 +[global]
 +extra-index-url=https://www.piwheels.org/simple
 +</file>
 +
 +===== Upgrading Distros =====
 +
 +When upgrading from Jessie to Stretch, I followed this recipe: [[https://pimylifeup.com/upgrade-raspbian-jessie-to-raspbian-stretch/|How to Upgrade Raspbian Jessie to Raspbian Stretch]].
 +
 +I didn't keep PiHole working, as I would get occasional network drops when working from home, and it was resolved when taking PiHole out of the mix. Will probably have to do a fresh install.
  
 ===== PiHole ===== ===== PiHole =====
Line 345: Line 359:
 curl "http://pi.hole/admin/api.php?summary" | python -m json.tool curl "http://pi.hole/admin/api.php?summary" | python -m json.tool
 </code> </code>
 +
 +===== New ACMEv2 Certbot overwrites /etc/nginx/sites-enabled/default =====
 +
 +We keep backups at ''~/etc_nginx_sites-enabled_default_pihole.backup''.
 +
 +  sudo service nginx restart
  
 ===== Jessie or earlier: Add piwheels for fast Python pip installations ===== ===== Jessie or earlier: Add piwheels for fast Python pip installations =====
raspberry-pi.1580676351.txt.gz · Last modified: 2023/04/12 20:44 (external edit)