Fedora16 install Subversion

Source: Internet
Author: User
Fedora16 install Subversion1. Install subversion, mod_dav_svn # yuminstallsubversionmod_dav_svn2, create svn version library # mkdir-p/repos # svnadmincreate/repos/doc # chown-R & nbs

Fedora 16 install Subversion

1. Install subversion and mod_dav_svn

# Yum install subversion mod_dav_svn
2. Create an svn version Library
# Mkdir-P/repos
# Svnadmin create/repos/doc
# Chown-R apache. apache/repo
3. Start the svn Service
# Svnserve -- daemon -- root =/repos -- listen-port = 3690
Note: To disable the svn service, use # killall svnserve. If svn is automatically started, configure the/etc/sysconfig/svnserve file and add the following content:

# Svnserve options
OPTIONS = "-r/repos"

Enable port 3690. In the/etc/sysconfig/iptables file, add

-A input-m state -- state NEW-m tcp-p udp -- dport 3690-j ACCEPT

Run chkconfig -- list to check whether the svnserve service is disabled at runlevel 123456 by default. Use chkconfig -- level 2345 svnserve on to open it at the corresponding runlevel.

Run the following command to manually enable, disable, and restart svnserve:

# Service svnserve Start
# Service svnserve stop
# Service svnserve restart

4. I want to use svn.linuxidc.com to access the svn server domain name, modify the configuration file/etc/httpd/conf/httpd. conf, and add the virtual host svn.linuxidc.com


ServerAdmin webmaster@dummy-host.example.com
DocumentRoot/repos
ServerName svn.linuxidc.com
ErrorLog logs/svn.linuxidc.com-error_log
CustomLog logs/svn.linuxidc.com-access_log common

Allow from all
DAV svn
SVNParentPath/repos


5. To access the VM locally, you can add a Domain Name Pointing to the/etc/hosts file.

127.0.0.1 svn.linuxidc.com

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.