How to install PhpBB 3.2.2 on MX Linux 17

To install PhpBB 3.2.2 on MX Linux 17

The phpBB is an open source bulletin board forum software that provides a virtual space for discussion among the members of your website. It has a huge variety of features like flat topic structure, sub-forums, forum-specific data-styles, user groups, group-based permissions, database query and template caching, support for PHP 7, multiple database engines and much more. In this tutorial, we will cover the installation of PhpBB on MX Linux 17.

Prerequisites

Install LAMP(Apache, MariaDB, php7)

In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a PhpBB package using the following URL

root@linuxhelp:~# wget https://www.phpbb.com/files/release/phpBB-3.2.2.zip
--2018-09-13 04:36:28--  https://www.phpbb.com/files/release/phpBB-3.2.2.zip
Resolving www.phpbb.com (www.phpbb.com)... 140.211.15.244
Connecting to www.phpbb.com (www.phpbb.com)|140.211.15.244|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7934361 (7.6M) [application/zip]
Saving to: ‘phpBB-3.2.2.zip’

phpBB-3.2.2.zip                   100%[============================================================>]   7.57M   603KB/s    in 20s     

2018-09-13 04:36:49 (386 KB/s) - ‘phpBB-3.2.2.zip’ saved [7934361/7934361]

After Downloading extract the downloaded package

root@linuxhelp:~# unzip phpBB-3.2.2.zip 
Archive:  phpBB-3.2.2.zip
   creating: phpBB3/
   creating: phpBB3/language/
   creating: phpBB3/language/en/
  inflating: phpBB3/language/en/viewforum.php  
  inflating: phpBB3/language/en/memberlist.php  
  inflating: phpBB3/language/en/install.php  
  inflating: phpBB3/language/en/posting.php  
.
.
  inflating: phpBB3/images/upload_icons/jpg.gif  
 extracting: phpBB3/images/upload_icons/mpg.gif  
 extracting: phpBB3/images/upload_icons/mov.gif  
  inflating: phpBB3/images/upload_icons/rar.gif  
  inflating: phpBB3/images/upload_icons/flash.gif  
  inflating: phpBB3/images/upload_icons/zip.gif  
  inflating: phpBB3/images/upload_icons/mid.gif  
  inflating: phpBB3/images/index.htm  
  inflating: phpBB3/images/spacer.gif  

Move the extracted file into the HTML directory

root@linuxhelp:~# mv phpBB3 /var/www/

Navigate to the apache document root directory

root@linuxhelp:~# cd /var/www/

Change ownership and permission of the as PhpBB follows

root@linuxhelp:/var/www# chown -R www-data.www-data phpBB3
root@linuxhelp:/var/www# chmod -R 775 phpBB3

Create a new virtual host configuration for accessing the PhpBB

root@linuxhelp:/var/www# vim /etc/apache2/sites-available/phpBB.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/phpBB3/

<Directory /var/www/phpBB3/>
AllowOverride All
Allow from all
</Directory>

</VirtualHost>

Enable site access

root@linuxhelp:/var/www# a2ensite phpBB.conf
Enabling site phpBB.
To activate the new configuration, you need to run:
  service apache2 reload

Disable default access

root@linuxhelp:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  service apache2 reload

Enable rewrite module

root@linuxhelp:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart

Restart the apache service to make the changes effect

root@linuxhelp:/var/www# service apache2 restart
[ ok ] Restarting Apache httpd web server: apache2.

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name

You will see the Overview of the PhpBB

You will see the Welcome page of PhpBB as shown below

Configure the Admin user setup as follows

Configure the Database setup as shown below

Configure the server as follows

Configure the Email setup of PhpBB

Configure the board setup as shown below

You will see the Database table creation

After the configuration, you will see the following page as shown below

Access the Admin page from the options shown below

You will see the version of PhpBB

With this, the method to install PhpBB on MX Linux 17 comes to an end.

FAQ
Q
What version of PHP is used to install PhpBB on mxlinux?
A
Php version 7.0 can be used for installing PhpBB on mxlinux
Q
What are the basic requirement for PhpBB?
A
For basic requirement for PhpBB, refer the official link as PhpBB requirements as given below https://www.phpbb.com/support/docs/en/3.2/ug/
Q
What are the features in phpBB?
A
Features of PhpBB are
• Intuitive web interface
• Support for most MySQL features:
.To browse and drop databases, tables, views, fields and indexes
.To create, copy, drop, rename and alter databases, tables
Q
What is PhpBB Application?
A
PhpBB is an open source bulletin board forum software that provides a virtual space for discussion among the members of your website. It has a huge variety of features like flat topic structure, sub-forums, forum-specific styles, user groups, group-based permissions, database query and template caching, support for PHP 7, multiple database engines and much more
Q
Do I need to register on PhpBB?
A
You may not have to, it is up to the administrator of the board as to whether you need to register in order to post messages. However; registration will give you access to additional features not available to guest users such as definable avatar images, private messaging, emailing of fellow users, user group subscription, etc. It only takes a few moments to register so it is recommended you do so