본문 바로가기

분류 전체보기

(4534)
Springboot CustomErrorController구현 @Controller @RequiredArgsConstructor @Slf4j public class CustomErrorController implements ErrorController { @Override public String getErrorPath() { return ERROR_PATH; } @RequestMapping(value = ERROR_PATH) public String handleError(HttpServletRequest request, ModelMap model) throws InterruptedException { Object status = request.getAttribute(RequestDispatcher.ERROR_STATUS_CODE); HttpStatus httpSt..
Spring Boot OAuth2-Client Keycloak Server에서 authorize_code값을 받고 어떻게 동작하기 위한 filter및 provider를 확인해야한다. OAuth2LoginAuthenticationFilter -> attemptAuthentication OAuth2AuthorizationCodeAuthenticationProvider -> authenticate OidcAuthorizationCodeAuthenticationProvider -> authenticate 위의 클래스 method를 한번 살펴보자
Linux 프로세스 찾고 kill하기 netstat -tnlp|grep 8080 kill -9 1234
Background 에서 jar실행 nohup java -jar a.jar > /dev/null 2>&1 &
Android SDK API 31 이상에서 The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED https://hello-bryan.tistory.com/400
빌드시 Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager. 오류 https://abyser.tistory.com/117
Kubernetes에 Ingress controller를 nginx로 설정하는법 Kubernetes에서 Nginx Ingress Controller를 사용하여 Ingress 리소스를 통해 클러스터 내의 서비스에 대한 외부 라우팅 및 액세스를 구성할 수 있습니다. 다음은 Nginx Ingress Controller를 설치하고 설정하는 기본 단계입니다: Ingress Controller 설치:a. Helm을 사용하여 Nginx Ingress Controller를 설치하는 경우, 다음 명령을 실행합니다:b. Helm을 사용하지 않는 경우, 해당 클라우드 또는 환경에 맞는 설치 가이드를 따릅니다. 자세한 내용은 Nginx Ingress Controller의 공식 문서를 참조하세요. bashCopy code helm repo add ingress-nginx https://kubernetes...
Windows에서 PowerShell로 K8 Cli설치하기(Chololatey) Windows에서 Helm을 설치하려면 다음 단계를 따를 수 있습니다. Helm을 설치하는 데는 Chocolatey를 사용할 수 있습니다. Chocolatey 설치: 먼저 Chocolatey를 설치합니다. PowerShell을 관리자 권한으로 실행하고 다음 명령을 실행합니다.Chocolatey 설치 후, PowerShell을 다시 시작하여 Chocolatey 명령을 사용할 수 있도록 환경 변수를 갱신합니다. powershellCopy code Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityPro..