Tame today to use SVN to version control

xiaoxiao2021-03-13  184

Inadvertently got to get SVN, I can use it just in my work. I tried it, I feel good, I found some information on the Internet to start learning :)

The content is reposted, forgot where to find it :(

===================================================

SVN Installation Log 1, Download (1) SVN-1.0.9-setup.exe (2) TortoisesVN-1.1.2-Unicode_SVN-1.1.2.msi (3) SVNService

2, install SVN Server (1) Install SVN-1.0.9-setup.exe, the installation directory is D: / Program files / Subversion. (2) Install TortoiseSVN-1.1.2-Unicode_svn-1.1.2.msi. Installation Directory For D: / Program files / TortoisesVn. After installation, the latter needs to restart the computer. (3) Return the svNService.exe Copy to D: / Program Files / Subversion / BIN in the SVNService compression package. (4) Create a new directory E: / SvnRepo, as the main directory of Repository. (5) Package SVN Server into service: Start -> Run. Enter "cmd", enter, enter the command line interface. Enter d: / program files / subversion / bin. Run SVNService -install -d -re: / svnrepo. Register SVN Server into a background service and set the Repository home directory to E: / svnrepo. (6) Enter Computer Management -> Services and Services -> Services. You can see SVNService service The start type is changed from manual. (7) Start service. (8) If there is a firewall installed, you need to open the 3690 port.

3, DEMO (1) New Directory "Default" in E: / Svnrepo, right-click, TortoisesVn-> Create Repository Here, select BDB. (2) Enter E: / SVNREPO / Default / Conf

In the E: / SVNREPO / DEFAULT / Conf directory, create a new users.conf file. ISERS.CONF Save the username and password. The format is as follows: [users] username = password

Use the text editor to open SVNserve.conf, add [general] Anon-access = noneauth-access = writepassword-db = users.conf

(3) Right-click, TortoisesVN-> Repobrowse, enter svn: // / default, Enter the username and password existing in users.conf, you can enter the repository!

转载请注明原文地址:https://www.9cbs.com/read-129042.html

New Post(0)