百度首页 | 百度空间
 
查看文章
 
subversion
2007-05-15 12:09
cd /usr/ports/www/apache22
make WITH_AUTH_MODULES=yes WITH_DAV_MODULES=yes \
WITH_SSL_MODULES=yes WITH_BERKELEYDB=db4 install clean

cd /usr/ports/devel/subversion
make -D WITH_SVNSERVE_WRAPPER -D WITH_MOD_DAV_SVN -D WITH_APACHE2
install clean

rehash
svnadmin create /usr/svn/
svnserve.bin -d --listen-host 192.168.1.4 -r /usr/svn
#############################################
vhost.conf
------------------------------------------------------------------------
Listen 84
#NameVirtualHost *:84
<VirtualHost *:*>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /usr/local/www/data
    ServerName 192.168.1.4
    ServerAlias www
    <Location />
    DAV svn
    SVNPath /mnt/ftp/svn
    </Location>
    ErrorLog /var/log/www-error_log
    CustomLog /var/log/www-access_log common
</VirtualHost>
-----------------------------------------------------------------------------
loader.conf
accf_data_load="YES"
accf_http_load="YES"
---------------------------------------------------------------------------
################################################

类别:Os | 添加到搜藏 | 浏览() | 评论 (3)
 
最近读者:
 
网友评论:
1
2007-05-15 12:12
svnserve_enable="YES"
svnserve_flags="-d --listen-port=3690"
svnserve_data="/mnt/ftp/svn/"
svnserve_user="www"
svnserve_group="www"
 
2
2007-05-15 12:24
svn import xos file:///mnt/bak/svn/xos -m "Initial import"
 
3
2007-05-15 12:26
import:提交一份未版本化的文件或者目录树到仓库中。
用法:import [PATH] URL

递归提交PATH的副本到URL。
如果PATH被忽略则使用当前目录。在仓库中,因为需要会创建父目录。

有效选项:
-m [--message] arg :指定提交时消息ARG
-F [--file] arg :从文件ARG中读取数据
-q [--quiet] :尽可能少的打印信息
-N [--non-recursive] :仅在单个目录中操作
--username arg :指定用户名ARG
--password arg :指定密码ARG
--no-auth-cache :不缓存鉴权信息
--non-interactive :不使用交互式提示
--force-log :格式化原始日志消息
--editor-cmd arg :使用ARG作为外部的编辑器
--encoding arg :使用ARG作为字符的编码
--config-dir arg :从目录ARG中读取用户配置文件
--auto-props :允许自动道具
--no-auto-props :禁止自动道具
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu