$ sudo timedatectl set-timezone Australia/Melbourne
$ yum install -y ntp
require 'spec_helper' | |
# Read configuration from puppet control repo hieradata file | |
# 'PRODUCT' is the name of the platform | |
hieradata_file_path = "../product-puppet-control-repo/hieradata/environments/PRODUCT_#{ENV['env']}.yaml" | |
begin | |
site_data = YAML.load(File.read(hieradata_file_path)) | |
rescue Errno::ENOENT |
global | |
log 127.0.0.1 local2 | |
user haproxy | |
group haproxy | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
daemon | |
maxconn 1000 | |
defaults |
https://www.ssllabs.com/ssltest
For www.atlassian.com:
Protocols
TLS 1.2 Yes
TLS 1.1 Yes
#!/bin/bash | |
# | |
# description: Apache Tomcat init script | |
# processname: tomcat | |
# chkconfig: 234 20 80 | |
# | |
# | |
# Copyright (C) 2014 Miglen Evlogiev | |
# | |
# This program is free software: you can redistribute it and/or modify it under |
# How to sign your custom RPM package with GPG key | |
# Step: 1 | |
# Generate gpg key pair (public key and private key) | |
# | |
# You will be prompted with a series of questions about encryption. | |
# Simply select the default values presented. You will also be asked | |
# to create a Real Name, Email Address and Comment (comment optional). | |
# | |
# If you get the following response: |