First create ec2 Ubuntu instance
Then install all the things needed for Mirth Connect (following this video: http://www.youtube.com/watch?v=omZyAO2naqs)
# Update Ubuntu
sudo aptitude update
# Safe upgrade of Ubuntu
sudo aptitude safe-upgrade| SHELL := /bin/bash | |
| .PHONY: phar clean help | |
| .DEFAULT_GOAL := help | |
| phar: ## Build a phar file | |
| mkdir -p dist/ | |
| rm -f dist/bownty-infra.phar | |
| php build.php | |
| chmod 0775 dist/bownty-infra.phar |
| #!/usr/bin/env bash | |
| # This is assumed to be run as root or with sudo | |
| export DEBIAN_FRONTEND=noninteractive | |
| # Import MySQL 5.7 Key | |
| # gpg: key 5072E1F5: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" imported | |
| apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 5072E1F5 | |
| echo "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7" | tee -a /etc/apt/sources.list.d/mysql.list |
| <?php | |
| /** | |
| * @package Reverse Proxy | |
| */ | |
| /* | |
| Plugin Name: Reverse Proxy | |
| Plugin URI: https://instrumentalapp.com/ | |
| Description: Reverse proxy setup for Instrumental blog | |
| Version: 1.0 | |
| Author: James Paden |
First create ec2 Ubuntu instance
Then install all the things needed for Mirth Connect (following this video: http://www.youtube.com/watch?v=omZyAO2naqs)
# Update Ubuntu
sudo aptitude update
# Safe upgrade of Ubuntu
sudo aptitude safe-upgrade| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| set mailserver smtp.gmail.com port 587 username "user@domain.com" password "password" using tlsv1 with timeout 30 seconds |