- blogs:
- cles::blog
« 2019-08-11 :: 2019-08-13 »
«Prev || 1 || Next»
2019/08/12

Raspberry Pi と Proxy

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 にアップグレード

いつの間にか 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»
« 2019-08-11 :: 2019-08-13 »
サイト内検索
検索ワードランキング
へぇが多いエントリ
閲覧数が多いエントリ
1 . アーロンチェアのポスチャーフィットを修理(95314)
2 . 年次の人間ドックへ(94910)
3 . 福岡銀がデマの投稿者への刑事告訴を検討中(94834)
4 . 三菱鉛筆がラミーを買収(94507)
5 . 2023 年分の確定申告完了!(1つめ)(94480)
2 . 年次の人間ドックへ(94910)
3 . 福岡銀がデマの投稿者への刑事告訴を検討中(94834)
4 . 三菱鉛筆がラミーを買収(94507)
5 . 2023 年分の確定申告完了!(1つめ)(94480)
cles::blogについて
Referrers