반응형

전체 글 172

Ubuntu - lsyncd 실시간 파일 동기화

lsyncd 를 설치한다 sudo apt-get install lsyncd VM 간에 ~/.ssh/authorized_keys public_key 등록 설정파일 /etc/lsync/lsyncd.conf.lua settings { logfile = "/var/log/lsyncd.log", log = "all", statusFile = "/var/log/lsyncd-status.log", statusInterval = 20 } sync { default.rsync, source="/home/husheart/lsyncTest", target="husheart@34.64.185.85:/home/husheart/lsyncTest2", delay = 1, rsync = { compress = true, acls =..

Observer Pattern

import java.util.Vector; import java.util.Iterator; import java.util.Random; interface Observer { // NumberGenerator(관찰대상)가 “나의 내용이 갱신되었습니다. // 표시도 갱신해주세요” 라고 관찰자에게 알려줄 때 호출하는 메소드 // 관찰자들이라면 다 따라야하는 메소드 public abstract void update(NumberGenerator generator); } class DigitObserver implements Observer { public void update(NumberGenerator generator) { System.out.println("DigitObserver:" + generator..

Virtual Box - 우분투 비디오 재생이 안돼요!

https://askubuntu.com/questions/816780/videos-not-playing Videos not playing I recently installed Ubuntu in a VM on Windows 10 and have the problem that videos just don't want to play. Youtube and other websites don't work. Not even downloading the videos and playing them w... askubuntu.com I recently installed Ubuntu in a VM on Windows 10 and have the problem that videos just don't want to play..

nginx 로 proxy 연결시 실제 아이피, 프로토콜 확인하기

https://lovedove.tistory.com/107 nginx 로 proxy 연결시 실제 아이피, 프로토콜 확인하기 node.js + express 를 사용하여 서비스 구성. 앞단에 nginx 를 두고 proxy로 사용하고 있음 문제1. node.js 에서 아이피 확인 - node.js 에서 req.connection.remoteAddress 로 접근 아이피를 확인 - node.js 로.. lovedove.tistory.com node.js + express 를 사용하여 서비스 구성. 앞단에 nginx 를 두고 proxy로 사용하고 있음 문제1. node.js 에서 아이피 확인 - node.js 에서 req.connection.remoteAddress 로 접근 아이피를 확인 - node.js 로 ..

Nginx 2020.04.19

Let's Encrypt 무료 SSL 설정

https://blog.outsider.ne.kr/1178 Lets' Encrypt로 무료로 HTTPS 지원하기 :: Outsider's Dev Story 웹에서 HTTPS는 보안을 위해서 기본적으로 지원해야 하는 부분이다. [구글에서도 작년부터 HTTPS를 지원 여부를 사이트의 신뢰할 수 있다는 척도로 판단하고 검색 순위에서 올리겠다고 발표](http://googlewebmas... blog.outsider.ne.kr https://www.zerocho.com/category/NodeJS/post/59f0efe01dc7c80019aca9f1 (NodeJS) letsencrypt와 greenlock으로 SSL(https) 적용하기 안녕하세요. 이번 시간에는 SSL 적용 방법에 대해 알아보겠습니다. let..

개발 2020.03.27
반응형