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)


>>>>>> 更多阅读 <<<<<<


欢迎加入「福强私学」

跨越2190个日夜,始终坚持“实践 + 原创”打造的715125字专属知识库,囊括了(但不限于)从职场、技术、管理与商业等多个板块的内容。

  • 一个ChatGPT触达不到的地方
  • 一个带你超越AI/人工智能的地方
  • 一个与你一起成长的地方

https://afoo.me/kb.html


开天窗,拉认知,订阅「福报」,即刻拥有自己的全模态人工智能。

订阅「福报」