1.安裝SVN相關軟體
ipkg update
ipkg install svn
2.建立SVN資料目錄
mkdir /share/MD0_DATA/svn
svnadmin create /share/MD0_DATA/svn
3.修改SVN設定檔
修改 /share/MD0_DATA/svn/conf/passwd
[users]
harry = harryssecret
sally = sallyssecret
修改 /share/MD0_DATA/svn/conf/svnserve.conf
[general]
anon-access = read
auth-access = write
password-db = passwd
4.執行 svnserve -d --listen-port=3690 -r /share/MD0_DATA/svn
Client 相關設定
Linux client bash 中加入以下參數
export SVN_EDITOR="/usr/bin/vim"
沒有留言:
張貼留言