Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- def validation
- DeepNet
- mqtt
- 모델 구조 변경
- MLLM
- 모델 freeze
- pretrained model layer
- cnn
- layer 추출
- def train
- 논문 작성 요령
- mPLUG-2
- 가상환경
- KOSMOS-2
- 파라미터 수
- 특정 layer 추출
- 파라미터 수 확인
- 논문리뷰
- 강화학습
- 모델 동결
- 주식 용어정리
- Video Understanding
- 논문 작성
- 주식
- Instruction dataset
- vsocde 익스텐션
- Multimodal Large Language Model
- 특정 layer 동결
- Foundation Transformers
- 가중치 없이 모델 로드
Archives
- Today
- Total
시작은 미약하였으나 , 그 끝은 창대하리라
(2) MQTT Broker 구동하기 본문
1)브로커 종류
-> MQTT 프로토콜을 구현하는 브로커들은 아래와 같이 여러 것들이 있다.
(1) Mosquitto(가장 많이쓰임)
(2) HiveMQ
(3) Mosca
(4) ActiveMQ
(5) RabbitMQ
2) 리눅스 환경에서 MQTT
mosquitto를 설치를 해주고.
(1) Broker(중개인 실행)
$mosquitto
(2) Publisher(발행자)실행
$ mosquitto_pub –h 호스트 –t '토픽' –m “메시지”
ex)mosquitto_pub -h 127.0.0.1 -t 'topic' -m "Hello Mosquitto!"
(3) Subscriber(구독자)실행
$mosquitto_sub -h 호스트 -t '토픽'
ex)mosquitto_sub -h 127.0.0.1 -t 'topic'
(알맞은 topic에 맞게 찾아들어가서 출력이 됨)
(4) Mosquitto 서비스 종료 시키는 방법.
$ sudo /etc/init.d/mosquitto stop
'프로그래밍 > MQTT' 카테고리의 다른 글
[Python] MQTT를 이용한 자이로센서 값 전송 (raspberry pi 이용) (0) | 2022.08.15 |
---|---|
[Python] MQTT 통신하기(docker,rabbitmq사용) (0) | 2022.08.12 |
(4) MQTT.fx 사용하기 (0) | 2022.03.01 |
(3) 파이썬에서 MQTT 사용하기. (0) | 2022.03.01 |
(1) MQTT 란? (0) | 2022.03.01 |
Comments