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.
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.
yum -y update
yum -y install yum-utils
yum-config-manager --add-repo https://yum.dockerproject.org/repo/main/centos/7
yum -y update
# yum search --showduplicates docker-engine
yum -y --nogpgcheck install docker-engine-1.12.6-1.el7.centos.x86_64
service docker start
| #!/usr/bin/env bash | |
| set -e -x -u | |
| # Update and install required packages | |
| apt update | |
| apt -y dist-upgrade | |
| apt install -y git vim python unzip iotop htop iftop | |
| # Clone OSA |
openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
| # 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 \ |
| [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 |
| 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) |
| global | |
| log 127.0.0.1 local0 | |
| user root | |
| group root | |
| daemon | |
| defaults | |
| log global | |
| mode http | |
| option httplog |