diff --git a/2016-04-02-apt-caching-for-debootstrap.html b/2016-04-02-apt-caching-for-debootstrap.html new file mode 100644 index 0000000..a7a896f --- /dev/null +++ b/2016-04-02-apt-caching-for-debootstrap.html @@ -0,0 +1,23 @@ + + + + + +

If you’re building system images, you’re going to do a lot of debootstrap, which is going to fetch a lot of packages. On a fast system, that’ll be the slowest part of the process. Here’s how to cache.

+ +

Install apt-cacher-ng

+ +sudo apt-get install squid-deb-proxy + +

Tell programs to use the proxy

+ +export http_proxy=http://127.0.0.1:8000 +# Note that you'll need to re-export this before any use of debootstrap + +

Tell sudo to pass through http_proxy

+ +sudo visudo +# Add the line after the env_reset line: +Defaults env_keep += "http_proxy" + + diff --git a/2016-05-17-wifi-bridging-redux.html b/2016-05-17-wifi-bridging-redux.html index df73bf5..c81a85c 100644 --- a/2016-05-17-wifi-bridging-redux.html +++ b/2016-05-17-wifi-bridging-redux.html @@ -1,5 +1,5 @@ - + diff --git a/include/style.css b/include/style.css index cc6199e..9056e66 100644 --- a/include/style.css +++ b/include/style.css @@ -2,7 +2,7 @@ body { font-family: Monospace, Courier; font-size: 16px; - max-width: 900px; + max-width: 800px; padding-left: 2ch; padding-right: 3ch; diff --git a/index.html b/index.html index a1df2ed..8bb3623 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@
  1. 2019-Apr-14: Reboot
  2. 2016-May-17: WiFi bridging redux
  3. +
  4. 2016-Apr-02: apt caching for debootstrap
diff --git a/template.html b/template.html new file mode 100644 index 0000000..5885698 --- /dev/null +++ b/template.html @@ -0,0 +1,8 @@ + + + + + +

+ +