LoginSignup
0
1

More than 5 years have passed since last update.

Raspberry PiにRaspbianOSをインストールしたり設定したりのメモ(Mac限定)

Last updated at Posted at 2016-12-08

ダウンロードせよ

公式ミラーからzipファイルを落として解凍しておきます
(早いのでミラーがおすすめ)

魂のコマンドを叩き込め

# cd imgファイルのあるディレクトリ

SDカードのデバイス番号調べる
# df -h

フォーマットする(diskNのNは上で調べた番号)
# sudo diskutil eraseDisk FAT32 RPI /dev/diskN

アンマウントする(diskNのNは上で調べた番号)
# sudo diskutil unmountDisk /dev/diskN

rdiskNとするとraw書き込みで早い
# sudo dd bs=1m if=[imgファイルのパス] of=/dev/rdiskN

ラズパイにSDカードを挿して起動せよ

動いたかな?

接続

ラズパイのipはarp -a とかで適当に検索

初期パスワードはraspbianになってます
# ssh pi@ipアドレス

設定

この辺で適当に設定

# sudo apt-get update -y
# sudo apt-get upgrade -y
# sudo apt-get dist-upgrade -y
# sudo apt-get autoremove
# sudo apt-get clean
# sudo raspi-config
# sudo rpi-update
# sudo reboot

wifi設定

# sudo sh -c 'wpa_passphrase wifiのSSID wifiのPASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf'

日本語化

# sudo apt-get install -y ibus-mozc
# sudo apt-get install -y fonts-vlgothic ttf-kochi-gothic ttf-kochi-mincho fonts-takao fonts-vlgothic fonts-ipafont xfonts-intl-japanese xfonts-intl-japanese-big xfonts-kaname 
0
1
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
1