Version 1 (modified by lotz, 15 years ago) (diff)

--

Installation and Configuration of TRAC - standalone-server-configuration

  • Get packages (trac-admin + standalone-server tracd)
  • Create the trac-directory containing
    • the configuration-file of this project (i.e. trac.ini)
    • the user-information (passwords + permissions)
    • the database for the wiki, tickets etc.
    • Therefore:
  1. Init trac-environment
    $ trac-admin /path/to/trac_dir/ initenv
    
    Choose Project Name, and local sqlite-database (I think also SQL and others are possible)
  1. Create .htpasswd file in /path/to/trac_dir/:
    $ htpasswd2 -c /path/to/trac_dir/.htpasswd username
    
    You are prompted for a password. To use the svn-users with trac, a small script can update the trac-user-information from the svn-passwd-file (see below).
  2. Add admin-permissions for username (necessary for availability of Admin-tab in the web-interface (see http://trac.edgewall.org/wiki/TracPermissions#GraphicalAdminTab):
    $ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN
    

Attachments (2)

Download all attachments as: .zip