Install the Collaborative Development Service in ubuntu

Source: Internet
Author: User
Install the collaborative development service note under ubuntu-Linux Enterprise Application-Linux server application information. The following is a detailed description. I have to say that using ubuntu to install software makes it very convenient to build a server. The following describes how to install svn, mantis, and trac in ubuntu.

Install the LAMP environment. We recommend that you install apache2, mysql4.x, And mantis first. Some may wonder why I didn't install mantis after installing php. At first, I did the same thing, but at mantis, I always prompted an error when I connected the adodb database. Among them, I did a lot of debugging work, including Database Upgrade and downgrade, the upgrade and downgrade of the php version. mantis has only one version, but it has not been upgraded. Thanks to ubuntu, It is very convenient to install and uninstall it. Otherwise, how can this problem be solved.

Later I thought about it. Since apt-get will analyze the dependency package, I simply asked mantis to find the corresponding version, so I only installed mysql and cleared all other php files. Remember to use:

# Dpkg-l php *
# Apt-get remove -- purge php * libphp * apache2-mod-php *
Then directly install mantis.

Next, I installed trac. Because I am not familiar with python, I have carefully read the relevant documents before doing so.

Installation is very simple:
# Apt-get install trac

Next we will generate an instance (initialize the Trac environment ):
Debian ~ : # Trac-admin/var/trac initenv

The/var/trac directory does not need to be created in advance. Trac will automatically create the directory. During initialization, the trac-admin program will ask you three parameters: Project name, database connection string, and Subversion database location. If your database uses SQLite, its connection string is sqlite: db/trac. db, which is specified by default. All initialization references will be saved in the/var/trac/conf/trac. ini file.

Start the Trac service:
Debian ~ : # Tracd -- port 8000/var/trac
Use a browser to access "http: // localhost: 8000" to access the Trac system.

Standalone mode can only be accessed by the Local Machine and cannot be shared on the Internet. Therefore, we generally configure Trac to be integrated with the Apache server. In this case, we need to configure the Apache server and tell it how to execute the CGI program of Trac. If your system is Debian, create a mod_python.conf file in the/etc/apache2/mod-available/directory. The content is as follows: [DISCUZ_CODE_5.

Note: although the advantages of apt-get-based package management have been tasted during this installation process, I personally think debian and ubuntu are not recommended in the production environment, if the actual operating environment has high requirements on stability and security, it is recommended to use RHAS, because its press conference has undergone a lot of and comprehensive tests, and its security and stability are more guaranteed, not whether the software is up-to-date.

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.