본문 바로가기 주메뉴 바로가기

Community


[Docker] JIRA 설치

관리자 2021-06-28 조회수 70

ATLASSIAN의 Jira Software 활용 

https://www.atlassian.com


 

Jira 협업툴 설치하기

Docker 설치

**sudo yum install docker-io —yes**
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                                                       | 3.7 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 0:20.10.4-1.amzn2 will be installed
--> Processing Dependency: runc >= 1.0.0 for package: docker-20.10.4-1.amzn2.x86_64
--> Processing Dependency: libcgroup >= 0.40.rc1-5.15 for package: docker-20.10.4-1.amzn2.x86_64
--> Processing Dependency: containerd >= 1.3.2 for package: docker-20.10.4-1.amzn2.x86_64
--> Processing Dependency: pigz for package: docker-20.10.4-1.amzn2.x86_64
--> Running transaction check
---> Package containerd.x86_64 0:1.4.4-1.amzn2 will be installed
---> Package libcgroup.x86_64 0:0.41-21.amzn2 will be installed
---> Package pigz.x86_64 0:2.3.4-1.amzn2.0.1 will be installed
---> Package runc.x86_64 0:1.0.0-0.3.20210225.git12644e6.amzn2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                          Arch                         Version                                                    Repository                               Size
========================================================================================================================================================================
Installing:
 docker                           x86_64                       20.10.4-1.amzn2                                            amzn2extra-docker                        32 M
Installing for dependencies:
 containerd                       x86_64                       1.4.4-1.amzn2                                              amzn2extra-docker                        24 M
 libcgroup                        x86_64                       0.41-21.amzn2                                              amzn2-core                               66 k
 pigz                             x86_64                       2.3.4-1.amzn2.0.1                                          amzn2-core                               81 k
 runc                             x86_64                       1.0.0-0.3.20210225.git12644e6.amzn2                        amzn2extra-docker                       3.2 M

Transaction Summary
========================================================================================================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 59 M
Installed size: 243 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): libcgroup-0.41-21.amzn2.x86_64.rpm                                                                                                        |  66 kB  00:00:00     
(2/5): pigz-2.3.4-1.amzn2.0.1.x86_64.rpm                                                                                                         |  81 kB  00:00:00     
(3/5): containerd-1.4.4-1.amzn2.x86_64.rpm                                                                                                       |  24 MB  00:00:00     
(4/5): docker-20.10.4-1.amzn2.x86_64.rpm                                                                                                         |  32 MB  00:00:00     
(5/5): runc-1.0.0-0.3.20210225.git12644e6.amzn2.x86_64.rpm                                                                                       | 3.2 MB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    78 MB/s |  59 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : runc-1.0.0-0.3.20210225.git12644e6.amzn2.x86_64                                                                                                      1/5 
  Installing : containerd-1.4.4-1.amzn2.x86_64                                                                                                                      2/5 
  Installing : libcgroup-0.41-21.amzn2.x86_64                                                                                                                       3/5 
  Installing : pigz-2.3.4-1.amzn2.0.1.x86_64                                                                                                                        4/5 
  Installing : docker-20.10.4-1.amzn2.x86_64                                                                                                                        5/5 
  Verifying  : containerd-1.4.4-1.amzn2.x86_64                                                                                                                      1/5 
  Verifying  : docker-20.10.4-1.amzn2.x86_64                                                                                                                        2/5 
  Verifying  : pigz-2.3.4-1.amzn2.0.1.x86_64                                                                                                                        3/5 
  Verifying  : runc-1.0.0-0.3.20210225.git12644e6.amzn2.x86_64                                                                                                      4/5 
  Verifying  : libcgroup-0.41-21.amzn2.x86_64                                                                                                                       5/5 

Installed:
  docker.x86_64 0:20.10.4-1.amzn2                                                                                                                                       

Dependency Installed:
  containerd.x86_64 0:1.4.4-1.amzn2     libcgroup.x86_64 0:0.41-21.amzn2     pigz.x86_64 0:2.3.4-1.amzn2.0.1     runc.x86_64 0:1.0.0-0.3.20210225.git12644e6.amzn2    

Complete!

Docker 리스트 확인

[ec2-user@ip-172-31-41-14 ~]$ **docker ps -a**
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[ec2-user@ip-172-31-41-14 ~]$ **sudo systemctl start docker**
[ec2-user@ip-172-31-41-14 ~]$ **docker ps -a**
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1": dial unix /var/run/docker.sock: connect: permission denied
[ec2-user@ip-172-31-41-14 ~]$ **sudo setfacl -m user:ec2-user:rw /var/run/docker.sock**

지라 도커 컨테이너 설치

[ec2-user@ip-172-31-41-14 ~]$ **docker pull cptactionhank/atlassian-jira-software:latest**
latest: Pulling from cptactionhank/atlassian-jira-software
e7c96db7181b: Pull complete 
f910a506b6cb: Pull complete 
c2274a1a0e27: Pull complete 
ed2a88b6a4a4: Pull complete 
8183f13e95a9: Pull complete 
Digest: sha256:a1f98ac0411523efba02f6dd82597df11311d4abe7bf4ea744aaeeeb59fecd88
Status: Downloaded newer image for cptactionhank/atlassian-jira-software:latest
docker.io/cptactionhank/atlassian-jira-software:latest

지라 도커 컨테이너 생성

[ec2-user@ip-172-31-41-14 ~]$ **docker create --restart=no --name "jira-container" \\
> --publish "8080:8080" \\
> --volume "hostpath:/var/atlassian/jira" \\
> --env "CATALINA_OPTS= -Xms2048m -Xmx2048m -Datlassian.plugins.enable.wait=300" \\
> cptactionhank/atlassian-jira-software:latest**
d408eaaecf30c6a311208ae0f2814a0a1dea974a8b6c5f886917718ee158c2bb
[ec2-user@ip-172-31-41-14 ~]$ **docker ps -a**
CONTAINER ID   IMAGE                                          COMMAND                  CREATED              STATUS    PORTS     NAMES
d408eaaecf30   cptactionhank/atlassian-jira-software:latest   "/docker-entrypoint.…"   About a minute ago   Created             jira-container

지라 도커 컨테이너 실행

[ec2-user@ip-172-31-41-14 ~]$ **docker start --attach "jira-container"**

지라 프로젝트 생성 종류

스크럼 vs 칸반

 구분

스크럼

칸반 

반복주기 

일정한 길이의 스프린트 (예:2주)

없음.연속적인 흐름 

릴리즈 방법론

 프로덕트 오너의 승인하에, 각 스프린트 막바지에 배포

 연속적인 배포, 또는 팀 재량

점수 추정

필요함

하지 않음 (대신 티켓들을 비슷한 작은 크기로 쪼개야 함)

역할

프로덕트 오너, 스크럼 마스터, 개발팀

따로 없음. 팀 + 필요한 역할 추가

주요지표

속도(velocity)

사이클 시간(cycle time)

변경철학

되도록이면 이번 스프린트에는 변경을 지양하고, 다음 스프린트에 반영

변경은 언제든 일어날 수 있음

 



	


  • 등록된 댓글이 없습니다.
댓글입력