server2020. 5. 15. 15:42

[spring boot]inMemoryDatabaseShutdownExecutor 서버 처음 연결 할 시 이슈해결방법

 

spring boot 에서 mysql 연결 해주기 위해서 아래와 같이 했다..

 

spring.datasource.driverClassName=

spring.datasource.url=

spring.datasource.username=

spring.datasource.password=

 

그런데 inMemoryDatabaseShutdownExecutor 에러가 난다..

 

그러면 apllication에서 

 

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

 

추가해준다.. 

 

Posted by thdeodls85
server2020. 5. 13. 15:00

[ubuntu]프로세스 강제종료하는방법

 

kill -9 [프로세스ID]

Posted by thdeodls85
server2020. 5. 13. 14:56

[ubuntu]spring boot project rebuild하는 방법

 

자 변경 사항이 있어서..

 

1. 서버 종료 시키고

 

2. 프로젝트 폴더 들어가서 package rebuild 하고 

 

3. jar 다시 실행 시키면 되는데...

 

파일 다시 rebuild방법

./mvnw clean package

Posted by thdeodls85
server2020. 5. 13. 14:52

[ubuntu]spring server 실행하는 방법

 

spring 설치 했으면...

 

project -> tartget -> jar 파일이 있다..

 

java -jar [파일명].jar &

 

뒤에 & 는 우리가 터미널을 끄더라도 계속 실행이 된다..

Posted by thdeodls85
server2020. 5. 13. 14:08

[ubuntu]실행중인 java 파일 볼 수 있는 명령어

 

ps -ef | grep java

Posted by thdeodls85
server2020. 5. 13. 11:27

[ubuntu]git 설치방법

 

sudo apt-get install git

 

git --version

 

확인가능하다..

Posted by thdeodls85
server2020. 5. 13. 11:20

[ubuntu]linux java 설치 방

 

ubuntu 들어가서

 

sudo apt-get install openjdk-8-jdk

 

명령어를 치면 설치 된다..

 

이 후, java -version쳐서 나오면 끝

 

[참조] https://lsjsj92.tistory.com/394

 

ubuntu linux에서 java 설치하기! 매우 간단

이번 포스팅은 ubuntu에서 java를 설치하는 방법을 정리한다 ubuntu 16.04.1 LTS 기준으로 헀지만 다른 버전도 크게 다를거 없을 것이라 생각한다 (명령어가 거기서 거기이기 때문에..) ubuntu가 설치되어

lsjsj92.tistory.com

 

 

Posted by thdeodls85
server2020. 5. 11. 16:11

[aws]인스턴스 stop 이후에, 다시 start할 시, ip변경된다.

 

유념해야 한다.. 

Posted by thdeodls85