This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will take backup of ambari server and move to S3 | |
# Make sure you have s3cmd installed and configured https://github.com/s3tools/s3cmd | |
# Customize it according to your need | |
#!/bin/bash | |
USERNAME=$1 | |
export PGPASSWORD=$2 | |
DB=ambari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1 - Create .crt file | |
cat domainname.crt domainname.ca-bundle > domainname-ssl-bundle.crt | |
Step 2- | |
Add lines for ssl_certificate in nginx configuration | |
server { | |
listen 80 default_server; |