Jenkins와 GitLab 연동 및 Tomcat 배포
1. Jenkins 관리 1) Global Tool Configuration Maven Configuration JDK Git Maven 2) 플러그인 관리 플러그인 설치 2. Credentials 1) GitLab 계정 ID 및 PW 입력 2) Tomca...
1. Jenkins 관리 1) Global Tool Configuration Maven Configuration JDK Git Maven 2) 플러그인 관리 플러그인 설치 2. Credentials 1) GitLab 계정 ID 및 PW 입력 2) Tomca...
Jenkins에서 war 파일 배포를 위해 manager 접속이 필요하다. manager 기능은 보안 문제 때문에 기본적으로 막혀 있다. 설정 없이 접속을 하면 403 Access Denied 에러가 나기 때문에 아래 설정이 필요하다. 1. conf 디렉터리 tomcat-users.xml 설정 편집 [root@localhost apache...
1. 계정 생성 [root@localhost ~]# useradd 계정명 2. 계정 삭제 계정과 홈 디렉터리 모두 삭제 [root@localhost ~]# userdel -r 계정명 계정만 삭제 [root@localhost ~]# userdel 계정명
1. Jenkins 설치 확인 [root@localhost ~]# yum list installed jenkins Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror....
1. jdk 설치 https://dejavuhyo.blog.me/221454888121 https://dejavuhyo.blog.me/221469375994 2. 계정 생성 Nexus를 root 계정으로 설치하는 것을 권장하지 않기 때문에 nexus 계정을 만든다. [root@localhost ~]...
1. SVN 설치 확인 [root@localhost ~]# yum list installed subversion Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror.n...
IntelliJ에서 GitLab 프로젝트 받기 및 모듈 추가 방법 1. VCS → Get from Version Control 2. Git URL 및 Directory 설정 3. 새로운 인텔리제이 창 열기 여부 확인 단일 모듈은 yes, 기존 모듈에 추가는 no 4. Project Structure 창 열기 (ctrl + a...
1. 개요 @Async 어노테이션을 bean에 넣으면 별도의 쓰레드에서 실행된다. 이를테면 호출자는 호출된 메소드가 완료될 때까지 기다릴 필요가 없다. 2. Async 기능 사용 자바 설정으로 비동기 처리를 사용하려면 간단히 설정 클래스에 @EnableAsync를 추가만 하면 된다. 3. 적용 DemoApplication.java imp...
1. Maven Dependency 설정 <dependency> <groupId>org.bgee.log4jdbc-log4j2</groupId> <artifactId>log4jdbc-log4j2-jdbc4.1</artifactId> <version>1.16</v...
1. Array 사용 Controller String[] array = {"a", "b", "c"}; demoVO.setDemoArray(array); VO public class DemoVO { private String[] demoArray; public String[] getDemoArray() { ...