Home  >  Article  >  Backend Development  >  Chuanzhi Podcast SVN video tutorial courseware source code recommendation

Chuanzhi Podcast SVN video tutorial courseware source code recommendation

黄舟
黄舟Original
2017-12-04 11:21:461713browse

"SVN Video Tutorial", SVN: full name is Subversion, which is a code version management software that manages data that changes over time. This data is placed in a central repository. This archive is much like a regular file server, but it remembers every file change. This way you can restore a file to an older version, or browse the file's change history. Many people think of version control systems as some kind of "time machine."

Chuanzhi Podcast SVN video tutorial courseware source code recommendation

Course playback address: http://www.php.cn/course/354.html

The teacher’s teaching style:

The lectures are friendly and natural, unpretentious, not pretentious, nor deliberately exaggerated, but talk eloquently and carefully, and the relationship between teachers and students is In an atmosphere of equality, collaboration, and harmony, silent emotional exchanges are carried out, and the desire and exploration of knowledge are integrated into simple and real teaching situations. Students gain knowledge through quiet thinking and silent approval

The more difficult point in this video is svn configuration of multiple warehouses and permission control:

Shop is a warehouse. If multiple projects are developed at the same time, multiple warehouses must be established. , Supervise multiple projects at the same time
svnserve can only supervise one folder and cannot supervise multiple warehouses.

You can achieve the purpose of supervising all warehouses by supervising the general directory
For example, the general directory of the Shop warehouse is WebApp
Switch to the WebApp directory and execute
svnserve -d -r ./
In this way we can access the WebApp through svn://localhost
If you want to access the Shop directory, it is svn://localhost/Shop

But if you change the localhost pointing, then rely on the previous The checkout directory pointed to will be unable to connect

Permission Control
Under the warehouse resource file
In the conf folder
authz file authorization file tells those users what permissions they have
passwd The file authentication file marks which users and corresponding passwords a certain warehouse has

svnserve.con core configuration file

anon-access = write
auth-access = write

The first is anonymous permissions
The second is authentication permissions

password-db = passwd 
authz-db = authz

Remove the comment
, thus opening the authorization file and authentication file

Then write the authentication file passwd and define the relevant user name and password

Here I also recommend downloading source code resources: http://www.php.cn/xiazai/learn/2114

  1. SVN learning materials

The above is the detailed content of Chuanzhi Podcast SVN video tutorial courseware source code recommendation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn