当前位置:首页 > windows下架设subversion服务器
為什麼選擇subversion不在本文討論范圍,網上到處都是,本文僅描述架設subversion的步驟: step1)下載和安裝
下載並安裝svn-1.2.3-setup.exe,假設你安裝到D:\\deploy\\Subversion step2)建立Repository
打開命令窗口, 鍵入 svnadmin create D:\\deploy\\projects\\searchz step3)配置Repository
站长网www.cwwo.net DERFG
進入Repository目錄,在本文中是
D:\\deploy\\projects\\searchz,你會看到conf目錄,進入該目錄,你會看到svnserve.conf和passwd兩個文件
對兩個文件作如下修改 svnserve.conf [general]
###Theseoptionscontrolaccesstotherepositoryforunauthenticated
###andauthenticatedusers.Validvaluesare write , read ,
###and
none .Thesamplesettingsbelowarethedefaults. anon-access=read auth-access=write
###Thepassword-dboptioncontrolsthelocationofthepassword
###databasefile.Unlessyouspecifyapathstartingwitha/,
###thefile’slocationisrelativetotheconfdirectory. ###Uncommentthelinebelowtousethedefaultpasswordfile.
站长网www.cwwo.net DERFG
password-db=passwd
passwd [users]
#harry=harryssecret #sally=sallyssecret
weip=weip我不再對上面兩個文件具體內容作出解釋,我相信各位一看就懂,我需要提醒的就是 一開始svnserve.conf中的[general] 和 passwd 中的 [users] 行前有#,一定要去掉,否則會拋錯 step4)啟動subversion
共分享92篇相关文档