Subversion

http://subversion.tigris.org/project_packages.html

tar xzvf db-4.3.28.tar.gz
cd db-4.3.28/build_unix
../dist/configure --enable-compat185 
../dist/configure --enable-compat185 --prefix=/usr
make
make install
../dist/configure --enable-compat185 --prefix=/usr

Berkeley DB should not be built in the top-level or dist directories

Apache

tar xzvf subversion-1.2.3.tar.gz
cd subversion-1.2.3
./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
--with-berkeley-db=/usr/local/BerkeleyDB.4.3
make
make install
configure: error: APR-UTIL was installed independently, it won't be
 possible to use the specified Berkeley DB

configure: error: APR-UTIL was installed independently,
apr/include/apr.h
#define APR_HAS_SENDFILE 0

http://www.webdav.org/neon/

The source code is included with the latest Subversion tarball
tar xzvf neon-0.25.3.tar.gz
cd neon-0.25.3
./configure
make
make install
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
useradd -m -d /home/svn -s /bin/false svn
/usr/local/bin/svnadmin create /home/hoge/svn-rep
chown -R svn:svn /home/hoge/svn-rep
# default: on
# description: svnserve
service svn
{
      socket_type     = stream
      wait            = no
      user            = svn
      server          = /usr/local/bin/svnserve
      server_args     = -i -r /home/hoge/svn-rep
      log_on_failure  += USERID
      disable         = no
}
chmod -R 770 /home/hoge/svn-rep
chmod g+s /home/hoge/svn-rep/db
<Location /svn>
 DAV svn
 SVNPath /usr/local/svn-rep
 AuthType Basic
 AuthUserFile /etc/auth.conf
 AuthName test
 require valid-user
</Location>

Apache

mkdir /usr/local/svn-rep
/usr/local/bin/svnadmin create /usr/local/svn-rep/rep1
/usr/local/bin/svnadmin create /usr/local/svn-rep/rep2
<Location /svn>
 DAV svn
 SVNParentPath /usr/local/svn-rep
 AuthType Basic
 AuthUserFile /etc/auth.conf
 AuthName test
 require valid-user
</Location>

http://localhost/svn/rep1

Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: libsvn_repos-1.so.0: cannot open shared object file: No such file or directory
Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: /usr/local/apache2/modules/mod_dav_svn.so: undefined symbol: dav_xml_get_cdata

http://tortoisesvn.tigris.org/download.html


svn://192.168.1.2/project1/trunk

ssh

svn+ssh://hogeuser@192.168.1.2/home/hoge/svn-rep/project1/trunk
No access allowed to this repository
Permission denied
http://192.168.1.2/svn

svnserve.conf

# [general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are "write", "read",
### and "none".  The sample settings below are the defaults.
# anon-access = read
# auth-access = write
[general]
 anon-access = none
 auth-access = write

[users]
hoge = hogepass
hoge2 = hogepass2
/usr/local/bin/svnadmin create /home/hoge/svn-rep
svn checkout svn://192.168.1.2:3690/project1/trunk

python

wget http://switch.dl.sourceforge.net/sourceforge/swig/swig-1.3.25.tar.gz
tar xzvf swig-1.3.25.tar.gz
cd swig-1.3.25
./configure --with-python=/usr/local/bin/python
make 
make install 
make install-swig-py
cp -a * /usr/local/lib/python2.4/site-packages/
ldconfig

cvs2svn

http://cvs2svn.tigris.org/

windows

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91

[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem

TIPS

Can't open activity db:Permission Denied






http://kobe.cool.ne.jp/oppama/misc/subversion2.html
http://idm.s9.xrea.com/ratio/2005/01/14/000169.html
http://www.gside.org/Gentoo/subversion/subversion.html


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS