FVN Tech Blog Coding or Programming in C#/PHP | Linux or Windows Server Backend | New Media | SNS | Misc …

29May/060

多个Project的trac/subversion/apache2 架设

cd /opt/repos
svnadmin create Akantos
svnadmin create test
chown -R www-data:www-data /opt/repos

cd /opt/trac
trac-admin /opt/repos/Akantos initenv
trac-admin /opt/repos/test initenv
chown -R www-data:www-data /opt/trac

moonlight:~# cat /etc/apache2/conf.d/trac.conf
Alias /trac/chrome/common /usr/share/trac/htdocs

Order allow,deny
Allow from all

ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi

# SetEnv TRAC_ENV "/opt/trac/"
SetEnv TRAC_ENV_PARENT_DIR "/opt/trac"

# 设置Trac用户验证
AuthType Basic
AuthName "Mars Trac Server"
AuthUserFile /etc/apache2/trac.passwd
# trac.passwd文件用htpasswd2命令生成
Require valid-user

moonlight:~# cat /etc/apache2/mods-enabled/dav_svn.conf

DAV svn
SVNParentPath /opt/repos

AuthType Basic
AuthName "MicroInfo Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
AuthzSVNAccessFile /etc/apache2/dav_svn.authz

moonlight:~# cat /etc/apache2/dav_svn.authz
[groups]
manager = feuvan
[/]
@manager = rw
* =
[Akantos:/]

[test:/]
* = rw ]]>

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
26May/060

svn may breaks after BDB upgrade

所以不要看到升级就把老的package purge掉

feuvan@moonlight:~$ aptitude show db4.2-util
Package: db4.2-util
State: installed
Automatically installed: no
Version: 4.2.52-24
Priority: optional
Section: utils
Maintainer: Debian Berkeley DB Maintainers
Uncompressed Size: 217k
Depends: libc6 (>= 2.3.5-1), libdb4.2
Description: Berkeley v4.2 Database Utilities
This package provides different tools for manipulating databases in the Berkeley v4.2 database format, and includes:
* db4.2_archive: write the pathnames of the log files no longer in use.
* db4.2_checkpoint: daemon process to monitor the database log and checkpoint it periodically.
* db4.2_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.
* db4.2_load: loads (and creates) a database from standard input.
* db4.2_dump: read a database file and write it in a format understood by
* db4.2_printlog: dump log files in human readable format.
* db4.2_stat: display statistics for Berkeley DB environments.
* db4.2_upgrade: upgrades the version of files and the databases they contain.
* db4.2_verify: check the structure of files and their databases.

Tags: interface::commandline, role::sw:utility, use::checking, use::viewing, works-with::db

feuvan@moonlight:~$ aptitude show db4.3-util
Package: db4.3-util
State: not installed
Version: 4.3.29-5
Priority: optional
Section: utils
Maintainer: Debian Berkeley DB Maintainers
Uncompressed Size: 279k
Description: Berkeley v4.3 Database Utilities
This package provides different tools for manipulating databases in the Berkeley v4.3 database format, and includes:
* db4.3_archive: write the pathnames of the log files no longer in use.
* db4.3_checkpoint: daemon process to monitor the database log and checkpoint it periodically.
* db4.3_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.
* db4.3_load: loads (and creates) a database from standard input.
* db4.3_dump: read a database file and write it in a format understood by
* db4.3_printlog: dump log files in human readable format.
* db4.3_stat: display statistics for Berkeley DB environments.
* db4.3_upgrade: upgrades the version of files and the databases they contain.
* db4.3_verify: check the structure of files and their databases.

Tags: interface::commandline, role::sw:utility, use::checking, use::viewing, works-with::db

feuvan@moonlight:~$ aptitude show db4.4-util
Package: db4.4-util
New: yes
State: not installed
Version: 4.4.20-4
Priority: optional
Section: utils
Maintainer: Debian Berkeley DB Maintainers
Uncompressed Size: 258k
Depends: libc6 (>= 2.3.5-1), libdb4.4
Description: Berkeley v4.4 Database Utilities
This package provides different tools for manipulating databases in the Berkeley v4.4 database format, and includes:
* db4.4_archive: write the pathnames of the log files no longer in use.
* db4.4_checkpoint: daemon process to monitor the database log and checkpoint it periodically.
* db4.4_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.
* db4.4_load: loads (and creates) a database from standard input.
* db4.4_dump: read a database file and write it in a format understood by
* db4.4_printlog: dump log files in human readable format.
* db4.4_stat: display statistics for Berkeley DB environments.
* db4.4_upgrade: upgrades the version of files and the databases they contain.
* db4.4_verify: check the structure of files and their databases. ]]>

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments
26May/060

我是不称职的聆听者

嬉闹,反复,痴笑,痛哭,高歌

水哥说
男儿心肠,百炼成钢
万劫余生,仍无所伤

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Filed under: Default No Comments

Pages

Recent Posts

Categories

Tags

apache baidu C# Debian dotNET economy gadget GMA Google hulu IE7 Intel jiwai lighttpd Linux Mobile mod_extforward mojiti nginx oscanner OVAL Parallel PHP phproxy politics proxy Python regsvr32 SNS squid subversion trac TV Vista Visual Studio Windows Live Windows Mobile WLM wordpress wow WTL wzdftpd XDebug XML Zend Framework

Archives

Meta

友情链接与广告

Free web proxy
Old friends:

NSClub: