Raspbian 설치 및 설정

Raspberry PI 2013. 8. 8. 20:00

Raspbian 설정

1. Image다운로드 및 Image writing

  - raspbian과 이미지 writing download link (http://www.raspberrypi.org/downloadshttps://launchpad.net/win32-image-writer/0.6/0.6/+download/win32diskimager-binary.zip)

 

2. booting 후 Raspi-Config화면

  - Expand Filesystem (Root partition resize하는 기능)

raspbian "wheezy" 이미지 파일이 sd카드에 들어갈때 sd카드 메모리가 2기가 이상이라도 2기가에 맞게 설정된다고 한다. 나머지 메모리 공간을 사용하기 위해서는 설정후 reboot하도록 한다.

  - Enable Camera (Pi camera이므로 USB camera 사용시 관련 X)

  - Putty로 headless이용시 Advanced Options -> SSH server enable

  - Internationalisation Option -> change locale ->en_US.UTF-8

  - Reboot

 * 이후에 설정을 변경 하고 싶을 경우 -> sudo raspi-config


3. network설정 고정 ip기준

>> sudo nano /etc/network/interfaces

아래 내용 nano editor에 입력

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

>> Ctrl + x  -> y -> enter

>> sudo /etc/init.d/networking restart ( network 설정 재시작 )

>> ping -c 1 www.naver.com ( ping확인 )


4. update 와 upgrade (network설정 이후)

>> sudo apt-get update (업데이트 되어 있는 라이브러리와 프로그램을 다운)

>> sudo apt-get upgrade (다운 받은 라이브러리와 프로그램 설정 및 설치)

'Raspberry PI' 카테고리의 다른 글

Raspberry Pi Webcam server  (0) 2013.07.28
Raspberry network setting (고정ip)  (0) 2013.06.28

설정

트랙백

댓글