First install SVN under Ubuntu: (Ubuntu installed in virtual machine)
sudo apt-get install Subversion and then creates a library:
mkdir /home/lyh/svn
cd /home/lyh/svn
mkdir store
svnadmin Create store
Then configure SVN: Go to the Conf directory CD store/conf in the store directory and edit the passwd file:
[Users]
#harry = Harryssecret
#sally = Sallyssecreta
Lyh = Pass
Added a user lyh password for: Pass and then configure the svnserve.conf file
Anon-access = none
auth-access = Write
password-db = passwd
authz-db = Authz
Then again in the Authz configuration:
[Groups]
#harry_and_sally = harry,sally
#harry_sally_and_joe = harry,sally,&joe
lyh = lyh
Create a new user group, have a LYH user and then start the SVN service: svnserver-d-r/home/lyh/svn/store uploads a directory through TORTOISESVN in the window:
As a result, the dialog box for entering the user name and password does not appear directly:
Resolve no popup Input dialog box, open TORTOISESVN settings, click Saveddata, click Clear, clear all the options inside:
If the user name and password pop-up dialog box or display this interface, first look at the error, not connect svn, so go to see if the library is configured: Edit the Authz file:
[Repository:/baz/fuz/store]
# @harry_and_sally = RW
@lyh = RW
Remove the previous comment and add the Library store to restart SVN, first introduce the SVN process Ps-a | grep "SVN" then: Kill < Process number > Restart Service: svnserver-d-r/home/lyh/svn/store and then execute once import,unable to connect to a Reposito Ry at URL error prompt is not present, but display: At this point we edit the svnserve.conf file again:
Anon-access = none
auth-access = Write
password-db = passwd
#authz-db = Authz
Comment out the authz-db, then restart SVN, import again, enter the user name and password:
Issue to this resolution
Reference Address: http://www.cnblogs.com/wuhou/archive/2008/09/30/1302471.html
http://blog.csdn.net/zm2714/article/details/8334106