SVNServer installation and troubleshooting

Source: Internet
Author: User
Hello everyone: for team development, finding a code management software is essential. The most common usage is ms vss or SVN. Of course there are others, depending on the team and needs. Just entered into a new company: Yixun Times Company, that is, Shenzhen 168 factory network. For team development, finding a code management software is essential. The most common usage is ms vss or SVN. Of course there are others, depending on the team and needs. Just entered into a new company: Yixun Times Company, that is, Shenzhen 168 factory network. I am in charge of the program, but many development teams do not have resource management tools, which makes it inconvenient in actual work. so I chose SVN. however, the comparison data is used, but for the configuration, there is almost no practice to the level of proficiency, the previous configuration has been used, but has forgotten. Refer to the downloaded SVN Server 2.5.0 and technical documents. I am not very clear (I can only read the general meaning in English. it is too bad ). After a large number of Baidu and Google websites. Configure the configuration once. However, after the machine is restarted, it cannot be accessed because it is not obedient. The result service is stopped. Create a windows service to enable the service without restarting the computer. It took a long time to go back and forth. A normal day. The problem occurred the next day. When a file is submitted, the system prompts that the file information cannot be moved. The operation is denied when a file is created. I checked the logs and found many errors. as a result, the svn service cannot be started. After running services. msc, the visual SVN Server is not started. I think about it. when I configured the website yesterday, I converted the drive letter format to Conver e:/fs: ntfs. Is this the cause? It can be started manually. However, you cannot submit a modified file. Google has published a large number of articles because it was enabled by the windows Search Service and the service needs to be banned. this service does not exist in the service manager! Is it because of drive letter conversion? So I thought of permission issues. Add the user to assign the modification and write permissions. Submit the file. all files are created normally. After this tossing, I want to write down my personal summary: 1. install SVN SERVER 1. download VisualSVN Server and TortoiseSVN 2. install TortoiseSVN and then install VisualSVN Server. During the installation process, you may be asked to view the [Event Viewer]. canceling the installation will exit the installation. In fact, you can see that the program menu contains visual SVN-> visual SVN Server Manage, click it to bring up the management window. in this case, because the VisualSVN Server in the service manager is not started, start it manually. if it cannot be started (the system is highly incompatible), there is no way to continue. 3. environment variable configuration; d: \ VisualSVN Server \ bin \ 4. the version control root directory, right-click TortoiseSVN-> Create Repositories Here command on the new root directory (d: \ MyProject. 5. configure the user and permissions to enter the d: \ Repositories \ conf Directory. three files are displayed: svnserve. conf, passwd, and authz. Modify svnserve. conf # anon-access = read # auth-access = write # password-db = passwd 6. create a resource file directory and create it in the visual SVN Server Manage. You can create multiple instances and assign user permissions. 7. create a windows service to register the Subversion service. each time you run the Subversion server, you must enter a command in the command line window (Start menu-> Run-> enter cmd, open the command line window, and enter: svnserve-d-r d: \ Repositories) is very cumbersome. if you can register a Subversion as a Windows service and set it to auto start, in this way, the Subversion server will automatically run after each boot. \ 8. install the SC create subversion_service binpath = "d: \ VisualSVN Server \ bin \ svnserve.exe -- service-r d: \ Repositories" Displayname = "SVN Server" depend = Tcpip. We hope that you can successfully install and configure it. Author Xue Hu Lang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.