This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag


About Us

Contact Us

Legal Info

How To Contribute

Security Issues

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2020-01-21 08:36:16

Installing and configuring standalone server

The standalone server is especially made for local wikis because it does not need a web server installed. Only Python and Moin are necessary!

To install and run the standalone server:

  1. If MoinMoin is not installed yet, preform ../BasicInstallation

  2. Create a wiki instance as described in ../WikiInstanceCreation

  3. Copy to your wiki directory, where your is

  4. If you installed with --prefix option, you must edit and set docs to the correct path.

  5. Run

  6. Access your wiki at http://localhost:8000/

On most cases, the default settings will be just fine. You many want to edit and change some of the options, as described in the next section.


System path configuration

If you did a standard install, and you are not a developer, you probably want to skip this section. If not, you might want to add the path to moin and config file, like that:

import sys
sys.path.insert(0, '/path/to/moin')
sys.path.insert(0, '/path/to/wikiconfig')

Config class options






Path to moin shared files. If you used --prefix install, the default path will not work, and you must set the path to 'PREFIX/share/moin/wiki/htdocs'.



If you run as root, the server will run with as this user



If you run as root, the server will run with as this group



Port to serve. To serve privileged port under 1024 you will have to run as root



The interface the server will listen to. The default will listen only to localhost. Set to '' to listen to all.



Log file. Default is commented.


'ThreadPoolServer', 'ThreadingServer', 'ForkingServer', 'SimpleServer'

The server type to use, see the comments in the The default is 'ThreadPoolServer', which create a pool of threads and reuse them for new connections.



How many threads to create.



The count of socket connection requests that are buffered by the operating system.

  • (!) There may be more options useful to moin developers, see the comments in


The sample config file should be just fine.






You should not change this, or images and css file will not be available to the wiki!

Starting the server

Run from the command line:

$ ./
Serving on localhost:8000

Test your wiki at http://localhost:8000/

On Windows, you can double click to start the server. A new terminal window will be opened. Close the window or press Control + Pause to stop the server.

On Unix, interrupt the server with Control + C in order to shut it down.

Serving port 80 on Unix

On GNU/Linux, Mac OS X or other Posix like OS, you can serve the standard port 80 used for web serving, but you must run as root for this.

Set port to 80, and verify that user and group exists on your system. If not, set them to an existing user, meant for web serving. If needed, chown your wiki dir to this user and group.

Run as root:

$ sudo
Serving on localhost:8000
Running as uid/gid 70/70

Test your wiki at http://localhost/