Tag: Represents log min Read admin net src file symbol
First, install the command:
1) log in as root. Execute: sudo su-command
2) Execute installation command: Apt-get install Subversion
Second, create the project directory1) mkdir/home/svn/mkdir/home/svn/project2) cd/home/svn/project3) Execute Permissions command: Chmod-r 777 project/
third, create SVN warehouseSvnadmin Create/home/svn/project Execute the command and generate the file
Iv. setting access rights 1) use VIM to open conf/svnserver.conf anon-access = Read Auth-access = write password-db = password Authz-db = Authz Remove the previous comment # symbol 2) use VIM to open the CONF/PASSWD add account and password (LZH = 0624) 3) use Vim to open Conf/authz set access rights, admin = Lzh,lzh user belongs to Admin Permission Group
Five, start the SVN server svnserve-d-r/home/svn-d means that svnserve in the "daemon" process mode to specify the root location of the file system, so that the client does not enter the full path, you can access the repository such as: svn:// 192.168.1.109/project
Vi. Installing SVN client tortoisesvn on the window platform, using checkout vii. common errors
1) Authorization failed
Solution: Use VIM to open conf/authz add [/]
2) The SVN server must be restarted after the svnserver.conf file has been modified
Shutdown SVN service command: Killall-hup svnserve
Turn on SVN service fame: svnserve-d-R/HOME/SVN
3) SVN client commit error: Commit fialed (Details follow): Authorization failed
Solution: Use VIM to open Conf/authz write current account (LZH) access rights
Ubuntu builds SVN server, and common error solutions