1-linux basically comes with SVN
2-Create SVN server
Create a new server code warehouse
# svnadmin Create Serversvn
This allows us to create a new version of the Repository serversvn in the ~/directory.
3-Modifying the configuration file
Svnserve.conf
[General]anon-access = Readauth-access = WritePassword-db = passwdauthz-db = Authz
passwd
== sallyssecretusername // Modify to the desired user name
Authz
= USERNAME[SERVERSVN:/] //SERVERSVN must be svn://localhost/behind the path @user = WR
4-Start the SVN server
CD serversvn/conf
#svnserve-D-r/home/
-D Background mode startup
-R Specify Repository directory
5-Create SVN client
Now the directory is/HOME/SERVERSVN
If the-R directory is/home/at startup, then the SVN path, localhost, writes directly to the next directory of the specified directory as SERVERSVN, so that the svn://path is the absolute path
SVN://LOCALHOST/SERVERSVN CLIENTSVN
If you do not specify the-r option (svnserve-d) When you start, enter the absolute path of the repository
SVN://LOCALHOST/HOME/SERVERSVN CLIENTSVN
#svn Checkout Svn://localhost/serversvn CLIENTSVN
Create a good client for CLIENSVN
So all the contents of the repository are check out, stored in the current directory CLIENTSVN, the SVN protocol used here, do not build an HTTP server
Err:
[Email protected]:~/clientsvn$ svn commit-m "initial version openssl_0.1.0" openssl/
Svn:commit failed (details follow):
Svn:authorization failed
View [3-Modify configuration file] Step