A new project group was swapped for a while ago. The past found no SVN. The code is manually compared to the archive. It was a sore egg at the time. It's too damn hard for me. Not much to say, to test the server address. Started up. Because the server cannot connect to the extranet.
1. Download the installation package first. This installation does not combine Apache. Do only SVN server-side installation.
wget http://subversion.tigris.org/downloads/subversion-1.6.1.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.1.tar.gz
The official URL for SVN is http://subversion.tigris.org.
The above two compressed files are extracted and placed under the same file, do not create a different folder
2. Install the standalone SVN
Upload the downloaded compressed package on the server. Tool preferences (I use SSH Secure Shell Client)
1.tar zxvf subversion-1.6.1. tar.gz 2.tar zxvf subversion-deps-1.6.1. tar.gz 3.cd SUBVERSION-1.6.1/ 4../configure--prefix=/usr/local/svn 5.make && make install
3. View information
[Email protected] bin]#/usr/local/svn/bin/svnserve--1.6.1 (r37116) compiled Jul 7 2010, 23:06:21
4. Configure Environment variables
vi/etc/Profile This is the configuration file that sets the environment variable other than the bottom add code export svn_home=/usr/local/svnexport PATH= $PATH: $SVN _home//etc/profile environment variable in effect However, the change requires root permissions in fact, you can also set the user's own environment variable arbitrary location input svn svn svnadmin svnlook Svnsync svn2abs svndumpfilter svnserve Svnversion explained that the configuration was successful.
5. Building a Warehouse
Mkdir-p/home/svnserver//home/svnserver/repos/ then modify conf under Configuration file svnserve.conf anon-access = None control non-authenticated user access torepository permissions auth-access = Write control authentication user access to repository write password-db = passwd Username password passwd Authz-db = Authz Specify permissions profile file name default sibling directory authzpasswd [Users]xiaodaoshi=12345 Xiaohouzi=9527Authz[groups]bokeyuan=xiaodaoshi,xiaohouzi[repos:/] @bokeyuan= * = r
6. Start Svnserve-d-r/home/svnserver/repos
Because the SVN command is too many I will not say, in fact, the main development is the Windows system with the SVN client submission comparison.
7. Just deployed a few days, received a notification that the server to style, wipe, so hurriedly back up, the full amount of backup use DUMP
Backup
Svnadmin Dump/home/svnserver/repos >/home/temp/temp20140723
Recovery (Recovery is the best server configuration and the same as the original)
Svnadmin Load/home/svnserver/repos
Problems encountered
1. TheEclipse svn plugin view version history when Item is not readable can not see the original set permissions at the beginning of the time *= changed to *=r.
So much, thank you for watching, what's wrong please help to point out, thank you.