LoginSignup
0
0

More than 3 years have passed since last update.

Raspberry Pi 3 Model B+ に Debian buster (arm64)をインストール

Last updated at Posted at 2019-06-29

概要


手順

  1. イメージは "etcher" で書き込み
    https://www.balena.io/etcher/

  2. イメージを書き込んだSSDをraspberry piに接続して起動するだけ

  3. root の初期パスワードは、“raspberry”でログインできる


raspberry pi の debian 起動後の設定

  • rootパスワード変更

    # passwd
    
  • network設定

    # vi /etc/network/interfaces.d/eth0
    auto eth0
    iface eth0 inet static
        address 192.168.1.XX
        netmask 255.255.255.0
        gateway 192.168.1.XX
        dns-nameservers 192.168.1.XX 8.8.8.8
    
    # systemctl restart networking
    
  • 時刻同期(systemd-timesyncd)

    # vi /etc/systemd/timesyncd.conf
    [Time]
    NTP=ntp.nict.jp
    FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
    # systemctl daemon-reload
    # systemctl restart systemd-timesyncd
    
  • タイムゾーンの設定

    # timedatectl list-timezones | grep -i tokyo
    Asia/Tokyo
    
    # timedatectl set-timezone Asia/Tokyo
    # timedatectl                        
                Local time: Sat 2019-06-29 22:59:37 JST
            Universal time: Sat 2019-06-29 13:59:37 UTC
                    RTC time: n/a
                    Time zone: Asia/Tokyo (JST, +0900)
    System clock synchronized: yes
                NTP service: active
            RTC in local TZ: no
    
  • パッケージ最新化

    # cat /etc/apt/sources.list
    deb http://deb.debian.org/debian buster main contrib non-free
    # apt-get update
    # apt-get upgrade
    
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0