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.