본문 바로가기

ops/other67

ansible 설치하기 -설치→ sudo apt update sudo apt install -y ansible ansible --version -ansible→ ansible 디렉터리 설정 및 shell 설정하기→ 도커 설치시 apt-get update에서 현재의 gpg키 관련 오류 수정 방식 확인 필요: 책에 작성된 방식은 현재 사용 불가: 이곳에서 도커설치방법 확인→ playbook으로 docker 이미지 빌드→ docker-registry에 대해 비보안 연결인 /etc/docker/daemon.json에 insecurity-registry 설정해주기→ 이미지 push 전에 리포지터리ip및 포트를 태그로 붙이기→ sshpass 설치필요→ hosts 파일에 입력된 각호스트에 접속할 유저의 이름을 작성해준다.(접속할 서버의 /.. 2025. 11. 27.
gitea 설치하기 -설치 → sudo apt update sudo apt install -y git wgetsudo adduser \ --system \ --shell /bin/bash \ --gecos 'Git Version Control' \ --group \ --disabled-password \ --home /home/git \ gitwget -O gitea https://dl.gitea.com/gitea/1.22.1/gitea-1.22.1-linux-amd64sudo mv gitea /usr/local/bin/ sudo chmod +x /usr/local/bin/giteasudo mkdir -p /var/lib/gitea/{custom,data,log}sudo chown -R git:git /var/lib/git.. 2025. 11. 27.
ubuntu linux에 카카오톡 설치하기 https://velog.io/@sk1440sk/Linux-%EC%97%90%EC%84%9C-kakaotalk-%EC%84%A4%EC%B9%98%EB%B0%A9%EB%B2%95 Linux 에 kakaotalk 설치방법Debian 12 를 사용하는데 kakaotalk 설치하는 방법을 공유해볼라고합니다아래의 링크https://github.com/jeonghanlee/kakaotalk-env누군가가 만들어주심 ㄷㄷ무튼sudo 그룹에 사용자를 추가해줌sudo usermod -aGvelog.io 2025. 11. 27.
window vs linux os 파일 크기 리눅스(ubuntu)는 os크기가 10G 정도 되는거 같다. 윈도우(11은) 30G(linux 3배)이다. 2025. 11. 27.
ubuntu에서 kubectl 설치하기 https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ Install and Set Up kubectl on LinuxBefore you begin You must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.34 client can communicate with v1.33, v1.34, and v1.35 control planes. Using the latest compatible version of kubectl helps avoidkubernetes.io 2025. 11. 24.
ubuntu에서 k3s 설치하기 https://docs.k3s.io/installation Installation | K3sThis section contains instructions for installing K3s in various environments. Please ensure you have met the Requirements before you begin installing K3s.docs.k3s.io curl -sfL https://get.k3s.io | sh -(공식 홈페이지) 2025. 11. 24.
ubuntu에 rancher desktop 설치하기 https://docs.rancherdesktop.io/getting-started/installation/ Installation | Rancher Desktop DocsRancher Desktop is delivered as a desktop application. You can download it fromdocs.rancherdesktop.io curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg --dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpgecho 'deb [.. 2025. 11. 24.
sonar quality gates 적용할 quality gates를 생성 rule을 생성 프로젝트에 새로 추가된 Quality Gates를 추가해준다. quality gate의 결과를 jenkins 서버로 전송하기 위한 web hook 설정을 해준다. 파이프라인에서의 quality gate 설정 quality gate의 결과가 정상적으로 전송이 되었다. 2025. 11. 19.
jenkins에 sonarscanner 적용하기 curl 요청은 정상적으로 sonarqube가 실행되고 있는 서버로 전송되고 응답을 받는다. sonarscanner를 실행하는 스테이지에서 curl로는 성공했던 주소로 연결을 할수가 없다고 한다. (토큰을 통한 인증 그러한 문제가 아니다, 그랬다면 curl도 연결을 할수가 없었을 것이다.) jvm 관련 문제일수도 있다고 하여서 ip 주소 앞에 프로토콜을 명시해 주었다. 빌드 성공 sonarqube 서버에서 확인한 결과 2025. 11. 19.