Subversion
Task 1: Create respository
1. Open Console, use user root
$ su -
2. Type command:
$ svnadmin create --fs-type fsfs /home/svn_root/repos
Task 2: Authorize users
1. Type command:
$ cd /home/svn_root/repos/conf/
2. Edit files:
* authz
[groups]
ciren = taina
[/]
taina = rw
[repository:/]
@ciren = rw
* passwd
[users]
taina=[passwd]
* svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
realm = Tai Nguyen's Subversion
Task 3: Start SVN
Type command:
$ svnserve -d -r /home/svn_root/
Note : If error "Can't bind server socket" happens, execute "ps -ef | grep svn" and "kill <svn process>".
Task 4: Install svnserve Windows Service
Case 1
1. Run command-line.
2. Type following command:
\sc create
binpath= "c:\svn\bin\svnserve.exe --service"
displayname= "Subversion Repository"
depend= Tcpip start= auto
(SC.EXE for "Service Control")
Case 2
1. Download 2 Resource Kit files Instrsrv.exe (installs and removes system services from Windows NT/2000) and Srvany.exe (allows any Windows application to run as a service).
2. Copy both files into the same directory, ex: C:\reskit.
3. Run command-line.
4. Type following command:
\reskit\INSTSRV.EXE "Service Name" \reskit\SRVANY.EXE
5. Run regedit.
6. Next navigate to this registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name
7. From the Edit menu, click Add Key and name it Parameters
Next from the Edit menu, click Add Value and type this information.
Value Name: Application
Data Type : REG_SZ
String :\ (Ex: C:\svn\svnserve.exe -d -r C:\repos)
http://www.tacktech.com/display.cfm?ttid=197
SmartSVN
Task 1: Add repository
1. From the main menu, select Repository > Manage Profiles...
2. In tab Profiles, click Add...
3. Complete the Add Repository Profile dialog with the following information:
* Location
* Details
Task 1: Create respository
1. Open Console, use user root
$ su -
2. Type command:
$ svnadmin create --fs-type fsfs /home/svn_root/repos
Task 2: Authorize users
1. Type command:
$ cd /home/svn_root/repos/conf/
2. Edit files:
* authz
[groups]
ciren = taina
[/]
taina = rw
[repository:/]
@ciren = rw
* passwd
[users]
taina=[passwd]
* svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
realm = Tai Nguyen's Subversion
Task 3: Start SVN
Type command:
$ svnserve -d -r /home/svn_root/
Note : If error "Can't bind server socket" happens, execute "ps -ef | grep svn" and "kill <svn process>
Case 1
1. Run command-line.
2. Type following command:
binpath= "c:\svn\bin\svnserve.exe --service
displayname= "Subversion Repository"
depend= Tcpip start= auto
(SC.EXE for "Service Control")
Case 2
1. Download 2 Resource Kit files Instrsrv.exe (installs and removes system services from Windows NT/2000) and Srvany.exe (allows any Windows application to run as a service).
5. Run regedit.
6. Next navigate to this registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name
Next from the Edit menu, click Add Value and type this information.
Value Name: Application
Data Type : REG_SZ
String :
http://www.tacktech.com/display.cfm?ttid=197
SmartSVN
Task 1: Add repository
1. From the main menu, select Repository > Manage Profiles...
2. In tab Profiles, click
3. Complete the Add Repository Profile dialog with the following information:
* Location
Access Method: SVN Server Name: localhost Repository Path: /repos Server Port: Default - Click Next
Check User Name/Password at SVN Login Input user name and password (ex: taina/pass) Check Store password on disk and Verify connection when pressing 'Next' - Click Next
- Click Finish