版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、第一章下載svn安裝包visualsvn server,卜載地址:/packages.htryil,打開鏈接拖動滾動條 到最后,windows操作系統(tǒng)下血的二進制文件包一共有5種,選擇visualsvn如圖所示:windows collabnet (supported and certified by collabnet; requires registiabort sliksvn (32- and 64-bit client msi; maintained by bwrt huiiben. shardsvn project) tortoi
2、sesvn (optionally installs 32- and 64-bit command line tools and svnserve; supported and maintained by the tortoiswsvn project) 卜 visualsvn (32 and 64bit client and server: supported and maintained bv visualsvn) wandisco (32- and 64-bit client and server; supported and certified by wandisco) win?2sv
3、n (32-bit client, server and bindings, msi and zirs; maintained by david darj)點擊進入下載界面,因為我本機是64位系統(tǒng),所以選擇對應(yīng)的visualsvn serve如圖所示界加ii downloadsapache subversion command line toolsa standalone and lightweight package to in stall apache subversion comma nd line binaries only. this redistnbutable package i
4、s great for build scnpting and other administrative needs.read more about subversion command line kx)lsdownloadversion 1.9 3size mbvisualsvn for visual studioincludes apache subversion 1.9.3 command line tools.a professional grade subversion integration plug-in for microsoft visual studio. visualsvn
5、 is intended to be installed on workstations used by software developers.learn more about visualsvn inlecualion for visual studiodownloadversion: 5.1 3size 5 mbvisualsvn serverincludes apache subversion 1.9.3 command line tools.the most favored way to setup and maintain an enterpnse level apache sub
6、version server on the microsoft windows platform visualsvn ser/er is useful either for home, small business or enterprise users.learn more about visualsvn server for windowsdownload uownioad1version: 3.5.0 size. *8 mbvisualsvn repository configuratorvisualsvn repository configurator is a standalone
7、application which allows non-admimstrative users to man age visualsvn server repositories remotely leam more about repository management delegationdownloadversion: 3.5 0size: 7 mbapache subversion. subversion and the apache subversion logo are either registered trademarks or trademarks of the apache
8、 software foundation.microsoft, windows and visual studio are either registered trademarks or trademarks of microsoft corporation.tortoisesvn 客戶端/下載地址:the current version 193 is linked against the subversion library 1.9.3.please make sure that you choose the right installer for your pc, otherwise th
9、e setup will fail.for 32-bit osfor64-bit ostortoisesvn 1.9.3 - 32-bittortoisesvn 1.9.3 - 64-bitto verify the file integity followcontext menu in jileopen/save dialogs on x64 oson x64 versions of windows, the tortoisesvn context menu and overlays won't show for 32-bit applications in their file-o
10、pen/save dialogs until you install the ?91© (9皿叩£x86. (select the vc_redislx86.exe file for down load).note: this only applies to 32-bit applications on x64 os. the windows explorer is not affected by this. pre-release buildsif there is a bug in the latest released version which you really
11、 cannot live with, and which has already been reported as fixed, then you can try installing a創(chuàng) gqsg buiig from the stable release bran ch.language packscountrym albanianm arabicbulgariano 疏 edonchinese. simplifiedchinese, traditional32 bitsetupsetupsetupsetupsetuph croatianhk.一. i.64 bitsetupsetups
12、etuptubj setup jsetupsetupseparate manual (pdf)translate to albatransiatetcarabie tfangatetcbuigan烈tansi5te to cataan tsvn e囚transiatg.iguoaichmeggtgnsigte t6 c6gtign 下載完成之后,有3個女裝包,如圖所示:j§j languagepack-7038-x64-zh-cn.msitortoisesvn-7038-x64-svn-1.9.3.msivisualsvn-server-3.5.0-x64
13、.msi2016/1/26 15:062016/1/26 14:552016/1/26 14:46 windows install.windows install. 6,092 kbwindows install.18,360 kb9,868 kb第二章搭建svn服務(wù)器-inlxl先安裝visualsvn server的安裝包,雙擊visualsvn server安裝包,如圖:ijjvisualsvi server 2.5.4 setupwelcome to the visualsvn server 254setup wizardthe setup wizard will install vi
14、sualsvn server 2.5.4 on your computer. click next to continue or cancel to exit the setup wizard this product includes the following components:apache http server 2.2.22apache subversion 1.7.4right thing. done rightscancelback點next,進入.卜 =步,如圖:點同意,進圖下一步,如圖:;j vi sualsvb server 2.5.4 setupselect compo
15、nentsplease select components you would h<e to install.visualsvn server and management console can be instated together or separately please select components you 陽nt to be instaled on this machineq yisuaisvn server and maaagemt consofeiinstal visualsvn server and management console to administer
16、 it.management console onlyinstal only microsoft management console snap-in to administer visualsvn server instated on another computer backcancel選擇上面一個選項,點next,進入下一步,如圖:vi sualsvw server 2.5.4 setup-irl x|custom setupselect the way you want features to be installed.kchange if necessary installation
17、 path and initial visualsvn server settings.location:|c:program file$vi$ualsvn serverbrowse.repositories:|e:repositorie5|brewse.server port:)443二|p use secure connection (https:/)authendcationq use subversion duthentkdtionvisualsvn server will maritain own users and groups, r use windows authenbcati
18、onvisualsvn server wil use windows users and groups.sack| wxt icanceliilocation是扌旨visualsvn server的安裝目錄丿repositorys是指定你的版本庫目錄.server port指定 端口,use secure connection 勾山表示使用安全連接use subversion authentication 表示使用 subversion自己的用戶認證.點擊next,進入下一步,如圖:ivisualsvi server 2.5.4 setupready to installthe setup w
19、izard is ready to begin-rixicfck install to begin the installation if you wart to review or change any of your installation settings; click back cfck cancel to exit the wizardgackcancel點install,進入f步,如圖ptease wait wme the setup wizard installs vtsualsvn server 2.5.4.status: creating shortcutst/ext i二
20、j回乂等待安裝完成,如圖:fvisualsvi server 2.5.4 setupcompleting the visualsvn server 2.5.4 setup wizardclick the finish button to exit the setup wizard.i subscribe for release notifkzations via email or rssj 臣 sart visualsvn server managervisualsvnserverright thing. done right.cancel |安裝完成后,啟動 visualsvn server
21、 manager,圖:接下來我們安裝tortoisesvn,雙擊安裝包,進入下一步如圖:jtortoisesvb 2632 (32 bit) setupwelcome to the tortoisesvn 2632 (32 bit) setup wizardthe setup wizard will install tortoisesvn 2632 (32 bit) on your computer click next to continue or cancel to exit the setup wizard <backcancel點擊nex
22、t,進入下一步,如圖:tortoi sesvm 1.7.6. 22632 (32 bit) li cense agreeoentend-user license agreementplease read the following license agreement carefullycopyright (c) 2003-2012 - stefan kungtortoisesvn is free. you don 1 have to pay for it, andyou can use it any way you want it is developed as an open source
23、project underthe gnu general public licensp (opl) .thatmea ns you have full access to the source code of this program .you can find it on our wmbsite at shouldyou wish to modily or redistribute this program, ora ri¥ part of it, you should read the full terms and conditions set out in the licens
24、e agreement before doing so. a copy of the lice nse is available on our website.if you simply wish to install and use this software, you n eed only be aware ofthe zjq i accept the terms in the license agreementj廠 i do not accept the terms in the license agreement< back | next >|cancel選擇接受,然后點擊
25、next,進入下一步,如圖選擇安裝路徑,然后點擊next,進入下一步,如圖:點擊install,開始安裝,如圖:.7.6.22632 (32 bit) setupfgltortoisesviinstalling tortoisesvn 2632 (32 bit)please wait while the setup wizard instate tortoisesvn 2632 (32 bit). ths may take several minutes status: copying new filesthanks for using tortoisesvn yo
26、u can show your appreciation and support future development by donating!donate!:rack 理e>± >|等待安裝完成,安裝完成后如圖:2sjjtortoisesvm 2632 (32 bit) setupcompleting the tortoisesvn 2632 (32 bit) setup wizardclick the finish button to exit the setup wizard show changelogthanks for using
27、tortoisesvn you can show your appreciation and support future development by donati ng!donate!cancel i接下來我們安裝簡體中文語言包,這個非常簡單,選擇languagepack_7038-x64-zh_cn.msi 雙擊一路next就行,就不截圖了.語言包安裝完成以后在桌面任意空白地方單擊鼠標右鍵,會在右鍵菜單里 找到svn,如圖:排列圖標d)刷新(s)粘貼的粘貼快捷方式(s) 撤銷刪除ctrl+z圖形屈性 圖形選項上svw棕出fklq tortoi sesvn*兔版本庫瀏覽器(r
28、)新建址)國導出僵)屬性®0在此創(chuàng)建版本庫(y) 闌導入(!)乍設(shè)置經(jīng)幫助qj)關(guān)于注意:如果在空白地方右鍵沒有出現(xiàn),請重啟計算機; 選擇設(shè)置,進入下一步,如圖:在右邊的語言里面選擇簡體中文,然后點擊應(yīng)用,確定,漢化即完成。服務(wù)端和客戶端都已經(jīng)安裝完畢,下面 介紹用visualsvn server創(chuàng)建版本庫,以及tortoisesvn的使用.第三章svn的使用首先打開visualsvn server manager,可以在窗口的右邊看到版本庫的一些信息,比如狀態(tài)小志,用八 認證,版木庫等,如圖所示:repositories建立版木庫,選擇左邊窗i i的repositores右鍵新建c
29、reate new repository,如圖所示:l> 於 reposifl users groupso visualsvn server (local)create new repository.import existing repository.browse新建(n)所有島(k)刷新(f)導出列表(!_)幫助(h)新建z后彈框進行新建操作,如圖所示:ir " f一步” 輸入版木名稱如圖所示:& “下一步”,版木庫中會默認建立trunk,branches,tags三個文件夾,如圖所示:點擊“下一步”.為新存儲庫設(shè)登讀寫權(quán)限.選擇屮間一項點擊創(chuàng)建.如圖所示:創(chuàng)建完成
30、z后,如圖所示:這個時候候我們將項h導入到版本庫中,找到你的項h文件夾,在項h文件夾上點擊鼠標右鍵,找到svn菜 單,選擇導入,如圖:打開(q) 資源管理器q()-tnrjncriai_ss】jsbg】3sbg】丿便用360殺垂扌描qsibsvn檢出逐).qsib二二總添加到壓縮文件®sl0 忝加到 rtcordxhop. rar* ptes-邊壓縮并 e'mail.)toti 9 壓縮到"rocordshop. rar*tre.jwcf.共享和安全qdd tortoi x<svnd)并 e-mail發(fā)送到)即切(!) 復(fù)制©足 足 £、屯
31、冬 忘迢 咚 ? 3 ? 3 3 3 3/ 件件件件件件件件 文文文文文文文文6導出0)在此創(chuàng)連版本庫文件夾創(chuàng)建快!1方式q) 細除) 重命名d)犀性®導入界面,在url后面加上trunk子路徑然后在導入信息里面填上導入信息”導入項目到版木庫s如圖 所示:點擊確迄所選中的項忖就會被導入到版本庫中如圖:-ini xi已倍輸4.22 mb,耗用0分7秒項目導入到版木庫以兄不能隨便讓誰都能夠瀆寫版本庫,所以需要建立用戶組和用戶。在visualsvn server manager窗口的左側(cè)右鍵單擊用戶組,選擇create user或者新建->user,如圖: u 口 g竹 visual
32、svn server (local) t> 莎i repositories在彈出的對話框中填寫user name和password撚后點擊ok,如圖:create nev/ useruser n ame:password:confirm password: user name and password are case sensitive.0kcancel j用相同的方式分別創(chuàng)建用戶 develpoerl,develpoer2,develpoer3,testl,test2,manger六個用戶,分別代表3個開發(fā)人員,兩個測試人員和一個項目經(jīng)理,如圖:developerl develope
33、r2 developer3 testwrl testmr2 manager然后我們建立用戶組,在visualsvn server manager窗口的左側(cè)右鍵單擊用戶組/選擇create group 或者新建>60叩,如圖:? visualsvn server (local) t> 茅 repositoriescreate group.融 userslojh新建(n)刷新(f) 幫助(h)彈出窗11小填寫group name為developers,然后點add按鈕,在彈出的窗i i中選擇三個developer, 加入到這個組,然后點ok,如圖:create new groupnbe
34、shgroup nam 皀:members:developerslc develpoer 1c developoer2add.remove用相同的方式創(chuàng)建組managers,testersz如圖:s" 9 firstreposi tory 田9 myreposi tory £ users £groups衛(wèi) am©developersmanagerstestersbranch接下來我們給用戶組設(shè)置權(quán)限,在myrepository上單擊右鍵,選擇屬性,如圖myreposixttwj口 users_| groupscopy url to clipboardbr
35、owseproperti qs.所有任務(wù)查看(v)刪除)刷新® 導出列表©在彈出的對話框中,選擇security選項匚點擊add按鈕,選中developers,managers,testers三個組/ 然后添加進來,給developers,managers權(quán)限設(shè)置為read/write,tester權(quán)限設(shè)置為read only,如圖:properties for /svn/lyrepository/兇security | hooks group or user name:name1 permissionsdevelopersread / writeeveryoneno ac
36、cessmanagersread / writetestersread onlyadd.removepermissionsc inherit from parentno accesse head onlyread / writelearn more about aozess uontrol and uermissionsi匚確定 j 取消 i 應(yīng)用) i服務(wù)端安裝完成。接下來,我們川客戶端公檢出代碼,在桌面空口處單擊右鍵,選擇svn檢出,在彈岀的對話框中填寫版木庫 url(具體獲取方式,上而講上傳項h到版本庫的時候講過),選擇檢出忖錄,點擊確定如圖:開始檢出項如圖:廠檢出完成!操作路徑已增加c
37、:vjsersadministr3tor9esktopwxs_testrepositorytnjnktestputputt 皀 stng.css已増加c:'ijsersadministratorv)esktopwxs_testrepositorytrunktestng-bak.xml已増加 已增加 已增加 已增加 已增加 完畢c:vltaersadministratorv)esktopwxs_testrepositorytnj nktestng.xml c:ltoersadministratorv5esktopwxs_testrepositorytnjnkxxx.xml c:vjser
38、sadministratoresktopwxs_testrepositoryveadme.txt c:usersadministratorpesktopwxs_testrepository ranches c:vjsersad(ninistratorv)esktopwxs_testrepositorytdgs 于版本:5ih已傳輸58.03mb,耗用0分3秒已 0:377-確走9) 1取消檢出完成之后,我們打開工作副本文件夾,會看到所有文件和文件夾都有一個綠色的/如圖:組織包含到庫中共享新氐作滅收藏夾名稱'修改日期大小z下裁® branches2016/1/26 19:51文
39、際皇面 tags2016/1/26 19:51文磁最近訪問的位羞& trunk2016/1/26 19:51文收13)文欄keadme.txt2016/1/26 19:51文本文欄1 kb至此,創(chuàng)建版本庫和使川tortoisesvn導入項11,檢出項ii u經(jīng)介紹完畢。第四章結(jié)合eclipse使用svn如果要在eclipse屮使用svn,需要下載svn插件。打開 eclipse,菜單欄選擇 help>install new software,輸入地址: /update_l. 10.x ,如圖所示:add repositoryna
40、me:svn|local.location: http:/subclipse.tigris.org/update.l.10.xarchive.(j)okcancel下載資源的時候會顯示警告,點擊ok,繼續(xù)下載,直到完成。安裝完成z后,eclipse中菜單欄file- -import,找到svn,如圖所示:點擊"next",笫一次進入沒有資源,選擇笫一個創(chuàng)建資源,然后“下一步”如圖所示:輸入svn地址,點擊“next"然后“下一步”直到完成。u package explorer 耳 ju junit召 duiba-test trunkexchange> 暹 biz.exchange> 竊 demo0 出 testexchange> n testng邏 ei&idyt> 氯 jre system library uavase-1.7t> 0 testngt> referenced librariesaaala昭兇driverslibtest-outputbuild.xml 2 16-1-26 下午4:33 manager testng-
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 專業(yè)型A4彩色激光打印機2024采購協(xié)議明細版B版
- 初中英語賓語從句考點精講及練習(附答案)
- 2024年銷售策略研討會及市場拓展合同3篇
- 2025版智能機器人制造合伙人股權(quán)分配與產(chǎn)業(yè)鏈整合協(xié)議3篇
- 2024年環(huán)保型挖掘設(shè)備租賃合同規(guī)范3篇
- 2024藝術(shù)特長生培養(yǎng)協(xié)議書:家長與學生責任共擔3篇
- 應(yīng)急處突知識培訓課件
- 飲食安全知識培訓課件
- 2024年車輛貸款還款計劃表3篇
- 倉庫知識培訓課件
- 《鐵道概論課件》課件
- NB-T 47013.15-2021 承壓設(shè)備無損檢測 第15部分:相控陣超聲檢測
- 英文 補充協(xié)議 模板
- 安徽省生豬養(yǎng)殖業(yè)低碳發(fā)展模式及技術(shù)經(jīng)濟效果研究的中期報告
- 風管機空調(diào)安裝施工方案
- 2023-2024學年江蘇省蘇州市數(shù)學六年級第一學期期末統(tǒng)考模擬試題含答案
- 人教版三年級上冊關(guān)于估算的數(shù)學題
- 食堂餐飲配送投標方案
- 公共關(guān)系禮儀實務(wù)學習通超星課后章節(jié)答案期末考試題庫2023年
- 紫草科旋花科馬鞭草科唇形科茄科課件
- 物品移交登記表格模板
評論
0/150
提交評論