If you've already tried to compile subversion for Fedora 19, and you got the error message when doing a svn update of svn checkout:
Unrecognized URL scheme for ...
then you have to compile subversion with https support. This is done by default, but you have to have the serf libraries installed. Here's how to get things working:
sudo yum install libserf libserf-devel apr-util apr-util-devel apr apr-devel
Then, you can compile subversion normally, like this:
tar -zxvf subversion-1.8.10.tar.gz
cd subversion-1.8.10
./configure
make -j16
sudo make install
Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts
Tuesday, October 7, 2014
Wednesday, July 3, 2013
How to get viewvc working with Apache httpd and Fedora and subversion (svn)
- Get subversion working with httpd first. (See http://muddyazian.blogspot.com/2013/05/how-to-start-subversion-repository-over.html)
- yum install viewvc viewvc-httpd
- Edit /etc/viewvc/viewvc.conf and modify the svn_roots and root_parents options.
- Edit /etc/httpd/conf/httpd.conf and add in the following:
<Directory /usr/lib/python2.7/site-packages/viewvc/bin/mod_python>
Order allow,deny
Allow from all
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile /etc/svn-auth-users
Require valid-user
</Directory>
<Directory /usr/share/viewvc/templates/docroot>
Order allow,deny
Allow from all
</Directory>
Alias /viewvc-static "/usr/share/viewvc/templates/docroot/images"
...
ScriptAlias /viewvc /usr/lib/python2.7/site-packages/viewvc/bin/cgi/viewvc.cgi
ScriptAlias /query /usr/lib/python2.7/site-packages/viewvc/bin/cgi/query.cgi
- Restart the web server: /sbin/service httpd restart
- Go to http://localhost/viewvc
- If you haven't already done so, create the /etc/svn-auth-users file:
htpasswd -cm /etc/svn-auth-users firstUsername
New password:
Re-type new password:
Adding password for user firstUsername
/usr/lib/python2.7/site-packages/viewvc/bin/standalone.py -r /path/to/svn/repository/location
Then in firefox, go to http://localhost:49152/viewvc
Thursday, May 16, 2013
How to start a subversion repository over http using apache on Fedora or RHEL Linux
This is a great tutorial about how to do it really easily:
http://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedora-centos-red-hat-rhel/
http://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedora-centos-red-hat-rhel/
Subscribe to:
Posts (Atom)