How to install phpBB (Internet forum package) on Ubuntu
Quickloss3
Update Server: apt update && apt upgrade -y
Set hostname: hostnamectl set-hostname ex.example.com
Install Apache, MariaDB, and PHP: apt install apache2 mariadb-server php libapache2-mod-php php-gd php-curl openssl php-imagick php-intl php-json php-ldap php-common php-mbstring php-mysql php-imap php-sqlite3 php-net-ftp php-zip unzip php-pgsql php-ssh2 php-xml wget unzip -y systemctl start apache2 systemctl enable apache2
Create a Database: mysql CREATE DATABASE phpdb; GRANT ALL ON phpdb.* to 'phpuser'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; exit
Download phpBB: wget https://download.phpbb.com/pub/release/3.3/3.3.7/phpBB-3.3.7.zip unzip phpBB-3.3.7.zip mv phpBB3 /var/www/html/phpbb chown -R www-data:www-data /var/www/html/phpbb chmod -R 775 /var/www/html/phpbb
Configure Apache for phpBB: nano /etc/apache2/sites-available/phpbb.conf paste
I'm replacing angled bracket with square bracket
[VirtualHost *:80] ServerAdmin ex@example.com DocumentRoot /var/www/html/phpbb ServerName ex.example.com [Directory /var/www/html/phpbb] Options FollowSymlinks AllowOverride All Require all granted [/Directory] ErrorLog ${APACHE_LOG_DIR}/phpbb_error.log CustomLog ${APACHE_LOG_DIR}/phpbb_access.log combined [/VirtualHost]
a2ensite phpbb a2enmod rewrite systemctl restart apache2
Access phpBB Web Interface: http://ex.example.com ... https://www.youtube.com/watch?v=ZyKgMwGvS08
29154228 Bytes