Edgewall Software

Changes between Version 83 and Version 84 of TracOnFedoraCore


Ignore:
Timestamp:
Jan 26, 2015, 9:24:25 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracOnFedoraCore

    v83 v84  
    11= Trac on Fedora Core =
    22
    3 Installing Trac On Fedora Core 4 (and higher), and also on RHEL 4 or higher is easy with Yum and involves only 3 steps:
     3Installing Trac On Fedora Core 4 (and higher), and also on RHEL 4 or higher is easy with Yum and involves the following steps:
    44
    5 1) Verify you have configured Yum to use the Extras repository (which is enabled by default in Fedora Core 4 and higher)
    6 and run the following command in a terminal window:
     5 1. Verify you have configured Yum to use the Extras repository, which is enabled by default in Fedora Core 4 and higher, and run the following command in a terminal window:
    76
    87{{{
     
    109}}}
    1110
    12 Yum will take care of all dependencies on which the Trac package depends (including the `python-clearsilver package`) and will fetch and install them for you automatically.
     11Yum will fetch and install all dependencies on which the Trac package depends, including the `python-clearsilver` package.
    1312
    14 ''NOTE:'' Unless you're on Fedora 7, in which case, you will need to also install `python-sqlite2` if you are using the default sqlite backend.
     13''NOTE:'' If you are on Fedora 7 and using SQLite as the database, you will need to also install `python-sqlite2`.
    1514
    16 2) Create a new project environment. An environment is basically a directory that contains a human-readable configuration file and various other files and directories.
     15 2. Create a new project environment: a directory that contains a human-readable configuration file and other files and directories.
    1716
    1817Create a subversion repository if you don't already have one, for example in `/srv/svn`:
     
    2221}}}
    2322
    24 Next you need to decide where to store your trac project and create the directory, for example in the new directory `/srv/trac`:
     23Next you need to decide where to store your Trac project and create the directory, for example in the new directory `/srv/trac`:
    2524{{{
    2625 $ sudo mkdir -p  /srv/trac
     
    3231}}}
    3332
    34 Now make it owned by apache:
     33Now make it owned by Apache:
    3534{{{
    3635 $ sudo chown -R apache /srv/trac
     
    3837}}}
    3938
    40 3) Next, you need to edit the file ''/etc/httpd/conf.d/trac.conf'' to point to your new project
    41 environment, as in this example (using mod_python):
     39 3. Next, you need to edit the file ''/etc/httpd/conf.d/trac.conf'' to point to your new project environment, as in this example using mod_python:
    4240
    4341{{{
     
    7472</Location>
    7573</IfModule>
    76 
    77 
    7874}}}
    7975
    80 The example above assumes you have a trac project environment setup in ''/srv/trac/foobar/'' directory, described in step 2 and an htpasswd file at `/opt/trac/trac.htpasswd` for authentication purposes (see also wiki:TracModPython (too generic)).
     76The example above assumes you have a Trac project environment setup in ''/srv/trac/foobar/'' directory, described in step 2 and an htpasswd file at `/opt/trac/trac.htpasswd` for authentication purposes. See also wiki:TracModPython.
    8177
    8278You will need to tell Apache to reload configuration after editing `trac.conf`:
     
    8682}}}
    8783
    88 Verify your Trac installation by pointing your browser at the correct URL for your Trac server (e.g. http://localhost/trac).
     84Verify your Trac installation by pointing your browser at the correct URL for your Trac server, eg http://localhost/trac.
    8985
    9086Notes on the Fedora Extras Trac package:
     
    9591If you happen to come across any packaging issues, feature requests or problems on Fedora, you can submit a bugzilla bug for the Trac package at [https://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi].
    9692
    97 Be sure to check out the generic installation instructions in the [wiki:TracGuide TracGuide]
    98 == Create admin user ==
    99 So that login will have a password file can refer to (as in this example for project ''foobar'' ).
     93Be sure to check out the generic installation instructions in the [wiki:TracGuide TracGuide].
     94
     95== Create admin user
     96
     97So that login will have a password file can refer to, as in this example for project ''foobar'':
    10098{{{
    10199 htpasswd -c /srv/trac/foobar/conf/trac.htpasswd adminuser
     
    104102and follow [http://trac.edgewall.org/wiki/WebAdmin webadmin] instruction to assign "adminuser" as the trac admin.
    105103
    106 == SELinux ==
     104== SELinux
    107105
    108106Fedora Core 5 ships with SELinux enabled by default. You need to make the Trac and Subversion directory accessible to the webserver. If you put these contents under {{{/var/www/trac}}} and {{{/var/www/svn}}} to follow !RedHat's standard for location of web contents, you don't need to do anything extra for SELinux. But if you want an alternative location such as {{{/srv}}}, follow these guidelines and read the notes at [http://fedora.redhat.com/docs/selinux-apache-fc3/] for details.