사용자 도구

사이트 도구


project:beginningraspberrypi

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
project:beginningraspberrypi [2013/07/16 16:58] – [다운로드 및 설치] changwooproject:beginningraspberrypi [2014/10/09 21:24] (현재) – 바깥 편집 127.0.0.1
줄 6: 줄 6:
  
 ===== 라즈베리 하드웨어 ===== ===== 라즈베리 하드웨어 =====
 +:!: 내용 추가가 필요합니다.
  
 ===== 라즈베리 파이의 OS ===== ===== 라즈베리 파이의 OS =====
줄 17: 줄 18:
   # dd bs=4M if=<raspberry iso> of=/dev/sxx   # dd bs=4M if=<raspberry iso> of=/dev/sxx
  
-===== BittorrentSync 설치로 데이터 동기화하기 ===== 
-클라이언트에서 일단 파일을 다운로드 받아 서버로 올린다고 생각합니다. [[http://labs.bittorrent.com/experiments/sync.html | 홈페이지]]에서 'Linux Arm' 용을 다운로드 받습니다. 이 파일을 서버로 파일을 복사합니다. 
-<code>$ scp btsync_arm.tar.gz <username>@<server_host>:/home/<destination></code> 
-서버에 접속하고 압축을 풀어냅니다.합니다. 
-<code>$ ssh <username>@<server_host> 
-$ cd ~/<where_btsync_tar_is> 
-$ mkdir btsync 
-$ tar xzvf btsync_arm.tar.gz -C ./btsync</code> 
-btsync는 시스템에서 쓸 생각이므로, 이를 ''/usr/local/bin''으로 옮기도록 하겠습니다. 
-<code>sudo cp btsync/btsync /usr/local/bin</code> 
-샘플 설정 파일을 덤프해서 파일로 만듭니다. 이 파일은 마치 JSON 같지만, C/C++ 스타일의 주석이 허용되는 조금 특이한 구조입니다. 
-<code>$ btsync --dump-sample-config > ~/btsync.conf</code> 
-다음은 위 명령을 바로 실행했을 때 나온 기본값 그대로인 설정 파일입니다. 
-<code> 
- 
-  "device_name": "My Sync Device", 
-  "listening_port" : 0,                       // 0 - randomize port 
-   
-/* storage_path dir contains auxilliary app files 
-   if no storage_path field: .sync dir created in the directory  
-   where binary is located. 
-   otherwise user-defined directory will be used  
-*/ 
-  "storage_path" : "/home/user/.sync", 
  
-// uncomment next line if you want to set location of pid file 
-// "pid_file" : "/var/run/btsync/btsync.pid", 
- 
-  "check_for_updates" : true,  
-  "use_upnp" : true,                              // use UPnP for port mapping 
- 
- 
-/* limits in kB/s 
-   0 - no limit 
-*/ 
-  "download_limit" : 0,                        
-  "upload_limit" : 0,  
- 
-/* remove "listen" field to disable WebUI 
-   remove "login" and "password" fields to disable credentials check 
-*/ 
-  "webui" : 
-  { 
-    "listen" : "0.0.0.0:8888", 
-    "login" : "admin", 
-    "password" : "password" 
-  } 
- 
-/* !!! if you set shared folders in config file WebUI will be DISABLED !!! 
-   shared directories specified in config file 
-   override the folders previously added from WebUI. 
-*/ 
-/* 
-  , 
-  "shared_folders" : 
-  [ 
-    { 
-//  use --generate-secret in command line to create new secret 
-      "secret" : "MY_SECRET_1",                   // * required field 
-      "dir" : "/home/user/bittorrent/sync_test", // * required field 
- 
-//  use relay server when direct connection fails 
-      "use_relay_server" : true, 
-      "use_tracker" : true,  
-      "use_dht" : false, 
-      "search_lan" : true, 
-//  enable sync trash to store files deleted on remote devices 
-      "use_sync_trash" : true, 
-//  specify hosts to attempt connection without additional search      
-      "known_hosts" : 
-      [ 
-        "192.168.1.2:44444" 
-      ] 
-    } 
-  ] 
-*/ 
- 
-// Advanced preferences can be added to config file. 
-// Info is available in BitTorrent Sync User Guide. 
- 
-} 
-</code> 
  
 +===== 라즈베리 파이 관련 프로젝트 내부 문서들 =====
 +  * [[project:btsyncforrpi|라즈베리 파이에서 BitTorrentSync로 데이터 동기화하기]]
 +  * [[research:rpi_radio|라즈베리 파이로 인터넷 라디오 듣기]]
project/beginningraspberrypi.1373993892.txt.gz · 마지막으로 수정됨: 2014/10/09 21:23 (바깥 편집)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki