跳到主要內容

Installation of Subversion Server and Client on Windows Platform

1. Download Subversion latest version

2. Download Tortoise (Subversion Client) Latest version

The latest version of the software has been downloaded in the folder

Steps for Server Part

1. Install the server and install the Tortoise client on the Server computer

(The reason to install Tortoise client on the server computer is because Tortoise client can help you to create and manage repository in the server computer and you can forget about the admin command of subversion server. Note that the newest version of Tortoise only uses file based repository and does not use BD format repository. The file based repository is recommended by Tortoise and community.

2. Create Repository in server using command line

svnadmin create "m:\svn_repos

or Using Tortoise

Right click the m:\svn_repos directory and select create repository here

3. Run the Server. By the following command.(Assume subversion is installed at c:\subversion\)

c:\subversion\bin\svnserve.exe --daemon --root M:\svn_repos

4. Right Click any where in the desktop and choose Tortoiseàrepo-browser

Assume you are going to create a new project called monkey, then inside the repo-browser, create the following directory structure

e.g. /monkey/trunk

/monkey/branches

/monkey/tags

5. Open svn_repos\conf\svnserv.conf

i) uncomment the following lines

anon-access = read

auth-access = write

password-db = passwd

Open passwd

i) add username and password pairs there

ii) restart the server

6. Install it as a service (Optional)

Tricky part is: Beware of the space after the = sign

sc create svnserve binPath= "c:\Subversion\bin\svnserve.exe --service -r M:\svn_repos" DisplayName= "Subversion Service" depend= Tcpip

Remark: In 10.11.5.107 Windows 2003 server, I fail to do so, In Windows XP, I succeed.

Steps for Client Parts

1. Install Tortoise and reboot the computer. Reboot is required because Tortoise is integrated into your Windows Explorer.

Note if you are using Windows 2000, you need to download a GDIPlus component from Microsoft It is downloaded for your and is located inside the software folder. The name of the file is WindowsXP-KB957096-x86-ENU.exe.

2. Create a Project directory. E.g. c:\develop\monkey

Right click inside the monkey directory and press Checkout.

In the URL of the repository, enter

svn://10.11.5.107/monkey/trunk

Press Ok to continue

3. Choose the right repository and press ok. You may start to use the subversion.

4. Note that the main idea of subversion is edit-merge (resolve conflict) and commit. It optimistically allows edit of any files and resolves the conflict during the update or commit stage. If you want to prevent this, you may require each teammate to acquire a lock on a file before editing so that others know the file is being edited and do not change that.

Note:

1. Please also see the reference document from downloaded from Internet. It is inside the folder

subversion_installation\ref\subversion_installation

2. Visual Studio has integration support for subversion but Visual Studio Express does not.

留言

這個網誌中的熱門文章

Setup Tomcat HTTPS (with JDK 8 to Java 15) in 2 mins

  Setup Tomcat 9 HTTPS/SSL To have a quick view, you may see the video(s): https://www.youtube.com/watch?v=WDGoF13vhZU 1. Generate Keystore I am using JDK 15 to generate the keystore. But the steps are similar with Tomcat 6 + openjdk 8(as I have tried it before writing this doc) Use “keytool” command to create a self-signed certificate. During the keystore creation process, you need to assign a password and fill in the certificate’s details. D:\apache-tomcat-9.0.38\conf>keytool -genkey -alias tomcatks -keyalg RSA -keystore D:\apache-tomcat-9.0.38\conf\tomcatks When enter the passwords during generation, please make sure the two passwords you entered are the SAME. This is the requirement of Tomcat. Here is the abstract from Tomcat installation  Finally, you will be prompted for the key password , which is the password specifically for this Certificate (as opposed to any other Certificates stored in the same keystore file). You MUST use the same password here as was used f...

全港乒乓球錦標賽 09 甲組賽事

今天換個輕鬆一點的題目,看看精彩的乒乓球 我在這裏介紹有個Channel有很清晰的乒乓球比賽片段,是全港乒乓球錦標賽甲組的賽事,其中有高澤禮在香港比賽的最新的片段 ,我相信這種場面很少有機會見到,因為,第一是業餘對專業,我在電視中都未看過,是認真比賽的那一種,不是國家隊奧運完結之後派冠軍來的表演賽,大家放軟手腳逗下逗下的那一種,可觀性高很多,第二,拍攝很有現場感,就算電視台都很少見到這樣的角度,就像親臨現場一樣。 雖然高禮澤貴為國際頂級球員,但落到這場地區賽事的時候都非常認真;雖然他技術高幾班,但認真程度從有球滴死對手時,球証看不清楚,而他正領先下,他都幫忙指証便可看出。 他是港隊中又有善又認真的專業球員,希望給年輕球員有認真對陣高水準球員的機會。 http://www.youtube.com/watch?v=nSo6Kg0vEus (這幾局可能是平均分數最接近的比賽) http://www.youtube.com/watch?v=LTJuYI906AI 還有很多其他攝錄質素很高的片段 謝嘉俊(港隊代表) vs 趙頌熙(港隊少年代表,在港有乒乓神童之稱,曾在11歲時贏得中國全國兒童賽冠軍) http://www.youtube.com/watch?v=zNEG2CzrDMI 謝嘉俊(港隊代表) vs 王德龍 09全港公開乒乓球單項錦標賽 Part 1 http://www.youtube.com/watch?v=OIeSo9V5V-0 趙頌熙(青少年港隊代表) 對 陳嘉耀 09全港公開乒乓球單項錦標賽 決勝局 Part 1 http://www.youtube.com/watch?v=jpaXjLL1bT4 陳文鋒 對 蔡鎮滔 2009全港公開乒乓球單項錦標賽 Part 2 http://www.youtube.com/watch?v=ZdcG8-I0buw&feature=channel_page 或者可以直接溜灠這個channel頻道 http://www.youtube.com/ppball

Files sharing problem between Windows 2003 server host and virtual machine

Regarding VMServer 1.08, when I copy files between a Windows 2003 host and a vm(no matter it is Windows XP or Windows 2003 Server), the following error prompted out arbitrarily, usually for copying large files. First I thought I had solved it by disabling the Jumbo frame and any kind of flow control in network card advance setting. It corrected the problem for most of the cases until I came across a situation to copy a 600MB file, the captioned error "network name is no longer available " prompted out after 10 to 20 seconds. It was not easy to find the solution as there are many cases, with different reasons, having the same symptom, thus I jot it down for a record. 1. Disable Jumbo frame, or any kind of flow control (try disabling Jumbo frame first) 2. Disable Denial of service attack in Windows 2003. Microsoft had acknowledged it has problem by itself in some cases. VMWare Server and "...network name is no longer available..." Did you ever receive following erro...