Artifact [506c1c0091]
Not logged in

Artifact 506c1c00919ea182bfc696e41fa04c46c46fe7ff:


Server Setup Guide

Server Setup Guide

This guide is intended to help guide you in setting up a Fossil server.

Standalone server

The easiest way to set up a Fossil server is to use the server or ui command. Assuming the repository you are interested in serving is in the file "repo.fossil", you can use either of these commands to start Fossil as a server:
  • fossil server repo.fossil
  • fossil ui repo.fossil

Both of these commands start a Fossil server on port 8080 on the local machine, which can be accessed with the URL: http://localhost:8080/ using any handy web browser. The difference between the two commands is that "ui", in addition to starting the Fossil server, also starts a web browser and points it to the URL mentioned above.

NOTES:

  1. The option "--port NNN" will start the server on port "NNN" instead of 8080.
  2. If port 8080 is already being used (perhaps by another Fossil server), then Fossil will use the next available port number.
  3. Starting either command from within an "open" Fossil checkout will start a server using the repository corresponding to the checkout.

Fossil as an ''inetd'' service

Fossil as a ''CGI script''

One script per repository

Serving multiple repositories with one script

Securing a repository with SSL