download
- Download Raspbian for Raspberry Pi zipで301MB、解凍すると1.3Gと小さくて良い。
起動
- 自動でパーティションサイズが拡張される。
- boot時にIPアドレスが表示されるので便利になった。
- pi : raspberry でログイン
free
$ free -m
total used free shared buffers cached
Mem: 434 166 267 4 6 133
-/+ buffers/cache: 26 408
Swap: 99 0 99
sources.list
$ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
# deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
$ uname -a
Linux raspberrypi 4.4.9+ #884 Fri May 6 17:25:37 BST 2016 armv6l GNU/Linux
$ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
tmpfsを使う
/etc/fstab
+ tmpfs /tmp tmpfs defaults,noatime 0 0
+ tmpfs /var/tmp tmpfs defaults,noatime 0 0
+ tmpfs /var/cache/apt/archives tmpfs defaults,noatime 0 0
raspi-config
sudo raspi-config
-
- Overclock -> Medium
- N@i Blogさんの記事を読むに、「Medium」にするのが安全な様子。(通常:700Mhz,Medium:900MHz)