PhpBB/Installation
From r00tedvw.com wiki
(Difference between revisions)
(→Download phpBB) |
|||
Line 48: | Line 48: | ||
2014-09-28 04:51:38 (1.11 MB/s) - ‘phpBB-3.0.12.zip’ saved [2487985/2487985] | 2014-09-28 04:51:38 (1.11 MB/s) - ‘phpBB-3.0.12.zip’ saved [2487985/2487985] | ||
verify the md5. this is available on the downloads page, in this case it was MD5: e86ffc334ea53d934c0c1c0588429803 | verify the md5. this is available on the downloads page, in this case it was MD5: e86ffc334ea53d934c0c1c0588429803 | ||
− | $ md5sum phpBB-3.0.12.zip | + | ~$ md5sum phpBB-3.0.12.zip |
e86ffc334ea53d934c0c1c0588429803 phpBB-3.0.12.zip | e86ffc334ea53d934c0c1c0588429803 phpBB-3.0.12.zip |
Revision as of 03:55, 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;
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; +--------------------------------------------------------------------------------------------------------------+ | Grants for phpBB@localhost | +--------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'phpBB'@'localhost' IDENTIFIED BY PASSWORD '*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | | GRANT ALL PRIVILEGES ON `phpBB`.* TO 'phpBB'@'localhost' WITH GRANT OPTION | +--------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec)
Download phpBB
download the latest version (at the time of this writing was 3.0.12)
~$ wget https://www.phpbb.com/files/release/phpBB-3.0.12.zip --2014-09-28 04:51:36-- https://www.phpbb.com/files/release/phpBB-3.0.12.zip Resolving www.phpbb.com (www.phpbb.com)... 140.211.15.9 Connecting to www.phpbb.com (www.phpbb.com)|140.211.15.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2487985 (2.4M) [application/zip] Saving to: ‘phpBB-3.0.12.zip’ 100%[=====================================================================================================================>] 2,487,985 1.11MB/s in 2.1s 2014-09-28 04:51:38 (1.11 MB/s) - ‘phpBB-3.0.12.zip’ saved [2487985/2487985]
verify the md5. this is available on the downloads page, in this case it was MD5: e86ffc334ea53d934c0c1c0588429803
~$ md5sum phpBB-3.0.12.zip e86ffc334ea53d934c0c1c0588429803 phpBB-3.0.12.zip