SVN8.COM - SVN中文技术网

投递文章 投稿指南 SVN中文技术网公告:进入论坛最新公告最新公告
搜索: 您的位置主页>SVN介绍>SVN+SSL在Fedora Apache上的配置

SVN+SSL在Fedora Apache上的配置

2008-04-20 22:34:30   来源:   作者:   【 评论:0 点击:
Finally, we got a tool does 95% of what we really want! I have been experiencing it for the whole day. Great tool! I even see the hour booking function which never see it in any other tools but very necessary for European clients.

I got requests from every of client for a project management tool, I tried to build one before but obviously I lack the time of it. It seems strange that this guy did aMUCH MUCHbetter job than I can think of.

This is the company platform, everyone should be active here.

Have fun and I am loving it.



很高的评价,不是吗?

在昨天装好svn+SSL后我也在redmine上写了篇新闻。


This is the first time trying to installSVNandSSLunder a linux server. I did it under ubuntu on my own computer before.

They are quite different. our linux server’s version is Fedora Core 4 and I only have some experiences on ubuntu distribution system. and the one I used is desktop edition and the linux server we’re on it right now is server edition. for example: you can useapt-get install subversionto install packages on ubuntu, but you have to useyum install subversionto install them on the server.

For security reason, I’ve setupSSLto protect the source code when we check-in or check-out. I used openssl to generate a cert file and configured it in the httpd.conf configuration file of apache. there are some tips would be very useful. so write them down here.(I remembered that DongHui guy has asked me for OpenSSL, I hope this information would be a help for him.)

  1. create the key and request:
    openssl req -new > new.cert.csr
  1. remove the passphrase from the key (optional):
    openssl rsa -in privkey.pem -out new.cert.key
  1. convert request into signed cert:
    openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 1024

The other steps are pretty easy like under windows. the only thing I met was I couldn’t find mod_dav_svn.so and mod_authz_svn.so these 2 files. but fortunately I got a way to solve this by using these code:yum install mod_dav_svn/yum install mod_authz_svn.

OK, to tell the truth there was another problem we ever had. that’s caused by the permissions. I use ‘svnadmin create’ to create a repository, and it seemed working fine. I could log into it and saw the revision number, but when we tried to check-in code files, it said that we had no permission to do that. that’s caused by when I loged into the system as root and created a repository, so the default owner of this directory is root and the apache account couldn’t write contents to the directory. that’s why we got this error. when we knew this, the solution was pretty easy,chown apache.apache /svn/ -R, OK, no problem now.

Finally, it’s working. there is one thing left and I have no idea for now, it’s we have to log into the system via ssh when we want to create a svn account.

This spent me about 2 hours to do that. but I think it’s worth. from it I know something about linux andSVN. :)

However, I think this is very valuable experience, so I write it down here to share with all of us and also to improve my English. ;)


Have fun and keep hard-working!




录入:SVN中文技术网[www.svn8.com]
Tags:  
责任编辑:
  • 请文明参与讨论,禁止漫骂攻击。 用户名:新注册) 密码: 匿名:
    评论总数:0 [ 查看全部 ] 网友评论
    关于我们 - 联系我们 - 广告服务 - RSS订阅 - 网站地图 - 返回顶部