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

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

分类:OS 时间:2010-07-24 人气:177
分享到:
blog comments powered by Disqus

相关文章

  • CentOS 5.2, Linux 2.6 + kernel, Apache + MySQL + PHP installation and basic configuration process will be recorded & & apache installed as system services 2011-03-16

    Quote CentOS 5.2, Linux 2.6 + kernel, Apache + MySQL + PHP installation and basic configuration record & & the apache installed as system services collections environment: This article in the Linux operating system is CentOS 5.2, Linux 2.6 + kerne

  • MySQL database connection: java / sql / SQLClientInfoException 2010-05-11

    Today in the Java + Eclipse platform to test the MySQL database connection can not connect when the abnormal, the error specific tips are as follows: Driver loaded / / there is one output should be Driver found it! Exception in thread "main" jav

  • Linux installation uninstall Mysql database 2011-04-02

    I. Introduction Want to use Linux for a long time, because there is no hard task has been no systematic study of the recent result of the need to use under Linux MySQL. I thought to use in Windows, SQL Server experience, install MySql on Linux that i

  • Reprinted (MYSQL) database installation diagram 2010-08-30

    This article is reproduced from: http://justdo2008.javaeye.com/blog/743153 The following is the MySQL installation diagrams, with the installation of the executable file, and detailed description of a moment! First open the Mysql Download Center: htt

  • Graphical MySQL database installation and operation 2010-10-21

    MySQL base camp: http://www.mysql.com/ MySQL, Download Address: http://dev.mysql.com/downloads/ so detailed analysis of what this page. • For mirror sites, not the mainland, with Hong Kong and Taiwan. Select it, is to accelerate the download speed, b

  • MySQL database connectivity on Windows Python 2010-12-18

    Python version: 2.6 Download: http://download.oldapps.com/Python/python-2.6.msi MySQLdb version: MySQL-python-1.2.2.win32-py2.6.exe Download: http://home.netimperia.com/files/misc/MySQL-python-1.2.2.win32-py2.6.exe Python sample code to connect MySQL

  • NaviCat connection "does not support remote connections MySql database" solution 2010-12-28

    Some time ago, because a project needs to be done MYSql of data synchronization services, but web space service providers do not provide remote connectivity MYSql, so the client can not use NaviCat by filling out the server address to connect to remo

  • C + + MySQL Database Connection 2011-05-26

    Some time ago to explain to a freshman Benedictine College Shanghai Campus MySQL, readily demonstrated how to use Java applications to connect with external MySQL database. But if they can not read, and they just learning C + +, Ever since, I simply

  • MyEclipse 6.5 MySql database connection 2011-05-03

    First need to 1: mysql-5.0.51b-win32 2: navicat9_lite_en 3: Myeclipse 6.5 Appendix in MyEclipse database connection mysql-5.0.51 One. Click MYSQL-5.0.15b-WIN32 SETUP.EXE installation MYSQL5.0 .* II. Use navicat9_lite_en mymap and students form the ne

  • Reproduced (MYSQL) database installation diagram 2010-08-30

    This article is reproduced from: http://justdo2008.iteye.com/blog/743153 The following is the MySQL installation diagram, with the installation of the executable file that details a bit! First, open the Mysql Download Center: http://www.mysql.com/dow

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.743 (s). 12 q(s)