PhpBB/Installation
From r00tedvw.com wiki
Installation done on a VM running Ubuntu 14.04LTS
Download required pacakages
~$ sudo apt-get update && sudo apt-get -y install apache2 mysql-server mysql-client php5 php5-mysql php5-gd imagemagick
If you're going to install MediaWiki aswell, then add an extra pacakge
~$ sudo apt-get install -y libapache2-mod-php5
Configure MySQL
login to db
~$ mysql -u root -p
Create mysql wiki user
~$ mysql> CREATE USER 'phpBB'@'localhost' IDENTIFIED BY 'THISpasswordSHOULDbeCHANGED'; ~$ mysql> exit
login as new user to verify account works
~$ mysql -u phpBB -p ~$ mysql> exit
create DB
~$ mysql -u root -p ~$ mysql> CREATE DATABASE phpBB;
verify DB creation
~$ mysql> SHOW DATABASES;
assign rights to wiki user for new database created
~$ mysql> GRANT ALL PRIVILEGES ON phpBB.* TO 'phpBB'@'localhost' IDENTIFIED BY 'phpuserpassword' WITH GRANT OPTION; ~$ mysql> exit
verify permissions have been granted
~$ mysql -u phpBB -p ~$ mysql> SHOW GRANTS;