Help:How To Set Up PHPBB

From OpenLiteSpeed
Jump to: navigation, search

Install OpenLiteSpeed and PHP

You can install OpenLiteSpeed and PHP through our repository.

http://open.litespeedtech.com/mediawiki/index.php/Help:Installation

http://open.litespeedtech.com/mediawiki/index.php/Help:4_Line_Install

Install phpBB

1. Download phpBB into your virtual host document root: /usr/local/lsws/Example/html

cd /usr/local/lsws/Example/html
wget https://www.phpbb.com/files/release/phpBB-3.1.9.tar.bz2
tar jxf phpBB-3.1.9.tar.bz2
mv phpBB3 phpbb
rm phpBB-3.1.9.tar.bz2

2. Set up a MySQL database and user for phpBB.

yum install mysql mysql-server
service mysqld start
mysql -u adminusername -p
mysql> create database phpbb;
mysql> grant all privileges on phpbb.* to db_user@'localhost' identified by 'password';
mysql> flush privileges;

3. Graceful restart to apply changes. (Actions > Graceful Restart)

4. Point your browser to http://localhost:8088/phpbb/install/index.php to run the phpBB installer.

5. Once complete, your newly installed phpBB (http://server_ip:8088/phpbb/) should be ready to use.