classes:install_confluence_671_bin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
classes:install_confluence_671_bin [2018/02/14 13:16] – [Install Confluence 6.7.1 from Binary Installer] curry_searle | classes:install_confluence_671_bin [2018/03/02 09:31] (current) – [Install Confluence 6.7.1 from Binary Installer] curry_searle | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Install Confluence 6.7.1 from Binary Installer ==== | ==== Install Confluence 6.7.1 from Binary Installer ==== | ||
+ | ===Assumptions=== | ||
This tutorial assumes you downloaded the Linux binary installer for Confluence 6.7.1, you have sudo capabilities on an AWS EC2 "free tier" instance along with an AWS RDS "free tier" database of the mysql variety. We will use the following hostnames for this tutorial: | This tutorial assumes you downloaded the Linux binary installer for Confluence 6.7.1, you have sudo capabilities on an AWS EC2 "free tier" instance along with an AWS RDS "free tier" database of the mysql variety. We will use the following hostnames for this tutorial: | ||
Line 6: | Line 7: | ||
* RDS: yourRDSinstance.c8abc12tntuk.us-east-1.rds.amazonaws.com | * RDS: yourRDSinstance.c8abc12tntuk.us-east-1.rds.amazonaws.com | ||
+ | ===Install Confluence=== | ||
Run the installer as root: | Run the installer as root: | ||
< | < | ||
Line 82: | Line 84: | ||
</ | </ | ||
+ | ===Install Nginx Reverse Proxy with SSL=== | ||
At this point we will configure Nginx as a reverse proxy before finalizing the Confluence installation via the web page. | At this point we will configure Nginx as a reverse proxy before finalizing the Confluence installation via the web page. | ||
Line 130: | Line 133: | ||
ssl_certificate / | ssl_certificate / | ||
ssl_certificate_key / | ssl_certificate_key / | ||
+ | </ | ||
+ | |||
+ | Edit ''/ | ||
+ | < | ||
+ | sudo vi / | ||
+ | </ | ||
+ | to include the following: | ||
+ | < | ||
+ | # from https:// | ||
+ | # and https:// | ||
+ | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | ||
+ | ssl_prefer_server_ciphers on; | ||
+ | ssl_ciphers " | ||
+ | ssl_ecdh_curve secp384r1; | ||
+ | ssl_session_cache shared: | ||
+ | ssl_session_tickets off; | ||
+ | ssl_stapling on; | ||
+ | ssl_stapling_verify on; | ||
+ | resolver 8.8.8.8 8.8.4.4 valid=300s; | ||
+ | resolver_timeout 5s; | ||
+ | # Disable preloading HSTS for now. You can use the commented out header line that includes | ||
+ | # the " | ||
+ | #add_header Strict-Transport-Security " | ||
+ | add_header Strict-Transport-Security " | ||
+ | add_header X-Frame-Options DENY; | ||
+ | add_header X-Content-Type-Options nosniff; | ||
+ | |||
+ | ssl_dhparam / | ||
</ | </ | ||
Line 137: | Line 168: | ||
</ | </ | ||
- | Edit ''/ | + | Edit ''/ |
+ | < | ||
+ | sudo vi / | ||
+ | </ | ||
+ | to include the following text, adjusted to match your DNS hostname: | ||
< | < | ||
server { | server { | ||
Line 165: | Line 200: | ||
</ | </ | ||
- | Edit the '' | + | ===Configure Confluence to Recognize the Proxy=== |
+ | Backup and edit the '' | ||
< | < | ||
+ | sudo cp / | ||
sudo vi / | sudo vi / | ||
</ | </ | ||
Line 179: | Line 216: | ||
/> | /> | ||
</ | </ | ||
+ | |||
+ | ===Restart Services=== | ||
+ | Restart Nginx & Confluence: | ||
+ | < | ||
+ | sudo service nginx restart | ||
+ | sudo service confluence restart | ||
+ | </ | ||
+ | |||
=====Resources===== | =====Resources===== | ||
* [[https:// | * [[https:// |
classes/install_confluence_671_bin.1518642974.txt.gz · Last modified: 2018/02/14 13:16 by curry_searle