Last active
August 29, 2015 14:13
-
-
Save cigalecigales/c942b9f1a4be8b8a6f5f to your computer and use it in GitHub Desktop.
[*Raspberry Pi*] ラズパイをとりあえず手っ取り早く触れるようにする手順 ref: http://qiita.com/cigalecigales/items/02e18188048a22b70934
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ df -h | |
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on | |
/dev/disk1 930Gi 337Gi 593Gi 37% 88398098 155500723 36% / | |
devfs 192Ki 192Ki 0Bi 100% 664 0 100% /dev | |
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net | |
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home | |
/dev/disk2s1 298Gi 227Gi 71Gi 77% 67886 74958310 0% /Volumes/HD-PEU2 | |
/dev/disk3s1 521Mi 485Mi 36Mi 94% 124066 9268 93% /Volumes/Neverending Nightmares |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ df -h | |
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on | |
/dev/disk1 930Gi 337Gi 593Gi 37% 88403096 155495725 36% / | |
devfs 195Ki 195Ki 0Bi 100% 674 0 100% /dev | |
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net | |
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home | |
/dev/disk2s1 298Gi 227Gi 71Gi 77% 67886 74958310 0% /Volumes/HD-PEU2 | |
/dev/disk3s1 521Mi 485Mi 36Mi 94% 124066 9268 93% /Volumes/Neverending Nightmares | |
/dev/disk5s1 15Gi 2.3Mi 15Gi 1% 0 0 100% /Volumes/UNTITLED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo diskutil unmount /dev/disk5s1 | |
Volume UNTITLED on disk5s1 unmounted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /Users/user01/Documents/create/img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo dd bs=1m if=2014-12-24-wheezy-raspbian.img of=/dev/rdisk5 | |
2525+1 records in | |
2525+1 records out | |
2647916544 bytes transferred in 198.337975 secs (13350527 bytes/sec) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh pi@192.168.3.5 | |
The authenticity of host '192.168.3.5 (192.168.3.5)' can't be established. | |
RSA key fingerprint is 17:4b:48:4a:39:63:20:d6:b8:dc:8b:08:20:7c:6c:a0. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '192.168.3.5' (RSA) to the list of known hosts. | |
pi@192.168.3.5's password: raspberry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
NOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config' | |
pi@raspberrypi ~ $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get update | |
Get:1 http://archive.raspberrypi.org wheezy Release.gpg [490 B] | |
(省略) | |
Fetched 7,025 kB in 2min 27s (47.7 kB/s) | |
Reading package lists... Error! | |
E: Encountered a section with no Package: header | |
E: Problem with MergeList /var/lib/dpkg/status | |
E: The package lists or status file could not be parsed or opened. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo rm /var/lib/dpkg/status | |
$ sudo touch /var/lib/dpkg/status | |
$ sudo apt-get update | |
Hit http://raspberrypi.collabora.com wheezy Release.gpg | |
(省略) | |
Reading package lists... Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment