Environment:
Version Management Server: Linux version 2.6.18-308.el5
Client: Win7
First, server-side installation steps
1. Install SVN
Yum-y Install Subversion
2. Start SVN
Svnserve-d-r/www/svndata
The following exception occurred while starting SVN
Svnserve:error while loading shared libraries:libaprutil-1.so.0:cannot open Shared object file:no such file or Directo Ry
Unable to find libaprutil-1.so.0, so
Find/-name libaprutil-1.so.0
Result is
/www/wdlinux/httpd-2.2.22/lib/libaprutil-1.so.0
3. Add the APR dependency package to the shared library
To view a shared library configuration file
More/etc/ld.so.confinclude ld.so.conf.d/*.conf
Create an APR shared library configuration file
Cd/etc/ld.so.conf.d/vi httpd-apr.conf/www/wdlinux/httpd-2.2.22/lib/
Update Shared library Configuration
Ldconfig-v
4. Test whether the installation is successful
SVN--version
Result is
SVN, version 1.6.11 (r934486) compiled Mar 5, 14:28:03copyright (C) 2000-2009 collabnet.subversion are open so Urce software, see Http://subversion.tigris.org/This product includes software developed by CollabNet (http://www. collab.net/). The following repository access (RA) modules is available:* ra_neon:module for accessing a repository via WebDAV Protoc Ol using Neon. -Handles ' HTTP ' scheme -handles ' https ' scheme* ra_svn:module for accessing a repository using the SVN network Pro Tocol. -With Cyrus SASL authentication -Handles ' svn ' scheme* ra_local:module for accessing a repository on local disk.
-handles ' file ' scheme
This indicates that the installation was successful
5. Start SVN
Svnadmin Create/www/svndata/testproject
Modifying a configuration file svnserve.conf
Cd/www/svndata/testproject/confvi svnserve.conf
#添加如下配置项anon-access=noneauth-access=writepassword-db=passwd
Modify the password file passwd, add the appropriate user and password
VI passwd[users]harry = harryssecretsally = Sallyssecret
To restart SVN, to increase the security of SVN, the default port of Svnm 3690 is changed to 6534.
#关闭svn服务killall svnserve# New Port starts svnserve-d-r/www/svndata--listen-port 6534
Of course, you can also add HTTPS support for security reasons. There is no more detail here.
6. Use SVN
The SVN client uses "svn://your IP: Port/Project name/" To download and manage the project, and of course you can manage it through the command line, which is a matter of opinion.
svn://your IP: Port/Project name/
At this point, SVN's installation is over.
Article Source: https://www.cnblogs.com/rwxwsblog/p/4665199.html
Build SVN version control software under Linux