...
설치 프로그램
Product | Version | Etc |
Atlassian | Confluence | 6.7.0 |
Database | MySQL | 5.7. |
20 | Mysql-connector-java-5.1. |
45 | ||
JAVA Version | Oracle JDK | 1.8.0_ |
161 |
설치 전 준비사항(Mysql)
Database생성 | Database |
생성 | |
User 생성 및 권한 설정 | Database에 접근 할 수 있는 user를 생성/권한설정을 합니다. |
my. |
cnf 설정 | max_allowed_packet=256M 설정 |
설치 전 준비사항(JDK)
JDK 설치 후 JAVA_HOME 전역변수 설정을 합니다.
...
I. Confluence 설치
...
...
1. Confluence 프로그램 다운로드
- https://www.atlassian.com/software/confluence/download 에서 O/S에 맞는 설치프로그램을 다운로드
...
2.Confluence Install
1) Confluence 설치 프로그램에 실행 권한 설정 후 프로그램을 실행합니다. Enter 실행합니다.
...
코드 블럭 |
---|
[atlassian@alm13 ~]$ ./atlassian-confluence-6.7.0-x64.bin |
...
Unpacking JRE ... |
...
Starting Installer ... |
...
You do not have administrator rights to this machine and as such, some installation options will not be available. Are you sure you want to |
...
continue? Yes [y, Enter], No [n] This will install Confluence 6.7.0 on your |
...
computer.
OK [o, Enter], Cancel [c] |
2) Confluence Install 옵션 선택합니다.
- 기본 설치: 1번 설치 위치 사용자 지정: 2번 업그레이드 설치: 3번
- 설치위치를 사용자가 지정하여 설치하기 위하여 기본선택 옵션 2번 선택합니다.
...
기본 설치: 1번
...
설치위치 사용자 지정: 2번
...
업그레이드 설치: 3번
...
Choose the appropriate installation or upgrade option.
Please choose one of the following:
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1dba60d2-7389-4376-88b0-a6ebd85870d1"><ac:plain-text-body><![CDATA[Express Install (uses default settings) [1],
]]></ac:plain-text-body></ac:structured-macro>
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9602ba04-0792-41d4-91bc-548b8f611154"><ac:plain-text-body><![CDATA[Custom Install (recommended for advanced users) [2, Enter],
]]></ac:plain-text-body></ac:structured-macro>
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c884dcbd-aa8b-4c55-abda-603d2d694718"><ac:plain-text-body><![CDATA[Upgrade an existing Confluence installation [3]
코드 블럭 |
---|
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2,Enter],
Upgrade an existing Confluence installation [3] |
...
3) Confluence Install 디렉토리 경로 지정하고 Enter 실행합니다.
코드 블럭 |
---|
Where should Confluence 6.7.0 be |
...
installed? [/home/atlassian/atlassian/confluence] |
...
/app/atlassian/confluence |
4) Confluence Data Install 디렉토리 경로 지정하고 Enter 실행합니다.
코드 블럭 |
---|
Default location for Confluence |
...
data [/home/atlassian/atlassian/application-data/confluence] |
...
/app/atlassian/application-data/confluence-home |
5) Confluence에서 사용할 Port 지정 옵션을 선택합니다.
기본 Port를 사용하기 위하여 1번째 옵션 선택합니다.
- 기본 Port: HTTP: 8090, Control:
...
- 8000 사용자 Port 지정: 2번
- 기본 Port를 사용하기 위하여 1번째 옵션 선택합니다.
코드 블럭 |
---|
Configure which ports Confluence will use. |
...
Confluence requires two TCP ports that are not being used by any other |
...
applications on this machine. The HTTP port is where you will access |
...
Confluence through your browser. The Control port is used to Startup and |
...
Shutdown |
...
...
...
Confluence.
Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2] |
6) Confluence 설치 진행 후 서비스는 실행하지 않도록 옵션 선택합니다.
코드 블럭 |
---|
Extracting files ... |
...
Please wait a few moments while we configure Confluence. |
...
Installation of Confluence 6.7.0 is complete |
...
Start Confluence |
...
now? Yes [y, Enter], No [n] n Installation of Confluence 6.7.0 is complete |
...
Finishing installation ... |
3. Confluence 와 MySQL 연동을 위한 connector 설정
1)Confluence와 MySQL 연동을 위한 모듈을 아래 URL에서 "mysql-connector-java-5.1.xx" 다운로드
2)"mysql-connector-java-5.1.xx" 파일을 압축 해제하여 "mysql-connector-java-5.1.xx-bin.jar"파일을 <Confluence installation>/confluence/WEB-INF/lib 위치에 저장
※ mysql-connector-java-5.1.xx-bin.jar 파일을 lib 폴더에 저장 후 Confluence 서비스 시작
(서비스 start/stop는 문서 마지막 참조)
...
...
4. Confluence Setup 설정
웹 브라우저에 Confluence URL을 입력하여 접속합니다.
- (ex. http://IP:8090 or Hostname or localhost:8090)
...
1)Confluence 설치 옵션 |
...
선택 |
...
| 2)구매한 플러그인이 없을 경우 선택하지 않고 Next 클릭 |
...
Cofluence라이선스입력 -> Next 클릭< Atlassian Confluence 제공 Add-ons 설치 선택 >
< Confluence License 입력 >
Next 클릭h2.Confluence 설치 옵션 선택 선택
< Confluence database 타입 선택 >
...
3)confluence 라이선스 입력 → Next 클릭 | 4)Confluence database 타입 선택 |
5)Set up your database 설정 입력 → Test connection 테스트 -> Next 클릭 | |
Setup type:* By connection string 선택 Database URL: |
...
Database 정보 입력 |
...
database 사용자 계정 Password: |
...
Database 계정 |
...
비밀번호 Database |
...
URL정보: jdbc:mysql://192.168.10.11/wikidb?&useUnicode=true&characterEncoding=utf8&useSSL=false |
...
6)Confluence Content 선택 화면
|
...
7)Confluence User Management 옵션 선택
| |
...
< Confluence User Management 옵션 선택 >
< Confluence Administrator 계정 생성 >
Further configuration 클릭
...
8)Confluence Administrator 계정 생성 | 9) "Further configuration" 클릭하여 설치 완료 |
II. Confluence Service 시작/중지
1. Confluence Service Start
...
- <confluence installation>/bin
...
- 폴더 이동하여 "start-confluence.sh"
...
- 실행
코드 블럭 |
---|
[atlassian@alm13 bin]$ pwd |
...
/app/atlassian/confluence/bin |
...
[atlassian@alm13 bin]$ ./start-confluence.sh |
...
]]></ac:plain-text-body></ac:structured-macro>
2. Confluence Service Stop
...
- <confluence installation>/bin 디렉토리로
...
- 폴더 이동하여 "stop-confluence.sh"
...
- 실행
코드 블럭 |
---|
[atlassian@alm10 bin]$ ./stop-confluence.sh |
...
III. Confluence 기타 설정
1. Confluence 메모리 설정
<confluence installation>/bin 폴더에서 setenv.sh 파일 편집
...
코드 블럭 |
---|
[atlassian@alm13 bin]$ |
...
pwd /app/atlassian/confluence/bin |
...
[atlassian@alm13 bin]$ vi setenv.sh |
...
CATALINA_OPTS="-Xms3072m -Xmx3072m -XX:+UseG1GC ${CATALINA_OPTS}" |
2. Confluence 한글 옵션 설정
1) <confluence installation>/bin 폴더에서 setenv.sh 파일 아래 내용 추가
...
코드 블럭 |
---|
[atlassian@alm13 bin]$ vi setenv.sh |
...
CATALINA_OPTS="-Dfile.encoding=utf-8 ${CATALINA_OPTS}" |
2) <confluence home>/confluence.cfg.xml 파일에서 아래 내용 변경
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="508e40f7-279d-44b1-8cbd-aed96af8f293"><ac:plain-text-body><![CDATA[ | [atlassian@alm13 bin]$ vi setenv.sh |
...
- 설치 온료 후 &characterEncoding=utf8 옵션 추가
코드 블럭 |
---|
jdbc:mysql://192.168.10.11/wikidb?&useUnicode=true&characterEncoding=utf8&useSSL=false |
...