아래 사이트 7page


http://www.slideshare.net/MoamBae/raspberry-pi-35150708

Posted by 공놀이나하여보세
,


1. Anaconda 설치 방법

http://continuum.io/blog/raspberry


아래 명령어로 몇 개 인스톨

$ wget http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-armv6l.sh
$ md5sum Miniconda-3.5.5-Linux-armv6l.sh
2f37cb775ec3e482280a7bd6b97ee501
$ /bin/bash Miniconda-3.5.5-Linux-armv6l.sh

PATH environment variable 설정이 되면 cmd를 껐다가 다시 켠다.


이용 가능한게 뭔지 우선 체크한 후 conda를 이용해 추가 packages 인스톨을 한다.

$ conda search 48 matches found compatible with environment /home/pi/anaconda: Packages with available versions and build strings: bitarray 0.8.0 py27_0 bsdiff4 1.1.3 py27_0 conda 1.5.0 py27_0 cubes 0.10.2 py27_0 cython 0.18 py27_0 distribute 0.6.34 py27_1 docutils 0.10 py27_0 ...

bitarray 를 설치한다.

$ conda install bitarray
...
$ python
Python 2.7.3 |Continuum Analytics, Inc.| (default, Mar 21 2013, 01:11:54)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bitarray
>>> bitarray.test()
installed in: /home/pi/anaconda/lib/python2.7/site-packages/bitarray
bitarray version: 0.8.0
2.7.3 |Continuum Analytics, Inc.| (default, Mar 21 2013, 01:11:54)
[GCC 4.6.3]
......................................................................
...........................................................
----------------------------------------------------------------------
Ran 129 tests in 56.350s

OK
<unittest.runner.TextTestResult run=129 errors=0 failures=0>
>>>

Running the bitarray unittest on a regular machine only takes about a second or two.


2. IPython 설치 방법(python2 기준)

http://www.raspberrypi.org/documentation/usage/python/more.md

sudo apt-get install ipython
sudo apt-get install python-pip
sudo pip install simplejson


3. ipython notebook 설치 방법

- 라즈베라파이 B에서는 좀 느리네요. 라즈베리파이2 구매 예정인데 다시 시도해봐야겠습니다. ㅠㅠ

- 라즈베리파이2에서는 쓸만하네요~ 웹브라우징 빼고 쓸만합니다.

https://arundurvasula.wordpress.com/2014/04/01/remote-ipython-notebook-with-raspberry-pi/

sudo apt-get -y install ipython-notebook
sudo apt-get -y install python-matplotlib python-scipy \
                 python-pandas python-sympy python-nose


Posted by 공놀이나하여보세
,

주의 : 8기가짜리 SD카드를 쓰고 있는데 라즈비안OS외에 XBMC니 뭐니 설치 했더니 용량이 300메가가 남아서 포맷 후 다시 설치 중입니다.

파이썬 개발하실 분은 일단은 라즈비안만 설치하세요.


1. boobs.zip 파일 다운로드

http://www.raspberrypi.org

2. boobs.zip 압축 해제 후 폴더 내 파일을 sd카드로 복사

3. 부팅에서 config파일 수정

http://www.rasplay.org/?p=3786

(1) 한글 설정

en_GB.UTF-8 UTF-8, en_US.UTF-8 UTF-8, ko_kr.UTF-8 UTF-8 세가지 언어를 체크선택 

(2) Time zone설정

asia -> Seoul 설정

(3) 한글 키보드 설정

Generic 105 key (Intl) PC 를 선택 

english(US) 선택

출처 : http://codekin.com/?p=74


맥을 이용한 원격 접속은 아래 주소

다 좋은데 맥을 이용해서 원격접속을 하니 한글 입력이 잘 안되네요 ㅠㅠ

* XRDP 설정법 - 윈도우에서 원격접속하려면 이걸 사용, 맥으로도 CoRD를 깔면 XRDP사용 가능

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install xrdp

출처 : http://cafe.naver.com/openrt/195


맥에 CoRD 설치 주소

http://sourceforge.net/projects/cord/?source=typ_redirect


*tightvncserver로 설정법 - 개인적으로는 XRDP가 더 안정적인 것 같지만 맥에서 접속하려면 어쩔 수 없네요

http://goooodcode.tistory.com/43


고정 ip설정은 아래 주소

http://www.berrycracker.net/archives/512


한글 키보드 설정

아래에서 nabi를 설치하는 것이 더 안정적인 것 같다.

일단 한영키를 먹음

하지만 원격 접속에서는 한글 입력이 잘 안됨 ㅠㅠ


sudo apt-get install nabi

sudo apt-get install im-switch

커맨드 창에서 im-switch 실행 nabi선택

출처 : http://6502.tistory.com/589


한글폰트 설치 필요
$sudo apt-get install ttf-unfonts-core

한글키보드설치
$sudo apt-get install ibus ibus-hangul

http://www.rasplay.org/?p=3786






Posted by 공놀이나하여보세
,