Installation of phpBB2

Step (1) ----------------------------------------------------------

yum install php php-pear php-common php-mysql php-cli php-pdo php-gd

Install PHP componet

vi /etc/httpd/conf/httpd.conf

DirectoryIndex index.html index.html.var index.php

Add "index.php" into config "DirectoryIndex" in httpd.conf

/etc/init.d/httpd restart

If your server is ready running PHP, skip this step

Step (2) ----------------------------------------------------------

yum install mysql mysql-devel mysql-server
chkconfig mysqld on
/etc/init.d/mysqld start

Install mysql, if your server is ready running mysql, skip this Step

mysqaladmin -uroot password 123456

Set DB root password for first initial

Step (3) ----------------------------------------------------------

Download the newest phpBB2 main program,language pack (tar file)
http://www.phpbb.com/

wget http://....../phpBB-2.0.22.tar.gz
wget http://....../lang_chinese_tradition.tar.gz

tar -zxvf phpBB-2.0.22.tar.gz
mv phpbBB2/ /var/www/html/

tar -zxvf lang_chinese_tradition.tar.gz
mv lang_chinese_tradition/ /var/www/html/language

Step (4) ----------------------------------------------------------

change owner for phpBB2/ directory

chown -R root.root /var/www/html/phpBB2

change write permission for config.php while installation

chmod 777 /var/www/html/phpBB2/config.php

create database in MySQL

mysql -uroot -p

create database phpBB2;

Step (4) ----------------------------------------------------------

Open website browser for installation
http://127.0.0.1/phpBB2
http://192.168.1.xxx/phpBB2

Finish all steps in the installation accroding the instruction

Step (5) ----------------------------------------------------------

change back permission of config.php

chmod 744 /var/www/html/phpBB2/config.php

remove install and contrib folder after installation

rm -fr /var/www/html/phpBB2/install
rm -fr /var/www/html/phpBB2/contrib

Installation is finished, try it!
http://127.0.0.1/phpBB2


Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.