How to install PunBB on OpenSUSE Leap 42.3
To install PunBB on OpenSUSE leap 42.3
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 so simple to install PunBB on OpenSUSE Leap 42.3.
Requirements
LAMP Stack
Apache
Mariadb
PHHP 7
zypper in php php-mysql php-gd php-mbstring php-common
Installing PunBB
In order to install PunBB, you need the latest stable installation package of it. So get the download link from its official website and fetch the package by using the wget command along with that link in the following method.
linuxhelp:~ # wget http://punbb.informer.com/download/punbb-1.4.4.zip
--2017-11-22 13:43:06-- http://punbb.informer.com/download/punbb-1.4.4.zip
Resolving punbb.informer.com (punbb.informer.com)... 208.88.224.220
Connecting to punbb.informer.com (punbb.informer.com)|208.88.224.220|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 465057 (454K) [application/zip]
Saving to: ‘ punbb-1.4.4.zip’
100%[==============================================================================================================================================> ] 465,057 --.-K/s in 0.02s
2017-11-22 13:43:10 (27.1 MB/s) - ‘ punbb-1.4.4.zip’ saved [465057/465057]
Once it is downloaded, you should extract the package in Apache document root by running the following command.
linuxhelp:~ # unzip punbb-1.4.4.zip -d /srv/www/htdocs/
Archive: punbb-1.4.4.zip
creating: /srv/www/htdocs/punbb-1.4.4/
creating: /srv/www/htdocs/punbb-1.4.4/style/
creating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/
inflating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/Oxygen_ie6.css
inflating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/Oxygen_ie7.css
creating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/font/
inflating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/font/responsivenav.svg
inflating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/font/responsivenav.ttf
inflating: /srv/www/htdocs/punbb-1.4.4/style/Oxygen/font/responsivenav.eot
.
.
.
inflating: /srv/www/htdocs/punbb-1.4.4/lang/English/admin_ranks.php
inflating: /srv/www/htdocs/punbb-1.4.4/lang/index.html
inflating: /srv/www/htdocs/punbb-1.4.4/delete.php
inflating: /srv/www/htdocs/punbb-1.4.4/ChangeLog
inflating: /srv/www/htdocs/punbb-1.4.4/search.php
inflating: /srv/www/htdocs/punbb-1.4.4/help.php
And then move inside Apache document root location by using the following command.
linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ls -l
total 16
drwxrwxrwx 2 wwwrun www 4096 Oct 9 23:15 gif
-rwxrwxrwx 1 wwwrun www 2356 Mar 18 2017 info2html.css
drwxr-xr-x 9 root root 4096 Oct 28 2015 punbb-1.4.4
From that location, you can rename the extracted directory as per your convenience.
linuxhelp:/srv/www/htdocs # mv punbb-1.4.4 punbb
And then, provide appropriate owner and file execution permissions by invoking the following commands.
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 775 /srv/www/htdocs/
Next, you need to make an important configuration to the Apache VirtualHost for your PunBB application. You need to open the .conf file by running the following command.
linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/punbb.conf
And when the .conf file gets opened, you need to make the following configuration to it.
< VirtualHost *:80> DocumentRoot " /srv/www/htdocs" ServerName www.linuxhelp1.com < Directory " /srv/www/htdocs/" > DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
After the configuration is made, you should restart Apache service. Run the following command for the same purpose.
linuxhelp:/srv/www/htdocs # systemctl restart apache
Now, switch to your browser and type http://your domain in the URL field. Choose the punbb directory.
You will be taken to the PunBB installer. In the Page 1 of the installer, you need to set up the database.
In the Page 2, you beed to enter details for setting up the Forum Administrators.
And in the page 3 of the installer, you need to give the URL and click on the Start Install option. Check all the details you' ve entered before you click the install button.
The installation is done, you are now asked to go to the forum index.
The forum index displays the list of the forum threads.
You can check the user list in it as well.
With this, the installation of PunBB comes to an end.
Comments ( 0 )
No comments available