본문 바로가기

전체 글

(228)
windows 사용 중인 포트 찾기 netstat -ano | findstr 6379 6379포트 찾기 이거 하게된 원인 docker에 redis를 실행하는데 6379 포트가 사용중이라고 서비스가 안올라감. 사실 이거로 찾았는데 안되었음 docker를 재시작 하니까 됨.
레디스 관리 툴 redis commander progsoft.net/ko/software/redis-commander joeferner.github.io/redis-commander/ Redis-Commander Features Config Information View configuration information from your Redis database Tree View View a list of all keys in your database as an expandable tree View Key Values View individual key values with paging support for lists/sorted sets Edit Values Ed joeferner.github.io 설치 cmd창 $ npm install -g re..
postgresql 테이블 모두 삭제 테이블 날리기 ---SELECT tablename FROM pg_tables WHERE schemaname = current_schema() DO $$ DECLARE r RECORD; BEGIN -- if the schema you operate on is not "current", you will want to -- replace current_schema() in query with 'schematodeletetablesfrom' -- *and* update the generate 'DROP...' accordingly. FOR r IN (SELECT tablename FROM pg_tables WHERE schemaname = current_schema()) LOOP EXECUTE 'DROP TAB..
spring boot jpa query dsl 빌드 하고 java import 방법 지난 번에 해결했던건데 또 기억이 나지 않는다. www.youtube.com/watch?v=hIw4EuhF9o8 이걸보고 querydsl 설정을하고 cmd 창에서 gradlew build 를 하면 querydsl { jpa = true querydslSourcesDir="$buildDir/generated-source" } compileQuerydsl { options.annotationProcessorPath = configurations.querydsl } configurations { // 손권남님이 공유해주신 팁 // 아래를 지정하지 않으면, compile 로 걸린 JPA 의존성에 접근하지 못한다. querydsl.extendsFrom compileClasspath } 이 설정 세팅하고 그러면 /..
spring boot 와 docker 그리고 remote debugging 일단 알게 된 내용 docker에 작은 java 이미지를 띄우고 내 컴퓨터하고 폴더 공유를 한다음에 docker에서 공유된 폴더로 접근한 다음에 linux docker 이미지에서는 gradle bootRun을 실행하면 "스프링 부트가 실행될 거라고 본다." 이 근거는 cmd창에서 프로젝트 폴더에가서 윈도우 환경 graldew bootRun을 하면 spring boot가 커멘드 창에서 실행되고 login.jsp 페이지를 메모장에서 열어서 글자를 고치고 화면을 새로고침 하였더니 적용되었다. 그런데 자바 파일에 로그를 넣었는데 자바컴파일이 자동으로 안되네..... cmd 창을 열어서 gradlew build --continuous 이걸 해주니 자바파일이 변경되었을때 자동 수정되었다. gradlew build ..
pgadmin4 docker woonizzooni.tistory.com/entry/Docker-PostgreSQL-pgAdmin4-SonarQube%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%97%B0%EB%8F%99
postgresql 설치 judo0179.tistory.com/48 Docker Postgresql 설치 및 셋팅하기 Docker Postgresql 설치 및 셋팅하기 본 문서는 Docker를 사용하여 Postgresql을 설치하고 셋팅하는 방법을 설명하고 있습니다. Linux, Mac OS에서 사용할 것을 권장합니다. 다음 링크에서 공식 postgres Docker.. judo0179.tistory.com docker pull postgres 하고나서 C:\postgresql\data 폴더를 생성하고 docker run -d -p 5432:5432 --name pgsql -e POSTGRES_PASSWORD=1234! -it --rm -v C:\postgresql\data\:/var/lib/postgresql/data post..
docker (톰캣) 실행 GUI tomcat9 이미지는 받아놓은게 있어고 gui에서 실행한다. 로컬에서 이클립스를 깔고 웹사이트를 생성한 다음에 로컬에 C:\java_study\eclipse-workspace\jsp\WebContent\WEB-INF 도커에 /opt/tomcat/webapps/jsp 를 연결한다. docker에는 webapps 폴더까지만 있다 그리고 도커 컨테이너를 구동 하면 아래와 같이 확인 가능하다. 이클립스에서 아래와 같이 수정하면 바로 웹에서 확인 할수있다.!!