'프로그램 사용'에 해당되는 글 2258건

  1. 2019.04.03 squid storeid
  2. 2019.04.02 squid storeurl_rewrite
  3. 2019.03.29 virsh domstats 로 가상머신의 cpu 사용율 확인하기
  4. 2019.03.27 lynx proxy
  5. 2019.03.25 colo qemu
  6. 2019.03.24 docker-compose up/down 주의사항
  7. 2019.03.23 gitlab 백업하기
  8. 2019.03.21 docker 컨테이너 자동시작
  9. 2019.03.20 fail2ban with 404 2
  10. 2019.03.20 웹 통계 프로그램 물색중
프로그램 사용/squid2019. 4. 3. 13:32

store_urlrewrite_progam 을 써보려고 했더니 2.7 only로 되어 있어서..

Feature: Store URL Rewriting?
Goal: Separate out the URL used for storage lookups from the URL used for forwarding. This allows for multiple destination URLs to reference the same backend content and cut back on duplicated content, both for forward proxies (think "google maps") and CDN type reverse proxies.

Status: deprecated. see StoreID

[링크 : https://wiki.squid-cache.org/Features/StoreUrlRewrite]

 

이걸 봐야 할 듯..

[링크 : https://wiki.squid-cache.org/Features/StoreID]

'프로그램 사용 > squid' 카테고리의 다른 글

squid hierarchy와 cache  (0) 2019.04.04
squid storeid... 에러  (0) 2019.04.03
squid storeurl_rewrite  (0) 2019.04.02
lynx proxy  (0) 2019.03.27
url_rewriter squid  (0) 2019.03.15
Posted by 구차니
프로그램 사용/squid2019. 4. 2. 19:05

squid의 cache는 url과 rewrite된 url을 기준으로 매칭을 한다는데

다르게 생각하면.. GET 방식으로 주소가 줄줄이 붙어 버리면 당연히 url이 매치가 안되니 hit 할 수 없고

rewrite를 통해서 특정 인자를 빼버리고 놔두면 캐싱이 되려나?

(근데 생각해보면.. youtube에서 많은 부분이 HIRE_NONE이라.. 될런지)

 

[링크 : https://stackoverflow.com/questions/2721919/how-to-ignore-query-parameters-in-web-cache]

[링크 : http://www.squid-cache.org/Doc/config/storeurl_rewrite_program/]

[링크 : http://alter.org.ua/soft/win/squid_url_rewrite/]

'프로그램 사용 > squid' 카테고리의 다른 글

squid storeid... 에러  (0) 2019.04.03
squid storeid  (0) 2019.04.03
lynx proxy  (0) 2019.03.27
url_rewriter squid  (0) 2019.03.15
squid hierarchy  (0) 2019.03.14
Posted by 구차니

가상머신의 cpu 사용률을 보는건 이런데 해석하는 방법이 문제네?

작동하지 않는 녀석은 아무런 표시도 없지만

작동중인 녀석은 cpu.time과 user system으로 표시되는데 

(user + system) / time 으로 계산하면 되려나?

$ virsh domstats --cpu-total

Domain: 'win7'
Domain: 'Git-001'
  cpu.time=68837175516346
  cpu.user=158780000000
  cpu.system=5775550000000

[링크 : https://serverfault.com/questions/780067/virsh-command-that-displays-the-cpu-and-memory-consumption]

'프로그램 사용 > kvm(virt-manager)' 카테고리의 다른 글

kvm live add cpu  (0) 2019.04.16
kvm과 HT 그리고 affinity  (0) 2019.04.16
kvm snapshot  (0) 2019.03.17
tar 로 압축된 sparse file 풀기  (0) 2019.02.16
sparse file nfs /smb  (0) 2019.02.15
Posted by 구차니
프로그램 사용/squid2019. 3. 27. 18:14

귀찮을때 lynx로 테스트 하는데 얘도 proxy 설정가능한지 찾아보니 된다네?

 

$ sudo vi /etc/lynx-site.cfg
http_proxy:http://proxy.abc.xyz:8080

[링크 : https://stackoverflow.com/questions/32822161/how-do-i-set-proxy-for-lynx]

[링크 : https://www.linuxquestions.org/questions/linux-networking-3/proxy-setting-in-lynx-230111/]

'프로그램 사용 > squid' 카테고리의 다른 글

squid storeid  (0) 2019.04.03
squid storeurl_rewrite  (0) 2019.04.02
url_rewriter squid  (0) 2019.03.15
squid hierarchy  (0) 2019.03.14
squid url_rewrite_program  (0) 2019.03.14
Posted by 구차니
프로그램 사용/qemu2019. 3. 25. 18:54

COarse-grained LOck-stepping Virtual Machines for Non-stop Service


가상머신의 논스탑 서비스를 위한 COLO 라는건데 무슨 의미인지 감이 잘 안온다..

컨셉만 보자면..

1st VM에서 Write Operation 발생시

2nd VM에도 같이 써버린다는 개념인 듯 (반대로 보면.. 램 쪽도 같이 써주는건가?)


[링크 : https://wiki.qemu.org/Features/COLO]

'프로그램 사용 > qemu' 카테고리의 다른 글

qemu arm 에뮬레이션  (0) 2024.07.19
qcow2  (0) 2019.02.01
qemu on windows  (0) 2012.04.24
qemu 사용하기  (0) 2012.04.11
qemu / qemu-launcher  (0) 2012.04.08
Posted by 구차니
프로그램 사용/docker2019. 3. 24. 17:02

stop은 up으로 인해 생성된 이미지, 볼륨, 네트워크, 컨테이너를 삭제한다.

즉, docker-composer로 생성된 것은 서비스가 유지 안된다 라고 해야하려나?


Stops containers and removes containers, networks, volumes, and images created by up.

By default, the only things removed are:

  • Containers for services defined in the Compose file
  • Networks defined in the networks section of the Compose file
  • The default network, if one is used

Networks and volumes defined as external are never removed. 

[링크 : https://docs.docker.com/compose/reference/down/]

[링크 : https://docs.docker.com/compose/reference/up/]


[링크 : https://docs.docker.com/compose/reference/pause/]

[링크 : https://docs.docker.com/compose/reference/restart/]

'프로그램 사용 > docker' 카테고리의 다른 글

cassandra 메모리 관리  (0) 2019.05.15
docker cassandra  (0) 2019.04.22
docker 컨테이너 자동시작  (0) 2019.03.21
docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (2) 2019.03.20
Posted by 구차니
프로그램 사용/gitlab2019. 3. 23. 22:03

gitlab 자체의 데이터도 같이 백업해야 하는데 어떻게 해야하려나?


[링크 : https://docs.gitlab.com/ee/raketasks/backup_restore.html]

[링크 : https://docs.gitlab.com/omnibus/settings/backups.html]

[링크 : https://cdecl.net/312]

[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=19857653]

'프로그램 사용 > gitlab' 카테고리의 다른 글

gitlab wiki  (2) 2019.01.28
git push rejected by remote protected branch  (2) 2018.09.04
gitlab  (2) 2018.08.13
Posted by 구차니
프로그램 사용/docker2019. 3. 21. 11:57

docker 의 container도 자동실행이 가능하네?


$ docker run -dit --restart unless-stopped redis 


[링크 : https://docs.docker.com/config/containers/start-containers-automatically/]



restart

no is the default restart policy, and it doesn’t restart a container under any circumstance. When always is specified, the container always restarts. The on-failure policy restarts a container if the exit code indicates an on-failure error.

  - restart: no
  - restart: always 

  - restart: on-failure 

[링크 : https://docs.docker.com/compose/compose-file/compose-file-v2/]



version: '2'

services:

  web:

    image: nginx

    restart: always 


[링크 : https://forums.docker.com/t/how-to-handle-server-reboot-when-using-docker-compose/26374/4]

[링크 : https://askubuntu.com/questions/612928/how-to-run-docker-compose-at-bootup]


+

2019.04.26

해보니 되긴하네.vim에서 restart: 뒤에 공백이 없으면 문법강조 안된다.

'프로그램 사용 > docker' 카테고리의 다른 글

docker cassandra  (0) 2019.04.22
docker-compose up/down 주의사항  (0) 2019.03.24
docker cassandra selinux  (0) 2019.03.20
centos docker compose iptable error  (2) 2019.03.20
docker inspect  (0) 2019.02.28
Posted by 구차니

회사 홈페이지 보니 예전에 집에서 라즈베리 서버 돌리던때와 같이

권한탈취하기 위해서 각종 url 입력하는 놈들이 또 보이는데

항상 그렇지만 아이피 차단한다고 해서 어떻게 될 놈들도 아니고...


고민하다 보니 404 에러를 1초에 몇번 혹은

1분 이내에 몇번 이상 내는 놈들에게 한해서는 자동 차단하면 어떨까 싶어서 찾아보니 있다!


[링크 : https://serverfault.com/questions/849854/fail2ban-blocking-behaviours-depending-on-the-status-code]

[링크 : https://serverfault.com/questions/918151/how-to-block-ips-that-cause-excessive-404-errors-with-fail2ban]


2019.04.01

[링크 : https://medium.com/@animirr/brute-force-protection-node-js-examples-cd58e8bd9b8d]

'프로그램 사용 > fail2ban' 카테고리의 다른 글

fail2ban error 100  (0) 2017.03.06
fail2ban ssh 차단 실패???  (0) 2017.03.06
fail2ban phpmyadmin  (0) 2017.02.28
fail2ban 재시작을 위한 차단목록 추가?  (0) 2017.02.15
fail2ban 차단 관련...  (0) 2017.02.09
Posted by 구차니

webalizer가 솔찍히 보기 편한 통계는 아니지만

그거에 거부감을 느끼는 인간 때문에 다른 통계 프로그램 찾는중

근데 webalizer에다가 일별로 접속 통계 이런식으로는 커스터마이징이 안되려나?


[링크 : https://goaccess.io]

[링크 : https://awstats.sourceforge.io/]

[링크 : http://www.webalizer.org/]


[링크 : https://www.weblogexpert.com/]

Posted by 구차니