1. prereq
source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-httpd | sh
curl -s http://${rdsserver}/sharel/bin/inst-mariadb-server | sh
2. installation
version="3.3.2"
source /etc/cid.conf
curl -# https://download.phpbb.com/pub/release/3.3/${version}/phpBB-${version}.zip -o /tmp/latest.zip
unzip -q /tmp/latest.zip -d /opt/
rm -f /tmp/latest.zip
cd /opt/; ln -sv ./phpBB* phpBB; cd
chown apache:apache -R /opt/phpBB/
wget -N -nv http://${rdsserver}/sharel/etc/httpd/conf.d/phpBB.conf -P /etc/httpd/conf.d/
cube /etc/httpd/conf.d/phpBB.conf "%dnsdomainname%" with "$(dnsdomainname)"
systemctl reload httpd.service
3. configuration
mysql -u"root" -p"Passw0rd" -e "create database if not exists phpBB character set utf8 collate utf8_bin;"
mv /opt/phpBB/install/ /opt/phpBB/installx/