In Centos6.3, SVN1.8.9 supports http and https.

Source: Internet
Author: User

Operating System: Centos6.3

SVN version: 1.8.9

The svn compiled and installed yesterday is successful, and can be used in eclipse... however, on linux, run svn checkout http ://.... an error occurred while running the command...

Svn: E170000: Unrecognized URL scheme

Svn again -- version

Svn, version 1.8.9 (r1591380)
Compiled Jun 7 2014, 06:14:20 on x86_64-unknown-linux-gnu


Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by province people;
See the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/


The following repository access (RA) modules are available:


* Ra_svn: Module for accessing a repository using the svn network protocol.
-Handles 'svn 'scheme
* Ra_local: Module for accessing a repository on local disk.
-Handles 'file' scheme

I found that the dev module was not loaded at all .....

Before svn1.8, the original installation method was used to load the modules to dav. However, after version 1.8, the serf software package must support access to the http Version library. Otherwise, an error will be reported. serf needs to use scons for compilation and installation, so install scons first.

Wgethttp: // downloads.sourceforge.net/project/scons/scons/2.3.0/scons-2.3.0-1.noarch.rpm? R = http % 3A % 2F % 2Fwww.scons.org % 2F & ts = 1387258358 & use_mirror = softlayer-ams

Rpm-ivh scons-2.3.0-1.noarch.rpm

Download, compile and install scons

Wget https://serf.googlecode.com/files/serf-1.3.3.tar.bz2

Scons PREFIX =/home/rely/serf APR =/home/rely/apr APU =/home/rely/apr-util OPENSSL =/usr/bin

Tar-jxvf serf-1.3.3.tar.bz2

Cd serf-1.3.3

Scons install

Re-compile svn and add -- with-serf =/home/rely/serf

. /Configure -- prefix =/home/svn/server -- with-apxs =/home/apache/bin/apxs -- with-apr =/home/rely/apr/bin/apr-1-config -- with-apr-util =/home/rely/apr-util/bin/apu-1-config -- without-berkeley-db -- with-openssl -- enable-maintainer-mode -- with-sqlite =/ home/sqlite -- with-zlib =/home/rely/zlib -- with-serf =/home/rely/serf

Add another step, copy the libserf-1.so.1 In the serf source code package to the lib directory under the svn installation directory, otherwise it will report an error

Svn: error while loading shared libraries: libserf-1.so.1: cannot open shared object file: No such file or directory

Cp libserf-1.so.1/home/svn/server/lib

Svn -- version: View information

Svn, version 1.8.9 (r1591380)
Compiled Jun 8 2014, 01:20:36 on x86_64-unknown-linux-gnu


Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by province people;
See the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/


The following repository access (RA) modules are available:


* Ra_svn: Module for accessing a repository using the svn network protocol.
-Handles 'svn 'scheme
* Ra_local: Module for accessing a repository on local disk.
-Handles 'file' scheme
* Ra_serf: Module for accessing a repository via WebDAV protocol using serf.
-Using serf 1.3.3
-Handles 'HTTP 'scheme
-Handles 'https' scheme

OK, close .....

The last test is sent.

[Root @ AY140529181750476004Z test-work] # svn checkout http: // localhost/svn/repos/Game2048
Authentication realm: Password for 'root ':**********


Authentication realm: Username: admin
Password for 'admin ':*********




-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:


<Http: // localhost: 80> Subversion repository


Can only be stored to disk unencrypted! You are advised to configure
Your system so that Subversion can store passwords encrypted, if
Possible. See the documentation for details.


You can avoid future appearances of this warning by setting the value
Of the 'store-plaintext-password' option to either 'yes' or 'no' in
'/Root/. subversion/servers '.
-----------------------------------------------------------------------
Store password unencrypted (yes/no )? Y
A Game2048/assets
A Game2048/src
A Game2048/src/com
A Game2048/src/com/hzu0530
A Game2048/src/com/hzu0530/game2048
A Game2048/src/com/hzu0530/game2048/lib
A Game2048/project. properties
A. Game2048/proguard-project.txt
A Game2048/AndroidManifest. xml
A Game2048/src/com/hzu0530/game2048/MainActivity. java
A Game2048/src/com/hzu0530/game2048/LoginActivity. java
A Game2048/src/com/hzu0530/game2048/lib/BaseActivity. java
A Game2048/src/com/hzu0530/game2048/lib/Constants. java
A Game2048/src/com/hzu0530/game2048/wedget
A Game2048/libs
A Game2048/res
A Game2048/res/drawable-hdpi
A Game2048/res/drawable-xxhdpi
A Game2048/res/anim
A Game2048/res/menu
A Game2048/res/values-v11
A Game2048/res/drawable-ldpi
A Game2048/res/values-v14
A Game2048/res/drawable-mdpi
A Game2048/res/drawable-xhdpi
A Game2048/res/layout
A Game2048/res/values
A Game2048/res/drawable
A Game2048/src/com/hzu0530/game2048/wedget/GameCard. java
A Game2048/src/com/hzu0530/game2048/wedget/GameView. java
A Game2048/libs/android-support-v4.jar
A Game2048/res/drawable-hdpi/ic_launcher.png
A Game2048/res/drawable-xxhdpi/ic_launcher.png
A Game2048/res/menu/activity_main.xml
A Game2048/res/values-v11/styles. xml
A Game2048/res/values-v14/styles. xml
A Game2048/res/drawable-mdpi/ic_launcher.png
A Game2048/res/drawable-xhdpi/ic_launcher.png
A Game2048/res/layout/activity_main.xml
A Game2048/res/values/colors. xml
A Game2048/res/values/styles. xml
A Game2048/res/values/strings. xml
A Game2048/res/drawable/textbackground. xml
A. Game2048/ic_launcher-web.png
Checked out revision 4.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.