Toggle navigation

phpBB Image Guide

Version 3.2.0

Websoft9 phpBB is a pre-configured, ready to run image for running phpBB on Alibaba Cloud.

phpBB is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. With an extensive database of user-created extensions and styles database containing hundreds of style and image packages to customise your board, you can create a very unique forum in minutes.phpBB is a flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. You can create a very unique forum in minutes based on extensive database of user-created modifications, diversified styles template and image packages to customize your board.

Software Version: phpBB3.2.0
Software directory: /data/wwwroot/default/phpbb

Basic software environment: LAMP
PHP Configuration File: /usr/local/php/etc/php.ini
Virtual host Configuration File directory: /usr/local/apache/conf/vhost.sh
Virtual host Configuration Command: /root/oneinstack/vhost

Database install directory: /usr/local/mysql
Database data directory: /data/mysql
Database Configuration File: /etc/my.cnf

After the installation of Image,please verify it

  • Login on Alibaba Cloud console,get you Internet IP Address
  • Open you Chrome or Firefox on your local PC,visit the http://Internet IP Address/
  • If verify successfully,you can enter the boot page of Websoft9 below
  • If no response from browser,please check the Security Group settings to ensure that port 80 is been allowed

This Image use MySQL for database

#default user/password:root/123456

MySQL User Guide: Click here

We will show you how to install phpBB:
1.Create the database required for phpBB,
2.Add a virtual host required for phpBB,
3.Start to install phpBB.

Step1. Create a database

1.login in MySQL:

Method 1:Use following URL to open phpMyAdmin page: http://< Public net IP >/phpMyAdmin

Method 2:Use SSH command to login in.

mysql -uroot –p                      #enter mysql console

 #default user/password:root/123456            More MySQL User Guide: Click here

 

2.create a database:

MySQL [(none)]> create database mydbname;

MySQL [(none)]> show databases;

 

3.Create a Database User and grants permissions to the User:

MySQL [(none)]> grant all privileges on mydbname.* to username@’localhost’ identified by ‘userpassword’;

MySQL [(none)]> flush privileges;

MySQL [(none)]> exit;

before2

Step2. Add a virtual host

Use SSH Command to Add a virtual host:

[root@iZbp1i4rjdsy216yq7lgucZ ~]# cd /root/oneinstack

[root@iZbp1i4rjdsy216yq7lgucZ oneinstack]# ./vhost.sh

Step3. Install Drupal

Open your domain name via browser:
1. Click “INSTALL”;

2. Click “Install”;

3. Fill in administrator configuration, Click “Submit”;

4. Fill in database configuration, Click “Submit”;

5. Click “Submit”;

6. Click “Submit”;

7. Click “Submit”;

8. Display progress on installation page;

9. Click “the ACP” to open your administration;

 

OK, it has been installed successfully.

Use http://<domain name>/  to go to your index page.

There lots of extension resources include Official Extensions,Cosmetic,Tools,Security,Communication,Profile/User Control Panel,Add-Ons,Anti-Spam,Entertainment,Miscellaneous to enhance the phpBB

Go to Admin Control Panel->Customise-Manage Extension,you can get all the installed extensions

How to install extension?

  1. Download an extension from phpBB’s extensions database
  2. Unzip the extension and upload it to the ext/ directory of your phpBB board
  3. Enable the extension, here in the Extensions manager

hpBB has been localised to 54 different languages and language variations by a dedicated team of translators. This page gives you access to these translations.

  1. Visit the phpBB Language Packs pages. Navigate through the list of available packs until you find the one you wish to download.
  2. You can click on either the flag icon or the ‘Downloads, Details & Support’ link for your chosen language. This will take you to the relevant section of the Customisation Database. The language pack is compressed as a .zip file and can be downloaded to you computer by clicking on the Download link.
  3. Now that you have the compressed language pack on your computer, you will need to extract (unzip) it. The extracted archive should contain 2 folders:
    • /language
    • /styles

    The language folder will contain the language files and the styles folder will contain the localised buttons for both the prosilver and subsilver2 styles

    • NB: If you are using a style other than prosilver or subsilver2 you will need to copy the appropriate localised buttons into the imageset folder of your custom style.
  4. Using FTP you will need to upload the /language and /styles folders (and their subfolders) from the extracted download into your board root. The board root is the one which contains the board’s config.php file. When uploading into the board root via FTP, you will more than likely get a notice warning you that you already have folders called /language and /styles. If this happens, just click to replace them.
  5. Now that the language pack is uploaded to your server, you will have to install it via the Administration Control Panel.
  6. Log in to your board,click the “ACP” link,go to the Administration Control Panel
  7. On the left hand side you will have a menu split into categories. In this left hand menu under the category ‘General Tasks’ you will see the link ‘Language Packs’ which you need to click.
  8. Once you have clicked the ‘Board Settings’ link you should be greeted by the boards settings page. On this page you should be able to see the drop down menu for the option ‘Default language:’. Select your newly installed language in the drop down menu and then click the submit button.
  9. After doing the above you will probably notice that when you start browsing about your board the language is still not using your newly installed language pack. This will be due to the fact that you registered before the new language pack was installed, meaning you will not have your own language option in the User Control Panel set correctly. For details on how to set this read the next section.

 

phpBB has Automation Update interface in ACP,login as admin and enter the Admin Control Panel->System Tab

you can see the Automation and Check for updates

Backup Tools

phpBB has Backup & Restore interface in ACP,login as admin and enter the Admin Control Panel->Maintenance Tab->Backup

you can backup which you want

Manual Backup

  1. Download the entire phpBB file in you root dictionary by FTP or other tools
  2. Visit http://< Internet IP Address >/phpMyAdmin,login in to the phpMyAdmin Panel
  3. Select you database,then Export
  4. Click “go” button,then download the SQL backup file

If you have not delete the intall folder of phpBB,you will receive the message “Please delete, move or rename the install directory before you use your board. If this directory is still present, only the Administration Control Panel (ACP) will be accessible.” when login as admin account

you can delete /data/wwwoort/default/phpbb/install by ftp or ssh

if you don’t want delete it,please do a rename operation

login as admin,got User Control Panel->Profile tab,you can enter the reset password interface

Websoft9 phpBB Image have installed the phpMyadmin

phpMyAdmin install directory: /data/wwwroot/default/phpMyAdmin

Linux

Following is the step for access phpMyadmin

  1. Open Chrome or Firefox on your local PC
  2. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page
  3. select you language,Username:root,Password:123456
  4. Click the button “Go”

Windows

Following is the step for access phpMyadmin

  1. User Remote Desktop Connection of Window to connect to you ECS
  2. Install a Chrome or Firefox browser on you ECS
  3. Open Chrome or Firefox on your ECS
  4. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page
  5. select you language,Username:root,Password:123456
  6. Click the button “Go”

The PHP configuration file allows you to configure the modules enabled, the email settings or the size of the upload files. It is located at /usr/local/php/etc/php.ini.

There are some PHP settings that need to be sufficient for phpBB to install and running.

The values for PHP.ini below are suggested values only.

  • memory_limit – Minimum: 64M Recommended: 128M or better
  • upload_max_filesize – Minimum: 20M
  • post_max_size – Minimum: 20M
  • max_execution_time: At Least 120 Recommended: 300

After modifying the PHP configuration file, restart both Apache and PHP-FPM for the changes to take effect:

# service httpd restart

 

Modify the  /usr/local/php/etc/php.ini file to increase the allowed size for uploads:

; Maximum size of POST data that PHP will accept.
post_max_size = 16M
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M

then,restart the apache

# service httpd restart

 

When install new extension from back-end it will not successful,may be the permissions of file and folder is not appropriate,you should change it

Web site root permissions to follow:
file 644, folder 755 ,Permissions Users and groups www
If there is a file permissions problem, execute the following three commands:

chown -R www.www /data/wwwroot/default/phpbb
find /data/wwwroot/default/phpbb -type d -exec chmod 755 {} \;
find /data/wwwroot/default/phpbb -type f -exec chmod 644 {} \;