일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- intelij
- AutoCloseable
- closeable
- zipWith
- jetbrain
- jvm
- 날짜쿼리
- try-catch-finally
- execution engine
- 동작방식
- feign
- 람다표현식
- java
- resilience4j
- Hotspot VM
- GC
- tcp
- springboot
- circuitbreaker
- webflux
- optional
- try-catch
- 4-way-handshake
- wagon-ssh
- try-with-resources
- Class Loader
- n+1
- Kotlin
- Runtime data area
- 코딩테스트
- Today
- Total
목록Linux (4)
JuBin's personal study blog
내용은 별거 없지만 원격서버에 올라간 jar파일을 실행하려면 기존 실행되던 서비스 kill processID, start process를 반복해야되는 번거로움이 있다. 간단한 배포스크립트를 통해 해당 쉘스크립트만 실행해주면 된다. deploy.sh #!/bin/bash REPOSITORY=/root/demo PROJECT=testJarFile CURRENT_PID=$(pgrep -f ${PROJECT}*.jar) -- 1 echo "> cd /root/demo" cd $REPOSITORY echo ">Now application PID : $CURRENT_PID" if [ -z "$CURRENT_PID" ]; then -- 2 echo "> There are currently no applications..
$ find . -name '*abc*' -type d --> abc가 들어가는 디렉터리 모두 뽑아줘 $ find . -type f -name '*abc*' --> 이렇게 하면 'abc' 문자열이 들어가는 모든 파일을 찾아달라 $ find / -name "postgresql.conf" 2> /dev/null --> permision denied(접근 불가한 파일 뺴고 파일 찾자!!!!!!!!!!! $ netstat -tnlp --> 현재 대기중인 TCP 프로토콜의 도메인주소 , PID 또는 프로그램 이름 출력 $ postgreSQL 재시작 --> sudo systemctl restart postgresql --> sudo /etc/init.d/postgresql restart 뭔차이지? >> 차이없음 $..

# nohup 설명 백그라운드 프로세스로 작업할 떄 사용하는 명령어. nohup은 실행한 명령을 자동으로 백그라운드로 보내지 않고 , 사용자가 명령행 뒤에 '&'를 붙여야 한다. HUP(Hangup) 시그널을 무시하고 프로그램을 지속적으로 실행할 떄 사용. 명령어 nohup [명령] & 실습 1) nohup [root@localhost /]# echo hello hello [root@localhost /]# nohup echo hello (nohup java -jar HDBSNC_API-0.0.1-local-jubin.jar -Dspring.profiles.active=production &_ nohup: ignoring input and appending output to `nohup.out' 이 화면..