• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How To Install PUNBB on Ubuntu 16.04

{{postValue.id}}

To Install PUNBB on Ubuntu 16.04

PunBB 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 it is mobile and tablet friendly. It is really simple to install PUNBB on Ubuntu 16.04.

Pre-requirement

Install LAMP (apache2, mysql-server, php )
In mysql (create database, user and give privileges to user)
For install php
Php modules (apt install php php-gd php-curl php-mysql php-mcrypt php-mbstring php-ldap php-odbc php-xml php-xmlrpc php-soap php-tidy)


Installing PUNBB

Before you begin anything to do with the installation, you need to download the PunBB installation package in html location of your computer, and for that, you should run the following command.

root@linuxhelp:/var/www/html# wget https://codeload.github.com/punbb/punbb/zip/master
--2017-12-02 03:20:57--  https://codeload.github.com/punbb/punbb/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120
Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘ master’ 

master                  [      < =>            ] 452.39K   274KB/s    in 1.7s    

2017-12-02 03:21:01 (274 KB/s) - ‘ master’  saved [463252]

Once the file is downloaded, you need to extract it, and for that you shall run the following command.

root@linuxhelp:/var/www/html# unzip master
Archive:  master
b20a80ae87ec5285df5d0e0de1bb64e5923e603f
   creating: punbb-master/
  inflating: punbb-master/.htaccess.dist  
  inflating: punbb-master/COPYING    
  inflating: punbb-master/ChangeLog  
  inflating: punbb-master/README     
  inflating: punbb-master/README.md  
   creating: punbb-master/admin/
  inflating: punbb-master/admin/bans.php  
  inflating: punbb-master/admin/categories.php  
  inflating: punbb-master/admin/censoring.php  
.
.
.
inflating: punbb-master/userlist.php  
  inflating: punbb-master/viewforum.php  
  inflating: punbb-master/viewtopic.php 

Once the file is downloaded, you shall rename the extracted directory by making use of the following command.

root@linuxhelp:/var/www/html# mv punbb-master punbb

Later, you need to change the ownership of extracted directory in the following manner.

root@linuxhelp:/var/www/html# chown -R www-data.www-data punbb

Now, you need to make an important step which is the configuration of the Apache VirtualHost for PunBB. So, create a conf file for PunBB by making use of the following command.

root@linuxhelp:/var/www/html# vim /etc/apache2/sites-available/punbb.conf 

And, in that file, you need to add the following configuration.

< VirtualHost *:80> 
ServerAdmin admin@linuxhelp1.com
DocumentRoot /var/www/html/punbb/
ServerName linuxhelp1.com
< Directory /var/www/html/punbb/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/apache2/linuxhelp1.com-error_log
CustomLog /var/log/apache2/linuxhelp1.com-access_log common
< /VirtualHost> 

Once the configuration is completed, you need to make an entry in hosts file as well. So open it as follows.

root@linuxhelp:/var/www/html# vim /etc/hosts

And add this following line in it.

< ipaddr>    domainname

After that, you need to enable the newly created conf file as follows.

root@linuxhelp:/var/www/html# a2ensite punbb.conf 
Enabling site punbb.
To activate the new configuration, you need to run:
  service apache2 reload

Once it is done, you need to restart the Apache service in the following manner.

root@linuxhelp:/var/www/html# systemctl restart apache2.service 


Let us now continue the process via browser. So open it and and give http://yourdomain as URL. The installer of PunBB appears, click install php.

Error

In the next page fill all the database and admin details and click on Start install to proceed further.
Database
Part 2

The installation is now complete, you can now click go to forum index in that page to visit your newly created forum using PunBB.
Install

You’ ll be taken to the home page of PunBB forum, click on the Login option.
PunBB

In the next page, you shall enter the login credentials and log into the forum.
Login

The Admin login is successful.
Index
With this, the installation of PunBB is completed.


Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Does PunBB support BBCode and if so, how do I use it?

A

Yes, PunBB supports BBCode. It supports a subset of the tags that are present in many other bulletin boards. The tags supported by PunBB are bold, underline, italic, color, URL, email, img, quote and code. Usage instructions can be found in the script help.php. Links to this script can be found next to text areas that allow BBCode (e.g. when posting a message).

Q

What is PUNBB on Ubuntu?

A

PunBB is an open source, lightweight forum software written in PHP with the 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 it is mobile and tablet friendly.

Q

How to Install PUNBB on Ubuntu?

A

you should run the following command:
# wget https://codeload.github.com/punbb/punbb/zip/master

Q

How can I extract master in PUNBB?

A

you shall run the following command:
# unzip master

Q

how can I enable a newly created conf file?

A

Use the following command:
# a2ensite punbb.conf

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.