install svn and trac using yum
Config svn:
- Installed Subversion:
$ yum install subversion - Installed mod_dav_svn:
$ yum install mod_dav_svn - Create a new project environment. An environment is basically a directory that contains a human-readable configuration file and various other files and directories. Create a subversion repository if you don't already have one, for example in /srv/svn:
$ sudo mkdir -p /srv/svn
$ sudo svnadmin create --fs-type fsfs /srv/svn - Edit /etc/httpd/conf.d/subversion.conf
DAV svn
SVNPath /srv/svn
# how to authenticate a user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /srv/conf/userfile.htpasswd
# only authenticated users may access the repository
Require valid-user - restert httpd server
$ service httpd restart - Updated permissions on my new SVN repository:
$ sudo chown -R apache /srv/svn
Config trac:
Labels: install
0 Comments:
Post a Comment
<< Home