본문 바로가기

컴퓨터

(64)
Ubuntu, system program problem detected 알림 끄기 Ubuntu 사용 중 아래와 같이 problem report 알림을 끄고자 할 경우 아래의 방법 중 하나를 사용. 1. crash 리스트 삭제 sudo rm /var/crash/* 2. 서비스 종료 sudo systemctl disable apport #재시작 #sudo systemctl enable apport 출처 https://askubuntu.com/questions/1160113/system-program-problem-detected System program problem detected? I keep getting, since several days, "System program problem detected" error message: I always clicked on Report pr..
sudo apt update NO_PUBKEY 에러 sudo apt update 를 입력했을때 아래와 같이 NO_PUBKEY warning 출력 시 아래 command 입력. 키는 출력된 warning 에서 확인되는 NO_PUBKEY B53DC80D13EDEF05 이다. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 키 출처 https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey
kubernetes, helm, gpu monitoring 명령어 정리 gpu operator helm repository helm repo add nvidia https://helm.ngc.nvidia.com/nvidia \ && helm repo update helm install gpu operator helm install --wait --generate-name \ -n gpu-operator --create-namespace nvidia/gpu-operator --set driver.enabled=false helm delete gpu operator helm ls -n gpu-operator helm delete -n gpu-operator gpu-operator-1675669830 helm custom gpu monitor https://grafana.com/..
Ubuntu, kubernetes, nvidia gpu monitoring 정리 Ubuntu 20.04 containerd 를 kubernetes cri로 사용 helm, prometheus, grafana 사용 1. nvidia-container-toolkit 설치 (master node, worker node 모두 작업) distribution=$(. /etc/os-release;echo $ID$VERSION_ID) curl -s -L https://nvidia.github.io/libnvidia-container/gpgkey | sudo apt-key add - curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | sudo tee /etc/apt/sources..
Ubuntu, Kubernetes dashboard 정리 kubernetes 20.04 참고글: https://github.com/kubernetes/dashboard GitHub - kubernetes/dashboard: General-purpose web UI for Kubernetes clusters General-purpose web UI for Kubernetes clusters. Contribute to kubernetes/dashboard development by creating an account on GitHub. github.com https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md GitHub - kubernet..
Ubuntu, Kubernetes Metallb 설치 정리 2개의 ubuntu system으로 구성된 kubernetes cluster의 master node에 설치 1. Enable strict ARP mode kubectl get configmap kube-proxy -n kube-system -o yaml | \ sed -e "s/strictARP: false/strictARP: true/" | \ kubectl apply -f - -n kube-system 2. Install metallab by Manifest kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-native.yaml 3. namespace 확인 kubectl g..
Ubuntu, Kubernetes Cluster 구성 정리 Ubuntu system 두 대를 활용해서 Kubernetes Cluster 구성 Kubernetes, containerd, calico 로 구성 1. 호스트 등록 (master node에서만 수행) /etc/hosts 에 내부 ip주소와 username 입력 # sudo nano /etc/hosts 192.168.1.173 master 192.168.1.174 worker1 2. swap off (모든 node에서 수행) sudo swapoff -a sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab 3. kernel modul load 저장 (모든 node에서 수행) sudo tee /etc/modules-load.d/containerd.conf unable t..
Ubuntu, 마우스 드래그 이상, display_server_not_supported 에러 정리 Ubuntu 22.04 Ubuntu 환경에서 언제부터인가 마우스 사용이 불편해짐 코드나 텍스트를 드래그 하면 실시간 드래그된 영역 표시가 아닌 클릭 버튼을 떼면 드래그 영역이 표시가 됨 은근 불편 또한 anydesk 를 셋업해서 접속하려니 display_server_not_supported 에러가 발생 두 문제를 함께 정리하는 이유는 xorg 세팅을 변경하자 둘 다 해결 참고 글 https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0 How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubunt..