Build a collaboration platform based on Ubuntu-Trac

Source: Internet
Author: User
This article describes how to use the excellent package management mechanism of javastuserver8.04 to quickly build a unified collaboration platform. The server includes the source code management system subversion, task/issue/bug Management System trac, and the client includes eclipse, subclipse -- subversion plug-in of eclipse, eclipse plug-in of pydev -- python, and task management plug-in of mylyn -- eclipse. I. Ubuntu

This article describes how to use the excellent package management mechanism of Ubuntu Server 8.04 to quickly build a unified collaboration platform. The server includes the source code management system subversion, task/issue/bug Management System trac, and the client includes eclipse, subclipse -- subversion plug-in of eclipse, eclipse plug-in of pydev -- python, and task management plug-in of mylyn -- eclipse.

1. Install trac in Ubuntu
Trac is an excellent task, issue, and bug Management System. It supports multiple versions such as SVN, CVS, BZR, and HG. However, Trac has become one of the major obstacles to its popularity due to its complexity.
Now in ubuntu, it is very easy to install trac. Follow these steps to install Trac on Ubuntu 8.04 Server:
$ Sudo aptitude install trac
Ubuntu automatically downloads and installs necessary components such as trac, apache, and subversion (if trac supports BZR, use sudo aptitude install trac-bzr ).
Ii. Configure trac
After Trac is installed, configure
1. Create an svn version Library
$ Sudo mkdir-p/home/svn/repo
$ Sudo admin create/home/svn/repo
$ Sudo chown-R www-data.www-data/home/svn/repo
2. Create a Trac Environment
$ Sudo mkdir-p/home/trac/myproject
$ Sudo trac-admin/home/trac/myproject initevn
Trac-admin will ask a few questions. Fill in/home/svn/repo in the svn library path. For other template-related questions, the default setting is correct.

$ Sudo chown-R www-data.www-data/home/trac/myproject
3. Configure apache
$ Ln-s/usr/share/trac/cgi-bin/trac. cgi/usr/lib64/cgi-bin/trac. cgi
Add trac configurations:
$ Cd/etc/apache2/conf. d
$ Sudo vi trac
Add the following content:

CODE:
AllowOverride None
Order allow, deny
Allow from all


SetEnv TRAC_ENV "/home/trac/myproject"
SetEnv PYTHON_EGG_CACHE "/tmp"


AuthType Basic
AuthName "Leo's Projects"
AuthUserFile/home/trac. htpasswd
Require valid-user


4. Generate the authorization file trac. htpasswd
$ Htpasswd-c/home/trac. htpasswd leo
New password: mypassword
Re-type new password: mypassword
Adding password for user leo
5. Restart apache
$ Sudo/etc/init. d/apache2 restart
Access http: // localhost/cgi-bin/trac. cgi to view the trac image.
6. Plug-ins
We recommend that you install the following plug-ins:
Tracrpc -- xml rpc plug-in★★★★★
Webadmin-WEB management plug-in★★★★★
Tracpygments -- source code syntax highlighting plug-in★★★★☆

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.