July 13, 2018
Ubuntu 16.04 서버에 설치
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 …
출처 : https://www.chohi.ga/?p=93
폰트다운
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 추가
CATALINAOPTS=“-Dconfluence.document.conversion.fontpath=/opt/atlassian/confluence/jre/lib/fonts ${CATALINAOPTS}” CATALINAOPTS=“-Dconfluence.document.conversion.words.defaultfontname=NanumGothic ${CATALINAOPTS}” CATALINAOPTS=“-Dconfluence.document.conversion.slides.defaultfontname.regular=NanumGothic ${CATALINAOPTS}” CATALINAOPTS=“-Dconfluence.document.conversion.slides.defaultfontname.asian=NanumGothic ${CATALINAOPTS}” CATALINAOPTS=“-Dconfluence.document.conversion.slides.defaultfontname.symbol=NanumGothic ${CATALINAOPTS}”
재시동
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; servername doc.sundo.kim; sslcertificate “/root/ssl/localhost.crt”; sslcertificatekey “/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;
}
}
현재 상황
gSuite는 유료임.
그래서 sub gmail smtp 사용