When I talk about Red Hat's involvement in RDO (http://openstack.redhat.com/) the question I often get is, "doesn't that undermine sales of RHEL OSP (Red Hat's paid OpenStack offering)?"
Well, it's complicated.
var net = require("net"); | |
process.on("uncaughtException", function(error) { | |
console.error(error); | |
}); | |
if (process.argv.length != 5) { | |
console.log("usage: %s <localport> <remotehost> <remoteport>", process.argv[1]); | |
process.exit(); | |
} |
#!/bin/bash | |
###filename: chknfs.sh | |
###usage: crontab */1 * * * * root /root/chknfs.sh > /dev/null 2>&1 | |
keep="/data/.keep" | |
if [ ! -f $keep ]; then | |
umount -f /data && mount /data | |
fi |
When I talk about Red Hat's involvement in RDO (http://openstack.redhat.com/) the question I often get is, "doesn't that undermine sales of RHEL OSP (Red Hat's paid OpenStack offering)?"
Well, it's complicated.
map $ssl_client_s_dn $ssl_client_s_dn_cn { | |
default ""; | |
~/CN=(?<CN>[^/]+) $CN; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
listen 443 ssl; |
#Download and extract logstalgia | |
brew install wget | |
wget https://github.com/acaudwell/Logstalgia/releases/download/logstalgia-1.0.7/logstalgia-1.0.7.tar.gz | |
tar -zxvf logstalgia*.gz | |
cd logstalgia* | |
# Install logstlagia dependencies | |
#brew install ttfautohint --with-qt | |
brew install pkg-config glew sdl2 SDL2_image sdl SDL_image boost GLM freetype pcre |
global | |
log 127.0.0.1 local0 | |
user root | |
group root | |
daemon | |
defaults | |
log global | |
mode http | |
option httplog |
create VMs | |
git clone https://github.com/kubernetes-incubator/kargo.git | |
cd kargo | |
cp ~/inventory.cfg inventory/. | |
vi inventory.cfg | |
(copy IPs and save) | |
date | |
ansible-playbook -u centos -b -i inventory/inventory.cfg cluster.yml | |
date (show elapsed time) |
[root@server02 network-scripts]# cat ifcfg-enp14s0 | |
DEVICE=enp14s0 | |
TYPE=Ethernet | |
BOOTPROTO=none | |
ONBOOT=yes | |
NM_CONTROLLED=no | |
[root@server02 network-scripts]# cat ifcfg-enp14s0.35 | |
DEVICE=enp14s0.35 | |
TYPE=Ethernet |
# Make sure you have these installed | |
yum install -y make gcc perl pcre-devel zlib-devel | |
# Download/Extract source | |
wget -O /tmp/haproxy.tgz http://www.haproxy.org/download/1.7/src/haproxy-1.7.2.tar.gz | |
tar -zxvf /tmp/haproxy.tgz -C /tmp | |
cd /tmp/haproxy-* | |
# Compile HAProxy | |
# https://github.com/haproxy/haproxy/blob/master/README | |
make \ | |
TARGET=linux2628 USE_LINUX_TPROXY=1 USE_ZLIB=1 USE_REGPARM=1 USE_PCRE=1 USE_PCRE_JIT=1 \ |