Providing a comprehensive 'How To' tutorial guide, on the installation of phpBB on your Frihost account. Includes; downloading of files; uploading using Direct Admin's File Manager; CHMOD using Direct Admin's File Manager; MySQL database creation, phpBB initial configuration.
This guide should help everyone from beginners, with images and an in-depth guide of what to do.
----------------------------------------------------------------------
This guide only covers phpBB 2.*.* , version 3 beta, RC or final releases are not support here, though most processes will be the same.
Step 1.
To start with we need to download phpbb. This can be done by visiting the phpBB downloads page which should look like the image below.
Before you download, you need to read the license agreement (green).
Direct Admin supports the .tar.gz compression file so by downloading that version, we can speed up the upload process.
This image is outdated, you should choose the default STABLE version
Step 2.
A save pop-up should show automatically. If not click the provided link. When it does make sure to save to disk (green) then click Ok (red).
If this box does not show, go to step #3, If it saves Ok, skip to step #4
Step 3.
If the download in step #2 succeeded, skip to step #4
If the download fails or the pop-up fails to show at all try these options. First click the 'this direct link' link (red). If you now get the pop-up, return to step #3.
Second, try choosing a new location to download from, click the green link and choose a new location. This should return to step #3 as well, now with a pop-up on screen.
Step 4.
Now we need to upload the file. This can be done by using ftp however with all the different clients, only Direct Admin provides consistency among all users so I'll be using that here.
Visit the main login page, entering your username and password then clicking Ok (red).
Step 5.
After logging in, under the 'Your Account' section, click on File Manager (red)
Step 6.
Assuming you are installing under your primary domain, just click on public_html (red), otherwise go to domains then choose the domain you are installing it under.
Step 7.
Un-compressing the file will create a new directory so if we want public_html forum we should upload the file public_html, if we want it at public_html/scripts/forum we should upload to public_html/scripts.
Find the folder you are uploading to then under all the file click the 'Upload files to current directory' button (red).
Step 8.
Next to box #1 click 'Browse' (red) and search the pop-up for the phpBB file you recently downloaded, click it then click open. The pop-up should close and the path to the file should now be present in the box. Now click 'Upload Files' (green).
Step 9.
You should receive a confirmation message. Click the 'here' (green) to go back to the File Manager.
Step 10.
You should now see that the file has been uploaded. Now we need to extract the file (green).
Step 11.
There's no need to concern yourself over anything on this page, just click 'Extract' (red) to continue.
Step 12.
This page may take a while to load as it is un-compressing a rather large file. When fully complete, you'll receive another confirmation page. No direct link back from here so just go back to the file manager anyway you like.
Step 13.
Navigate back to the directory where the .tar.gz file is currently stored. We want to delete it now so check the check box to its right (green) then click the 'Delete' button (red) underneath.
Step 14.
You'll need to confirm that you do want to delete the file. Click Ok (green) on the little pop-up
Step 15.
People visiting your forum via a link with phpbb2 in it is just horrible so now lets change the name of the folder.
In File manager go back to the directory the phpBB2 folder is located and click 'Rename' (green).
Step 16.
Type in the new name of your folder (forum is suggested) and click rename (green).
Step 17.
You should be automatically be redirected back to the file manager and be able to see that the folder is now called forum (or whatever called it in step 16). Click the name to enter that folder (red).
Step 18.
Before we install we need to change the permissions of config.php. Here I'll show you how to do that in Direct Admin though it can be done using FTP CHMOD (in which case, skip steps 18 - 19).
Find config.php and click the little check box to its right (red).
Step 19.
Scroll to the bottom of the page and type '666' into the small text box next to the button which can now be pressed named 'Set Permission' (green).
Step 20.
After it refreshes you should now see the new permissions on the config file.
Step 21.
Creating a database. Return back to the welcome page, under the 'Your Account' section click on 'MySQL Management' (green).
Step 22.
Click on 'Create new database' (red).
Step 23.
Create a new name, username and password for your database (notice the db name and username start with your DA username first and then an underscore!), then click 'Create' (green).
Step 24.
Another confirmation page with all your details. Keep this page open if you don't have a good memory, otherwise click back (green) to go back.
Step 25.
The part where most people give up due to confusion but in fact one of the easiest stages. You need to go to the install page now. To visit this simply visit your forum directory and it automatically redirect you!
In my example I uploaded it into the domain folder, mathiaus.frih.net and it created its own folder called forum so I would visit: http://mathiaus.frih.net/forum
Default Board Language: Simple enough. What language should guests and anyone who haven't set their language, see?
Database Type: At Frihost we use V4 so choose 'MySQL 4.x/5.x'
Choose your installation method: Were installing so leave it alone.
----------
Database Server Hostname / DSN: make it 'localhost'
Your Database Name: As created in step 23. In my case my DA username is mathiaus and I called the database forum, so the database name is 'mathiaus_forum'
Database Username: Also from step 23. My DA username is mathiaus and created the user phpbb so the database username is 'mathiaus_phpbb'
Database Password: In my case I chose 'password' put yo should enter the password you created in step 23.
Prefix for tables in database: Leave as phpbb_ unless you already have phpbb installed using the same database.
----------
Admin email address: The address of yourself for admin emails to be sent to (and sent from to users).
Domain name: Hopefully obvious.
Server Port: Leave at 80
Script Path: This will depend on where you uploaded to and what you called your directory later. Its in relation from public_html so if you uploaded one directory up (public_html/forum) you just need '/forum'/. If you went several directories higher you would need to enter them.
Administrator Username: This is the name of your admin account for your forum.
Administrator Password: Create a password for the above account
Administrator Password [confirm]: Same as above
Click 'Start Install' (green)
Step 26.
Click on 'Finish Installation
Step 27.
Were now told to delete the install and contrib directories
Step 28.
... so we go back to the File Manager, check the checkbox next to each of those folders and click 'Delete'.
FINISHED
----------------------------------------------------------------------
n0obie4life's previous tutorial can be found here.
A flash, non-Frihost specific tutorial can be found here.
Modifications: 24/08/2006 - Spelling/grammar corrections courtesy of Daniel15
01/09/2006 - Added more description at step 25 on where to locate page
28/11/2006 - Changed initial description to better PR for ease of users finding it
29/05/2007 - Changed image 1 and 1's link to reflect phpBB's site update
29/05/2007 - Changed order of #2 & #3 to reflect new download method of phpBB
Last edited by mathiaus on Tue May 29, 2007 8:46 pm; edited 9 times in total
This guide should help everyone from beginners, with images and an in-depth guide of what to do.
----------------------------------------------------------------------
This guide only covers phpBB 2.*.* , version 3 beta, RC or final releases are not support here, though most processes will be the same.
Step 1.
To start with we need to download phpbb. This can be done by visiting the phpBB downloads page which should look like the image below.
Before you download, you need to read the license agreement (green).
Direct Admin supports the .tar.gz compression file so by downloading that version, we can speed up the upload process.
This image is outdated, you should choose the default STABLE version
Step 2.
A save pop-up should show automatically. If not click the provided link. When it does make sure to save to disk (green) then click Ok (red).
If this box does not show, go to step #3, If it saves Ok, skip to step #4
Step 3.
If the download in step #2 succeeded, skip to step #4
If the download fails or the pop-up fails to show at all try these options. First click the 'this direct link' link (red). If you now get the pop-up, return to step #3.
Second, try choosing a new location to download from, click the green link and choose a new location. This should return to step #3 as well, now with a pop-up on screen.
Step 4.
Now we need to upload the file. This can be done by using ftp however with all the different clients, only Direct Admin provides consistency among all users so I'll be using that here.
Visit the main login page, entering your username and password then clicking Ok (red).
Step 5.
After logging in, under the 'Your Account' section, click on File Manager (red)
Step 6.
Assuming you are installing under your primary domain, just click on public_html (red), otherwise go to domains then choose the domain you are installing it under.
Step 7.
Un-compressing the file will create a new directory so if we want public_html forum we should upload the file public_html, if we want it at public_html/scripts/forum we should upload to public_html/scripts.
Find the folder you are uploading to then under all the file click the 'Upload files to current directory' button (red).
Step 8.
Next to box #1 click 'Browse' (red) and search the pop-up for the phpBB file you recently downloaded, click it then click open. The pop-up should close and the path to the file should now be present in the box. Now click 'Upload Files' (green).
Step 9.
You should receive a confirmation message. Click the 'here' (green) to go back to the File Manager.
Step 10.
You should now see that the file has been uploaded. Now we need to extract the file (green).
Step 11.
There's no need to concern yourself over anything on this page, just click 'Extract' (red) to continue.
Step 12.
This page may take a while to load as it is un-compressing a rather large file. When fully complete, you'll receive another confirmation page. No direct link back from here so just go back to the file manager anyway you like.
Step 13.
Navigate back to the directory where the .tar.gz file is currently stored. We want to delete it now so check the check box to its right (green) then click the 'Delete' button (red) underneath.
Step 14.
You'll need to confirm that you do want to delete the file. Click Ok (green) on the little pop-up
Step 15.
People visiting your forum via a link with phpbb2 in it is just horrible so now lets change the name of the folder.
In File manager go back to the directory the phpBB2 folder is located and click 'Rename' (green).
Step 16.
Type in the new name of your folder (forum is suggested) and click rename (green).
Step 17.
You should be automatically be redirected back to the file manager and be able to see that the folder is now called forum (or whatever called it in step 16). Click the name to enter that folder (red).
Step 18.
Before we install we need to change the permissions of config.php. Here I'll show you how to do that in Direct Admin though it can be done using FTP CHMOD (in which case, skip steps 18 - 19).
Find config.php and click the little check box to its right (red).
Step 19.
Scroll to the bottom of the page and type '666' into the small text box next to the button which can now be pressed named 'Set Permission' (green).
Step 20.
After it refreshes you should now see the new permissions on the config file.
Step 21.
Creating a database. Return back to the welcome page, under the 'Your Account' section click on 'MySQL Management' (green).
Step 22.
Click on 'Create new database' (red).
Step 23.
Create a new name, username and password for your database (notice the db name and username start with your DA username first and then an underscore!), then click 'Create' (green).
Step 24.
Another confirmation page with all your details. Keep this page open if you don't have a good memory, otherwise click back (green) to go back.
Step 25.
The part where most people give up due to confusion but in fact one of the easiest stages. You need to go to the install page now. To visit this simply visit your forum directory and it automatically redirect you!
In my example I uploaded it into the domain folder, mathiaus.frih.net and it created its own folder called forum so I would visit: http://mathiaus.frih.net/forum
Default Board Language: Simple enough. What language should guests and anyone who haven't set their language, see?
Database Type: At Frihost we use V4 so choose 'MySQL 4.x/5.x'
Choose your installation method: Were installing so leave it alone.
----------
Database Server Hostname / DSN: make it 'localhost'
Your Database Name: As created in step 23. In my case my DA username is mathiaus and I called the database forum, so the database name is 'mathiaus_forum'
Database Username: Also from step 23. My DA username is mathiaus and created the user phpbb so the database username is 'mathiaus_phpbb'
Database Password: In my case I chose 'password' put yo should enter the password you created in step 23.
Prefix for tables in database: Leave as phpbb_ unless you already have phpbb installed using the same database.
----------
Admin email address: The address of yourself for admin emails to be sent to (and sent from to users).
Domain name: Hopefully obvious.
Server Port: Leave at 80
Script Path: This will depend on where you uploaded to and what you called your directory later. Its in relation from public_html so if you uploaded one directory up (public_html/forum) you just need '/forum'/. If you went several directories higher you would need to enter them.
Administrator Username: This is the name of your admin account for your forum.
Administrator Password: Create a password for the above account
Administrator Password [confirm]: Same as above
Click 'Start Install' (green)
Step 26.
Click on 'Finish Installation
Step 27.
Were now told to delete the install and contrib directories
Step 28.
... so we go back to the File Manager, check the checkbox next to each of those folders and click 'Delete'.
FINISHED
----------------------------------------------------------------------
n0obie4life's previous tutorial can be found here.
A flash, non-Frihost specific tutorial can be found here.
Modifications: 24/08/2006 - Spelling/grammar corrections courtesy of Daniel15
01/09/2006 - Added more description at step 25 on where to locate page
28/11/2006 - Changed initial description to better PR for ease of users finding it
29/05/2007 - Changed image 1 and 1's link to reflect phpBB's site update
29/05/2007 - Changed order of #2 & #3 to reflect new download method of phpBB
Last edited by mathiaus on Tue May 29, 2007 8:46 pm; edited 9 times in total
