1. prereqs

source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-httpd | sh
host blog.$(dnsdomainname)
blog.d01.net is an alias for srv002.d01.net.
srv002.d01.net has address 10.1.1.2

2. installation

 wget -nv https://github.com/azett/flatpress/archive/master.zip -P /tmp/
 rm -fr /opt/blog/
 unzip -oq /tmp/master.zip -d /opt/
 cd /opt/; ln -sfv ./flatpress-master blog; cd
# wget -nv http://wiki.flatpress.org/_media/res:themes:final.zip -O /tmp/themes.zip
# unzip -oq /tmp/themes.zip -d /opt/blog/fp-interface/themes/
 chown "apache:apache" -R /opt/blog/
 rm -f /tmp/master.zip
 wget -nv http://${rdsserver}/sharel/etc/httpd/conf.d/blog.conf -P /etc/httpd/conf.d/
 cube /etc/httpd/conf.d/blog.conf "%dnsdomain%" with "$(dnsdomainname)"
 systemctl reload httpd.service

3. references