일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- golang
- Linux
- Docker
- pacman
- repository
- Octavia
- kolla
- OpenStack
- terraform
- k8s
- Ansible
- ubuntu
- port open
- nfs-provisioner
- libvirt
- cephadm
- ceph
- kolla-ansible
- Kubernetes
- grafana-loki
- KVM
- i3
- yum
- ceph-ansible
- Kubeflow
- Arch
- awx
- HTML
- cloud-init
- archlinux
- Today
- Total
목록분류 전체보기 (189)
YJWANG
Linux raw device 생성 character device로 전환하여 OS의 disk block buffer cache를 거치지 않고 바로 I/O수행 raw device 생성 - 생성 # raw /dev/raw/raw99 /dev/testvg/testlv /dev/raw/raw99: bound to major 253, minor 2 - 확인 # raw -qa /dev/raw/raw99: bound to major 253, minor 2 # ls -l /dev/raw total 0 crw-rw----. 1 root disk 162, 99 Feb 19 09:15 raw99 crw-rw----. 1 root disk 162, 0 Feb 19 09:05 rawctlraw device 삭제 # raw /d..
for문을 사용할 때 seq를 활용하곤한다. seq [시작 숫자] [간격] [끝 숫자] # for num in $(seq 1 10);do echo "test num = $num"; done test num = 1 test num = 2 test num = 3 test num = 4 test num = 5 test num = 6 test num = 7 test num = 8 test num = 9 test num = 10# seq 1 10 1 2 3 4 5 6 7 8 9 10 # seq 1 2 10 1 3 5 7 9 # seq 3 6 3 4 5 6 # seq 3 2 6 3 5
cat /etc/sudoers test 계정이 root 계정을 통해 httpd 서비스 start 가능 test ALL=(root) /usr/bin/systemctl start httpd test 그룹이 root 계정을 통해 모든 서비스 start 가능 %test ALL=(root) /usr/bin/systemctl start * test 계정이 root 계정을 통해 httpd 서비스 start, vsftpd 서비스 stop 가능 test ALL=(root) /usr/bin/systemctl start httpd, /usr/bin/systemctl stop vsftpd test 그룹이 root 계정을 통해 모든 서비스 start, 모든 서비스 stop 가능 %test ALL=(root) /usr/bin/s..