1. prereqs

source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-httpd | sh -s "ssl"
curl -s http://${rdsserver}/sharel/bin/inst-mariadb-server | sh -s "latest"

2. installation

curl -s https://wordpress.org/latest.tar.gz | tar xz -C /opt/
chown apache:apache -R /opt/wordpress/
wget -N -nv http://d01cid.ddns.net/sharel/etc/httpd/conf.d/wordpress.conf -P /etc/httpd/conf.d/
cube /etc/httpd/conf.d/wordpress.conf "%dnsdomainname%" with "$(dnsdomainname)"
systemctl reload httpd.service

3. configuration

mysql -u'root' -p'Passw0rd' -e "create database if not exists wordpress;"
mysql -u'root' -p'Passw0rd' -e "grant all privileges on wordpress.* to 'dbmusr'@'%' identified by 'Passw0rd';"
mysql -u'root' -p'Passw0rd' -e "grant all privileges on wordpress.* to 'dbmusr'@'localhost' identified by 'Passw0rd';"
mysql -u"root" -p"Passw0rd" -e "flush privileges;"