Thursday 29 May 2014

rebuild rpm

rpmrebuild -e -n -p myrpm.rpm

Wednesday 28 May 2014

unbound: default to Google's DNS

forward-zone:
       name: "."
       forward-addr: 8.8.8.8
       forward-addr: 8.8.4.4

unbound: custom records

server:
        verbosity: 1
        interface: 0.0.0.0
        access-control: 10.0.0.0/8 allow

        local-zone: "mydomain.internal" static
        local-data: "app01.mydomain.internal          IN A 10.0.0.10"
        local-data: "app02.mydomain.internal          IN A 10.0.0.11"
        local-data: "biggie01.mydomain.internal       IN A 10.0.0.12"
        local-data: "mysql01.mydomain.internal        IN A 10.0.0.20"
        local-data: "mysql02.mydomain.internal        IN A 10.0.0.31"
        local-data: "apache01.mydomain.internal       IN A 10.0.0.200"


Zenoss: CLI discovery and remodel

Become zenoss user 1st

su - zenoss 

Remodel a bunch

for i in server1 server2 server3;do zenmodeler run --now -d $i;done

Discover a bunch

for i in server1 server2 server3;do zendisc run --deviceclass=/Server/Linux --device=$i;done

Sunday 25 May 2014

Thunderbird version 24.x.y: message layout

I'm pretty certain this is impossible to find.
Preferences -> Layout -> Classic/Wide/Vertical View

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...