<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phpBB Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/phpbb/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/phpbb/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Thu, 27 Oct 2022 15:30:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.linuxtuto.com/wp-content/uploads/2022/01/cropped-LT_faveicon-32x32.png</url>
	<title>phpBB Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/phpbb/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install phpBB on AlmaLinux 9</title>
		<link>https://www.linuxtuto.com/how-to-install-phpbb-on-almalinux-9/</link>
					<comments>https://www.linuxtuto.com/how-to-install-phpbb-on-almalinux-9/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Thu, 27 Oct 2022 15:30:05 +0000</pubDate>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[AlmaLinux]]></category>
		<category><![CDATA[phpBB]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=811</guid>

					<description><![CDATA[<p>phpBB is an acronym for PHP Bulletin Board. It is a fully scalable and customizable open-source forum written in PHP. It can be used to...</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-phpbb-on-almalinux-9/">How to Install phpBB on AlmaLinux 9</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>phpBB is an acronym for PHP Bulletin Board. It is a fully scalable and customizable open-source forum written in PHP. It can be used to to create forums, start topics and share ideas.</p>
<p>In this tutorial we will show you how to install phpBB on AlmaLinux 9 using the <a href="https://www.linuxtuto.com/how-to-install-lamp-stack-on-almalinux-8-5/">LAMP stack</a>.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 1: Update Operating System</span></h2>
<p>Update your <strong>AlmaLinux 9</strong> operating system to make sure all existing packages are up to date:</p>
<pre><code># dnf update</code></pre>
<p>Also, install:</p>
<pre><code># dnf install wget nano unzip</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 2: Install Apache web server</span></h2>
<p>To install Apache web server, run the following command:</p>
<pre class="wp-block-preformatted"><code># dnf install httpd</code></pre>
<p>Apache does not start automatically when it is installed, you need to start it:</p>
<pre class="wp-block-preformatted"><code># systemctl start httpd</code></pre>
<p>Then enable it to start on boot time.</p>
<pre><code># systemctl enable httpd</code></pre>
<p>If <code>firewalld</code> is enabled consider allowing <code>HTTP</code> and <code>HTTPS</code> services:</p>
<pre><code># firewall-cmd --permanent --add-service={http,https}
# firewall-cmd --reload</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: Install PHP and required PHP modules</span></h2>
<p>In this section we will install PHP and PHP extensions required to run phpBB with the following command:</p>
<pre><code># dnf install php php-mysqli php-gd php-zip php-intl php-mbstring php-json</code></pre>
<p>Once the installation is complete, verify the version of PHP installed:</p>
<pre><code># php -v</code></pre>
<pre><code><strong>Output:</strong>
PHP 8.0.13 (cli) (built: Nov 16 2021 18:07:21) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.13, Copyright (c) Zend Technologies
with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies
</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 4: Install MariaDB and create a database</span></h2>
<p>To be able to install MariaDB on AlmaLinux 9 you need to add the <code>MariaDB YUM</code> repository:</p>
<pre><code># curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup</code></pre>
<p>Once the repository has been added to the system, installing MariaDB is an easy task that can be accomplished with the following command:</p>
<pre><code># dnf install mariadb-server</code></pre>
<p>Start the database server daemon, and also enable it to start automatically at the next boot with the following commands:</p>
<pre><code># systemctl start mariadb
# systemctl enable mariadb</code></pre>
<p>Verify the installed version of MariaDB.</p>
<pre><code># systemctl status mariadb</code></pre>
<p>Output:</p>
<pre><code><span style="color: #00ff00;">●</span> mariadb.service - MariaDB 10.5 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: <span style="color: #00ff00;">active (running)</span>
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Main PID: 47677 (mariadbd)
Status: "Taking your SQL requests now..."
Tasks: 11 (limit: 10951)
Memory: 71.2M
CPU: 2.238s
CGroup: /system.slice/mariadb.service
└─47677 /usr/libexec/mariadbd --basedir=/usr</code></pre>
<p>By default, MariaDB is not hardened. You can secure MariaDB using the <code>mysql_secure_installation</code> script:</p>
<pre><code>mysql_secure_installation</code></pre>
<p>Configure it like this:</p>
<pre><code>Set root password? [Y/n] <strong>Y</strong>
Remove anonymous users? [Y/n] <strong>Y</strong>
Disallow root login remotely? [Y/n] <strong>Y</strong>
Remove test database and access to it? [Y/n] <strong>Y</strong>
Reload privilege tables now? [Y/n] <strong>Y</strong></code></pre>
<p>Once the database server is installed, log into the MariaDB prompt:</p>
<pre><code>#  mysql -u root -p</code></pre>
<p>To create a database, database user, and grant all privileges to the database user run the following commands:</p>
<pre><code>MariaDB [(none)]&gt; CREATE DATABASE phpbb_db;
MariaDB [(none)]&gt; CREATE USER 'phpbb_user'@'localhost' IDENTIFIED BY 'Passw0rd';
MariaDB [(none)]&gt; GRANT ALL ON phpbb_db.* TO 'phpbb_user'@'localhost';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; EXIT</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 5: Download phpBB forum</span></h2>
<p>The phpBB forum is not available to download or install using the AlmaLinux package repositories. We have to download its files manually from its<a href="https://www.phpbb.com/downloads/" target="_blank" rel="noopener"><strong> official website.</strong></a></p>
<p>The version of phpBB as of this writing is 3.3.8.</p>
<p>Change directory to <code>/tmp</code> directory, you can use any directory:</p>
<pre><code># cd  /tmp</code></pre>
<p>Use the following command to download phpBB forum:</p>
<pre><code># wget https://download.phpbb.com/pub/release/3.3/3.3.8/phpBB-3.3.8.zip</code></pre>
<p>Extract file into the folder <strong>/var/www/html</strong> with the following command,</p>
<pre><code># unzip phpBB-3.3.8.zip -d /var/www/html</code></pre>
<p>Rename the extracted directory:</p>
<pre><code># mv /var/www/html/phpBB3 /var/www/html/phpbb</code></pre>
<p>Enable permission for the Apache webserver user to access the phpBB files,</p>
<pre><code># chown -R apache:apache /var/www/html/phpbb</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Configure Apache Web Server for phpBB forum</span></h2>
<p>Navigate to <code>/etc/httpd/conf.d</code> directory and run the following command to create a configuration file for your phpBB installation:</p>
<pre><code># nano /etc/httpd/conf.d/phpbb.conf</code></pre>
<p>Add the following content:</p>
<pre><code>&lt;VirtualHost *:80&gt;

ServerName your-domain.com

ServerAdmin webmaster@your-domain.com
DocumentRoot /var/www/html/phpbb

&lt;Directory /var/www/html/phpbb/&gt;
Options +FollowSymlinks
AllowOverride All
Require all granted
&lt;/Directory&gt;

ErrorLog /var/log/httpd/your-domain.com_error.log
CustomLog /var/log/httpd/your-domain.com_access.log combined

&lt;/VirtualHost&gt;
</code></pre>
<p>Save the file and Exit.</p>
<p>Restart the Apache web server.</p>
<pre><code># systemctl restart httpd</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Install phpBB forum on AlmaLinux 9</span></h2>
<p>Open your browser and complete the final steps e.g <code>http://your-domain.com</code></p>
<p><img fetchpriority="high" decoding="async" class="size-large wp-image-817 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-1024x489.jpg" alt="phpBB install" width="1024" height="489" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-1024x489.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-300x143.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-768x367.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-1536x734.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-1222x584.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-897x428.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation-684x327.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpBB_installation.jpg 1893w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>To start the installation, click the &#8216;<strong>Install&#8217;</strong> tab then click install.</p>
<p><img decoding="async" class="size-large wp-image-825 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-1024x490.jpg" alt="phpbb on AlmaLinux 9" width="1024" height="490" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-1024x490.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-300x144.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-768x368.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-1536x735.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-1222x585.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-897x429.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step-684x327.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_install_step.jpg 1895w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Fill in the details of the Administrator user and password and click on <strong>&#8216;Submit</strong>&#8216;.</p>
<p><img decoding="async" class="size-large wp-image-826 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-1024x493.jpg" alt="Administrator Configuration" width="1024" height="493" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-1024x493.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-300x144.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-768x370.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-1536x740.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-1222x588.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-897x432.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration-684x329.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administrator_configuration.jpg 1890w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Fill up the database configuration:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-827 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-1024x500.jpg" alt="Database Configuration" width="1024" height="500" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-1024x500.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-300x146.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-768x375.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-1536x749.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-1222x596.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-897x438.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration-684x334.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/php_database_configuration.jpg 1867w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>For the server configuration you can just leave the default settings and click &#8216;<strong>Submit&#8217;</strong>:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-829 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-1024x493.jpg" alt="phpBB server configuration" width="1024" height="493" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-1024x493.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-300x144.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-768x370.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-1536x740.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-1222x588.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-897x432.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration-684x329.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_server_configuration.jpg 1892w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>&nbsp;</p>
<p>In this steps you will ask to provide your SMTP settings, if email functionality is not configured, simply click &#8216;<strong>Submit</strong>&#8216; without changing any parameter.</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-830 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-1024x580.jpg" alt="Email Configuration" width="1024" height="580" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-1024x580.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-300x170.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-768x435.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-1536x871.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-1222x693.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-897x508.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration-684x388.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_email_configuration.jpg 1895w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Specify the settings of the Bulletin Board such as the default language, Board Title, and a short description of the board. Then click &#8216;<strong>Submit</strong>&#8216;:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-831 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-1024x492.jpg" alt="Bulletin board Configuration" width="1024" height="492" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-1024x492.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-300x144.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-768x369.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-1536x739.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-1222x588.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-897x431.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration-684x329.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_bulletin_configuration.jpg 1888w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Finally, the installation should be complete!</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-833 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-1024x491.jpg" alt="phpBB on AlmaLinux 9" width="1024" height="491" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-1024x491.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-300x144.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-768x368.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-1536x736.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-1222x586.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-897x430.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation-684x328.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_finished_installation.jpg 1894w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Click on &#8216;<strong>the ACP</strong>&#8216; link provided. This takes you to the Admin panel shown:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-834 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-1024x583.jpg" alt="Administration Control Panel" width="1024" height="583" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-1024x583.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-300x171.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-768x438.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-1536x875.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-1222x696.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-897x511.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel-684x390.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/10/phpbb_administration_control_panel.jpg 1892w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now, delete the &#8216;<strong>Install</strong>&#8216; folder to access the create, delete the posts and access the features of the phpBB forum software.</p>
<p>Go to your server terminal and run this command:</p>
<pre><code># rm -rf /var/www/html/phpbb/phpbb/install</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>That’s it. You have successfully installed phpBB on AlmaLinux 9.</p>
<p>If you have any questions please leave a comment below.</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-phpbb-on-almalinux-9/">How to Install phpBB on AlmaLinux 9</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.linuxtuto.com/how-to-install-phpbb-on-almalinux-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">811</post-id>	</item>
	</channel>
</rss>
