Content-type: text/html Man page of SETUP-MEDIAWIKI

SETUP-MEDIAWIKI

Section: User Commands (1)
Updated: July 2008
Index Return to Main Contents
 

NAME

setup-mediawiki - Sets up a Mediawik installation and patches it for UGCS use

 

SYNOPSIS

setup-mediawiki [-v version] target

 

OPTIONS

-v version
Specifies the version to use. By default, it uses "current". See /afs/.ugcs/public/mediawiki to see the versions currently available

target
The target directory to install into. If it does not exist, the script will prompt you to create it

 

EXAMPLES

setup-mediawiki ~/public/html/wiki

Sets up a Mediawik installation, using the latest available version, in ~/public/html/wiki (so it will show up at http://www.ugcs.caltech.edu/~username/wiki )

 

CONFIGURING MEDIAWIKI

After you install your wiki, you need to configure it. Go to http://www.ugcs.caltech.edu/~username/<install directory>/config/index.php, and fill in the blanks. Mostly, you will need to change the contact email, and enter database information. You should select "Postgresql" as the database type, set the host to "postgres", database name to your username, the database user to <username>_cgi, and leave everything else blank. The defaults should be fine.

After you have installed it, you should remove the script's write permission on <install>/config/ by running

fs sa <install directory>/config <username>_cgi none

 

BUGS

Contact sysadmins@ugcs.caltech.edu with any bug reports

 

AUTHOR

Written by Joshua Hutchins for UGCS, July, 2008


 

Index

NAME
SYNOPSIS
OPTIONS
EXAMPLES
CONFIGURING MEDIAWIKI
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 09:06:22 GMT, March 14, 2010