• 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 17.04

{{postValue.id}}

To Install PunBB on Ubuntu 17.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 17.04, and this tutorial covers the ground on the same process.

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

You need to download PunBB package in your HTML location, so make sure you use the wget command along with the download link in the following manner.

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 as follows.

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 

Later, rename the extracted directory as per your wish, but use the following command for that.

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

Next, you need to change the ownership of the extracted directory and for that, you need to run the following command.

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

Now, you need to create a conf file for VirtualHosting.

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

In the newly created conf file, you need to add the following lines.

< 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> 

Next, you need to make an entry in hosts file. So open it.

root@linuxhelp:/var/www/html# vim /etc/hosts
And add the following line in it. 
< ipaddr>    domainname


Enable newly created conf file

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


Next, you need to restart the Apache service as follows.

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


Now, you should open a browser and give http://yourdomain as URL. The installer of PunBB appears on the screen, proceed with the installation.
PunBB

In the following page, you need to fill the database, admin details and then click install.
Database

Admin

The installation is now complete, click go to forum hyperlink.
Hyperlink

Home page , go to login , give admin credential , click login
Login

Admin

Admin login successful
Admin Login


With this, the installation of PunBB on Ubuntu 17.04 gets completed.


Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to Install PunBB on Ubuntu?

A

Use the following command:
# wget https://codeload.github.com/punbb/punbb/zip/master

Q

May I add my own copyright notice to the page footer?

A

Yes, but you may not alter the original copyright in such a way that it loses it's original "meaning". It must, in other words, be absolutely clear who is the copyright holder of PunBB. Addin

Q

May I remove the copyright notice from the source code?

A

No. The copyright notice in all the source files must be left intact. Any modification or removal of this copyright is illegal under the terms of the GNU General Public Licence.

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, q

Q

How do I grant a user moderator access to a certain forum?

A

The first step is to move the user to the moderator's group. This can be done in the user's profile under "Administration".

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 Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

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.