Home > Notes > Install Subversion on FreeBSD

Install Subversion on FreeBSD

Sun, 26 Jun 2011 15:02:25 +0800
It's necessary to install a source manage system to sort out my sources, so i choose Subversion.
My enviroment is FreeBSD 8.2.

[CODE type="shell"]
cd /usr/ports/develop/subversion
make install clean
[/CODE]

Install completely.

Now i need to configure it.

1) Configure it run automatically
add the following to /etc/inetd.conf
[CODE type="shell"]svn stream tcp nowait root /usr/local/bin/svnserve svnserve -i -r /data/svn/repos1[/CODE]

add the following to /etc/rc.conf
[CODE type="shell"]inetd_enable="YES"[/CODE]


2) Create A Repository
[CODE type="shell"]svnadmin create /data/svn/repos1[/CODE]

We create a repository for store the projects..


That's over, the installation guild end with here. Next, we can use Subversion to control the sources' version.
Tag:FreeBSD, Subversion
Hots
评论
发表评论:


  [TIPS:首次发表评论的朋友,需要验证]
Tags
Recent Post
Recent Comments
Links
Copyright Notes
You can reship all of these articles without permission but MUST mark the original link in your post. Please contact with me() if u have advice or other arrangements.
Copyright©2007-2011 lewphee.com All rights reserved.