Trac0.12 Installation Process in Ubuntu12.04

Source: Internet
Author: User
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

Related Article

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.