• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Sunday, May 18, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

Install phpBB on the One-Click LEMP Application

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
14
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Introduction
  2. Prerequisites
  3. Step one: Create a database
  4. Step two: Download the phpBB package
  5. Step three: Configure and install phpBB from your browser
  6. Step four: Final security checks
  7. Want to contribute?


Introduction

At the time of writing, phpBB is the most popular open-source bulletin board software on the web. In this article, I will show you how to install phpBB on a Vultr server based on the One-Click LEMP application.

Prerequisites

I assume that you have deployed a One-Click LEMP Vultr server instance from scratch and have logged in as root. Non-root users will need to use the sudo command.

Step one: Create a database

The MySQL root password is saved on the app VPS in /root/.my.cnf. Use the following command to print the password to your terminal.

cat /root/.my.cnf

Next, use the credentials displayed on the screen to log into MySQL.

mysql -u root -p

Configure a new MySQL database with the following commands. You may replace the database name phpbb, the username myusername, and the password mypassword with your own ones.

create database phpbb;
create user 'myusername'@'localhost' identified by 'mypassword';
grant all privileges on phpbb.* to 'myusername'@'localhost' identified by 'mypassword' with grant option;
flush privileges;
exit;

Step two: Download the phpBB package

At the time of writing, the latest version of phpBB is 3.1.4. Download and unzip the latest phpBB package to a user-friendly directory with the following commands.

wget http://www.phpbb.com/files/release/phpBB-3.1.4.tar.bz2
tar -jxvf phpBB-3.1.4.tar.bz2
mv phpBB3/ /usr/share/nginx/html/
cd /usr/share/nginx/html/
mv phpBB3/ forum/

Step three: Configure and install phpBB from your browser

Before the installation, you need to modify the default access permissions of config.php to 777, or you will encounter a permission error.

chmod 0777 /usr/share/nginx/html/forum/config.php

Visit http://[SERVER_IP]/forum/ in your browser. Substitute the [SERVER_IP] with the IP address of your VPS.

Click the tab “INSTALL” to initialize the installation wizard. Follow the on-screen instructions to configure phpBB.

On the step of “Requirements”, you will find that the default settings of Vultr One-Click LEMP meets the requirements of installation compatibility, all you need to do is to click the button “Start install”.

On the step of “Database settings”, you need to input database parameters as specified below.

Remember to replace the database name phpbb, the database username myusername, the database password mypassword, and the table prefix phpbb_ with your own ones. Leave other fields blank.

Database type: MySQL with MySQLi Extension
Database name: phpbb
Database username: myusername
Database password: mypassword
Database table prefix: phpbb_

On the page of “Administrator details”, input the administrator’s username, password and email address.

On the page of “Advanced settings”, just click the button “Proceed to next step”, as these settings can be altered later.

On the page of “Final stage”, click the button “login”, you will be logged in as administrator. You can choose whether or not to send statistical information.

Step four: Final security checks

On the “Welcome” page, the phpBB program will warn you to perform some security cleansing checks.

From your terminal window, delete the install directory.

rm -rf /usr/share/nginx/html/forum/install/

Modify the access permissions to the file config.php.

chmod 0640 /usr/share/nginx/html/forum/config.php

Refresh your phpBB page in the browser, the security warning will disappear.

That’s it. You have installed phpBB onto your Vultr VPS.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Setup a Non-root User with Sudo Access on Ubuntu

Next Post

Setup a Keystone.js Server Using Nginx Reverse Proxy on Ubuntu 16.04

Next Post

Setup a Keystone.js Server Using Nginx Reverse Proxy on Ubuntu 16.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet