ubuntu-on-win> vagrant up Bringing machine 'server1' up with 'virtualbox' provider... Bringing machine 'server2' up with 'virtualbox' provider... Bringing machine 'server3' up with 'virtualbox' provider... ==> server1: Checking if box 'bento/ubuntu-24.04' version '202510.26.0' is up to date... ==> server1: Clearing any previously set network interfaces... There was an error while executing VBoxManage , a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["hostonlyif", "create"] Stderr: 0%...E_FAIL VBoxManage.exe: error: Failed to create the host-only adapter VBoxManage.exe: error: Querying NetCfgInstanceId failed (ERROR_FILE_NOT_FOUND) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 105 of file VBoxManageHostonly.cpp
다음의 내용은 반드시 github 리포지토리의 내용을 참조하여 설치, 설정해 주세요. Jenkins, Gitea 설정을 위한 가상 머신 설치 윈도우 : https://github.com/stepanowon/ubuntu-on-win Mac : https://github.com/stepanowon/ubuntu-on-mac k8s 를 위한 가상머신 설치 윈도우 : https://github.com/stepanowon/k8s-on-win Mac : https://github.com/stepanowon/k8s-on-mac Jenkins 설치 및 설정 윈도우 : https://github.com/stepanowon/ubuntu-on-win Mac : https://github.com/stepanowon/ubuntu-on-mac 특히 Mac에서는 브라우저 보안 설정을 해야 할 수 있습니다
젠킨스 설치시 오류가 발생하여 https://pkg.jenkins.io/debian/ 에서 관련 내용 참고하며 해결하려고 했었고, 중간에 꼬였는지 계속 실패하더라구요. AI와 같이 해결했고, 같은 문제를 겪으실 분들을 위해 참고차 남깁니다~ 1. 문제 원인 GPG 키 인식 실패: NO_PUBKEY 7198F4B714ABFC68 에러는 APT가 젠킨스 저장소의 서명을 검증할 수 없을 때 발생합니다. 보안 정책 강화: 최신 Ubuntu(24.04+)에서는 기존 .asc 형태의 키보다 바이너리 형태인 .gpg 키 저장 방식을 권장하며, 경로가 일치하지 않으면 저장소를 무시합니다. 2. 해결 방법 (최신 표준 방식) 터미널에서 아래 명령어를 순서대로 실행하세요. Step 1: 기존의 잘못된 설정 파일 삭제 Bash sudo rm -f /usr/share/keyrings/jenkins-keyring.asc sudo rm -f /usr/share/keyrings/jenkins-keyring.gpg sudo rm -f /etc/apt/sources.list.d/jenkins.list Step 2: 키 서버에서 직접 키 수신 및 변환 저장 가장 확실한 방법으로 우분투 키 서버에서 직접 키를 가져와 .gpg 형식으로 저장합니다. Bash sudo gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 7198F4B714ABFC68 sudo gpg --export 7198F4B714ABFC68 | sudo tee /usr/share/keyrings/jenkins-keyring.gpg > /dev/null Step 3: Jenkins 저장소 등록 (HTTPS 사용) Bash echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.gpg] https://pkg.jenkins.io/debian-stable binary/" | sudo tee /etc/apt/sources.list.d/jenkins.list > /dev/null Step 4: 업데이트 및 설치 Bash sudo apt update sudo apt install jenkins -y 3. 설치 확인 설치가 완료된 후 서비스가 정상 동작하는지 확인합니다. Bash sudo systemctl status jenkins Tip: 만약 설치 도중 Java 관련 에러가 발생한다면, 젠킨스 구동을 위해 sudo apt install openjdk-17-jre -y 명령어로 자바를 먼저 설치해 주세요.
강사님, 안녕하세요! 강의 잘듣고 있습니다. 강의 6분 50초 부분에 빌드 실패 테스트를 실습하던 중 질문이 있어서 글 올립니다! playwright-report 폴더에서 index.html 파일을 클릭하였는데 강사님과 다른 빈화면이 보입니다. 시간되시면 확인부탁드립니다. 감사합니다!
강사님, 안녕하세요~ 강의 잘듣고 있습니다! 다름이 아니라 섹션5의 방법 1과 달리 방법2를 통하여 CI/CD 배포를 하니 .git-credentials 파일이 없어도 배포가 성공한 것을 확인 할 수 있었습니다. 그 이유가 궁금합니다(이전에 git config --global credential.helper store 이 명령어로 연동을 해서 그런지 모르겠습니다) 시간되실때 답변 부탁드리겠습니다. 감사합니다!
강사님, 안녕하세요. 강의 잘듣고 있습니다~! Run ./gradlew clean build ./gradlew clean build shell: /usr/bin/bash -e {0} env: JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.18-8/x64 JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.18-8/x64 /home/runner/work/_temp/6be6~0.sh: line 1: ./gradlew: Permission denied Error: Process completed with exit code 126. 위와 같은 오류가 발생하여서 원인을 찾아본 결과 ./gradlew 에 실행 권한이 없어서 나는 에러인 것을 확인할 수 있었습니다. 해결 : 기존 워크플로우에서 테스트 및 빌드하기 앞에 위 chmod 스텝만 끼워 넣음 - name: gradlew 실행 권한 부여 run: chmod +x ./gradlew - name: 테스트 및 빌드하기 run: ./gradlew clean build 에러 없이 배포가 잘 이루어짐을 확인할 수 있었습니다. 혹시 해당 오류를 겪으신 분을 위해 글 남깁니다. 감사합니다
강사님, 안녕하세요. 강의 잘듣고 있습니다 강의 중 궁금해서 문의 남깁니다. git config --global creadential.helper store 후에도 비밀번호 물어보는 현상이 있는데.. 이후 실습과정에는 문제가 없는지 궁금합니다. 위 현상과 상관없이 아주 잘되는 것 확인했습니다! 강의 계속 잘듣겠습니다 감사합니다