구조도구성품IoT devices: 라즈베리파이 등 MQTT ClientMQTT Broker: EMQ (https://www.emqx.io)Kafka producer: Kafka Junction (https://github.com/brycemcd/MQTT-to-Kafka)Kafka consumer: Logstash + kafka input plugin + elasticsearch output pluginKafka (+ Zookeeper)Elastic stack프로세스IoT 기기에서 MQTT 프로토콜로 MQTT Broker 에 hello-kafka 토픽에 데이터 전송(=pub). Kafka Producer 인 Kafka bridge 에서 MQTT Broker (종류 중 Emqx 사용함)의 hello-kafk..
$ dpkg -L (패키지명)
Master server$ mysql -uroot -pmysql> GRANT REPLICATION SLAVE ON *.* to 'repl'@'172.%' IDENTIFIED BY 'repl-password-here';mysql> flush tables with read lock;mysql> reset master;# Make note of the file name and file positionmysql> show master status;$ /etc/init.d/mysql stop$ xfs_freeze -f /mnt/mysql# Take AWS EC2 EBS snapshot and when it begins do next step$ xfs_freeze -u /mnt/mysql$ /etc/init.d/m..
TL;DR (요약)터미널에서 mongo Repl 진입mongo> db.fsyncLock() 명령으로 mongoDB 얼리기$ xfs_freeze -f /mnt/mdbtake the EBS 스냅샷EBS 스냅샷이 pending 상태로 뜨면$ xfs_freeze -u /mnt/mdbmongo> db.fsyncUnlock() 명령으로 mongoDB 얼리기 해제 절차자동 Sync 방법:increase ulimithttps://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429aclean shutdown mongod instance (use either a or b below)mongo> db.shutdownSer..
0. ssh 접속 불가시 ec2 instance 상태 확인 ec2 instance 선택 -> Actions -> Instance Settings -> Get Instance Screenshot 1. instance 를 stop2. root 볼륨을 Detach3. 볼륨의 스냅샷 생성4. 스냅샷으로부터 기존보다 큰 크기로 새 볼륨 생성5. 새 볼륨을 인스턴스에 Attach, Device 입력란에 /dev/sda1 입력(해야 root 볼륨으로 붙음).6. 인스턴스 start7. 디스크 공간 확인하고 확장되었다면 마침. 아니면 다음 과정으로.8. resize2fs 등으로 확장 작업 시행.9. 재시작
composer clearcachecomposer global update
아래 명령들을 각각 시도해보았다.$ chown -R $(whoami) ~/.npm$ npm install --cache /tmp/empty-cache $ npm i --unsafe-perm$ npm i --unsafe-perm --cache /tmp/empty-cache위 명령들로도 해결이 안되는 경우가 발생하였고다른 node.js 패키지 관리자인 yarn 으로 갈아타니 깔끔하게 해결되었다.
- Total
- Today
- Yesterday
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
- sencha touch
- 워드프레스
- Mac
- PHP
- JSON
- Prototype
- javascript
- laravel
- ASP
- 한글
- Linux
- iphone
- IOS
- centos
- Debug
- nginx
- mssql
- 안드로이드
- git
- JQuery
- nodejs
- Android
- CSS
- Wordpress
- API
- iis
- Chrome
- IE
- Docker
- classic asp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |