본문 바로가기

전체 글404

[Other] window에 nvm 설치하기 https://cheoltecho.tistory.com/15 node.js와 npm 최신 버전으로 업데이트하기 (window 윈도우)팀원들과 함께 이번 프로젝트를 시작하기에 앞서 팀원들과 협업을 위해서 npm이랑 node.js의 버전을 같이 맞추는 것이 좋을 것 같아 정리하여 공유하려고 한다. 우선 현재 버전을 확인해 보자. nodecheoltecho.tistory.com 2024. 6. 15.
[Linux] gradle "Failed to delete some children" spring boot 프로젝트를 build하기 위해서 build 버튼을 누르면     빌드중   에러발생  해당 프로젝트 파일의 디렉토리 터미널에서 build를 하면  같은 에러가 발생하는거 같다  gradle 탭에서   build 클릭   같은 에러가 발생  윈도우 환경에서는 build가 정상적으로 되었었다.아마도 권한 문제인거 같으니 root권한으로 실행해 보겠다.   루트 권한으로 실행하니 build가 정상적으로 되었다.   혹은 root로 가서   sudo를 사용하지 않고 build도 가능하다. 2024. 6. 14.
[Other] react, springboot cors 에러 해결 백엔드인 springboot의 cors 설정은 위와 같다.    프론트 엔드인 React에서 fetch로 http 요청을 보낼때  mode를 cors 로 설정해 놓았다.   프론트 엔드에서 요청을 보내면     try catch에서 에러를 잡아서 보여준다.    네트워크 탭을 확인해 보면은 요청이 백엔드로 가지도 않은거 같다. ---> status 코드가 없다     요청 헤더 상황---> 응답헤더가 없는 것을 보니 요청이 백엔드로 가지 않은거 같다.    프론트에 packge.json파일에 proxy를 추가해준다. ---> 서버의 주소와 포트번호를 작성해준다.     백엔드에 요청을 보내는 코드의 url에서 프록시로 설정한 주소를 제외 시킨다.    다시 요청을 보내보면은     백엔드 서버에서 요청을.. 2024. 6. 13.
[Docker] docker 란? https://docs.docker.com/get-started/overview/ Docker overviewGet an in-depth overview of the Docker platform including what it can be used for, the architecture it employs, and its underlying technology.docs.docker.com 2024. 6. 13.
[Docker] 실행중인 컨테이너의 터미널 사용하기 https://docs.docker.com/reference/cli/docker/container/exec/ docker exec docs.docker.com 2024. 6. 13.
[Docker] wordpress & mariadb docker compose 파일작성하기 https://hub.docker.com/_/wordpress wordpress - Official Image | Docker HubQuick reference Supported tags and respective Dockerfile links 6.5.4-php8.1-apache, 6.5-php8.1-apache, 6-php8.1-apache, php8.1-apache, 6.5.4-php8.1, 6.5-php8.1, 6-php8.1, php8.1⁠6.5.4-php8.1-fpm, 6.5-php8.1-fpm, 6-php8.1-fpm, php8.1-fpm⁠6.5.4-php8.1-fphub.docker.com 2024. 6. 13.
[Docker] docker compose 플러그인 추가설치하기 https://docs.docker.com/compose/install/linux/#install-the-plugin-manually 2024. 6. 13.
[Linux] Command - sed 위와 같은 내용이 작성되어 있는 파일이 있다. vi혹은 vim과 같은 에디터를 사용하지 않고파일의 내용을 수정하려고 한다.      문법은 위와 같다.   s/수정할 내용/수정될 내용/과 같은 형식으로 작성해 준다.   파일의 내용이 수정 완료 2024. 6. 13.
[Other] tomcat과 apache의 차이 https://www.theserverside.com/video/Tomcat-vs-Apache-HTTP-Server-Whats-the-difference Tomcat vs. Apache HTTP Server: What's the difference? | TheServerSideWhat's the difference between Tomcat and Apache? It's a question developers hear frequently. But, when worded that way, it contains some misleading assumptions. Normally, when people ask this question, they really want to know, "What's the dif.. 2024. 6. 13.