SVN installation 1

Source: Internet
Author: User

Let me start with a piece of nonsense: The company recently used Linux as a server, but also version control to control shared files and programs. Maybe this is common in software companies,
For a State-owned enterprise for logistics machinery manufacturing and industrial control, it may be a small improvement. The tasks that are responsible for server support and version control come to me. First, I think of the use of University
The cvs I have learned is simple on windows, but on Linux, everything becomes troublesome. Follow the online tutorial to install and start the CVS server.
But the init command of the old hacker port 2702 refused to access the system. This was found on the Internet by many people, but no one actually proposed a solution. Therefore, I saw a solution on the Internet.
-- SVN: savior. It is much better to serve than CVs.

Let's get down to the point. Next we will introduce how to install the svn server in Linux. The latest version is installed on the Internet.
1.5.5

Solution 1: I have referred to the relevant online Installation manuals for the following content. I would like to thank the original author for his hard work:

To
Root
Log on to the system.

(1)
Install
Apache
# Cd httpd-2.2.11
#./Configure -- enable-Dav
-- Enable-so -- enable-maintainer-Mode
# Make
# Make install

/* Note that when Berkeley is installed
DB
Is a storage format that provides a version library, Berkeley DB
Yes
An embedded database format provided by Oracle is neither installed nor called. What's important is that it conflicts with APR-util! */

Install
Berkeley DB
# Cd db-4.4.20/build_unix/
# ../Dist/configure -- prefix =/usr/local/bdb
# Make
# Make install
(2)decompress subversion-deps-1.5.5.tar.gz

Contains APR
, APR-util
, Neon
, Serf
And zlib

Install neon
, Serf
, Zlib
-- 1)./configure 2) Make 3) make install

Install APR:

./Configure
-- Prefix =/usr/local/APR

Make &&
Make
Install



Install Apr-util




./Configure
-- With-Apr =/usr/local/APR


Note:./configure


Before
CD must be included in the directory after the compressed package is decompressed.



 

Install
Subversion (not required
Berkeleydb)
# Tar-zxvf subversion-1.2.3.tar.gz
# Cd subversion-1.2.3
#./Configure
-- Prefix =/usr/local
/Subversion



-- With-apxs =/usr/local/apache2/bin/apxs
-- With-Apr =/usr/local/APR/bin/apr-1-config
-- With-Apr-util =/usr/local/APR/bin/apu-1-config




 

# Make
# Make install

/*
You can use the following command to verify
Subversion
Install or not
Cheng
Merit



*/
# Svnadmin -- version

 

By the way
In Linux, you can create directories, users, groups, and modify permissions directly in the Linux form system, similar to Win32.

-------------------------- Gorgeous split line --------------------------------

In http://www.subversion.org.cn /? Action-viewnews-itemid-85

Lower
Carries the latest version, subversion-1.5.5 with subversion-deps-1.5.5
Required
Download both
And install subversion-deps-1.5.5 first
, Relationship between the two
I have read the following link (reposted. Thank you for your contribution ):

 

The Subversion server does not require Apache, but you can use Apache to select it based on the actual situation.

1. If file: // or SVN: // is used for access, you only need to install SVN without using Apache.
Svnserve is used as a service.

2. If you want to create a version Library server that can be accessed through http: // or https: //, you need to use
Apache.

Apache-based configuration, see http://bbs.iusesvn.com/thread-
158-1-1.html.

Client

In Windows, no matter what type of server you want to access, you only need to install tortoisesvn.
The developer has done everything for you.

In a Linux-like system, if you access it through file: // or SVN: //, you only need to compile and install SVN,

If it is accessed through http: //, it must be compiled with neon,

If you use https: // for access, you need to compile it with SSL-supported neon,

In any case, it must be compiled with APR and APR-util.

Neon, APR, and APR-util are also easy to obtain. Currently, the Subversion Code released will contain
The subversion-deps-xxxfile, such as 1.4.3's latest subversion-deps-1.4.3.tar.bz2



-------------------------- Gorgeous split line --------------------------------

1) The berkeleydb version cannot be later than. Otherwise, the following error occurs.

Configure: Error: APR-UTIL was installed
Independently, it won't be
Possible to use the specified Berkeley DB:/usr/local/berkeleydb.4.4
Apr-util does not support version 4.4 For the moment. (I used version 4.7.25 at the time. Of course not. For the above reasons, refer to the network tutorial) 2) the prompt configure: warning: we have configured without bdb
Filesystem support

Probably the database cannot be created.
Format version Library; that is, the berkeleydb is not installed, and it does not matter whether it is saved in the same way as filesystem

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.