Setup multiple subversion repositories on Mac
2014年从msn space存档中重新恢复出来!
It’s easy, easy, easy until after u know how to do it, :0)
In fact, Mac has installed subversion for us, so when I know this after I had tried to install subversion by myself, I felt how stupid I am, hehe, Ok, let’s go straight to our topic.
Firstly, we have to setup multiple repository directories, for example :
$ mkdir repositories
$ cd repositories
$ svnadmin create red_bear
$ svnadmin create blue_goat
After these commands’ run, we should get a directory structure similar to:
+---repositories | +---blue_goat | | +---conf | | +---dav | | +---db | | +---hooks | | \---locks | \---red_bear | +---conf | +---dav | +---db | +---hooks | \---locks
OK, as u know, we can start a svnserve deamon for any repository, for example: $ svnserve -d -r /home/svn/repositories/blue_goat
or
$ svnserve -d -r /home/svn/repositories/red_bear
BUT, u can’t start both of them simultaneously, except that we give svnserve another option parameter:
$ svnserve -d -r /home/svn/repositories/blue_goat (--listen-port 9110)
$ svnserve -d -r /home/svn/repositories/red_bear --listen-port 91101
With --listen-port
option, we can start multiple repository deamon services simultaneously.
So, It’s easy, right? (Yeah, I Know u know, I just make a note here)
「为AI疯狂」星球上,扶墙老师正在和朋友们讨论有趣的AI话题,你要不要⼀起来呀?^-^
这里
- 不但有及时新鲜的AI资讯和深度探讨
- 还分享AI工具、产品方法和商业机会
- 更有体系化精品付费内容等着你,加入星球(https://t.zsxq.com/0dI3ZA0sL) 即可免费领取。(加入之后一定记得看置顶消息呀!)

存量的时代,省钱就是赚钱。
在增量的时代,省钱其实是亏钱。
避坑儿是省钱的一种形式,更是真正聪明人的选择!
弯路虽然也是路,但还是能少走就少走,背后都是高昂的试错成本。
订阅「福报」,少踩坑,少走弯路,多走一步,就是不一样的胜率!
