Configure the project management tool Trac in Ubuntu8.04

Source: Internet
Author: User
1. First install Trac2. create env directory sudomkdirvarlibtrac create trac directory sudochmod-R777varlibtrac assign read

1. First install Trac2. in Ubuntu 8.04 and create the env directory sudo mkdir/var/lib/trac // create the trac directory sudo chmod-R 777/var/lib/trac // assign read

1. First install Trac in Ubuntu 8.04

2. Create an env directory

Sudo mkdir/var/lib/trac // create the trac directory
Sudo chmod-R 777/var/lib/trac // grant Read and Write Permissions
Sudo trac-admin/var/lib/trac initenv // create the env directory

The following message is displayed:

Project Name [My Project] trac // enter the Project Name trac
Database connection string [sqlite: db/trac. db] // Press enter. The default value is sqlite Database.
Repository type [svn] // Press enter. svn is connected by default.
Path to repository [/path/to/repos]/var/lib/svn // enter the svn repository Path/var/lib/svn
Templates directory [/usr/share/trac/templates] // press enter to automatically create a template in this directory, and env is created

3. env Enabled
Sudo tracd -- port 8000/var/lib/trac // enable port 8000 so that Trac can run on the local machine or IP address through: 8000/trac

4. Run Trac in Apache (using mod_python)

Sudo apt-get install libapache2-mod-python // install mod_python Module
Sudo vim/etc/apache2/conf. d/trac. conf // create the trac. conf configuration file and add content to it.

SetHandler mod_python
PythonHandler trac. web. modpython_frontend
PythonOption TracEnv/var/lib/trac


Restart apache2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.