apache mysql svn wiki integration (trac) (ubuntu wiki description inside)

sponsored links
1 / apt-get install apache2
2 / mysql is installed
3 / subversion is installed
4 / apt-get install libapache2-svn
5 / svnadmin create / home / svn / myproject and make apache has the privilege to access it
6 / add below into / etc/apache2/mods-available/dav_svn.conf and restart apache
<Location /svn/myproject>
DAV svn
SVNPath / home / svn / myproject
AuthType Basic
AuthName "myproject subversion repository"
AuthUserFile / etc / subversion / passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</ LimitExcept>
</ Location>
7 / apt-get install trac
8 / apt-get install python-mysqldb
9 / apt-get install libapache2-mod-pythn
10 /
# Trac-admin / path / of / env initenv
# Roject Name [My Project]> TelecomProject / / enter the project name TelecomProject, of course, the name is arbitrary, the proposed project library name and path of the same name
# Database connection string [sqlite: db / trac.db]> mysql: / / trac: password @ localhost: 1521/trac_telecom / / here we use the MySQL database, if using SQLite directly press Enter
# Repository type [svn]> direct carriage return / / storage type svn Enter
# Path to repository [/ path / to / repos]> / svn / repos / TelecomProjects / / enter svn project library path
# Templates directory [/ usr / share / trac / templates]> direct carriage return / / template path, if you choose when to install Trac installation path, then this should be written into the correct installation path Trac

10 / config / etc/apache2/apache2.conf
<Location /trac>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir / var / www / trac # TracEnv maybe
PythonOption TracUriRoot / trac
SetEnv PYTHON_EGG_CACHE / tmp
</ Location>

Wang Haibo
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of apache mysql svn wiki integration (trac) (ubuntu wiki description inside)

  • JAVA EE JSP_JNDI

    dsfdsa http://lindows.javaeye.com/admin/blogs/213348 Tomcat 6 with the connection pool data source configuration http://www.blogjava.net/ec2008/archive/2008/07/19/216063.html project: test Driver path: D: \ workspace \ test \ WebRoot \ WEB-INF \ lib ...

  • Hibernate connection pool configuration

    Hibernate connection pool configuration <! - Jdbc -> <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver </ property> <property name="connection.url"> jdbc: oracle: thin: @ 10.203.14.132:15

  • Hibernate.cfg.xml configuration file (including the primary key generation strategy Introduction)

    Hibernate.cfg.xml configuration file: <? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD / / EN" "hibernate-configuration-2.0.dtd

  • The EJB3 Persistence

    EJB3 persistence with Hibernate is very similar to the mechanism: Environment: Server: JBOSS5.0 Database: MySQL5.0 1. Set up a data source First of all, in jboss-5.0.0.GA \ server \ default \ deploy, the establishment of a database used to connect the dat

  • hibernate to use the principle of

    The use of hibernate, implementation of data persistence. Has the following several processes. One configuration database connection information. Hibernate.config 2 configuration mapping. 3 use: the use of the process are the following steps: 3.1: Ge ...

  • hibernate generic generic DAO

    package org.lzpeng.dao; import java.io.Serializable; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.criterion.Criterion; import org.springside.modules.orm.hibernate.Page; /** * * @version 2009-1-10 *

  • spring struts2.0 hibernate environmental structures .. despair carried out more than one hour only with good.

    http://www.qqread.com/java/2008/06/f413762.html Look here. . Note added myeclipse support spring when necessary add the commons-dbcp database connection pool package. And to add hibernate support. . Finally add struts2 support. . Oh the lazy point. . . fu

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

  • Hibernate secondary cache

    Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...

  • Hibernate's lazy strategy

    hibernate Lazy strategy can be used in: <class> tag, it can be true / false Tags can <PROPERTY> values true / false type of necessary tools to enhance <set> <list> can tag values true / false / extra <many-to-one> <on ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries