BLOGTIMES
«Prev || 1 || Next»
2019/08/12

Raspberry Pi と Proxy

raspberrypi 

Raspberry Pi をプロキシ環境で使っていると、いろいろとハマるので apt と rpi-update のプロキシ設定についてメモ。
こんなことをせずに環境変数 http_proxy, https_proxy を使うようにした方が考えることが少なくて楽かもしれません。

# apt 用の proxy 設定 sudo tee /etc/apt/apt.conf.d/apt.conf <<EOS Acquire::http::proxy "http://10.0.0.1:80"; Acquire::https::proxy "http://10.0.0.1:80"; EOS # rpi-update 用の proxy 設定 sudo https_proxy=http://10.0.0.1:80 rpi-update

    at 20:33 |
    2019/08/12

    Raspbian を Stretch -> Buster にアップグレード

    raspberrypi 

    いつの間にか Raspbian Buster が出ていたので、アップグレードに挑戦してみました。
    クリーンインストールするのがオススメのようですが、再インストールはいろいろと面倒なんですよね。

    Buster - the new version of Raspbian - Raspberry Pi

    As ever with major version changes, our recommendation is that you download a new clean image from the usual place on our site – this will ensure that you are starting from a clean, working Buster system.

    具体的な手順は以下のような感じでしょうか。
    注意点としては、小一時間くらいはかかるので暇なときに試す必要があるということくらいですかね。

    sed -i -e 's/stretch/buster/' /etc/apt/sources.list sed -i -e 's/stretch/buster/' /etc/apt/sources.list.d/raspi.list apt update -y; apt dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y

      at 18:33 |
      «Prev || 1 || Next»

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy