http://egloos.zum.com/simonshin/v/2247509 1. mysqldump 옵션 중 binary log 의 포지션 정보 같이 dump 하기 /usr/local/mysql/bin/mysqldump -uroot -p –master-data=2 > /data/…/backup.sql 이 명령어 중에서…
-
-
[scrap] MySQL Replication 설정과 몇 가지 테스트
http://blog.hibrainapps.net/130 MySQL을 DB로 사용하면서 서버의 부하 분산을 위한 방법 중 하나로 Replication 을 사용한다. Replication 은 Master 하나에 n개의 Slave로 지정이 가능하다. Slave는 다시 Master 역할을 할수 있으며…
-
[scrap] grep , sed, awk 정규식
** grep 한 데이터 중 3번째 항목만 가져 오고 싶을때.. grep “.xml” | awk ‘print {$3}’ http://unabated.tistory.com/447 정규식이란 무엇인가 ? 어떤 문자열의 집합을 묘사하는데 사용되는 텍스트 스트링 정해진 구문 규칙에 따른다 Editor, Utillity,…
-
[scrap] BAD USB- what is ?
새롭게 알게된 사실.. USB에는 사용자 영역(저장 공간) 앞에 firmware부분이 있다고 한다.. PC에 연결 될때 이 firmware부분을 읽어 와서 이 USB장비의 정체를 파악 한다고 한다. 즉 USB저장장치, HDD, Keyboard, Mouse 등등의 구분과 그에 맞는 드라이버 연동이 이 firmware부분에 적데 된다고 한다. 그래…
-
[scrap] MQTT 스터디 노트
http://bcho.tistory.com/864 MQTT 스터디 노트 스터디 노트 – IBM에서 만듬 – FB 메신져가 이걸 사용. 국내 통신사 PUSH 서버도 이걸 사용함 – 일단 FB가 쓰니, 동남아권 Telco에서 패킷 걸리는 문제는 없을듯 – Qos 0,1,2로 해서, 2 의 경우 messag…
-
[scrap] Install MRTG (Multi Router Traffic Grapher) to see network traffic data on the web.
http://www.server-world.info/en/note?os=CentOS_6&p=mrtg Install MRTG (Multi Router Traffic Grapher) to see network traffic data on the web. [1] Install Apache HTTP Server, refer to here. [2…
-
[scrap] 텔레그램(Telegram) 으로 서버 모니터링 하기
http://idchowto.com/?p=4027 지난 시간에 이어 이번 시간에는 Telegram 으로 서버 모니터링 하는 방법에 대해 살펴보도록 하겠습니다. 먼저 갖춰져야할 환경조건은 다음과 같습니다. < 환경조건 > – 서버측 1. Telegram-cli 설치 2. lua 스크립트가 가동되어 있어야 함 –…
-
[scrap] 텔레그램(Telegram)으로 서버 모니터링하기
http://truefeel.tistory.com/224 메신저 검열로 ‘텔레그램(Telegram)’ 광풍이 불고 있다. 개인적으로 카톡을 자주 사용하지 않아, 텔레그램이 절실(?)하게 필요하지 않다. 하지만 텔레그램을 사용해야할 이유가 생겼다. 텔레그램이 서버에서 사용할 수 있는 CLI를 제공하고 있고, lua나 pyth…
-
Install Telegram-cli on Centos7
1. lua package install yum -y install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel 1. git clone git clone –recursive https://github.com/vysheng/tg.git telegram 2. config…
-
NGINX :: Resolving "403 Forbidden" error
http://nginxlibrary.com/403-forbidden-error/ JAN 9TH, 2012 403 Forbidden errors are Nginx’s way of telling “You have requested for a resource but we cannot give it to you.” 403 Forbidden is technicall…