Miscellaneouss

How to Install PmWiki on CentOS 6.x

PmWiki is a free and an open source wiki application that is  lightweight. PmWiki was at first release in 2004. PmWiki is a wiki-based system for collaborative creation and maintenance of websites. The web-pages created using PmWiki looks like normal web pages, but they also have the edit link to modify existing pages and add new pages in the website.

In this article I will show you how to install PmWiki on CentOS 6.x system.

Features

  • Custom look-and-feel: A site administrator can quickly change the appearance and functions of a PmWiki site by using different skins and HTML templates. If you can’t find an appropriate skin already made, you can easily modify one or create your own.
  • Access control: PmWiki password protection can be applied to an entire site, to groups of pages, or to individual pages. Password protection controls who can read pages, edit pages, and upload attachments. PmWiki’s access control system is completely self-contained, but it can also work in conjunction with existing password databases, such as .htaccess, LDAP servers, and MySQL databases.
  • Customization and plugin architecture: One principle of the PmWikiPhilosophy is to only include essential features in the core engine, but make it easy for administrators to customize and add new markup. Hundreds of features are already available by using extensions (called “recipes”) that are available from the PmWiki Cookbook. -PmWiki developer

Prerequisites

PmWiki Installation

First of all you have to download the PmWiki package using wget command like below.

# wget http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.zip
--2017-11-09 06:00:05-- http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.zip
Resolving www.pmwiki.org... 74.200.73.219
Connecting to www.pmwiki.org|74.200.73.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 574496 (561K) [application/zip]
Saving to: “pmwiki-latest.zip”
100%[=====================================================================================>] 574,496 --.-K/s in 0.01s
2017-11-09 06:00:08 (46.7 MB/s) - “pmwiki-latest.zip” saved [574496/574496]

After download completed now extract it into your web document root directory using below command.

# unzip pmwiki-latest.zip -d /var/www/html/
Archive: pmwiki-latest.zip
creating: /var/www/html/pmwiki-2.2.105/
inflating: /var/www/html/pmwiki-2.2.105/README.txt
creating: /var/www/html/pmwiki-2.2.105/cookbook/
inflating: /var/www/html/pmwiki-2.2.105/wikilib.d/PmWiki.BasicEditing
inflating: /var/www/html/pmwiki-2.2.105/wikilib.d/PmWiki.Uploads
inflating: /var/www/html/pmwiki-2.2.105/wikilib.d/SiteAdmin.GroupAttributes
........
........

Once extract rename the pmwiki-2.2.105 directory to pmwiki.

# mv /var/www/html/pmwiki-2.2.105 /var/www/html/pmwiki

Now create a wiki.d directory inside the pmwiki directory like below.

# mkdir /var/www/html/pmwiki/wiki.d

Then set the appropriate ownership and permission on pmwiki directory.

# chown -R apache.apache /var/www/html/pmwiki/

Now create a directory index file called “index.php” with below content in pmwiki directory.

# cd /var/www/html/pmwiki/
# vim index.php
<?php include('pmwiki.php');

Save and close file and restart the Apache web service.

# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

Next go to your web browser and type the below URL. You will get home page of PmWiki on screen.

pmwiki-img-1

You can also edit the existing pages.

pmwiki-img-2

You can also view the page history.

pmwiki-img-3

Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

4 Comments

  • Great blog here! Also your website lots up very fast! What web host are you the usage of?
    Can I am getting your associate hyperlink
    for your host? I want my site loaded up as quickly as yours lol.

  • I don’t even know how I ended up here, but I thought this post
    was great. I do not know who you are but definitely you are going to a
    famous blogger if you aren’t already 😉 Cheers!

  • Ηello! This post could not be ᴡritten any ƅetter!
    Reading this post remind me of my prevjouѕ rоom mate!
    He always kept ϲhatting about this. I wiill forward this post to him.
    Pretty sure he will have a good read. Many thanks for shaгing!

Leave a Comment