Confluence trial 설치

Ubuntu 16.04 서버에 설치

confluence 다운

https://ko.atlassian.com/software/confluence/download

설치 문서
https://confluence.atlassian.com/doc/installing-a-confluence-trial-838416249.html

파일업로드 후 설치파일 위치에서 명령어 실행

$ chmod a+x atlassian-confluence-X.X.X-x64.bin
권한업데이트

$ chmod a+x atlassian-confluence-6.10.1-x64.bin 

설치파일 실행
$ sudo ./atlassian-confluence-X.X.X-x64.bin

$ sudo ./atlassian-confluence-6.10.1-x64.bin

글 작성 시기 : 2018년 7월 최신버전(confluence-6.10.1-x64)

log

Unpacking JRE ...
Starting Installer ...

This will install Confluence 6.10.1 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.

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]
1

See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]
i

Extracting files ...


Please wait a few moments while we configure Confluence.

Installation of Confluence 6.10.1 is complete
Start Confluence now?
Yes [y, Enter], No [n]
y

Please wait a few moments while Confluence starts up.
Launching Confluence ...

Installation of Confluence 6.10.1 is complete
Your installation of Confluence 6.10.1 is now ready and can be accessed via
your browser.
Confluence 6.10.1 can be accessed at http://localhost:8090
Finishing installation ...

 

설치 완료 후 설정

http://localhost:8090

한글꺠짐해결

출처 :

Confluence 첨부파일 한글내용 깨짐

폰트다운

sudo curl -o nanumfont.zip http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip

압축해제

sudo unzip nanumfont.zip -d /opt/atlassian/confluence/jre/lib/fonts

/confluence/bin/setjre.sh
추가

CATALINA_OPTS="-Dconfluence.document.conversion.fontpath=/opt/atlassian/confluence/jre/lib/fonts ${CATALINA_OPTS}"
CATALINA_OPTS="-Dconfluence.document.conversion.words.defaultfontname=NanumGothic ${CATALINA_OPTS}"
CATALINA_OPTS="-Dconfluence.document.conversion.slides.defaultfontname.regular=NanumGothic ${CATALINA_OPTS}"
CATALINA_OPTS="-Dconfluence.document.conversion.slides.defaultfontname.asian=NanumGothic ${CATALINA_OPTS}"
CATALINA_OPTS="-Dconfluence.document.conversion.slides.defaultfontname.symbol=NanumGothic ${CATALINA_OPTS}"

재시동

도메인 연결

2018.07.31 (완료)
https://confluence.sundo.kim
https://doc.sundo.kim

http://confluence.goldpitcher.co.kr/pages/viewpage.action?pageId=142868487
https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html

https://chohi.ga(운영자님이 직접 도와주심)

nginx conf

 server {
    listen       80;
    server_name  doc.sundo.kim;

    return       301 https://$server_name$request_uri;
}


server {
    listen       443 ssl http2;
    server_name   doc.sundo.kim;
  ssl_certificate     "/root/ssl/localhost.crt";
    ssl_certificate_key "/root/ssl/localhost.key";

    ssl_session_timeout  5m;

    ssl_protocols  TLSv1.2;
    ssl_ciphers 'ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-CBC-SHA348:ECDHE-RSA-AES256-CBC-SHA:ECDHE-RSA-AES128-CBC-SHA256:ECDHE-RSA-AES128-CBC-SHA';
    ssl_prefer_server_ciphers   on;

    location / {
        client_max_body_size 100m;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://192.168.55.239:8090;
    }
}

현재 상황

gmail 메일서버 발송 설정(안됨)

https://confluence.atlassian.com/confkb/how-do-i-configure-confluence-to-use-gmail-as-the-mail-server-42795030.html

 

gSuite는 유료임.

그래서 sub gmail  smtp 사용