剑知北美生活快报   版面列表   admin登录
JiansNet Logo


如何在Linux和windows上迅速建立svn+ssh

by JC, published: 2010-12-03 04:53 viewed: 594 times
想了解更多的美国生活窍门?请订阅: JC写的剑知北美生活快报。
Subversion source control不仅仅对于程序员有用,也可以作为文件备份的好工具。但安装svn, 有些步骤经常忘记。所以,写此篇文章记录自己的安装步骤并分享给大家. Subversion有几种连接方式,我们只用svn+ssh的方式.

*** Linux SVN Setup ***

To setup svn in the /var/ directory:

1) install svn server on Linux.

2) svnadmin create /var/svn/, it will auto-create the svn/ directory.

3) in conf/svnserve.conf:

[general]
anon-access = none
auth-access = write

*** Windows TortoiseSVN setup ***

1) Remember the password:

In windows, right click in Explorer -> Tortoise SVN -> Settings
Go to the NETWORK setting and in the SSH Client box, enter:
C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -pw [linux.password]

2) create a folder "c:\svn"

3) right click the "c:\svn" folder and select "SVN Checkout..."

4) URL of Repository:
svn+ssh://[linux.username]@[svn.server.ip]/var/svn/
**username is your linux username

Notes:
To reset password, clear the saved data in TotoiseSVN.

Happy svn'ing!
本文版权属于美国剑知信息网。如需转载,请先同我们联系。
订阅JC写的剑知北美生活快报,您会了解到更多的美国生活窍门。
Related Articles:
• 美国10种比你想象的要好得多的工作
• Foreigner Starting A Business In USA
• 如何查美国哪些公司Sponsor H1b?
• 推荐几个美国求职和公司研究网站
• Job Comparison Among Amazon Microsoft Google
• How Many Companies Sponsor H1B and Where to Find'em?
• F1 Moving To H1b visa or E-2 visa
• 美国汽车保险公司insurance经验谈
• 美国租车保险和信用卡(Credit Card Car Rental Insurance)
美国Business | 返回顶部 | 返回首页
About Us | Advertise with Us | Privacy Policy
Copyright © 2007-2016, All Rights Reserved.