SVN installation and use (Debian)

Source: Internet
Author: User
Tags create directory svn client

Basic Environment 1, SVN is the abbreviation of subversion, is an open source version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version control services on the Internet have migrated from CVs to subversion. 2, cat /etc/debian_version 7.43, three modes of Access 1) &NBSP;TCP/IP protocol &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;SVN://2)   WebDAV protocol &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;HTTP://3)   local or network disk   file://          This build is accessed through the WebDAV protocol  http 4, Subversion-related commands svn (command line client program) Svnversion (this tool is used to display the status of the working copy) Svnlook ( Tools to view the Subversion repository directly) Svnadmin (a tool for creating, tweaking, or repairing a  subversion repository) Svndumpfilter (tool to filter Subversion repository dump data stream) MOD_DAV_SVN (a plugin for apache http server, Make the repository accessible over the network) Svnserve (a separate running server program that can be invoked as a daemon or by SSH.) This is another way that the repository can be accessed over the network) Svnsync (a program that incrementally mirrors the repository through the network) co=checkout  cp=copy  ci=commit   UP=UPDATE&NBSP;&NBSP;LS=LIST5, ip10.131.172.202, SVN server 1, install SVN and Toolkit 1) apt-get -y install  Subversion2) APT-GET&NBSP;-Y&NBSP;INSTALL&NBSP;SUBVERSION-TOOLS2, mounting apache2 and Module 1) apt-get&nbSP;-Y&NBSP;INSTALL&NBSP;APACHE2-MPM-PREFORK2) apt-get -y install libapache2-svn3, create directory   Initialize project directory   Change permissions (Fsfs is selected by default after 1.2) 1) mkdir /opt/svn/ -p2) svnadmin create /opt/svn/ops3) CHOWN&NBSP;WWW-DATA.WWW-DATA&NBSP;SVN/&NBSP;-R4, Apache configuration cd /etc/apache2/mods-availablecat dav_ svn.conf<location /svn>dav svnsvnparentpath /opt/svn/authtype basicauthname  " Svn repository "authuserfile /etc/apache2/svn.passwdauthzsvnaccessfile /etc/apache2/ Svn.authzrequire valid-user</location> added in the last 5, modify/etc/apache2/svn.authz cat /etc/apache2/ SVN.AUTHZ&NBSP;[OPS:/]*&NBSP;=&NBSP;RW6, using the HTPASSWD command to create a user htpasswd -c /etc/apache2/svn.passwd  Jimmyps: If you add a user again, you do not need the-C parameter htpasswd /etc/apache2/svn.passwd jim7, view module cat /etc/apache2/ mods-available/dav_svn.load# depends: davloadmodule dav_svn_module /usr/lib/apache2/ modules/mod_dav_svn.soloadmodule authz_svn_module /usr/lib/apache2/modules/mod_authz_svn.so if there are 2 modules above   that means OK. 8, restart Apache/etc/init.d/apache2 restart One, SVN client access to HTTP1, Linux client (from SVN file checkout to local) svn co http:/ /10.131.172.202/svn/ops/ --username jimmy  --password  Redhat-----------------------------------------------------------------------attention!  your  Password for authentication realm:   

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/AF/wKioL1WC0S2DrQMLAAE2fZP7y14848.jpg "title=" Aaa.jpg "alt=" Wkiol1wc0s2drqmlaae2fzp7y14848.jpg "/>

Third, reference article http://www.subversion.org.cn/svnbook/nightly/


This article is from the "7928217" blog, please be sure to keep this source http://7938217.blog.51cto.com/7928217/1663352

SVN installation and use (Debian)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.