Recent Changes - Search:
 Welcome to the Cisco Academy for Vision Impaired Linux Wiki.

PmWiki

edit SideBar

installation of pmwiki using lighttpd

So you have chosen to use lighttpd instead of apache2. This page will help you set up lighttpd and pmwiki.

first things first

Let's begin by setting up lighttpd and making it play nicely with php. Here are the commands you will need to execute in order to make this happen. Note, you will have to be root in order to execute these commands. Do this with

 sudo su

Now type the following commands to install lighttpd and php.

 apt-get install lighttpd

This will install lighttpd.

 apt-get install php5-cli

This installs php for use on the command line along with two other modules needed to make php talk to lighttpd.

 apt-get install php5-cgi
 apt-get install php5

These two commands finish the installation of php so it can talk to lighttpd.

 lighty-enable-mod fastcgi-php
 lighty-enable-mod cgi

Now php is enabled and lighttpd can make use of it.

next step

So you have made it this far. Now head over to http://www.pmwiki.org and grab a copy. The latest version as of this writing is 2.6.3. Go to the download page and grab the file called either pmwiki-latest.tgz or pmwiki-latest.zip.

unpacking

Once the file has been downloaded extract it with one of the following commands depending on which file you chose to get

 tar -zxf pmwiki-latest.tgz

or

 unzip pmwiki-latest.zip

In either case you will have the same result, a directory called pmwiki-number where number is the version of pmwiki. Now just move the directory to /var/www like this

 mv pmwiki-2.6.3 /var/www/wiki

Now just follow the installation instructions in /var/www/wiki/docs/INSTALL.txt (or whatever the file is called) and you should be on your way to creating an invaluable wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on April 25, 2014, at 11:12 AM