November 28, 2019

Cert notes

chown root:certs /etc/pki/tls/certs/localhost.crt
chown root:certs /etc/pki/tls/private/localhost.key
chmod g+rwx /etc/pki/tls/certs/localhost.crt
chmod g+rwx /etc/pki/tls/private/localhost.key

scp /media/nas-backup/certs/wjw-walkerfamily/fullchain.cer  admin@

scp /media/nas-backup/certs/wjw-walkerfamily/ admin@

Observium Application Monitoring Agent Install

yum install xinetd
scp   root@zeus:/opt/observium/scripts/observium_agent_xinetd /etc/xinetd.d/observium_agent_xinetd
service xinetd restart
scp  root@zeus:/opt/observium/scripts/observium_agent /usr/bin/observium_agent
mkdir -p /usr/lib/observium_agent
mkdir -p /usr/lib/observium_agent/local

cp /media/nas-backup/observium_agent/scripts-available/mysql* /usr/lib/observium_agent/local
cp /media/nas-backup/observium_agent/scripts-available/exim* /usr/lib/observium_agent/local
cp /media/nas-backup/observium_agent/scripts-available/postfix* /usr/lib/observium_agent/local
cp /media/nas-backup/observium_agent/scripts-available/vmwaretools /usr/lib/observium_agent/local

chmod +x /usr/bin/observium_agent

November 19, 2019

Setting up AutoDiscover for Windows Mail with imap

mkdir /var/www/html/autodiscover

nano autodiscover.xml

<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover xmlns="">
<Response xmlns="">
    <Server></Server> <!--IP Addr or DNS name of server-->
    <AuthRequired>on</AuthRequired> <!-- Optional: Is Authentication required? -->

Letsencrypt with Zonomi


  • git clone
  • cd ./
  • ./ --install
  • export ZM_Key="zonomi API Key"
  • --issue -d -d * -d -d * -d -d * -d -d * -d -d * -d * --dns dns_zonomi 
for mailinabox add "--config-home /home/user-data/ssl" to acme command line and run the following:

    cd /home/user-data/ssl
        rm ssl_certificate.pem 
        ln -s ssl_certificate.pem
        rm ssl_private_key.pem 
        ln -s ssl_private_key.pem

To fix cert error with curl:
  • wget
  • mv cacert.pem /etc/ssl/certs/
  • nano /etc/php/7.0/cli/php.ini 
  • add "curl.cainfo ="/etc/ssl/certs/cacert.pem" under "[curl]"
For mixed DNS hosting --issue --force -d --dns dns_gd -d * --dns dns_gd -d -d * -d -d * -d -d * -d -d * -d * --dns dns_zonomi 

September 05, 2019

VMware - Increasing Disk sizes in Linux

1. Increase Disk Size
2. Create Partition for used space using cfdisk / Primary Disk
3. pvcreate /dev/sda3
4. vgextend vg_vmlinuxcentos6 /dev/sda3
5. lvextend -l +100%FREE /dev/vg_vmlinuxcentos6/lv_root
6. lvdisplay
7. resize2fs /dev/vg_vmlinuxcentos6/lv_root

April 29, 2019

Creating ASA Cert Package from LetsEncrypt certs on Linux

openssl pkey -des -in /etc/letsencrypt/live/ -pubout /etc/letsencrypt/live/

openssl base64 -in /etc/letsencrypt/live/ > cert.base64
openssl base64 -in /etc/letsencrypt/live/ > cert.base64
openssl pkcs12 -export -out /etc/letsencrypt/live/ -inkey /etc/letsencrypt/live/ -in /etc/letsencrypt/live/ -certfile /etc/letsencrypt/live/

cp /etc/letsencrypt/live/ /media/nas-backup