Tuesday, October 26, 2010

Installing phpBB in LINUX

phpBB is a popular Internet forum package written in the PHP scripting language. The name "phpBB" is an abbreviation of PHP Bulletin Board. Available under the GNU General Public License, phpBB is free and open source software.

Note: Install LAMP before doing this. If its a cpanel server you can install it via fantastico.

1) cd /usr/local/src

2) Download the pakage from
http://www.phpbb.com/downloads

3)tar -xjf phpBB-3.0.4.tar.bz2

4)mv phpBB3/ /var/www/html/ or the correct document root set in your server.

5)mv phpBB3 forums

6)Setup MYSQL
#mysqladmin -u root password 'passwordyouwant'
#mysql -u root -p
Create the new phpbb database:
create database phpbb;

Create new user and password for database:
grant all privileges on phpbb.* to username identified by ‘password‘;
or
grant all privileges on phpbb.* to username@localhost identified by ‘password‘;

Flush the privileges:
flush privileges;

Test the mySQL Setup:
exit

7)
#mysql -u username -p
enter password here
show databases;
The result should look similar to this:
+——————–+
| Database |
+——————–+
| information_schema |
| mysql |
| test |
| phpbb |
+——————–+
4 rows in set (0.29 sec)

8)Take the browser and go to http://ip/forum

9)We have to give chmod 777 to that folder and its contents inside.
Follow the steps in the browser and procced.
I sucessfully installed phpBB using these steps. For more information you may also refer:http://www.phpbb.com/support/documentation/3.0/

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews