Install the SVN service on Linux and the SVN service on Linux

Source: Internet
Author: User

Install the SVN service on Linux and the SVN service on Linux

1. Install SVN
Yum install subversion
2. view the version
Svnserve -- version
3. Create a directory
Mkdir/web/svndata
3. Create a repo Test Database
Svnadmin create/web/svndata
4. Configure: Enable anon-access = read auth-access = write password-db = passwd: q (Exit)
Vi svnserve. conf
5. Add a user (user = PASSWORD) zhang = zhang: q (Exit)
Vi passwd
6. Start
Svnserve-d-r/web/svndata/
7. Get the file
Svn co svn: // IP./web
8. automatically update new files on the SVN Service
/Usr/bin/svn update/web -- username zhangyoujie -- password zhangyoujie


How to install the svn server in linux

First, point out an error. During checkout, the file is not downloaded from the/usr/local/apache/htdocs directory, but from the SVN library you created, the location of this library is definitely not the htdocs folder, because when executing the svn creat command, it will clear and recreate the folder to be created. At most, it will use an independent folder under htdocs to create the library.

For more information about installing SVN, see blog.csdn.net/pjuner/article/details/1790214.

Where is the svn configuration file on Linux?

View the svn manual. This is necessary to know the role of each file.

You can search for the svn file as follows:
# Search for directories and files related to svn keywords
Find/-name "* svn *"
Find/-name "* Svn *"
Find/-name "* SVN *"
# Learn how to configure the local svn Server Based on the configuration file found above

Sometimes apache is integrated. You can find the related <Location> section in the apache configuration file.

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.