버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

Section

도구명Jira-software
버전9.12
OSWindows 11 pro(64bit)
비고Java17, Postgresql14


목차

목차




JAVA 설치

...

1) Download

JAVA 설치파일 web site에 접속하여 JAVA를 Download한다.

2) 설치파일 경로지정

설치 파일 구분을 위해 C:\curvc-install\java 폴더 생성 및 압축 해제한다.

3) JAVA_HOME 환경 변수 등록

JAVA_HOME을 WIndows 시스템 환경 변수에 등록한다.

...

  • cmd를 통해 java 설치 확인
    코드 블럭
    java -version






DB(Postgresql) 설치

...

1) Download

Postgresql 설치파일 web site에 접속하여 Postgresql을 Download한다.

2) 설치파일 경로지정

설치 파일 구분을 위해 C:\curvc-install\postgresql-14 폴더 생성 및 압축 해제한다.


3) Data directory 초기화

  • -U postgres: 데이터베이스 superuser 이름 지정.
  • -A password: 로컬 연결 시 인증 방법을 비밀번호로 설정.
  • -W: 새 superuser의 비밀번호를 묻는 메시지 설정.
  • -E UTF8: 데이터베이스의 인코딩을 UTF8로 설정.
  • -D C:\curvc-install\postgresql-14\pgsql\data: 데이터베이스 파일이 저장될 디렉터리를 지정.
코드 블럭
title<postgresql/install/directory>\pgsql\bin\initdb.exe -U postgres -A password -W -E UTF8 -D <postgresql/install/directory>\pgsql\data
C:\curvc-install\postgresql-14\pgsql\bin\initdb.exe -U postgres -A password -W -E UTF8 -D C:\curvc-install\postgresql-14\pgsql\data



4) Postgresql 실행

  • 명령어 실행 전, logs 폴더 미리 생성 필요.
  • pg_ctl: Postgresql 서버 제어용 실행 파일.
  • -D: 구성 파일, 데이터베이스 파일저장 디렉토리 지정.
  • -l: 기록될 로그 파일을 지정.
코드 블럭
title<postgresql/install/directory>\pgsql\bin\pg_ctl -D <postgresql/install/directory>\pgsql\data -l <postgresql/install/directory>\pgsql\logs\server.log start
C:\curvc-install\postgresql-14\pgsql\bin\pg_ctl -D C:\curvc-install\postgresql-14\pgsql\data -l C:\curvc-install\postgresql-14\pgsql\logs\server.log start



5) Postgresql 접속

코드 블럭
title<postgresl/install/directory>\pgsql\bin\psql -U postgres
C:\curvc-install\postgresql-14\pgsql\bin\psql -U postgres



6) DB 생성

SonarQube와 연동해야 할 DB를 구성 해 준다.

코드 블럭
# 유저 생성
create role jiradbuser with login password '1004';
 
# DB 생성(UTF8)
CREATE DATABASE jiradb WITH OWNER jiradbuser ENCODING 'UTF8' LC_COLLATE='en_US.utf8' LC_CTYPE='en_US.utf8' TEMPLATE=template0;
 
# 권한 설정
grant all privileges on DATABASE jiradb to jiradbuser;



7) Postgresql 서비스 등록

아래와 같이 Command로 실행하거나 Windows 서비스에서도 실행 가능하다.

코드 블럭
# 서비스 등록
cd C:\curvc-install\postgresql-14\pgsql\bin
pg_ctl register -N postgresql14 -D C:\curvc-install\postgresql-14\pgsql\data
 
# cmd 서비스 실행
cd C:\WINDOWS\system32
net start postgresql14






Jira-software 설치

...

1) Download 

아래 링크 통해 windows 환경 Jira-software 설치 파일을 다운로드한다.

  • atlassian-jira-software-9.12.11-x64.exe


2) app 폴더, data 폴더 생성

코드 블럭
# app 설치 폴더
mkdir C:\curvc-install\Jira-software\app

# home 폴더 생성
mkdirC:\curvc-install\Jira-software\data


3) exe 파일 실행

관리자 권한으로 atlassian-jira-software-9.12.11-x64.exe 파일을 실행하여 Jira 설치를 진행한다.

...

3-5) Listen Port를 설정한다.


3-6) Jira 서비스 등록 설정한다.

4) WEB 설정

4-1) 설치유형을 선택한다.


4-2) 사용할 데이터베이스를 설정한다.

...

4-4) 라이센스를 등록한다.


4-5) 관리자 정보를 설정한다.



5) Heap Memory 설정

Jira를 종료하고, C:\curvc-install\Jira-software\app\bin\setenv.bat 파일의 memory 설정을 수정 후, 재기동한다.

...