본문 바로가기

728x90

전체 글

[Mac] virtualbox command virtualbox command virtualbox 버전 정보 VBoxManage --version > VBoxManage --version 7.0.0r153978 VM 목록 출력 VBoxManage list [--long] [--sorted] [bridgedifs | cloudnets | cloudprofiles | cloudproviders | cpu-profiles | dhcpservers | dvds | extpacks | floppies | groups | hddbackends | hdds | hostcpuids | hostdrives | hostdvds | hostfloppies | hostinfo | hostonlyifs | hostonlynets | intnets | natnets | o.. 더보기
MacOS에서 VNC 클라이언트를 설정하기 MacOS에서 VNC 클라이언트를 설정하기 1. macOS에 기본으로 내장된 Screen Sharing 앱을 사용하기 Spotlight 검색을 열고 "Screen Sharing"을 입력하여 앱을 찾습니다. 앱을 실행하고 접속하려는 컴퓨터의 IP 주소나 호스트 이름을 입력합니다. 필요한 인증 정보(사용자 이름 및 비밀번호)를 입력하고 "Connect"를 클릭합니다. 2. 외부 VNC 클라이언트 앱 사용하기 MacOS에서는 다양한 외부 VNC 클라이언트 앱을 사용할 수 있습니다. 몇 가지 인기 있는 앱은 "RealVNC", "TightVNC", "VNC Viewer" 등이 있습니다. 원하는 VNC 클라이언트 앱을 선택하고 해당 앱을 다운로드하고 설치합니다. 앱을 실행하고 접속하려는 컴퓨터의 IP 주소나 호스.. 더보기
[draft] Shell Script에서 EOF(End Of File) 사용하는 방법 Shell Script에서 EOF(End Of File) 사용하는 방법덮어쓰기(파일이 없으면 생성됨)file1.txtcat file1.txthelloworldEOF$ cat file1.txthelloworldfile2.txtcat file2.txtHelloWorldEOF$ cat file2.txt HeeeoWoredfile3.txtcat > file3.txt $ cat file3.txt helloworld추가(파일 끝에 붙이기)file5.txtcat > file5.txt helloworldEOFcat > file5.txthelloworldEOF$ cat file5.txt helloworldhelloworldfile6.txtcat >> file6.txt cat >> .. 더보기
[리눅스] ansible apt 모듈(apt module) ansible apt 모듈(apt module) 인벤토리(inventory) 확인 ansible-inventory -i inventory/mycluster/inventory.ini --graph $ ansible-inventory -i inventory/mycluster/inventory.ini --graph @all: |--@etcd: | |--kube-control1 |--@k8s_cluster: | |--@calico_rr: | |--@kube_control_plane: | | |--kube-control1 | |--@kube_node: | | |--kube-node1 | | |--kube-node2 | | |--kube-node3 | | |--kube-node4 | | |--kube-node5 |.. 더보기
[리눅스] LVM으로 구성된 ROOT(vg0-lv--0) 파티션 확장 LVM으로 구성된 ROOT(vg0-lv--0) 파티션 확장 테스트 환경 $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-a.. 더보기
[kubernetes] 쿠버네티스 볼륨(Volume) - 동적 프로비저닝(dynamic Provisioning) / nfs 쿠버네티스 동적 프로비저닝(dynamic Provisioning) nfs dynamic provisioner 구성 https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner git clone https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git cd nfs-subdir-external-provisioner/deploy rbac 편집 $ cat rbac.yaml apiVersion: v1 kind: ServiceAccount metadata: name: nfs-client-provisioner # replace with namespace where provisioner is.. 더보기
[kubernetes] 쿠버네티스 볼륨(Volume) - 정적 프로비저닝(Static Provisioning) / nfs 쿠버네티스 정적 프로비저닝(Static Provisioning) nfs 서버 구성(kube-control1) - nfs 서버 구성 : https://sangchul.kr/432 nfs 클라이언트 구성(kube-node1, kube-node2, kube-node3) sudo apt install -y nfs-common showmount -e 192.168.56.11 $ showmount -e 192.168.56.11 Export list for 192.168.56.11: /nfs-directory/shares-data1 192.168.56.0/24 PV(Persistent Volume) 생성 nfs-pv1.yaml 파일 작성 vim nfs-pv1.yaml apiVersion: v1 kind: Persis.. 더보기
[kubernetes] 쿠버네티스 볼륨(Volume) - hostPath 볼륨 쿠버네티스 hostPath 볼륨 hostPath 볼륨 hostPath 볼륨 생성 hostPath1.yaml 파일 작성 apiVersion: apps/v1 kind: ReplicaSet metadata: name: myapp-rs-hostpath spec: replicas: 2 selector: matchLabels: app: myapp-rs-hostpath template: metadata: labels: app: myapp-rs-hostpath spec: containers: - name: web-server image: nginx:alpine volumeMounts: - name: web-content mountPath: /usr/share/nginx/html readOnly: true ports: .. 더보기

728x90