Howto: Install PHPBB2
Posted: 16 Jun 2008, 15:51
A guide how to install the Open Source forum PHPBB2. You will need MySQL as well, installation described here as well.
Using ssh, log on to Bubba (as your regular user). Type
to become root. The root password is
Edit your sources.list file
It should look like
To update the package lists, type
To install PHPBB2, type
*You will get a question about "additional disk space will be used", answer YES.
*A splash screen will ask about your web server, choose Apache2.
To install MySQL server, type
*You will get a question about "additional disk space will be used", answer YES.
*A splash screen will appear, press OK.
Configure MySQL, type
*You will get a question about "additional disk space will be used", answer YES.
*When prompted "Webserver(s) to configure" choose "apache2".
*You will after that get some alternatives but choosing the defaults will do (press enter when prompting for MySQL password).
To be able to reach your forum at for example 'http://*your domain*/phpbb2', type
Restart your webserver, type
Don't forget to restore your sources.list file
It should look like
Log into your forum with a web browser 'http://*your domain*/phpbb2/admin' using:
user: admin
password: admin
Change your admin pasword and start using your new forum!
If you want to fine tune Bubbas performance have a look in this thread: http://forum.excito.net/viewtopic.php?t=420
That all! Any problems let me know...
Using ssh, log on to Bubba (as your regular user). Type
Code: Select all
su
to become root. The root password is
Code: Select all
excito
Code: Select all
nano /etc/apt/sources.list
Code: Select all
deb http://ftp.se.debian.org/debian/ sarge main
deb http://security.debian.org/ sarge/updates main
deb http://ftp.se.debian.org/debian/ sarge non-free
deb http://update.excito.net/testing bubba main
To update the package lists, type
Code: Select all
apt-get update
To install PHPBB2, type
Code: Select all
apt-get install phpbb2
*A splash screen will ask about your web server, choose Apache2.
To install MySQL server, type
Code: Select all
apt-get install mysql-server
*A splash screen will appear, press OK.
Configure MySQL, type
Code: Select all
apt-get install phpbb2-conf-mysql
*When prompted "Webserver(s) to configure" choose "apache2".
*You will after that get some alternatives but choosing the defaults will do (press enter when prompting for MySQL password).
To be able to reach your forum at for example 'http://*your domain*/phpbb2', type
Code: Select all
ln -s /usr/share/phpbb2/site /var/www/html/phpbb2
Restart your webserver, type
Code: Select all
/etc/init.d/apache2 reload
Code: Select all
nano /etc/apt/sources.list
Code: Select all
#deb http://ftp.se.debian.org/debian/ sarge main
#deb http://security.debian.org/ sarge/updates main
#deb http://ftp.se.debian.org/debian/ sarge non-free
deb http://update.excito.net/testing bubba main
user: admin
password: admin
Change your admin pasword and start using your new forum!
If you want to fine tune Bubbas performance have a look in this thread: http://forum.excito.net/viewtopic.php?t=420
That all! Any problems let me know...