1) apt-get install subversion
2) svnadmin create svn/myProject1
3) editer /svn/myProject1/conf/svnserve.conf and /svn/myProject1/conf/passwd
dans svnserv.conf
anon-access = none auth-access = write ### The password-db option controls the location of the password ### database file. Unless you specify a path starting with a /, ### the file's location is relative to the conf directory. ### Uncomment the line below to use the default password file. password-db = passwd ### The authz-db option controls the location of the authorization ### rules for path-based access control. Unless you specify a path ### starting with a /, the file's location is relative to the conf ### directory. If you don't specify an authz-db, no path-based access ### control is done. ### Uncomment the line below to use the default authorization file. authz-db = authz
dans passwd:
[users] #harry = harryssecret # sally = sallyssecret john = johnspass123 tom = tomspass123 wins = winspass123
dans authz
[groups] myusers = john, tom, wins [/] @myusers = rw wins = r
Démarrer svn avec : svnserve –d
avec tortoiseSVN, il ne reste plus qu’à fairer un checkout
svn://88.190.30.201:4443/svn/myProject1
