| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- awx
- ubuntu
- kolla
- HTML
- yum
- Octavia
- i3
- terraform
- Ansible
- k8s
- Linux
- archlinux
- golang
- cloud-init
- repository
- Docker
- OpenStack
- ceph-ansible
- cephadm
- grafana-loki
- Kubeflow
- kolla-ansible
- KVM
- nfs-provisioner
- ceph
- libvirt
- port open
- pacman
- Kubernetes
- Arch
- Today
- Total
목록Linux (5)
YJWANG
GRE Generic Routing Encapsulation ㅇ 원격 네트워크가 마치 로컬 네트워크인 것처럼 보이게하는 터널링 프로토콜 - 임의 계층 프로토콜의 캡슐화가 가능케하여 이를 라우팅할 수 있도록 설계됨쉽게 표현하면 통신할 수 없는 사설 IP간에 통신할 수 있게 터널을 뚫어주는 것이다. 기존에 다른 VPN 관련 기술을 접해봤던 분이라면 어렵지 않게 이해하실 수 있습니다. 간단하게 두 Linux Server를 가지고 구성하여 이해를 돕겠습니다.우선 두 Server는 172.31.0.0/20 서브넷에 같이 위치하고있으며 서로간의 통신은 문제가 없습니다.이러한 환경에서 GRE를 활용하여 10.99.99.0/16 가상 사설 네트워크를 오버레이로 구성하여 통신 가능하도록 설정해보고자합니다. ..
Golang으로 TCP 포트 오픈 체크하는 프로그램에 대해 포스팅 하겠습니다. 아래와 같이 코딩한 이후 package main import ( "fmt" "net" "time" ) func main() { host := "localhost" port := "8888" address := net.JoinHostPort(host, port) conn, err := net.DialTimeout("tcp", address, 3*time.Second) if err != nil { fmt.Println(err) } else if conn != nil { defer conn.Close() fmt.Printf("%s:%s is opened \n", host, port) } } 오픈된 포트를 스캔했을 때, 오픈되지 않을..
출처 : vim.fandom.com/wiki/Ranges A range can be specified using line numbers or special characters, as in these examples: RangeDescriptionExample 21 line 21 :21s/old/new/g 1 first line :1s/old/new/g $ last line :$s/old/new/g . current line :.w single.txt % all lines (same as 1,$) :%s/old/new/g 21,25 lines 21 to 25 inclusive :21,25s/old/new/g 21,$ lines 21 to end :21,$s/old/new/g .,$ current line ..
brasero 등의 프로그램을 이용하는 방법도 있지만, 체크섬 생성 및 추가 검토 과정이 없어 아래 방법이 훨씬 빠르다. OS이미지는 설치 시 체크섬 체크를 진행할 수 있으므로 아래 방법을 많이 사용하곤한다. # cdrecord -v -sao dev=/dev/sr0 isoimage.iso usb로 굽기 # dd bs=4M if=path/to/archlinux-version-x86_64.iso of=/dev/sdx conv=fsync oflag=direct status=progress
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..