OS(56)
-
우분투 dhcp IP 다시 받아오기
# IP 확인 ifconfig # 네트웍카드 초기화 sudo dhclient -r 인터페이스 # 네트웍카드 dhcp IP 할당 sudo dhclient 인터페이스
2023.03.01 -
우분투 kubectl 설치
# bin 디렉토리 생성 mkdir -p $HOME/bin # path에 bin 디렉토리 추가 echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc # 파일 다운로드 curl -LO https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl # 권한 부여 및 이동 chmod +x kubectl mv kubectl $HOME/bin/ # 확인 kubectl version -short 주요 명령어 # kebectl get을 통해서 조회 가능한 리소스 목록 확인 kubectl api-resources # resource 내용 확..
2023.03.01 -
우분투에 HDD 자동 마운트하기
참고: https://m.blog.naver.com/watney0813/221017927194 우분투 : 하드디스크(HDD) 자동 마운트하기 ※ 이 포스트는 Ubuntu16.04를 기준으로 작성하였습니다. 하드디스크가 자동으로 마운트가 되지 않는다? ... blog.naver.com USB HDD에는 적절하지 않은 방법
2023.02.25 -
리눅스에 디스크 마운트하기
ntfs 마운트하기 # 마운트 대상 찾기 sudo fdisk -l # 마운트할 디렉토리 생성 sudo mkdir /mnt/usb1 # ntfs 마운트하기 sudo mount -t ntfs /dev/sdb1 /mnt/usb1 # 결과 확인 df -h 마운트가 안될 경우, # 에러 The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Falling back to read-only mount because the NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or f..
2023.02.25 -
termux 에러
unable to locate package https://stackoverflow.com/questions/65210662/how-to-fix-e-unable-to-locate-package-python-on-termux How to fix "E: Unable to locate package python" on termux? I am installing python on termux but I am getting this error: $ pkg install python Checking availability of current mirror: ok Reading package lists... Done Building dependency tree... Done E: Unab... stackoverflow..
2022.08.10 -
리눅스 NFS 설정
https://jdh5202.tistory.com/706 NFS를 이용한 리눅스간 파일 공유 설정 NFS를 이용해 내외부 사용자간 컴퓨터에 있는 파일에 접근할 수 있다. 원격 호출을 위해 RPC 프로토콜을 이용하며 동일한 OS끼리만 파일 공유가 가능하다 ி NFS 서버 ① NFS 설치 중 SELinux에 의해 jdh5202.tistory.com nfs 설치 yum install nfs-utils -y mkdir share chmod 707 접근할 Client 정보 및 권한 부여 # sudo vi /etc/exports /home/계정/share 192.168.0.*(rw,sync) nfs 서비스 시작 및 확인 sudo systemctl start nfs-server sudo exportfs -v
2022.03.20