因為 TS-209掛了, 重新安裝 SVN , 怕忘記, 記下來.
在TS-209上安裝SVN步驟如下:
1.確定TS-209有裝 ipkg( ipkg 是一種輕量 (lightweight)級的套件管理系統),
ipkg 的安裝方法請參考官網論壇, 或是我自己的安裝過程。
2.用ipkg安裝svn
ipkg install svn
安裝完成後, 應該如圖所示
啟動)
/opt/bin/svnserve -d –listen-port=3690
停止SVN)
ps auxww | fgrep svnserve
Then the number in the second column is the process id, then I can do:
kill <process id> (without the <> brackets)
and in the worst case (e.g. svnserve won't stop after many minutes):
kill -9 <process id>
Create Repository)
$ svnadmin create ~/my-repository
我用的指令
svnadmin create /share/svn/repos1
存取權限)
[/share/svnsource:/]
@developers = rw
[general]
password-db = /share/svnsource/conf/passwd
#每一個 repository 的 realm 均指定為一個共同的字串名稱,即代表共用同一個 namespace。
realm = global_repository
# Specific access rules for specific locations
authz-db = /share/svnsource/conf/authz
OK了
沒有留言:
張貼留言