목록환경설정 , 기타 설치 (11)
JAVA Developer Training
------------------------------------ 우분투 내에서 지원하는 터미널에서 쳐야할것 $ sudo apt update -y

cmd >> ssh 원격접속 기능 버전 낮을경우 깃 설치 https://git-scm.com/download/win Git - Downloading Package Downloading Git Now What? Now that you have downloaded Git, it's time to start using it. git-scm.com VirtualBox 설치 https://www.virtualbox.org/wiki/Downloads Downloads – Oracle VM VirtualBox Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downl..
package com.example.boot_20211005; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; @EntityScan(basePackages = {"com.example..
1. application.properties # port number server.port=8080 # context path server.servlet.context-path=/REST # retart was spring.devtools.livereload.enabled=true # h2 DB setting spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:file:G:/boot-workspace/boot_20211005/db # spring.datasource.url=jdbc:h2:file:D:/boot-workspace/boot_20211005/db spring.datasource.username=sa s..

pom.xml 디펜던시 추가 후 업데이트 프로젝트 application properties 주석처리된 오라클 DB는 주소를 오라클에 연결해 오라클DB를 이용했었더라면 지금 작성한 h2 DB의 경우 위와같은 주소로 실행하면 지정한 주소에 db파일들이 생성되며 크롬창에 http://127.0.0.1:8080/ROOT/h2-console 입력시 아래창과 같은 형태로 나타난다 커넥트 누를시 h2 DB 사용가능

0. pc의 socket cpu스레드 갯수 확인및 프로세스 관리 node.js 에서 bin 폴더의 www파일 var app = require('../app'); //app.js 내용을 가져와서 var debug = require('debug')('node20210907:server'); var http = require('http'); // 여러개를 실행시키기 위한 cluster const cluster = require('cluster'); const totalCPU = require('os').cpus().length; // console.log(cluster); if(cluster.isMaster) { //프로세스 생성 및 관리 console.log(`Master ${process.pid} is r..
1. boot. pom.xml dependencies 설정 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-devtools runtime true org.projectlombok lombok true org.apache.tomcat.embed tomcat-embed-jasper provided org.springframework.boot spring-boot-starter-data-mongodb org.springframework.boot spring-boot-starter-test test javax.servlet jstl 2. application.properties 설정 # 주석문 server...