PhpBB/Installation
From r00tedvw.com wiki
(Difference between revisions)
Line 12: | Line 12: | ||
~$ mysql> CREATE USER 'phpBB'@'localhost' IDENTIFIED BY 'THISpasswordSHOULDbeCHANGED'; | ~$ mysql> CREATE USER 'phpBB'@'localhost' IDENTIFIED BY 'THISpasswordSHOULDbeCHANGED'; | ||
~$ mysql> exit | ~$ 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; |
Revision as of 03:42, 28 September 2014
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;