OpenSource 77

Fabio Route 처리 (urlprefix) with Consul

base :Hashcorp Consul 기반의 Service Routing을 Fabio로 처리하기 위함. 한참의 구글링과, 서핑, Document를 정독해도.. fabio에서는 Routing Table에서 아무것도 보이지 않았다.. 애꿋은 Fabio 만 욕하며,, 왜 가이드가 없는거야.. 했는데..있기는 했다.. 영어를 잘 못하는게 잘 못이지..ㅠㅠhttps://github.com/fabiolb/fabio 1. Register your service in consul. Make sure that each instance registers with a unique ServiceID and a service name without spaces.2. Register a health check in consul..

OpenSource 2018.12.06

특정 폴더내 특정 확장자 파일 삭제

find 명령을 받는 파일에서 다른 명령을 수행할 수 있습니다.현재 디렉토리와 하위 디렉토리에서 .tmp라는 확장 이름을 가진 모든 파일을 삭제하려면 $ find . -name '*.tmp' -exec rm {} \; 현재 디렉토리와 하위 디렉토리에서 .tmp로 끝나는 모든 파일을 찾아서 화면에 나타내고 그파일을 모두 삭제합니다. -exec 선택사항은 다음 명령 (rm)을 실행합니다. { } 는 find 명령이 찾은 파일을 의미합니다. 명령 문자열을 끝내는세미콜론 (;) 앞에 ESC 문자로 역빗금(\)을 붙입니다

OpenSource 2017.03.14

[성능monitoring tool] Scouter 설정 (버전에 따른 변경사항

성능 측정 시 부하 모니터링 및 이슈 검토를 위해서 Scouter를 사용하고 있다.jennifer 대체용 기존 v0.3.8 에서 v0.4.22로 변경하면서 설정 (conf) 변경사항 정리 1. Scouter Downloadhttps://github.com/scouter-project/scouter 2. 설치 내용 - server (Collector) - agent ( host / tomcat agent) - client ( monitoring agent, windows) 3. Configuration 1) Server Config ./server/conf/scouter.conf# Agent Control and Service Port(Default : TCP 6100)net_tcp_listen_port=..

OpenSource 2017.03.03

mattermost 설치(Centos)

Slack은 워낙 유명해서, 개발자라면 누구나 알 것 인다.하지만, Slack은 B2C 즉 open Cloud상에서 동작하는 내용으로 기업내 환경 혹은 단독 설치를 위한 Opensource로 찾은 것이 Mattermost 이다 [Homepage]https://about.mattermost.com/ Require Mysql[DB 생성]mysql> CREATE DATABASE mattermost;mysql> CREATE DATABASE mattermost_test;mysql> CREATE USER 'mmuser'@'%' IDENTIFIED BY 'mostest';mysql> GRANT all ON *.* TO 'mattermost'@'127.0.0.1' IDENTIFIED BY 'mostest'; Downl..

OpenSource 2017.02.16

RabbitMQ 설치

RabbitMQ 설치 방법RabbitMQ 는 AMQP(Advanced Message Queuing Protocol) 를 지원하는 메시징 큐 브로커 입니다. 큐(Queue) 자료구조의 동작방법 그대로 서버로서 역활을 하도록 만든 서버 입니다. RabbitMQ는 Erlang 이라는 언어로 작성되었습니다. 따라서 이 패키지가 설치되어 있어야 하는데,별도의 tar ball 형태를 지원하지 않고, rpm 형태로 설치합니다. 1. EPEL(Extra Packages for Enterprise Linux) 설치하기 yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm 2. Erlang 설치 (root 권한으로 실..

OpenSource 2017.02.15