SVN video tutorial, svn: Full name subversion, is a code versioning software that manages data changes over time. This data is placed in a central data archive (repository). This archive is much like an ordinary file server, but it remembers every change in the file. You can then restore the file to the old version, or browse the history of the document. Many people think of version control systems as some kind of "time machine."
Course Play Address: http://www.php.cn/course/354.html
The teacher's lecture style:
The lectures are kind and natural, unpretentious, no affectation, nor deliberately rendered, but instilled, careful way, between teachers and students in a kind of equality, cooperation, harmonious atmosphere, the silent emotional exchange, the thirst for knowledge and exploration into a simple, real teaching situation, students in the quiet thinking, To gain knowledge in silent consent
The difficulty in this video is that SVN configures multiple warehouses and permissions control:
Shop is a warehouse, if you develop multiple projects at the same time, it is necessary to build multiple warehouses, and multi-project supervision
Svnserve can only supervise a single folder and cannot supervise multiple warehouses.
The purpose of overseeing all warehouses can be achieved by supervising the general catalogue.
For example, the general catalogue of shop warehouses is WebApp
Switch to the WebApp directory and execute
Svnserve-d-R./CAN
So we can access WebApp through Svn://localhost.
If you want to access the shop directory, it is Svn://localhost/shop
However, if you change the point of localhost, the checked-out directory that you previously pointed to will not be able to connect.
Permission control
Under Warehouse resource files
Conf folder inside
The Authz file authorization file tells those users to have those permissions
PASSWD file Certification file flags a warehouse with those users and the corresponding password
Svnserve.con Core configuration file
anon-access = writeauth-access = Write
The first one is anonymous permissions
The second one is authentication permissions
Password-db = passwd Authz-db = Authz
Remove comments
, which opens the authorization file and authentication file
Then write the authentication file passwd, define the relevant user name and password
Here also recommend the source of resources to download: http://www.php.cn/xiazai/learn/2114
SVN learning Materials