After Chrome 58, self-signed certificate without SAN is not valid anymore.
openssl genrsa -des3 -out example.com.key 2048| { | |
| "id": "45c0996e-ac5e-4271-80e1-a09a16391a27", | |
| "name": "Sonoff Mini", | |
| "values": [ | |
| { | |
| "key": "sonoff_ip", | |
| "value": "10.0.1.32", | |
| "enabled": true | |
| }, | |
| { |
| { | |
| "id": "45c0996e-ac5e-4271-80e1-a09a16391a27", | |
| "name": "Sonoff Mini", | |
| "values": [ | |
| { | |
| "key": "sonoff_ip", | |
| "value": "10.0.1.32", | |
| "enabled": true | |
| }, | |
| { |
Needs fail2ban 0.10+. See https://github.com/fail2ban/fail2ban/wiki/How-to-ban-something-other-as-host-(IP-address),-like-user-or-mail,-etc. for more information.
Motivated by this discussion on pgsql-general: https://www.postgresql.org/message-id/61463e206b7c4c0ca17b03a59e890b78%40lmco.com
[postgres-lockuser]
| #!/usr/bin/env bash | |
| # This is for x64 Intel CPU with SSSE4 instructions | |
| # To check your CPU type, run: cat /proc/cpuinfo and look for "sse4_1" in the "flags" line then this script works | |
| # To check x32 vs x64, run: getconf LONG_BIT | |
| # If your CPU isnt an x64 or have sse4 support, then get your .so file version at: http://asterisk.hosting.lv/ | |
| # Tested on Centos x64 - on a FreePBX Distro 13 x64 | |
| echo ------- | |
| echo This installs the open source version of the g729 and g723.1 codecs | |
| echo You may need to buy licenses to use these codecs - it is your responsibility. | |
| echo ------- |
Configure export domain in RHV or Ovirt
Export the VM to the export domain. A new directory with the vdisk uuid will be created and the VM will be exported to it.
/exportfs/export_domain/<vdisk_uuid>/images/<disk_id>Mount the export domain ito a Linux mcahine and go into the <vdisk_uuid>/images
In the folder there iwll be a file with a uuid representing the <disk_id> and a meta file
Use qemu-img convert to convert to qcow2 format
| mkdir /tmp/update | |
| #update the host | |
| hbsd-update -t /tmp/update -T | |
| #update the jail | |
| hbsd-update -t /tmp/update -DT -r /usr/jails/jail-01 | |
| hbsd-update -t /tmp/update -DT -r /usr/jails/jail-02 |
| " Modeline and Notes { | |
| " vim: set foldmarker={,} foldlevel=0 spell: | |
| " } | |
| " Basics { | |
| set nocompatible " explicitly get out of vi-compatible mode | |
| set noexrc " don't use local version of .(g)vimrc, .exrc | |
| set background=dark " we plan to use a dark background | |
| set cpoptions=aABceFsmq | |
| " ||||||||| |
| Configuration files to setup Wordpress with Apache2 webserver, Varnish caching server and HAproxy for loadbalancing with support for Lets Encrypt |
| ## Frontend | |
| frontend http-in | |
| bind 0.0.0.0:80 | |
| reqadd X-Forwarded-Proto:http | |
| acl host-is-foo hdr(host) -i foo.example.com www.foo.example.com |