1: Create a directory to store the warehouse
Mkdir-p/home/svn/
2: Create SVN repository
Svnadmin Create/home/svn/evansource
3: Configure the warehouse (altogether three folders auzhz, passwd, svnserve.conf)
The above three files are saved in the Ecansource/conf folder
VI Authz
VI svnserve.conf
VI passwd
Based on the above three steps, the SVN user's configuration is completed, and the user can move out of the project under Linux or under Windows.
Add:
Start SVN
sudo svnserve-d-r/home/data/svn/
Where-D represents the daemon and-R indicates execution in the background
/home/data/svn/the installation directory for SVN
Close SVN
Ps-ef|grep svnserve View Process
Root 4967 1 0 Aug23? 00:00:00 svnserve-d-R repository/
Here kill 4967 kills the process, this 4967 is the process number
An explanation of the SVN command
SVN checkout Svn://127.0.0.1/evan_test
SVN Co
SVN Update/var/www/html/evan
SVN up
Linux SVN User Configuration