{"id":17505,"date":"2015-08-20T15:28:27","date_gmt":"2015-08-20T20:28:27","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17505"},"modified":"2022-06-03T03:44:14","modified_gmt":"2022-06-03T08:44:14","slug":"how-to-install-punbb-on-a-debian-8-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-punbb-on-a-debian-8-vps\/","title":{"rendered":"How to Install PunBB on Debian 8"},"content":{"rendered":"
In this tutorial we are going to provide you with step-by-step instructions on how to install\u00a0PunBB on a Debian 8 VPS<\/strong>. So, let’s start with the installation procedure. Download the latest version of PunBB available at \u2018http:\/\/punbb.informer.com\/wiki\/downloads\u2019 to a directory of your virtual server and extract it using the following commands:<\/p>\n PunBB requires a database to store it’s data, so create a new MySQL database for PunBB to use and assign a user to it with full permissions:<\/p>\n Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘punbb.conf’ on your virtual server:<\/p>\n Then, run the following command:<\/p>\n Alternatively, use the a2ensite to enable the punbb.conf configuration in Apache:<\/p>\n Edit the ‘punbb.conf’ configuration file:<\/p>\n and add the following lines to it:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Move the PunBB installation files to the document root directory defined in the virtual host directive above:<\/p>\n Set the proper ownership of PunBB files and directories:<\/p>\n Open your favorite web browser and navigate to http:\/\/your-domain.com\/admin\/install.php . Once you do that, you will be taken to the first page of the PunBB web installer. Enter the MySQL database information, set administrator username and password and start the installation. Once the installation is complete, log in at http:\/\/your-domain.com\/admin\/index.php as administrator user and configure your PunBB forum according to your needs.<\/p>\n Of course you don’t 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 PunBB<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/span>.<\/strong> 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 are going to provide you with step-by-step instructions on how to install\u00a0PunBB on a Debian 8 … <\/p>\n
\nPunBB is an open source, lightweight forum software written in PHP with simple layout and clean design. In general, it is faster than other forum software and it is very easy to administrate and moderate. The default theme of PunBB supports responsive design, so\u00a0it is mobile and tablet friendly.<\/span>
\nThis tutorial was tested and written for a Debian VPS<\/a>, but it should work on any Linux distribution.
\n
\nThis install guide assumes that Apache, MySQL and PHP are already installed and configured on your\u00a0PunBB virtual server. At the time of writing this tutorial, the latest stable version of PunBB is 1.4.3 and it requires:<\/p>\n\n
cd \/opt\/\r\nwget http:\/\/punbb.informer.com\/download\/punbb-1.4.3.zip\r\nunzip -o punbb-1.4.3.zip -d \/var\/www\/html\/<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE punbbdb;\r\nmysql> GRANT ALL PRIVILEGES ON punbbdb.* TO 'punbbuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
touch \/etc\/apache2\/sites-available\/punbb.conf<\/pre>\n
ln -s \/etc\/apache2\/sites-available\/punbb.conf \/etc\/apache2\/sites-enabled\/punbb.conf<\/pre>\n
sudo a2ensite punbb.conf<\/pre>\n
vi \/etc\/apache2\/sites-available\/punbb.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@your-domain.com\r\nDocumentRoot \/var\/www\/html\/punbb\/\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n<Directory \/var\/www\/html\/punbb\/>\r\nOptions FollowSymLinks\r\nAllowOverride All\r\n<\/Directory>\r\nErrorLog \/var\/log\/apache2\/your-domain.com-error_log\r\nCustomLog \/var\/log\/apache2\/your-domain.com-access_log common\r\n<\/VirtualHost><\/pre>\n
systemctl restart apache2.service<\/pre>\n
mv \/var\/www\/html\/punbb-1.4.3\/ \/var\/www\/html\/punbb\/<\/pre>\n
chown -R www-data \/var\/www\/html\/punbb\/<\/pre>\n