목록전체 글 (209)
클라우드 엔지니어 꿈나무
하기와 같이 kubectl 입력을 하면 하기의 오류가 계속 출력이 되었다.그 외에 다른 명령어는 잘 작동 됨 그래서 kubectl 환경 변수를 재설정해주니 해결되었다.kubectl 유무 확인 # export PATH=/usr/local/bin:$PATH환경 변수 지정 # vi ~/.bashrc맨 아래에 하기와 같이 추가 입력export PATH=/usr/local/bin:$PATH # source ~/.bashrc변경 사항 적용 # kubectl version
wsl 터미널을 열었을 때, 갑자기 리눅스 명령어가 먹통이 되어서 오류 메세지를 확인해봤더니 경로 부분이 잘못 설정되어 있었다. 환경 변수 재설정을 위하여 하기 명령어 입력 # export PATH=/usr/bin:/bin:$PATH/usr/bin과 /bin을 환경 변수로 설정한다 # vi ~/.bashrcvi 편집기에서도 적용export PATH=/usr/bin:/bin:$PATH # source ~/.bashrc수정 사항 적용 # wsl --shutdown 껐다 # wsl켜기 # ls작동 확인
RHCSA V9 시험 합격해서 작성하는 RHCSA V9 시험 후기 (2024.05.20) RHCSA V8버전도 2024년까지 응시가 가능하지만 RHCSA V9로 결정 시험 장소는 에티버스러닝으로 선택애초에 RHCSA 시험을 볼 수 있는 곳이 국내에 두 군데 정도밖에 없다. 시험 시간은 1시간 당 네 타임 정도 있다.예를 들면 10시대를 선택하면 10시, 10시 15분, 10시 30분, 10시 45분 이런 식!나는 2시 30분으로 선택했고 시험 입장은 15분 전부터 가능 음료는 소지 가능하나 그 외 음식물은 소지 불가! 내가 갔던 시험실 내부에는 따로 돌아다니는 감독관이 있지 않아서 질문이 있다면 스크린 내 채팅방을 이용해야 한다.채팅방에서 대화하는 사람이 감독관인 셈!영어로 대화를 하는데 한국어 쓰고..
user명 xanadu $ systemctl --user start container- mycontainer.service오류 발생 $ journalctl --user container-mycontainer.service권한이 부족해서 생긴 현상xanadu를 adm, systemd-journal, wheel 중 한 그룹에 넣어줘야 한다. # su -# usermod -a -G adm xanadu-a 권한 추가-G 그룹# su xanadu $ systemctl --user start container-mycontaier.service$ systemctl --user status container-mycontainer.service
시험 관련 확인 사항은 하기 링크에서 확인https://hiheey.tistory.com/207 시험 치기 전 준비해야 할 미리 세팅해야 하는 것들은 추후 정리할 예정(cf. nfs서버, podman 사용자 권한, 그 외 사용자들 및 디렉토리 설정 기타 등등... ) sshd 부분은 시험 채점에 영향을 미치지는 않지만 복사 및 붙여넣기를 하기 위해 terminal을 사용하고자 할 시에 사용# vi /etc/ssh/sshd_config# Port22 부분 주석 제거Port 22# PermitRootLogin 부분 주석 제거 후, yes로 설정PermitRootLogin yes # systemctl restart sshd시험에서는 이미 port 부분에 ssh 가 열려있기 때문에 firewall-cmd 로 s..
I-node 번호를 가르키는지, 아니면 원본 파일을 가르키는지에 따라 Hard link와 Symbolic link로 구분됨 Hard linkHard link: 같은 inode를 가르켜 파일의 내용을 공유, 즉 inode 번호가 동일 # cat link> link > echo "It1"> EOF # ls -il연결된 링크가 1로 표시되어 있는 것을 확인할 수 있다.link.txt inode 번호: 33587191 1 : 연결된 링크 수 # ln link link2link의 inode를 가르키는 하드링크를 link2로 생성 # ls -li연결된 링크 수가 2가 되었고 link2 가 생성되며 link와 link2가 같은 indoe를 쓰고 있는 것을 확인할 수 있다. # rm -rf link하드링크 원본 ..
podman 이미지를 갖고 오려고 하면 인증 토큰을 찾을 수 없다는 메세지와 함께 유효하지 않은 사용자와 비밀번호라고 창이 출력된다.subscription-manager 로 이미 계정은 등록한 상태 # podman login registry.redhat.io 하기와 같이 이미지를 끌고 올 수 있다.
이 전에 NFS 서버 구성을 작성한 적이 있는데 다른 방식으로 NFS 서버 구성을 진행하고자 포스팅 작성 https://hiheey.tistory.com/178 RHEL NFS 설정servera: NFS-Serverserverb: Client Server serveraip: 10.0.0.1 #rpm -qa | grep nfsnfs 서버 설치 여부 확인 #yum install -y nfs-utils nfs 서버가 설치되지 않았으면 nfs-utils 다운로드 #systemctl enable --now rpcbindrpcbind 활성hiheey.tistory.com https://whitestudy.tistory.com/15 Linux - NFS 설정설정 준비 하기 ip servera : 192.168.5..
http://classroom.example.com/Containerfile 에서 파일을 다운로드 수정 금지 다운받은 컨테이너 파일로 이미지 빌드 밑에 문제 때문에 루트 유저가 아닌 xanadu 유저로 접속 # ssh xanadu@servera servera의 xanadu 의 사용자로 접속 $ wget http://classroom.example.com/Containerfile (하지만 나는 혼자 연습용이기 때문에 vi 편집기로 Containerfile 생성) $ vi Containerfile # syntax=docker/dockerfile:1 FROM registry.access.redhat.com/ubi9/ubi ENV PATH="/usr/local/bin:${PATH}" CMD ["bash", "-..