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
| 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) |
| [etcd] | |
| 10.42.10.206 | |
| [kube-master] | |
| 10.42.10.206 | |
| [kube-node] | |
| 10.42.10.221 | |
| 10.42.10.223 |
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
wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine.
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpmWhen 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.
| --- | |
| # container networks, safe to leave these as defaults | |
| cidr_networks: | |
| container: 172.29.236.0/22 | |
| tunnel: 172.29.240.0/22 | |
| storage: 172.29.244.0/22 | |
| # IPs from your tunnel and container networks that you want to reserve for the hosts | |
| used_ips: | |
| - 172.29.236.1 |
| #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 |
| 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(); | |
| } |
| map $ssl_client_s_dn $ssl_client_s_dn_cn { | |
| default ""; | |
| ~/CN=(?<CN>[^/]+) $CN; | |
| } | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| listen 443 ssl; |