반응형

IT 50

Spring security in action chapter01

1.스프링 시큐리티 개념과 장점 https://spring.io/projects/spring-security 스프링 시큐리티란? 스프링 애플리케이션 보안을 적용하는 과정을 크게 간소화하는 프레임워크 특징 인증 및 권한 부여에 대한 포괄적이고 확장 가능한 지원 세션 고정, 클릭재킹, 교차 사이트 요청 위조 등과 같은 공격으로부터 보호 서블릿 API 통합 Spring Web MVC와의 선택적 통합 아파치 2.0라이센스에 따라 릴리스 GitHub - spring-projects/spring-security: Spring Security https://github.com/spring-projects/spring-security 여기서 기여 가능 실제로 enhancement로 기여 한번 해봄 https://git..

IT 2023.06.17

net::ERR_UPLOAD_FILE_CHANGED in Chrome

크롬 브라우저에서만 파일 업로드를 하고 나서 ERR_UPLOAD_FILE_CHANGED 에러가 떨어지는 경우가 있다. https://stackoverflow.com/questions/61916331/re-uploading-a-file-with-ajax-after-it-was-changed-causes-neterr-upload-file-c Re-uploading a file with AJAX after it was changed causes net::ERR_UPLOAD_FILE_CHANGED in Chrome I have a simple HTML form that sends an selected file via AJAX to an API endpoint. If I do the following steps:..

IT 2022.11.28

ERROR: for docker_echo_1 An HTTP request took too long to complete. Retry with --verbose to obtain debug information.

ERROR: for docker_echo_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information. If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60). docker-compose down 명령어를 했을 때, 위와 같..

IT 2022.11.25

Spring boot Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

1)오류 현상 Spring boot 맨 처음 셋팅하고 돌릴 때, 아래와 같은 에러가 떨어지고 start가 안됨. 2022-07-21 16:31:11.982 ERROR 16864 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class 2)원인 데이터베이..

IT 2022.11.23

docker 디렉토리 변경하는 방법

-- 도커 디렉토리 바꾸는 방법 1.docker ps Docker 프로세스 확인 2.docker root 디렉토리 확인 docker info | grep Root *기본적으로 /var/ 디렉토리에 있기 때문에 root 디렉토리에 저장이 됨. 크기가 커질 경우 문제. *******************docker 중지전 현재 사용하는 이미지 스크린샷 3.디렉토리 복사 cp -r /var/lib/docker /mnt/sdb/docker 4.이제 /etc/docker/daemon.json 파일을 만들고 아래와 같이 입력합니다. { "data-root": "/mnt/sdb/docker" } 5.도커서비스 재시작 systemctl stop docker systemctl daemon-reload Systemctl ..

IT 2022.11.23

centos8버전에서 docker 설치 실패

sudo yum install docker-ce docker-ce-cli containerd.io 명령어를 통해서 centos8에서 docker를 설치하려고 할 때, 아래와 같은 에러가 나온다면 Problem: package docker-ce-3:20.10.21-3.el8.x86_64 requires docker-ce-rootless-extras, but none of the providers can be installed (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) requires docker-ce-rootless-extras, but none ..

IT 2022.11.23

리눅스 버전 확인

일반적인 커널에 대한 정보 uname -a Linux DESKTOP-J02BSGG 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux 페도라 계열이면 아래와 같은 명령어 쳤을 때, 정보가 많이 나온다. cat /etc/*release* NAME="Red Hat Enterprise Linux" VERSION="8.1 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.1" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.1 (Ootpa)" ANSI_COLOR="0;31" CPE..

IT 2022.11.23
반응형