Launch WikiWebServer on your computer
WikiWebServer can be downloaded and launched locally providing the ability to host web pages, share files and modify any part of the web server.
To launch WikiWebServer only the core is needed (about 50kb). Additional classes and resources will be dynamically downloaded from www.wikiwebserver.org as they are required.
- Create a new directory where you would like to keep WikiWebServer.
- Download WikiWebServerCore.jar to the directory
- Launch WikiWebServer
java -jar WikiWebServerCore.jar 8080 - Point a web browser at: http://127.0.0.1:8080/
- Register a new user account
- Give yourself super admin privilege using the super password wikiwebserver
- Now go customise WikiWebServer...
Command line options
Usage: java -jar WikiWebServerCore.jar listen-port|config-file [options]
Options:
-sslPort - The port to listen for and accept SSL connections.
default: 8081
-allowWrite - List of paths where writing is permitted.
default: .
-denyWrite - List of paths where writing must not be permitted.
default: org/wikiwebserver/core
-superPassword - A password used for issuing privileged commands.
default: wikiwebserver
-backupServers - List of servers to look for missing class files.
default: http://www.wikiwebserver.org/
-libraryPath - Location to look for additonal Java archives.
default: lib
More Options:
-maxWriteDelay - The amount of time (ms) persistent data (store and logs)
can remain in RAM before being written to disk.
default: 300000
-cacheExpiry - The amount of time (ms) unused WikiStores remain in RAM
before being unloaded. Must exceed -maxWriteDelay.
default: 900000
Additional JVM options recommended:
WikiWebServer's classloader will automatically look in the library path two
levels deep and on backup servers for required resources. Some libraries that
do not use this classloader will need to be specified on the Java classpath.
-cp "lib/freetts-1.2.1/cmu_us_kal.jar:.
-Djavax.net.ssl.keyStore=KEY_STORE_FILE
-Djavax.net.ssl.keyStorePassword=KEY_STORE_PASSWORD
-Djava.awt.headless=true
-Xms16m
-Xmx256m
-Xss128k
The SecurityManager will only permit reading resources within the classpath
it is therefore important to include additional paths that need to be
accessible at runtime.