Installing phpBB V2: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Installing phpBB V2 ...)
 
No edit summary
Line 1: Line 1:
<span id="top"></span>
=[http://ocavyle.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
<div style="padding:0;margin:0; border-bottom:3px inset #000000">
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
&lt;div style=&quot;padding:0;margin:0; border-bottom:3px inset #000000&quot;&gt;
{|  
{|  
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
Line 6: Line 7:
[[Installing phpBB V3 | Installing phpBB V3]]  
[[Installing phpBB V3 | Installing phpBB V3]]  
|}
|}
</div>
&lt;/div&gt;
{| cellpadding="4"
{| cellpadding=&quot;4&quot;
|
|
__TOC__
__TOC__
Line 22: Line 23:
Download files and and copy to their correct location I have shown the complete steps below:
Download files and and copy to their correct location I have shown the complete steps below:


{|cellpadding="4" cellspacing="4" width="80%"
{|cellpadding=&quot;4&quot; cellspacing=&quot;4&quot; width=&quot;80%&quot;
|-
|-
|valign="top" style="background:#f3f3f3"|
|valign=&quot;top&quot; style=&quot;background:#f3f3f3&quot;|
{|cellpadding="2" style="background:#f3f3f3"
{|cellpadding=&quot;2&quot; style=&quot;background:#f3f3f3&quot;
|-
|-
|valign="top"|&nbsp;1&nbsp;||To begin, I have assumed you have downloaded Uniform Server 3.5-Apollo from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=48193 SourceForge.net] and unzipped it to your computer. If you intend going live check out this page first [[Home Web Server: Security |security check list]].
|valign=&quot;top&quot;|&amp;nbsp;1&amp;nbsp;||To begin, I have assumed you have downloaded Uniform Server 3.5-Apollo from [http://sourceforge.net/project/showfiles.php?group_id=53691&amp;package_id=48193 SourceForge.net] and unzipped it to your computer. If you intend going live check out this page first [[Home Web Server: Security |security check list]].


'''''Note'':''' You will need the database user name ('''root''') and '''password''' that you set for MySQL. In this tutorial I use the Uniform default password ('''root''') .
'''''Note'':''' You will need the database user name ('''root''') and '''password''' that you set for MySQL. In this tutorial I use the Uniform default password ('''root''') .
|-
|-
|valign="top"|&nbsp;2||'''A)''' Next you need to download  phpBB 2.0.22 (or newer version 3 has a different installation) from [http://www.phpbb.com phpBB.com] Save it to a convenient folder for example '''c:\phpbb_temp'''
|valign=&quot;top&quot;|&amp;nbsp;2||'''A)''' Next you need to download  phpBB 2.0.22 (or newer version 3 has a different installation) from [http://www.phpbb.com phpBB.com] Save it to a convenient folder for example '''c:\phpbb_temp'''
|-
|-
|valign="top"|&nbsp;3||'''B)''' Extract the file you downloaded (phpBB-2.0.22.zip) to the current folder ('''right click''' on the file to be extracted and select '''Extract All'''... click '''Next''' and '''Next''' again).
|valign=&quot;top&quot;|&amp;nbsp;3||'''B)''' Extract the file you downloaded (phpBB-2.0.22.zip) to the current folder ('''right click''' on the file to be extracted and select '''Extract All'''... click '''Next''' and '''Next''' again).


This creates a new folder named: '''phpBB-2.0.22''' that contains a folder named '''phpBB2''' containing all the required files.
This creates a new folder named: '''phpBB-2.0.22''' that contains a folder named '''phpBB2''' containing all the required files.
|-
|-
|valign="top"|&nbsp;4||'''C)''' Copy the folder '''phpBB2''' (and all its content) to the root folder '''www'''.
|valign=&quot;top&quot;|&amp;nbsp;4||'''C)''' Copy the folder '''phpBB2''' (and all its content) to the root folder '''www'''.
|}
|}
|
|
Line 46: Line 47:
== Installation - Create phpBB Database ==
== Installation - Create phpBB Database ==
Creating the phpBB database is straight forward tables are automatically inserted during installation
Creating the phpBB database is straight forward tables are automatically inserted during installation
{|cellpadding="4" cellspacing="4"
{|cellpadding=&quot;4&quot; cellspacing=&quot;4&quot;
|-
|-
|valign="top" style="background:#f3f3f3"|
|valign=&quot;top&quot; style=&quot;background:#f3f3f3&quot;|
{|cellpadding="2" style="background:#f3f3f3"
{|cellpadding=&quot;2&quot; style=&quot;background:#f3f3f3&quot;
|-
|-
|valign="top"|&nbsp;1&nbsp;||Start Uniform Server (Double click on '''Server_Start.bat''').
|valign=&quot;top&quot;|&amp;nbsp;1&amp;nbsp;||Start Uniform Server (Double click on '''Server_Start.bat''').
|-
|-
|valign="top"|&nbsp;2||From apanel click on the '''phpMyAdmin''' link. (left menu) Note you can always return to apanel by typing <nowiki>http://localhost/apanel/</nowiki> into your browser address bar.
|valign=&quot;top&quot;|&amp;nbsp;2||From apanel click on the '''phpMyAdmin''' link. (left menu) Note you can always return to apanel by typing &lt;nowiki&gt;http://localhost/apanel/&lt;/nowiki&gt; into your browser address bar.
|-
|-
|valign="top"|&nbsp;3||'''A''') We want to create a new database. Name it '''phpbb''' (or something easy to remember)
|valign=&quot;top&quot;|&amp;nbsp;3||'''A''') We want to create a new database. Name it '''phpbb''' (or something easy to remember)
|-
|-
|valign="top"|&nbsp;4||'''B)''' Click on Create to create the database
|valign=&quot;top&quot;|&amp;nbsp;4||'''B)''' Click on Create to create the database
|}
|}
|
|
Line 65: Line 66:
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
== Installation ==
== Installation ==
Installing phpBB is done via your browser navigate to the phpBB installation file by typing '''<nowiki>http://localhost/phpBB2/install/install.php</nowiki>''' into the address bar.
Installing phpBB is done via your browser navigate to the phpBB installation file by typing '''&lt;nowiki&gt;http://localhost/phpBB2/install/install.php&lt;/nowiki&gt;''' into the address bar.


You are greeted with a form to fill in, some of the fields are pre-populated and do need changing. You will be pleased to learn this is the only form that needs filling in. The following lists the fields with comments:
You are greeted with a form to fill in, some of the fields are pre-populated and do need changing. You will be pleased to learn this is the only form that needs filling in. The following lists the fields with comments:
{|cellpadding="2"
{|cellpadding=&quot;2&quot;
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;1||align="right"|Default board language:||'''English''' (your choice)
|&amp;nbsp;1||align=&quot;right&quot;|Default board language:||'''English''' (your choice)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;2||align="right"|Database Type:||Drop down select '''MySql 4.x/5.x''' (default not suitable for Uniform Server)
|&amp;nbsp;2||align=&quot;right&quot;|Database Type:||Drop down select '''MySql 4.x/5.x''' (default not suitable for Uniform Server)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;3||align="right"|Choose your installation method:||'''Install''' (We are doing a full install and not an up-date)
|&amp;nbsp;3||align=&quot;right&quot;|Choose your installation method:||'''Install''' (We are doing a full install and not an up-date)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;4||align="right"|Database Server Hostname / DSN:||'''localhost'''
|&amp;nbsp;4||align=&quot;right&quot;|Database Server Hostname / DSN:||'''localhost'''
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;5||align="right"|Your Database Name:|| '''phpbb''' (unless you chose a different name)
|&amp;nbsp;5||align=&quot;right&quot;|Your Database Name:|| '''phpbb''' (unless you chose a different name)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;6||align="right"|Database Username:||'''root'''
|&amp;nbsp;6||align=&quot;right&quot;|Database Username:||'''root'''
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;7||align="right"|Database Password:||'''root''' (use the one you set in pre-installation)
|&amp;nbsp;7||align=&quot;right&quot;|Database Password:||'''root''' (use the one you set in pre-installation)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;8||align="right"|Prefix for tables in database:||'''phpbb_''' (Default no need to change)
|&amp;nbsp;8||align=&quot;right&quot;|Prefix for tables in database:||'''phpbb_''' (Default no need to change)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|&nbsp;9||align="right"|Admin Email Address:||'''xxx@zzz.com''' (your real e-mail address)
|&amp;nbsp;9||align=&quot;right&quot;|Admin Email Address:||'''xxx@zzz.com''' (your real e-mail address)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|10||align="right"|Domain Name:||'''localhost'''
|10||align=&quot;right&quot;|Domain Name:||'''localhost'''
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|11||align="right"|Server Port:||'''80'''
|11||align=&quot;right&quot;|Server Port:||'''80'''
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|12||align="right"|Script path:||'''/phpBB2/''' (default unless yo renamed or moved the folder)
|12||align=&quot;right&quot;|Script path:||'''/phpBB2/''' (default unless yo renamed or moved the folder)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|13||align="right"|Administrator Username:||'''ric''' (your name)
|13||align=&quot;right&quot;|Administrator Username:||'''ric''' (your name)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|14||align="right"|Administrator Password:||'''fred123''' (your real admin password)
|14||align=&quot;right&quot;|Administrator Password:||'''fred123''' (your real admin password)
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|15||align="right"|Administrator Password [ Confirm ]:||'''fred123'''
|15||align=&quot;right&quot;|Administrator Password [ Confirm ]:||'''fred123'''
|-style="background:#f4f4f4"
|-style=&quot;background:#f4f4f4&quot;
|16&nbsp;||align="right"|'''Press Start''' Install||Installs phpBB
|16&amp;nbsp;||align=&quot;right&quot;|'''Press Start''' Install||Installs phpBB
|}
|}


Line 111: Line 112:
|
|
[[Image:Uc_phpbb_v2_install_3.gif]]
[[Image:Uc_phpbb_v2_install_3.gif]]
|width="10"|
|width=&quot;10&quot;|
&nbsp;
&amp;nbsp;
|
|
[[Image:Uc_phpbb_v2_install_4.gif]]
[[Image:Uc_phpbb_v2_install_4.gif]]
Line 121: Line 122:
{|
{|
|-
|-
|width="598" valign="top"|
|width=&quot;598&quot; valign=&quot;top&quot;|
{|
{|
|-
|-
Line 135: Line 136:
|}
|}


After deleting both folders either refresh the page that displayed the message or go directly to the bulletin board by typing '''<nowiki>http://localhost/phpBB2/</nowiki>''' into your browser and login.
After deleting both folders either refresh the page that displayed the message or go directly to the bulletin board by typing '''&lt;nowiki&gt;http://localhost/phpBB2/&lt;/nowiki&gt;''' into your browser and login.


Alternatively, type this '''<nowiki>http://localhost/phpBB2/admin/</nowiki>''' to access the administration page.
Alternatively, type this '''&lt;nowiki&gt;http://localhost/phpBB2/admin/&lt;/nowiki&gt;''' to access the administration page.


== Problems encountered ==
== Problems encountered ==

Revision as of 01:02, 24 November 2010

This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page

<span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000">

MPG UniCenter

Installing phpBB V2 | Installing phpBB V3

</div>

How to install phpBB V2 on Uniform Server 3.5-Apollo.

Uniform Server is ideal for testing and evaluating programs like phpBB (version 2.0.22). I tend to keep a clean version of Uniform Server ready to do quick test, add the software to be tested. After testing just archive the lot using 7Z.

If you do not intend to go live with phpBB, use defaults during set-up and you will have a working bulletin board in a very short time, it is so quick to install. Once installed you can break it as many times as you like, that is the beauty of this type of set-up. It gives you the chance to resolve any issues before going live.

When going live use real passwords and make sure you implement any security where noted.

Pre-Installation

Download files and and copy to their correct location I have shown the complete steps below:

&nbsp;1&nbsp; To begin, I have assumed you have downloaded Uniform Server 3.5-Apollo from SourceForge.net and unzipped it to your computer. If you intend going live check out this page first security check list.

Note: You will need the database user name (root) and password that you set for MySQL. In this tutorial I use the Uniform default password (root) .

&nbsp;2 A) Next you need to download phpBB 2.0.22 (or newer version 3 has a different installation) from phpBB.com Save it to a convenient folder for example c:\phpbb_temp
&nbsp;3 B) Extract the file you downloaded (phpBB-2.0.22.zip) to the current folder (right click on the file to be extracted and select Extract All... click Next and Next again).

This creates a new folder named: phpBB-2.0.22 that contains a folder named phpBB2 containing all the required files.

&nbsp;4 C) Copy the folder phpBB2 (and all its content) to the root folder www.

Top

Installation - Create phpBB Database

Creating the phpBB database is straight forward tables are automatically inserted during installation

&nbsp;1&nbsp; Start Uniform Server (Double click on Server_Start.bat).
&nbsp;2 From apanel click on the phpMyAdmin link. (left menu) Note you can always return to apanel by typing <nowiki>http://localhost/apanel/</nowiki> into your browser address bar.
&nbsp;3 A) We want to create a new database. Name it phpbb (or something easy to remember)
&nbsp;4 B) Click on Create to create the database

Top

Installation

Installing phpBB is done via your browser navigate to the phpBB installation file by typing <nowiki>http://localhost/phpBB2/install/install.php</nowiki> into the address bar.

You are greeted with a form to fill in, some of the fields are pre-populated and do need changing. You will be pleased to learn this is the only form that needs filling in. The following lists the fields with comments:

&nbsp;1 Default board language: English (your choice)
&nbsp;2 Database Type: Drop down select MySql 4.x/5.x (default not suitable for Uniform Server)
&nbsp;3 Choose your installation method: Install (We are doing a full install and not an up-date)
&nbsp;4 Database Server Hostname / DSN: localhost
&nbsp;5 Your Database Name: phpbb (unless you chose a different name)
&nbsp;6 Database Username: root
&nbsp;7 Database Password: root (use the one you set in pre-installation)
&nbsp;8 Prefix for tables in database: phpbb_ (Default no need to change)
&nbsp;9 Admin Email Address: xxx@zzz.com (your real e-mail address)
10 Domain Name: localhost
11 Server Port: 80
12 Script path: /phpBB2/ (default unless yo renamed or moved the folder)
13 Administrator Username: ric (your name)
14 Administrator Password: fred123 (your real admin password)
15 Administrator Password [ Confirm ]: fred123
16&nbsp; Press Start Install Installs phpBB

At this point, your basic installation is complete. Database tables and admin have been created. Click on Finish Installation to complete.

Screen shots of before and after:

&nbsp;

Delete these folders

This is not just for information:

  • For security reasons you do need to action and delete these folders: contrib/ and install/
  • You will be forgiven if you believe that the message is for information only, ignore it and you will not be able to access your bulletin board. Now that I like forced security makes lazy people like me take notice.

After deleting both folders either refresh the page that displayed the message or go directly to the bulletin board by typing <nowiki>http://localhost/phpBB2/</nowiki> into your browser and login.

Alternatively, type this <nowiki>http://localhost/phpBB2/admin/</nowiki> to access the administration page.

Problems encountered

Problems I found were with avatars I download some from http://www.phpbb.com installed them into the gallery folder (*\Uniform Server\udrive\www\phpBB2\images\avatars\gallery) only to find they did not work. Apart from incorrect image size and file size settings, I discovered that my image folders were read only that might have explained why the image up-load did not work.

Adding a new account the mail function failed, this can be resolved in one of two ways check out this section PHP mail function.

General

It has taken longer to write this page than actually perform the installation and testing. Although not exhaustive, I tested with different drive letters, ran from a memory stick on two other machines. Looks fine to me but remember its always the components you do not test or assume, that flaw you in the end.

Top


Ric