Trac is developed and maintained by Edgewall. It is developed and maintained using Python and is open-source for software development project management. It provides Web interfaces for version control tools such as SVN and is integrated with Wiki and bug tracking. The official Trac website provides complete documentation and a rich plug-in library. This article details the installation process of Trac0.12 in Ubuntu12.04. This article describes deploying MySQL-based Trac and integrating with SVN. Svn installation refer to http://www.linuxidc.com
Trac is developed and maintained by Edgewall. It is developed and maintained using Python and is open-source for software development project management. It provides Web interfaces for version control tools such as SVN and is integrated with Wiki and bug tracking.
The official Trac website provides complete documentation and a rich plug-in library.
This article details the installation process of Trac 12.04 in Ubuntu 0.12. This article describes deploying MySQL-based Trac and integrating with SVN.
Svn installation see http://www.linuxidc.com/Linux/2012-07/66234.htm, I have personally tried
1. Install Trac
# If the dependency is installed, remove the installed dependency. Note that trac will pack the dependency.
Sudo easy_install babel
$ Sudo apt-get install libapache2-mod-wsgi libapache2-mod-auth-mysql trac
2. Configure the database
$ Mysql-u root-p
Mysql> create database trac default charset utf8 COLLATE utf8_bin;
Mysql> exit
3. Configure the Trac Project
$ Sudo mkdir/var/www/trac
$ Sudo chown-R www-data: www-data/var/www/trac
$ Sudo trac-admin/var/www/trac initenv
Project name [My Project]> Project
Database connection string [sqlite: db/trac. db]> mysql: // root: root @ localhost/trac
If you want to try this new project environment (apache is available later), run the Trac independent Web server 'tracd ':
Tracd -- port 8000/var/www/trac
Congratulations!
$ Sudo trac-admin/var/www/trac permission add admin TRAC_ADMIN
4. Modify the database table Engine
$ Mysql-u root-p
Mysql> USE trac;
Mysql> alter table 'attachment' ENGINE = InnoDB;
Alter table 'auth _ cookie 'ENGINE = InnoDB;
Alter table 'cache' ENGINE = InnoDB;
Alter table 'component' ENGINE = InnoDB;
Alter table 'enum' ENGINE = InnoDB;
Alter table 'millstone 'ENGINE = InnoDB;
Alter table 'node _ change' ENGINE = InnoDB;
Alter table 'permission' ENGINE = InnoDB;
Alter table 'report' ENGINE = InnoDB;
Alter table 'repository' ENGINE = InnoDB;
Alter table 'review' ENGINE = InnoDB;
Alter table 'session 'ENGINE = InnoDB;
Alter table 'session _ attribute' ENGINE = InnoDB;
Alter table 'system' ENGINE = InnoDB;
Alter table 'ticket 'Engine = InnoDB;
Alter table 'ticket _ change' ENGINE = InnoDB;
Alter table 'ticket _ m m' ENGINE = InnoDB;
Alter table 'version' ENGINE = InnoDB;
Alter table 'wiki 'ENGINE = InnoDB;
Mysql> exit