{"id":16597,"date":"2014-12-22T16:55:31","date_gmt":"2014-12-22T22:55:31","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=16597"},"modified":"2022-12-16T04:44:14","modified_gmt":"2022-12-16T10:44:14","slug":"install-phpbb-3-on-a-debian-wheezy-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-phpbb-3-on-a-debian-wheezy-vps\/","title":{"rendered":"Install phpBB 3 on a Debian Wheezy VPS"},"content":{"rendered":"
In this tutorial we will show you how to install phpBB on a Debian Wheezy VPS<\/a>.<\/p>\n phpBB is an Internet forum package written in the PHP scripting language, it is easy to use, powerful, and highly customizable. The name “phpBB” is an abbreviation of PHP Bulletin Board.<\/p>\n <\/p>\n Features of phpBB include support for multiple database engines (PostgreSQL, SQLite, MySQL, Oracle Database, Microsoft SQL Server), flat message structure (as opposed to threaded), hierarchical subforums, topic split\/merge\/lock, user groups, multiple attachments per post, full-text search, plugins and various notification options (e-mail, Jabber instant messaging, ATOM feeds).<\/p>\n Before you start the installation, please make sure that you have LAMP stack installed on your server. If not, follow our excellent tutorial about how to set up LAMP (Linux, Apache, MariaDB, PHP) stack on Debian Wheezy<\/a><\/p>\n REQUIREMENTS<\/strong><\/p>\n We will be using our SSD 1 Linux VPS hosting<\/a> plan for this tutorial.<\/p>\n UPDATE THE SYSTEM<\/strong><\/p>\n Login to your server as user \u2018root\u2019 and make sure your Debian 7 (Wheezy) VPS is fully up-to-date:<\/p>\n INSTALL phpBB<\/strong><\/p>\n The current version of phpBB in the writing of this tutorial is 3.1.2. You can check that from their website<\/a>. For our purposes we will download phpBB in to the opt directory by issuing the following commands:<\/p>\n After the download is finished, unzip the archive.<\/p>\n Let’s copy the installation files into Apache’s document root:<\/p>\n SET THE CORRECT DIRECTORY AND FILE PERMISSIONS<\/strong><\/p>\n Enter Apache’s document root:<\/p>\n With the command below we will set the required file permissions:<\/p>\n CREATE MYSQL DATABASE<\/strong><\/p>\n Next thing we need to do is to create a MySQL database for phpBB.<\/p>\n Enter MySQL as root and create the needed database:<\/p>\n You can now finish your phpBB installation by opening your favorite web browser and navigate to: http:\/\/your_ip_address\/install<\/p>\n Enter the required database credentials like database name, database username etc…<\/p>\n You should see a successful database connection. Then, setup your admin username and password and in the following step if you have a custom SMTP server setup your email settings.<\/p>\n After finishing the installation it is recommended to delete the install directory in your Apache’s document root:<\/p>\n That is it. You have successfully installed phpBB on your Debian Wheezy VPS<\/a>.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install phpBB for you.They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial we will show you how to install phpBB on a Debian Wheezy VPS. phpBB is an Internet … <\/p>\n# ssh root@hostname\r\n# apt-get update && apt-get upgrade -y<\/pre>\n
# cd \/opt\r\n\r\n# wget --no-check-certificate https:\/\/download.phpbb.com\/pub\/release\/3.1\/3.1.2\/phpBB-3.1.2.zip<\/pre>\n
# unzip phpBB-3.1.2.zip<\/pre>\n
# cp -R phpBB3\/* \/var\/www\/<\/pre>\n
# cd \/var\/www\/<\/pre>\n
# for files in config.php cache files store images\/avatars\/upload\/; do chmod 777 $files; done<\/pre>\n
# mysql -u root -p\r\n\r\nmysql> CREATE DATABASE phpbb;\r\n\r\nmysql> GRANT ALL PRIVILEGES on phpbb.* TO 'phpbbuser'@'localhost' IDENTIFIED BY 'your_password';\r\n\r\nmysql> FLUSH PRIVILEGES;\r\n\r\nmysql> quit;<\/pre>\n
# rm -rf \/var\/www\/install<\/pre>\n