A series of operations to install svn under centos6.5

Install subversion through yum:
  yum -y install subversion
installation is complete
Create the svn directory mkdir -p /home/svn/svnfile
After the successful directory creation is completed, create the svn project
  svnadmin create /home/svn/svnfile
and then ls /home/svn/svnfile find many more files


cd /home/svn/svnfile/conf Enter the conf directory, there are authz, passwd, svnserve.conf,
vi passwd Add a test=test account and password to the user user whose password is test;

 

 

in vi authz insert develops= test in [group] insert [/] @develps=rw at the end

vi svnserve.conf  添加[general]anon-access = read  auth-access = write  authz-db = authz password-db = passwd

After the configuration is complete, you can checkout the project, 

svn checkout svn://192.168.158.130/svnfile /home/www/webroot/

Check out the project to the webroot directory,

cd /home/www/webroot 

touch testfile 

echo 'this is svn testfile' >> testfile

add a testfile

svn add 这个testfile , svn add testfile , svn commit -m 'svn test commit ' testfile

Then put this \rm testfile under webroot and then svn update to see if svn submitted this testfile successfully

svn update

 

 

 

 
 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326733279&siteId=291194637