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

6Aug/060

端口转发解决位于Squid等代理后无法从SVN server ci 的问题

发现只能co,不能ci
TortoiseSVN报MKACTIVITY...400 bad request

Google之后发现问题所在
http://subversion.tigris.org/faq.html#proxy
只要在我的svn主机前的squid里加上下面这行配置就ok
extension_methods REPORT MERGE MKACTIVITY CHECKOUT

但是我接触不到squid
于是用了ssh的端口转发
Dev                               SVN Server
localhost:8000            localhost:80
URL of Repository从原来的
http://svnserver.xxx.net/repos/Projectname
变成
http://localhost:8000/repos/Projectname

问题解决
比原来不方便的一点是要开着secure crt或者其他工具维持端口转发
一点额外的好处是安全性--SSH

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)
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

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: