'사이트웨어'에 해당되는 글 1

  1. 2017.10.16 SiteWhere on raspberrypi - IoT서버 설치

SiteWhere on raspberrypi - IoT서버 설치

오픈 소스 IoT 플랫폼 SiteWhere는 장치 데이터의 처리, 저장, 처리 및 통합을 제공

Apache Tomcat 기반으로 제작

MongoDB 및 HBase 구현을 제공

해커 보드(Hackers board)와 쉽게 통합

 

 source: http://www.how2shout.com/tools/best-opensource-iot-platforms-develop-iot-projects.html

 

SiteWhere의 핵심 특징

1. 단일 인스턴스에서 여러가지 IoT 응용 프로그램 실행

2. 핵심 구성 프레임워크가 Spring

3. MQTT, AMQP, Stomp 등 다양한 장치 연결

4. 장치 추가시 자체 등록, REST 서비스, 일괄 처리 가능

5. Mule AnyPoint과 같은 3rd 파티 통합 지원

6. 기본 DBMS가 MongoDB

7. CoAP메세지(Eclipse Californium)

8. 이벤트데이터저장소(InfluxDB)

9. 가시화(Grafana)

10. 비관계형데이터저장소(HBase)

등 이라고 합니다.

 

자세한 내용은 [웹사이트]를 참고 하시기 바랍니다.

 

설치 방법은 아래의 링크를 따릅니다.

 

http://documentation.sitewhere.io/userguide/installation.html

 

[자바 설치]

sudo apt-get install openjdk-8-jdk -y

 

 

[몽고DB 설치]

sudo apt-get install -y mongodb

 

[HiveMQ MQTT Broker설치] 원문과 같습니다.

cd /opt
sudo wget --content-disposition https://s3.amazonaws.com/sitewhere-hivemq/hivemq-3.0.2.zip
sudo unzip hivemq-3.0.2.zip
sudo wget --content-disposition https://s3.amazonaws.com/sitewhere-hivemq/config.xml
sudo mv config.xml hivemq-3.0.2/conf
cd hivemq-3.0.2/bin
sudo ./run.sh &

 

[SiteWhere 설치] 원문에선 1.7.0인데 최신 안정화버전 1.12.0으로 설치합니다.

cd /opt
sudo wget https://s3.amazonaws.com/sitewhere/sitewhere-server-1.12.0.tgz
sudo tar -zxvf sitewhere-server-1.12.0.tgz
sudo mv sitewhere-server-1.12.0 /opt/sitewhere
sudo export SITEWHERE_HOME=/opt/sitewhere
cd /opt/sitewhere/bin
sudo sh startup.sh

 

 

 

 

서비스가 시작되었습니다.

 

최초 실행시 한참동안 설치가 진행됩니다. (라즈베리파이 3 기준 40분 걸립니다.)

 

http://라즈베리IP:8080/sitewhere/admin/

 

로 접속하시면 관리자 페이지가 실행됩니다.

 

기본 계정은     username: admin, password: password     으로 설정되어 있습니다.

 

보안을 위해 비밀번호는 꼭 변경하세요.

 

그 이후 자세한 내용은 아래의 링크를 참조하시기 바랍니다.

http://documentation.sitewhere.io/userguide/adminui/adminui.html

 

 

-------------------------------------------------------------------------------------------------------

라즈베리파이에서는 동작이 무리인듯 하네요.

PC나 서버에서 활용하세요. ㅠㅍㅜ

 

 

 

 

'Raspbian' 카테고리의 다른 글

jessie backport repository on RaspberryPi  (0) 2017.10.19
OpenHAB on raspberrypi  (0) 2017.10.18
Nginx + Mariadb + php + Adminer on RaspberryPi  (0) 2017.10.16