일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- KVM
- HTML
- golang
- Kubeflow
- repository
- Docker
- OpenStack
- kolla
- ceph-ansible
- Ansible
- awx
- port open
- terraform
- yum
- cloud-init
- grafana-loki
- Arch
- cephadm
- kolla-ansible
- Linux
- libvirt
- pacman
- Octavia
- ceph
- k8s
- i3
- ubuntu
- Kubernetes
- nfs-provisioner
- archlinux
- Today
- Total
목록00.OS (61)
YJWANG
Nginx proxy 설정 Nginx 에서 reverse proxy 등으로 요청 분기 시 기본적으로 GET요청 시 같이 보내는 argument가 보내지지 않는다. 하여 아래와 같이 설정하면 is_args로 인해 ? 문자가 매핑되고 $args로 인해 뒤 arguments가 전달되게 된다. sample configuration location ~ ^/(pattern1|pattern2)($|/.*) { proxy_pass http://test.server.com/$1$2$is_args$args; }Upstream Sample upstream backend { server 10.95.90.20:30080 fail_timeout=5s; server 10.95.90.21:30080 fail_timeout=5s; }..
인증서 생성 openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout test.key -out test.crt private key 암호 설정이 필요한 경우 openssl req -x509 -days 365 -newkey rsa:2048 -keyout test.key -out test.crt
Linux에서 노트북에 있는 OEM Windows key를 확인하고 싶은 경우 아래 폴더를 열어보면 된다. [yjwang@yjwang ~]$ sudo cat /sys/firmware/acpi/tables/MSDM MSDMUgLENOVOTP-N2Y AAAAAAAAAA-AAAAA-AAAAA-AAAAA-AAAAA
부트로더도 테마를 설정할 수 있다. /etc/default/grub에 아래와 같은 설정을 넣어주고 grub.cfg 파일을 갱신한다. [yjwang@yjwang ~]$ grep -i 'theme' /etc/default/grub # Uncomment one of them for the gfx desired, a image background or a gfxtheme GRUB_THEME="/boot/grub/themes/CyberRe/theme.txt"갱신 시 예시에서는 Overwrite를 할건데 설정이 잘못되는 경우 쉽게 복원하기 위해 기존 파일을 백업해두는 것이 좋다. grub.cfg 경로는 설정하기 나름이기 때문에 꼭 파일 위치를 참고하여 사용하길 바란다. [yjwang@yjwang ~]..
이미지 60%로 축소 # convert gump.jpeg -resize 60% gump_small.png
아래 명령에서 blur option뒤에 있는 0x7을 0x10과 같이 올리면 blur 정도가 강해지고 낮추면 약해진다. 해당 파일은 수동으로 생성해야한다. $ ls -l /usr/local/bin/blurlock -rwxr-xr-x 1 yjwang yjwang 336 9월 6 10:43 /usr/local/bin/blurlock $ cat /usr/local/bin/blurlock #!/bin/bash # /usr/bin/blurlock # take screenshot import -window root /tmp/screenshot.png # blur it convert /tmp/screenshot.png -blur 0x10 /tmp/screenshotblur.png rm /tmp/screenshot.p..