1. Download the installation file from http://www.open.collab.net/downloads/subversion.html. 2. Create a directory to save the code. Run the following command to start the terminal: svnadmin create/Users/ckwang17/svn_root. I created a code library named "svn_root" in my home directory. 3. Configure the code repository. Terminal. Run the following command: cd/Users/ckwang17/svn_root/conf first modify svnserve. in the conf file, remove the # password-db = passwd statement. This configuration item takes effect. Save and exit. Then modify the passwd file, which contains the username and password accepted by the code library in the form of [username] = [Password]. You can add a user "user" and password "pass" user = pass to save and quit. Note: Do not leave spaces before. Save and exit to take effect. Start the server. Run the following command: svnserve-d-r/Users/ckwang17/svn_root. If no prompt is displayed, the startup is successful. Test in eclipse. If the svn plug-in is not installed, you can add the following website to the upgrade site and then install the plug-in: http://subclipse.tigris.org/update_1.6.xboot server. Run the following command: svnserve-d-r/Users/ckwang17/svn_root. If no prompt is displayed, the startup is successful. 4. Create a "repository location" in the "SVN repository". The address is svn: // localhost. Follow the wizard and enter your username and password. 5. To add a version library, restart the svnserve process. The command for killing the svnserve process is killall-9 svnserve.
Author ckwang17