Problems and Solutions for installing SVN in linux

Source: Internet
Author: User

Installation environment: RedHat EL5.4 i386 virtual machine testing
Installation manual: svn_for_redhat_installation Manual
When installing the system, choose to install: The World Wide Web Server (apache-related), so some modules may not be installed. O (distinct _ distinct) O ~
1. Some precautions for the installation package
1) mod_dav_svn will not be installed by default
2.) The version of mod_dav_svn must be the same as that of subversion or the same series.
3.) The software installed by default may not have a high version in the manual, but ensure that 2nd pieces of software can be run in the same way as svn.
2 check and install
1) when executing rpm-ivh or rpm-Uvh, the system prompts that other packages cannot be found. You can add the -- nodeps -- force installation parameter after the rpm package name to be installed.
2.) do not uninstall sqlite easily. I unload it and reinstall the virtual machine. Khan... after unloading it, many things won't work...
3.) The so file mod_dav_svn.so is only available when mod_dav_svn is installed.
3 Configuration
1) svn Configuration:
1.1) grant the ownership of the Repository directory to apache users and groups. For rel5, you must first Delete apache users and then create apache users and groups.
Command:
# Userdel apache
# Useradd apache
Otherwise, the following error occurs: Thisaccount is currently not available.
Then run chown-R apache: apache/svn
1.2) PS-Ef | grep svnserve: Apache ...... not Svn in this document.
2.) Apche Configuration
2.1) after Apache is restarted, the page displays cocould not open the requested SVN filesystem or an XML node document,
If the configuration information is correct, run setenforce 0 to disable SELinux. I don't quite understand the content of SELinux either. Please search online for the specific content
3) about multiple version libraries:
3.1) The svnparentpath and svnpath options of <location> in subversion. conf cannot appear at the same time.
3.2) execute the command htpasswd-C/SVN/passwd. after conf username, if repeated logon attempts fail, it is caused by directory operation permissions. First, check the operation permissions of Apache users and groups on/SVN. Second, run the chcon command related to SELinux.
Chcon-h-t http_sys_content_t/SVN/
Refresh the page to access.

Reference URL: http://hi.baidu.com/raidenxu/blog/item/df4bf3f2b5ad4017b07ec5ad.html

I have not tested the Remote Password Change documentation ~

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.