본문 바로가기
728x90
반응형

전체 글186

[SSH] no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 문제 OpenSSH가 7.0이상 키 교환 알고리즘이 기본으로 켜져 있지 않아서 나는 문제로 SSH 접속 시 직접 알고리즘을 키거나 1ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@hostcs ~/.ssh/config 설정을 추가하면 된다. 1234567HOST host HostName host User user Port port KexAlgorithms diffie-hellman-group1-sha1 $ssh hostColored by Color Scriptercs 2017. 5. 26.
docker file copy from container to host 12docker cp :/file/path/within/container /host/path/target Colored by Color Scriptercs 2017. 4. 3.
Nginx on Docker Run Nginx on Docker 1. Create Dockerfile1234FROM nginxCOPY html /usr/share/nginx/html # html directory of contentADD nginx.conf /etc/nginx/nginx.conf # nignx config fileCMD ["nginx", "-g", "daemon off;"]cs 2.Create nginx.conf1234567891011121314user nobody nogroup;worker_processes auto; # auto-detect number of logical CPU cores events { worker_connections 512; # set the max number of simultaneous.. 2017. 3. 30.
socket.io load balancing with HAProxy on Docker Load Balancing with HAProxy on Docker Setup HAProxy + Socket.io + Node HAProxy Config haproxy.cfg 1234567891011121314151617181920212223242526272829303132333435363738394041global maxconn 4096 defaults mode http balance roundrobin option redispatch option forwardfor timeout connect 5s timeout queue 5s timeout client 50s timeout server 50s listen stats bind *:1936 mode http stats enable stats uri /.. 2017. 3. 28.
728x90
반응형