- 浏览: 2477104 次
- 性别:
- 来自: 苏州
文章分类
最新评论
-
jsntghf:
peio 写道这个怎么运行?Ruby On Rails的环境搭 ...
多文件上传之uploadify -
peio:
这个怎么运行?
多文件上传之uploadify -
往事如烟1:
我的项目是自己init了一个原始的project,之后将ver ...
React Native热部署之CodePush -
jsntghf:
往事如烟1 写道我按照你的说明进行,发现app退出之后,在进入 ...
React Native热部署之CodePush -
往事如烟1:
我按照你的说明进行,发现app退出之后,在进入不正确,请问是什 ...
React Native热部署之CodePush
Mac自带了svn服务端和客户端,所以只需要简单配置一下就可以使用。
1、创建svn repository
svnadmin create /Users/gaohf/svn/repository
2、配置svn用户权限/Users/gaohf/svn/repository/conf/目录下存在3个文件:authz、passwd、svnserve.conf
authz,内容如下:
### This file is an example authorization file for svnserve. ### Its format is identical to that of mod_authz_svn authorization ### files. ### As shown below each section defines authorizations for the path and ### (optional) repository specified by the section name. ### The authorizations follow. An authorization line can refer to: ### - a single user, ### - a group of users defined in a special [groups] section, ### - an alias defined in a special [aliases] section, ### - all authenticated users, using the '$authenticated' token, ### - only anonymous users, using the '$anonymous' token, ### - anyone, using the '*' wildcard. ### ### A match can be inverted by prefixing the rule with '~'. Rules can ### grant read ('r') access, read-write ('rw') access, or no access ### (''). [aliases] # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average [groups] gaohf_group = gaohf # harry_sally_and_joe = harry,sally,&joe [/] gaohf=rw # &joe = r * = # [repository:/baz/fuz] # @harry_and_sally = rw # * = r
passwd,内容如下:
### This file is an example password file for svnserve. ### Its format is similar to that of svnserve.conf. As shown in the ### example below it contains one section labelled [users]. ### The name and password for each user follow, one account per line. [users] gaohf=123456
svnserve.conf,内容如下:
### This file controls the configuration of the svnserve daemon, if you ### use it to allow access to this repository. (If you only allow ### access through http: and/or file: URLs, then this file is ### irrelevant.) ### Visit http://subversion.tigris.org/ for more information. [general] ### These options control access to the repository for unauthenticated ### and authenticated users. Valid values are "write", "read", ### and "none". The sample settings below are the defaults. anon-access = read auth-access = write ### The password-db option controls the location of the password ### database file. Unless you specify a path starting with a /, ### the file's location is relative to the directory containing ### this configuration file. ### If SASL is enabled (see below), this file will NOT be used. ### Uncomment the line below to use the default password file. password-db = passwd ### The authz-db option controls the location of the authorization ### rules for path-based access control. Unless you specify a path ### starting with a /, the file's location is relative to the the ### directory containing this file. If you don't specify an ### authz-db, no path-based access control is done. ### Uncomment the line below to use the default authorization file. authz-db = authz ### This option specifies the authentication realm of the repository. ### If two repositories have the same authentication realm, they should ### have the same password database, and vice versa. The default realm ### is repository's uuid. # realm = My First Repository [sasl] ### This option specifies whether you want to use the Cyrus SASL ### library for authentication. Default is false. ### This section will be ignored if svnserve is not built with Cyrus ### SASL support; to check, run 'svnserve --version' and look for a line ### reading 'Cyrus SASL authentication is available.' # use-sasl = true ### These options specify the desired strength of the security layer ### that you want SASL to provide. 0 means no encryption, 1 means ### integrity-checking only, values larger than 1 are correlated ### to the effective key length for encryption (e.g. 128 means 128-bit ### encryption). The values below are the defaults. # min-encryption = 0 # max-encryption = 256
3、启动服务器
svnserve -d -r /Users/gaohf/svn/repository
没有任何提示就说明启动成功了。
4、将项目导入svn库
svn import /Users/gaohf/projects/demo/ svn://localhost/svn/repository/demo --username gaohf --password 123456 -m "Initial import"
5、签出项目
svn checkout svn://127.0.0.1/svn/repository/demo --username=gaohf --password=123456
发表评论
-
SecureCRT的破解方法
2014-12-26 00:22 2349本文使用的系统是Mac OS X 10.10.1,Secu ... -
Mac版本Cornerstone2的无限期破解方法
2014-07-27 12:01 1948Cornerstone2是个人非常喜欢的Mac上的一款SVN ... -
Mac终端中文乱码的解决
2013-08-18 10:15 26606在MAC OS X控制台下使用javac命令编译java程序 ... -
Mac OS X下安装Tomcat 7
2012-12-22 10:39 18611、去Tomcat官网下载二进制包,我下载的是Binary D ... -
退出Finder
2012-07-03 22:33 2005不管你有没有注意到,Mac OS X上的Fin ... -
OS X上创建私密硬盘分区
2012-06-20 21:06 1610整天和电脑打交道的人难免会有一些私密文件,在Window ... -
pkg无法安装的解决办法
2012-04-03 17:34 5531以前,将系统从雪豹升级到Lion,双击pkg文件即可进行安装, ... -
让iTunes在Dock栏图标上自动显示当前歌曲名和歌手名的方法
2012-02-19 16:07 2224这是个很小但很方便的Mac技巧,让iTunes每次换到新 ... -
使用rvm在Mac中安装ruby和rails
2012-03-29 15:51 22581、安装Git 如果没有安装Git的话,可以去http ... -
paraGon NTFS for Mac
2011-11-14 22:33 690以前写了一篇文章:NTFS MOUNTER,这个工具可以在Ma ... -
OS X中flush DNS的命令
2011-11-10 08:45 1813dscacheutil -flushcache -
苹果系统上最好用的免费翻译软件:有道词典
2011-11-05 21:24 2591网易旗下的翻译软件-有道词典,上周推出了苹果电脑Mac OS ... -
打开Safari的开发模式
2011-11-03 16:58 3433Firefox有firebug可以用来帮助开发者调试网络应用。 ... -
自动搜索并在顶部菜单栏显示歌词的免费软件
2011-10-30 09:59 1723关于和iTunes配合,自动搜索并显示当前音乐的歌词的软件,比 ... -
Lion系统自带中文输入法里输入颜文字表情的方法
2011-10-19 10:26 1377颜文字,就是类似 :-)这种用标点符号组成的非图片的表情, ... -
MAC内存整理软件-iFreeMem
2011-08-21 13:34 1983iFreeMem是一款很不错的MAC内存优化软件,通过 ... -
BT下载-uTorrent
2011-08-16 21:19 1524以前介绍过一个下载工具SpeedDownload ,这个工具 ... -
Mac OS X 系统下修改host文件
2011-08-04 13:05 14017原本访问速度很快的gmail,现在经常无法登录,没办法,只有修 ... -
Mac OS X 系统下一键密码锁定屏幕,防止别人乱用乱看的方法
2011-07-03 19:40 1477要离开苹果电脑,怕别人乱动、乱看,又不想合盖子让 Ma ... -
一台Mac登陆多个QQ for Mac的方法
2011-06-26 14:35 2720QQ FOR MAC只能在一台苹果电脑上登录一个QQ,下面是一 ...
相关推荐
mac下配置svn服务器的参考文档,希望大家加油喔
SVN代码管理是程序开发必须的工具,本资源包含了SVN的服务器及客户端安装包,以及源下载地址的列表内含包括 windows XP ,windows7 ,MAC OS,LINUX等多个系统的客户端及服务器安装程序。另附安装及使用配置文档,绝无...
本篇文章主要介绍了Mac环境下搭建svn环境的使用方法。由于Mac自带了svn的服务器端和客户端功能,所以我们可以在不装任何第三方软件的前提下使用svn功能,只需要简单配置,有兴趣的可以了解一下。
在Windows XP下,Subversion服务器有时候看起来发送损坏的数据。 跟踪Subversion客户端和Apache服务器通话最好的方法是什么? 我刚刚编译了二进制分发版本,当我尝试检出Subversion,我得到一个“Unrecognized URL...
在Windows XP下,Subversion服务器有时候看起来发送损坏的数据。 跟踪Subversion客户端和Apache服务器通话最好的方法是什么? 我刚刚编译了二进制分发版本,当我尝试检出Subversion,我得到一个“Unrecognized URL...
选择一个服务器配置 svnserve服务器 svnserve使用SSH通道 Apache 的 HTTP 服务器 推荐 svnserve,一个自定义的服务器 调用服务器 svnserve作为守护进程 使用svnserve通过inetd 通过通道使用svnserve svnserve作为...
svn服务器有2种运行方式:独立服务器和借助apache。2种方式各有利弊。目前业界评价的SVN易用性正在提高。功能:★★★★SVN 的功能除具备 VSS 的功能外,还具有:它的客户机 / 服务器存取方法使得开发者可以从任何...
Git权威指南 目 录 前 言 第1篇 初识Git 第1章 版本控制的前世和今生/ 2 1.1 黑暗的史前时代/ 2 1.2 CVS—开启版本控制大爆发/ 5 1.3 SVN—集中式版本控制集大成者/ 7 ...34.1.2 Mac OS X 下 cvs2svn 的...
提交dest里面的静态文件(css、js、img)到静态文件服务器,提交路径为%SVN_REMOTE_DIR%/<description>/<name>/,详见注意事项。 grunt zip 打包src和dest文件给技术。其中dest文件夹作如下处理:将 dest/*.html 的 ...
除非拥有Mac的人愿意帮助编译Mac OS,否则将继续不支持Mac OS。 正在安装 需要源SDK Base 2013 Multiplayer。 如果您没有使用GitHub和/或安装sourcemods的经验,我们强烈建议您不要遵循以下步骤,建议您等待
1.4.3 在 Mac 上安装 . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.4 在 Windows 上安装 . . . . . . . . . . . . . . . . . . . . . . 8 1.5 初次运行 Git 前的配置 . . . . . . . . . . . . . . . . . ...