티스토리 뷰
!! eGovFrame(전자정부 표준프레임워크) 사용을 위한 필요한 것들 다운 및 설치 !!
JDK | Apache tomcat | eGovFrame | MySQL |
1.8 | 8.5.83 | 3.10 | 8.0.31 |
설치 및 환경변수 설정 | 수동 설치 | 다운로드, 설치, 환경설정 |
1. JDK 다운로드
(1) 다운로드
-oracle 홈페이지 > 제품 > java download ( or 리소스 > 다운로드 > Java)
(2) 설치
-jdk 설치 경로 체크
(3) 환경변수 설정
-시작 > 고급 시스템 설정보기 > 환경변수
-JAVA_HOME
-Path
%JAVA_HOME%bin
2. Apache tomcat_수동 설치
(0) 자바 버전에 따른 tomcat 버전
(1) 다운로드
-Apache
(2) 압축 해제 및 폴더 위치 변경
-압축 해제 > 위치 변경(C:\apache-tomcat-8.5.83) : C드라이브 바로 밑에
(3) 설치(service.bat install)
-cmd
# cd ../ #상위 폴더 이동
#tomcat install
C:\apache-tomcat-8.5.83\bin > service.bat install
# 정상적으로 설치되었는지 확인
(3) tomcat 실행 확인
-tomcat > bin > tomcat8w.exe : [ start ] > 웹브라우저 : 127.0.0.1:8080 > 톰캣 페이지 출력되면 정상적 실행
3. eGovFrame(전자정부 표준프레임워크)
(1) 다운로드
-eGovFrame > 다운로드 > 개발환경 > 개발자용 개발환경 64bit(implement Tool)
-version : 3.10.0 (*22년 10월 12이 기준 4.0.0이 최신버전)
(2) 압축 해제
(3) 실행
-폴더 : eGovFrameDev-3.10.0-64bit
-폴더 : eclipse
-workspace 설정
기본 설정 경로 대신 eclipse랑 함께 있던 빈 폴더 workspace로 변경(개인 선택)
-eclipse 실행 첫화면 : Java EE -> eGovFrame 변경
-문자인코딩(encoding) 변경할 필요없음. 기본 UTF-8
(4) Maven 환경설정
참고) https://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev3.10:gettingstarted
-Maven 로컬 파일 저장소 설정하기 위해 제공한 maven repository 3.10 파일을 임의의 폴더에 압축 해제하여 설치
(log4j-core-2.12.4.jar 버전이 적용되어 있으며, 이후 배포되는 버전에 따라 업데이트가 필요할 수 있다.)
> eGovFrameDev-3.10.0-64bit 폴더 아래에서 압축 해제
> 다운받은 settings.xml 파일을 maven repository 3.10 하위로 옮긴다.
> settings.xml 수정
<settings>
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<!-- maven_repository_3_10 폴더 경로
<localRepository>C:/eGovFrame-3.10.0/maven/repository</localRepository> -->
<localRepository>..\eGovFrameDev-3.10.0-64bit\maven_repository_3_10</localRepository>
...
</settings>
> eclipse > windows > preferences : user settings
settings.xml이 있는 경로로 설정
-maven repository 3.10, settings.xml 다운로드 링크 주소
(5) servers 설정
-eclipse 하단의 server 추가
-다운로드하여 c드라이브 밑에 두었던 tomcat 경로로 설정
4. DB - MySQL
(1) 다운로드
-oracle > MySQL Community (GPL) download > MySQL Community Server
> Windows (x86, 32-bit), MSI Installer 435.7M
(2) 설치
-다운로드 파일, setup(여러 설치 파일 폴더용) 폴더 생성 후 옮기기
-[ developer default ] or [ Custom ]
-[ type and networking ]
Config Type: Developement Computer | TCP/IP | Port : 3306(default)
-[ Authentication Method ]
Use Strong Password Encrption for Authentication(recommended)
-[ Account and Roles ] 비밀번호 입력
-[ root 비밀번호 인증 작업 ]
- Total
- Today
- Yesterday
- selcetor
- JavaScript
- html layout
- 입력양식
- 기본선택자
- input type 종류
- 미디어 태그
- improt
- CascadingStyleSheet
- Java
- html a tag
- caption-side
- css
- A%B
- 변수
- empty-cell
- text formatting
- border-spacing
- html
- BAEKJOON
- html pre
- 외부구성요소
- html base tag
- 스크립태그
- scanner
- initialized
- ScriptTag
- typeof
- html input type
- html atrribute
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |