Main.SideBar (edit)PmWiki |
Here are some quick instructions on how to download and install PmWiki 2.0. Improvements to these instructions would be greatly appreciated. Just report any problems you encounter to the pmwiki-users mailing list or the PmWiki Issue Tracking System. 1. Download the latest version of PmWiki from http://www.pmwiki.org/pub/pmwiki/ . 2. Extract the tar image using " (Note: If you get the error "tar: z: unknown option", use " This will create a COPYING The GNU General Public License
local/ A directory for local configuration scripts
pmwiki.php Main PmWiki script
pub/ Directory of publicly accessible files
css/ Directory for generic .css files
skins/ Directory of layout templates?
sample-config.php A sample configuration file
scripts/ Some scripts that extend the possibilities of PmWiki
wikilib.d/ Directory containing some default PmWiki files
These files need to be placed where they can be accessed by a web server (e.g. in a public_html directory of some sort). 3. Open a web browser to the pmwiki.php script, by typing http://<access to the pmwiki.php script> (not file://. . .). PmWiki will then attempt to create the wiki.d directory for holding wiki pages with the appropriate ownerships and permissions. This step will likely fail, but if it works then you can proceed to step 4 below. 3a. If you get an error message stating that PmWiki is unable to create the wiki.d directory, you need to temporarily change the permissions on the directory containing the pmwiki.php file to 2777. In Unix this is commonly done by changing to the directory containing pmwiki.php and executing the command " chmod 2777 ." (note the dot at the end). This will (1) make the directory writable so the web server can create the data directory it needs for the wiki files, and (2) preserve group ownership of the directory so the installer account can manipulate the files created in this directory.
3b. If your system doesn't allow changing permissions to 2777, then try 777 permissions instead.
3c. After changing the directory permissions, try opening a browser to the pmwiki.php script again. If all is well, the wiki.d directory will have been created and you'll see the default home page.
Hint: When "Safe Mode" is active you should create the directory wiki.d manually and give the right 777 to the directory. The same also for upload directory etc. 4. If you're running Apache version 2.0.30 or later, you may need to set the AcceptPathInfo directive to "on" for the AcceptPathInfo on to either the For more on this issue, see AcceptPathInfo?. 5. Check out InitialSetupTasks for other tasks you may want to perform to begin customizing your PmWiki installation. You might also want to peruse the ReleaseNotes for further information. (Note: It is important that the tar file ( << PmWiki | PmWiki.DocumentationIndex | Initial setup tasks >> |