- 5
- 0
- 约7.73万字
- 约 18页
- 2017-06-05 发布于河南
- 举报
SVN装置与常用保护(国外英文资料)
SVN安装与常用维护
Subversion standalone services and apache integration services.
One, Svn independent service installation
Operating system: Redhat Linux AS3 AS 4 ContOS AS 4
Installation package acquisition:
Download [url] /downloads/subversion-1.4.0.tar.gz [/ url] and [url] /downloads/subversion-deps-1.4.0.tar.gz [/ url].
Compile:
Log in as root.
Upload the subversion - 1.4.0. Tar.gz and subversion - deps - 1.4.0. Tar.gz to the server.
Tar XFVZ subversion - 1.4.0
Tar XFVZ subversion - deps - 1.4.gz
The subversion - deps package has four directories, zlib apr apr-util neon, which are all dependent packages and compile the necessary code for subversion
CD subversion - 1.4.0
/ configure - prefix = / opt/SVN - - Berkeley - db - with - zlib
(note: run as svnserve, without apache compilation parameters. Store version libraries in FSFS format and not compile Berkeley - db)
Make the clean
The make
Make install
Vi /etc/profile, at the end of /etc/profile:
PATH = $PATH: / opt/SVN/bin
The export PATH
Testing:
Svnserve version
If shown below, the installation is successful:
Svnserve, version 1.4.0 (r21228)
Compiled Oct 12, 2006, 10:18:56
Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see [url] / [url]
This product includes software developed by CollabNet ([url] http://www.Collab.Net/ / url].
The following repository back-end (FS) modules are available:
* fs_fs: Module for working with a plain file (FSFS) repository.
2. SVN configuration
Create a repository directory that can be built:
Mkdir - p/opt/svndata/repos1
Mkdir - p/opt/svndata/repos2
Build a repository:
Svnadmin create/opt/svndata/repos1
Svnadmin create/opt/svndata/repos2
Modify the repository configuration file:
Repository 1:
Vi/opt/svndata/repos1 / conf/svnserve.conf
The content changes to:
(general)
Anon - access = none
Auth - access = write
Password - db = / opt/SVN/conf/pwd. conf
Authz-db = / opt/SVN/conf/authz.conf
Realm = repos1
Repository 2:
Vi/opt/svndata/repos2 / conf/svnserve.conf
The con
原创力文档

文档评论(0)