linux下svn服务搭建

安装svn需要依赖apr和apr-util这两个软件,所以先安装这两个软件

下载安装APR
wget http://apache.fayea.com//apr/apr-1.5.2.tar.gz
tar -zxvf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr && make && make install
下载安装apr-util
wget http://apache.fayea.com//apr/apr-util-1.5.4.tar.gz
tar -zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make && make install

下载安装svn

wget http://mirror.bit.edu.cn/apache/subversion/subversion-1.9.2.tar.gz
tar -zxvf subversion-1.9.2.tar.gz
cd subversion-1.9.2
在当前目录下载sqlite
wget http://www.sqlite.org/sqlite-amalgamation-3071501.zip
然后配置
./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
make && make install

新建一个目录用于存储SVN所有文件

mkdir /home/svn
新建一个资源仓库
svnadmin create /home/svn/project
后台运行SVN服务
svnserve -d -r /home/svn
vim /etc/rc.local 添加上面一行用于SVN开机启动

svn设置钩子(hooks)
进入hooks目录
cp post-commit.tmpl post-commit
chmod 777 post-commit
post-commit脚本内容
/usr/bin/svn update –username svn –password svn123svn /home/wwwroot/test1.com

6,021 Responses

  1. Hi there! I understand this is somewhat off-topic however I had to ask.
    Does running a well-established blog like yours take a massive amount work?
    I’m completely new to operating a blog however I do write
    in my journal daily. I’d like to start a blog so I will be able to share my experience and views
    online. Please let me know if you have any kind of recommendations or tips for new aspiring bloggers.
    Appreciate it!

  2. Excellent post however , I was wanting to know if you
    could write a litte more on this subject?
    I’d be very grateful if you could elaborate a little bit more.
    Kudos!

  3. Hello There. I found your blog using msn. This is
    an extremely well written article. I will make sure to
    bookmark it and come back to read more of your useful information. Thanks for the post.

    I’ll certainly comeback.

  4. Howdy! Would you mind if I share your blog with my myspace group?
    There’s a lot of people that I think would really appreciate
    your content. Please let me know. Thank you

  5. Hello! Do you know if they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but
    I’m not seeing very good results. If you know of any please
    share. Thanks!

  6. whoah this weblog is wonderful i love studying your articles.
    Keep up the good work! You know, a lot of persons are looking round for this information,
    you can aid them greatly.

  7. Can I simply just say what a relief to uncover a person that really understands what they’re discussing on the net. You certainly know how to bring an issue to light and make it important. A lot more people have to check this out and understand this side of your story. I was surprised that you aren’t more popular given that you definitely have the gift.

    http:///www.manulescu.com – manumanu

  8. After going over a few of the blog posts on your blog, I really
    like your technique of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Please visit my
    website too and tell me what you think.

  9. Nice post. I learn something new and challenging on sites I stumbleupon everyday.
    It will always be useful to read through articles from other authors and practice a little something from other sites.

  10. Excellent goods from you, man. I’ve understand your stuff previous to
    and you are just too excellent. I actually like what you have acquired here,
    certainly like what you are saying and the way in which you say it.
    You make it entertaining and you still care for to keep it wise.

    I can’t wait to read far more from you. This is actually a wonderful website.

  11. I have been surfing online more than three hours today, yet I
    never found any interesting article like yours.
    It’s pretty worth enough for me. In my opinion, if all website
    owners and bloggers made good content as you did,
    the web will be much more useful than ever
    before.

  12. Usually I don’t learn article on blogs, but I wish to say that this write-up very
    forced me to take a look at and do so! Your writing style has been surprised me.
    Thanks, quite nice post.

  13. really nice

    This is really established tidings my friend. you are a very well-proportioned novelist . i hunger to share with you my website as well. proclaim me what do you believe fro it

    buy youtube views

    Thankyou again for posting such good content. Cheers

  14. First off I want to say wonderful blog! I had a quick question which I’d like to
    ask if you don’t mind. I was curious to find out how you center yourself and clear your head before
    writing. I’ve had a difficult time clearing my mind in getting my thoughts out there.
    I do enjoy writing but it just seems like the first 10 to 15 minutes are usually wasted
    simply just trying to figure out how to begin. Any recommendations
    or tips? Cheers!

  15. Wow, superb blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your site is magnificent, as well as the content!

  16. Hi, I do believe this is an excellent web site. I stumbledupon it 😉 I’m going
    to return once again since I book-marked it. Money and freedom is the best
    way to change, may you be rich and continue to help other people.

  17. Hello, Neat post. There is an issue along with your website in web explorer, would check this?
    IE still is the market leader and a big section of other folks will omit your great writing because
    of this problem.

  18. Undeniably imagine that which you said. Your favorite reason appeared to be on the net the simplest thing to take note of.
    I say to you, I definitely get annoyed even as other folks consider issues that they just
    do not realize about. You controlled to hit the nail upon the
    highest and defined out the whole thing with no need side
    effect , other folks could take a signal. Will likely be
    back to get more. Thank you

  19. I’m pretty pleased to discover this website. I wanted to thank
    you for ones time due to this fantastic read!!
    I definitely loved every part of it and i also have you saved as a favorite
    to check out new things on your blog.

  20. Hey there! I’ve been following your weblog for a while now and finally got the bravery to go ahead and give you a
    shout out from Porter Tx! Just wanted to say keep up the great job!

  21. This can be a very interesting post. We like that you only provide quality information and not write about something.
    Maintain it up and you should get to great results.

    Exactly what do an individual think about my internet site? magazin articole pescuit

  22. This is a really fascinating website I sine qua non say.

    Too unsatisfactory that there are not too various websites like This anymore. But I am exhilarated that I develop it. Ok champion calligraphy on it .

    You can see my website here as comfortably: xbody

  23. Hey there! I could have sworn I’ve been to this blog before but after checking through some of the
    post I realized it’s new to me. Nonetheless, I’m definitely glad I found it and I’ll be bookmarking and checking back often!

  24. Thanks for the marvelous posting! I actually enjoyed reading it, you will be a great author.
    I will remember to bookmark your blog and definitely will come back at some point.
    I want to encourage you to definitely continue your great
    job, have a nice holiday weekend!

  25. Hey I know this is off topic but I was wondering
    if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some
    experience with something like this. Please let me know if you run into anything.

    I truly enjoy reading your blog and I look forward to your
    new updates.

  26. Very nice post. I just stumbled upon your weblog and wanted to say that
    I’ve truly enjoyed surfing around your blog posts.
    In any case I’ll be subscribing to your feed and I hope you write
    again very soon!

  27. I want to convey my love for your kindness giving support to folks that should have assistance with that niche. Your very own dedication to passing the solution all through had become certainly significant and have all the time permitted ladies much like me to attain their pursuits. Your important advice can mean a whole lot to me and even more to my office workers. Many thanks; from everyone of us.

  28. My spouse and i were really joyous Jordan managed to round up his research using the precious recommendations he received from your own site. It is now and again perplexing to just happen to be giving freely concepts that some others might have been trying to sell. And we keep in mind we need the blog owner to be grateful to for that. Most of the illustrations you have made, the simple blog menu, the friendships you help create – it is everything remarkable, and it’s really assisting our son in addition to our family consider that this matter is awesome, and that is seriously pressing. Thank you for the whole thing!

  29. Hi there every one, here every person is sharing these kinds of know-how,
    thus it’s pleasant to read this web site, and I used to visit this
    webpage everyday.

  30. Thanks for every other informative blog. The place else may just
    I get that type of info written in such an ideal means?
    I have a project that I’m just now running on, and I
    have been on the glance out for such information.

  31. Please let me know if you’re looking for a author for your weblog.

    You have some really great articles and
    I think I would be a good asset. If you ever want to take some of the load off,
    I’d absolutely love to write some material for your
    blog in exchange for a link back to mine. Please send me an email if interested.
    Thanks!

  32. Fantastic goods from you, man. I’ve understand your stuff previous to and you
    are just too fantastic. I really like what you have acquired here, really like what you are saying
    and the way in which you say it. You make it entertaining and you still care for to keep it smart.
    I can’t wait to read much more from you. This is really a wonderful
    web site.

  33. I’m now not certain the place you are getting your information, however good topic.
    I needs to spend some time learning much more or working out
    more. Thank you for great info I used to be in search of this info for
    my mission.

  34. Hello there, just became alert to your blog through
    Google, and found that it is truly informative. I am going to watch out for brussels.
    I will be grateful if you continue this in future. Numerous people will be benefited from your writing.
    Cheers!

  35. Wow that was strange. I just wrote an really long comment but after I clicked submit my comment didn’t
    appear. Grrrr… well I’m not writing all that over again.
    Anyways, just wanted to say excellent blog!

  36. We’re a group of volunteers and opening a new scheme in our community.

    Your site offered us with valuable info to work on. You’ve done an impressive job and our whole community will
    be grateful to you.

  37. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails
    with the same comment. Is there any way you can remove people from that service?
    Appreciate it!

  38. I’ve been browsing online more than 2 hours today, yet I never found any interesting
    article like yours. It’s pretty worth enough for me.

    Personally, if all webmasters and bloggers made good content as you did, the net will be a lot more useful
    than ever before.

  39. Hiya! Quick question that’s entirely off topic.
    Do you know how to make your site mobile friendly? My site looks weird when browsing from my apple iphone.

    I’m trying to find a theme or plugin that might be able
    to resolve this issue. If you have any recommendations, please share.
    Appreciate it!

  40. Trazodone Buy Online In United States Drug Interactions Xanax Amoxicillin Cialis Kamagra Vendita In Francia Dosis De Propecia Bentyl Medicine Mastercard Accepted With Free Shipping

  41. Hello would you mind stating which blog platform you’re working with?
    I’m looking to start my own blog in the near future but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design seems different then most blogs and I’m
    looking for something completely unique. P.S My apologies
    for being off-topic but I had to ask!

  42. Hey there! Someone in my Myspace group shared this site with us so I
    came to take a look. I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers!
    Wonderful blog and great design and style.

  43. I am not sure where you are getting your info,
    but good topic. I needs to spend some time learning more or understanding more.

    Thanks for fantastic info I was looking for this information for my
    mission.

  44. May I just say what a comfort to uncover somebody who really understands what they’re discussing on the
    internet. You definitely know how to bring a problem to
    light and make it important. A lot more people must read this and understand this side of your
    story. I can’t believe you’re not more popular given that you most
    certainly have the gift.

  45. Hi! I could have sworn I’ve been to this site before but after reading through some of
    the post I realized it’s new to me. Nonetheless, I’m definitely
    delighted I found it and I’ll be bookmarking and checking back
    frequently!

  46. Howdy this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors
    or if you have to manually code with HTML. I’m starting
    a blog soon but have no coding experience so I wanted to get advice from someone with experience.
    Any help would be greatly appreciated!

  47. Oh my goodness! Amazing article dude! Thanks, However I am
    experiencing problems with your RSS. I don’t understand the reason why I am unable to join it.

    Is there anybody else having identical RSS problems?
    Anybody who knows the solution can you kindly respond?
    Thanx!!

  48. I was wondering if you ever considered changing the page layout of your website?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could
    connect with it better. Youve got an awful lot of text for only having one or two pictures.
    Maybe you could space it out better?

  49. I do trust all of the concepts you’ve offered in your post.
    They’re very convincing and can definitely work.
    Nonetheless, the posts are very brief for newbies. Could you
    please prolong them a bit from next time? Thank you for the post.

  50. Howdy just wanted to give you a quick heads up and
    let you know a few of the pictures aren’t loading properly.
    I’m not sure why but I think its a linking issue.

    I’ve tried it in two different browsers and both show the same results.

  51. The most common technique of recovering loans is
    that the borrower is asked to draft a post-dated
    check (check with a future date) for the lender
    and if the check fails or if it bounces, then a dilemma is designed to be described as a prison for check fraud.

    These loans are manufactured accessible to both creditors with good credits and with bad credits.
    Normally the interest rate of those loans keeps loaded
    with comparison from a other fiscal deals.

  52. The borrower can mend their credit rating to get affordable by timely repaying of loan money.

    AThe only reason your payday lender will make use of civil action is that if these are hopeless about getting their funds back.
    So, you will be clear of all the hassle of collateral assessment process ,
    involving time and effort and effort.

  53. These loans in additіon to their lenders just don’t just giνe awаʏ loans quiϲkly.
    Thе main advantage іѕ they arе manufactured οn hand at your door steps,
    thᥙs saving ʏ᧐u time of standing in never еnding
    bank lines and money оn traveling. Ѕome online loan companies have
    the ability to deliver yоur emergency cash іnside ɑ Ԁay oг twо; while оther
    money lenders аre abⅼe to ⅾo it in οne day or ⅼess.

  54. Whiϲһ means that yoᥙ’ll want to pay one of them loans off аs
    գuickly aѕ possibⅼe to kеep a person’s eye from
    adding up. So І coսld now give an upfront payment to
    my contractor to fіnd tһe w᧐rk stɑrted. Payday loans ԝork as а best financial tool involving the two consecutive paydays.

  55. Applying for a payday loan on the web is the easiest method to access the funds you’ll
    need from the shortest possible time period.
    These loans are created offered to both creditors with good credits
    with bad credits. You may want to also browse the ends in the proper
    panel or at the very top too because these companies pay to get presented on these serp’s which typically means
    they pretty top quality companies.