...
Bitbucket Setup Wizard 실행
Bitbucket 서비스 계정 변경
Code Block language bash $ cd /opt/datacenter/atlassian/ $ sudo chown -R twoseed:twoseed bitbucket $ cd /home/datacenter/atlassian/ $ sudo chown -R twoseed:twoseed bitbucket
Bitbucket 인스턴스 시작
Code Block language bash $ cd /opt/datacenter/atlassian/bitbucket/bin/ $ ./start-bitbucket.sh
The Bitbucket webapp has been started. 메시지 출력 후 http://<server ip>:6990 접속
Language 및 Database 선택
“Test” 버튼 클릭하여 Database 연결 상태 확인 후 “Next” 클릭
Note |
---|
MySQL 데이터베이스 엔진에서 부하가 높을 때 발생할 수 있는 고유한 교착 상태 때문에 현재로서는 Bitbucket Data Center에서 MySQL를 지원하지 않습니다. |
Application Title, Base URL, License key 입력
Bitbucket Internal Admin 계정 생성
Internal Admin 계정이므로 정보 입력 후 “Go to Bitbucket” 버튼 클릭
공유폴더 설정
Bitbucket 인스턴스 종료
Code Block language bash $ cd /opt/datacenter/atlassian/bitbucket/bin/ $ ./stop-bitbucket.sh
Home 디렉토리의 shared 폴더를 NFS 로 복사
Code Block language bash $ cd /home/datacenter/atlassian/bitbucket/ $ mv shared /home/share/atlassian/bitbucket/ $ ln -sf /home/share/atlassian/bitbucket/shared shared
Node 설정
Node 이름 설정
Code Block language bash $ cd /opt/datacenter/atlassian/bitbucket/bin/ $ vi _start-webapp.sh --------------------------- ... JVM_SUPPORT_RECOMMENDED_ARGS="-Dcluster.node.name=node1" ... ---------------------------
bitbucket.properties 파일에 Node 관련 설정 추가
Code Block language bash $ cd /home/share/atlassian/bitbucket/shared $ vi bitbucket.properties -------------------------- # Use multicast to discover cluster nodes (recommended). hazelcast.network.multicast=false # If your network does not support multicast, you may uncomment the following lines and substitute # the IP addresses of some or all of your cluster nodes. (Not all of the cluster nodes have to be # listed here but at least one of them has to be active when a new node joins.) hazelcast.network.tcpip=true hazelcast.network.tcpip.members=14.36.48.220:5703,175.197.124.236:5701 # The following should uniquely identify your cluster on the LAN. hazelcast.group.name=Twoseed-cluster hazelcast.group.password=Twoseed-cluster --------------------------
...