Subversion is an Open-Source Version Control System. It designed to make life easy. It helps in file and directory management. Instead of using pendrive or external hard disk to transfer or exchange projects with their team members, users need perform only few simple steps to update and commit their latest projects. Subversion operate across networks, means users from different location can combine their project with their members easily. In addition, it allows users to examine what was changed in the projects and review the progress of project.
- XAMPP-win32 version 1.7.1
- TortoiseSVN version 1.6.3
- Subversion-setup version 1.6.3
- SVN Manager version 1.05
XAMPP Installation
- Download the latest XAMPP version from http://www.apachefriends.org
- Install to C:\xampp
TortoiseSVN Installation
- Download the latest version of TortoiseSVN from http://tortoisesvn.net
- Perform default installation
- Restart the computer
Subversion Installation
- Download the latest version of Subversion from http://subversion.tigris.org
- Install Subversion to C:\Program Files\Subversion\
- Create a SVN directory, C:\svn
- Create a SVN configuration directory, C:\svn\conf
- Create a SVN repository directory, C:\svn\repos
- Populate the SVN authentication file by compile htpasswd.exe in command prompt
C:\xampp\apache\bin\htpasswd.exe -c C:\svn\conf\passwdfile username - Create a repository by compile svnadmin.exe in command prompt
C:\Program Files\Subversion\bin\svnadmin.exe create C:\svn\repos\myrepos - Stop the Apache at XAMPP control panel
- Copy the following files from C:\Program Files\Subversion\bin to C:\xampp\apache\modules
mod_dav_svn.so
mod_authz_svn.so - Open Apache httpd.conf file which is located at C:\xampp\apache\conf
- Make sure the following two commands are uncommented
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so - Add the following commands in httpd.conf
#SVN
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
#SVN
<Location /repos>
DAV svn
SVNParentPath C:/svn/repos/
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile C:/svn/conf/passwdfile
Require valid-user
</Location> - Start the Apache at XAMPP control panel
- If cant start the Apache, check the error by using the following command or try to restart the computer
C:\xampp\apache\bin\apache.exe
SVN Manager Installation
- Download the latest SVN Manager version from http://svnmanager.sourceforge.net
- Extract the zip file to C:\xampp\htdocs\
- Rename the folder to svnmanager
- Rename the config.php.win file to config.php which is located inside svnmanager folder
- Open the config.php file and edit the command as shown as below
//
//SVNManager config.php file for Windows based servers
//
$htpassword_cmd = "c:\\Progra~1\\Apache~1\\Apache2\\bin\\htpasswd";
$svn_cmd = "c:\\PROGRA~1\\Subversion\\bin\\svn";
$svnadmin_cmd = "c:\\PROGRA~1\\Subversion\\bin\\svnadmin";
//Subversion locations
$svn_repos_loc = "c:\\svn";
$svn_passwd_file = "c:\\svn\\svn_passwd_file";
$svn_access_file = "c:\\svn\\svn_access_file";
to
//
//SVNManager config.php file for Windows based servers
//
$htpassword_cmd = "c:\\xampp\\apache\\bin\\htpasswd";
$svn_cmd = "C:\\Program Files\\Subversion\\bin\\svn";
$svnadmin_cmd = "C:\\Program Files\\Subversion\\bin\\svnadmin";
//Subversion locations
$svn_repos_loc = "c:\\svn\\repos";
$svn_passwd_file = "c:\\svn\\conf\\passwdfile";
$svn_access_file = "c:\\svn\\conf\\accessfile"; - Uncomment and edit the following command
//$dsn = "mysql://svnmanager:svnmgmpw@localhost/svnmanager";
to
$dsn = "mysql://svnmanager:svnmanager@localhost/svnmanager"; - Edit Apache httpd.conf file which is located at C:\xampp\apache\conf
#SVN
<Location /repos>
DAV svn
SVNParentPath C:/svn/repos/
AuthType Basic
AuthName "Subversion repository"
AuthUserFile C:/svn/conf/passwd
Require valid-user
</Location>
to
#SVN
<Location /repos>
DAV svn
SVNParentPath C:/svn/repos/
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile C:/svn/conf/passwdfile
AuthzSVNAccessFile C:/svn/conf/accessfile
Require valid-user
</Location> - Restart the Apache at XAMPP control panel
- Open the web browser and type in the URL http://localhost/svnmanager, login by enter the username = admin and password = admin. This username and password are for first time login only
- ** Example URL of repository : http://127.0.0.1/repos/myrepos
1 comments:
ya sigue todos los pasos y xampp sigue si abrir
Post a Comment