본문 바로가기

IT4

intellij에서 debug 안 될 경우 (not working) 1. edit configurations를 눌러, -Dspring-boot.run.fork=false 값을 추가한다. 2. View Breakpoints... (Ctrl + Shift + F8)을 눌러 사용하지 않은 breakpoint들을 삭제 해준다. intellij 의 메모리 부족으로 너무 많은 breakpoint 는 debugging 기능을 방해한다. 2023. 8. 8.
maven, gradle nexus 저장소 사용하기 maven환경의 nexus 설정 방법 1. ".m2"가 위치한 경로에 settings.xml파일에 nexus에 사용할 계정 정보를 넣어준다. 2. pom.xml 의 repositories영역에 nexus 접속 정보를 넣어준다. -끝~ - 1. settings.xml(파일 없을경우 생성) repo-release nexus에서 사용하기 위해 생성한 user ID 해당 ID의 비밀번호 2. pom.xml에 repositories영역에 public http://localhost:설정한 nexus port/repository/maven-public/ 후, build 하면 library를 동기화하며, 완료된다. -끝~ - gradle환경의 nexus 설정 방법 build.gradle 파일에, repositories.. 2023. 7. 31.
find 유용한 명령어 - 10메가 보다 큰 파일 조회 명령 find ./ -size +10000 - find 로 특정 파일명을 포함하고, 최신 파일 우선순위 리스트 print find ./ -name '특정파일명*'|xargs ls -altr --time-style=full-iso 2023. 7. 31.
alias 기본 실제 현업 작업 시 cd /opt/tomcat-version/bin cd /opt/tomcat-version/logs 위와 같은 자주 사용되는 명령어를 매번 타이핑 하기에는 개발자들에게 시간과 기억력..등 할게 많습니다. CUI 에서도 윈도우 단축 아이콘 처럼 command 단축 입력 처리를 할수 있는데요. 그 명령어가 바로 alias 입니다. alias cd /opt/tomcat-version/bin 대신 was 만 치면 됩니다. cd /opt/tomcat-version/logs 대신 logs 만 치면 됩니다. 사용법도 간단합니다. vi ~/.bashrc 혹은, cd 엔터 입력후 vi .bashrc 로 해당 파일을 읽습니다. 해당 파일의 # .bashrc 아래에 alias was='cd /opt/tom.. 2023. 7. 31.