In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "Linux compilation and installation of Subversion client tutorials", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and study the "Linux compilation and installation of Subversion client tutorials" bar!
Subversion (svn for short) is a rising version management software system in recent years, and is the successor of cvs. At present, the vast majority of open source software use svn as code version management software.
Subversion is a version control system, compared with RCS and CVS, it adopts branch management system, and its design goal is to replace CVS. Most of the free version control services on the Internet are based on Subversion.
Subversion's version library is accessible over the Internet, allowing users to operate on different computers. To some extent, allowing users to modify and manage the same set of data in their own space can facilitate team collaboration. Because the changes are no longer done on a single line (that is, they must be done one by one), the development progress will be rapid. In addition, since all the work has been versioned, you don't have to worry about affecting the quality of the software due to incorrect changes-if an incorrect change occurs, just undo that change. Some version control systems are themselves software configuration management systems (SCM), which are cleverly designed to manage the source code tree and have many features related to software development-such as support for programming languages, or providing program building tools. But Subversion is not such a system. It is a general-purpose system that can manage any type of file set.
The http client in Subversion 1.8 has been removed based on neon and replaced with self. If you want to support http mode, you need to install serf before installing svn. It is recommended to install serf with serf-1.2.1. / configure;serf-1.3.0 is installed in scons (yum-y install scons) mode. After installing serf-1.3.0, errors may be reported. Google cannot find a solution. The error is reported as follows.
Checking for serf-2 library... No
Checking for serf-1 library... No
Checking was serf enabled... No
An appropriate version of serf could not be found, so libsvn_ra_serf
Will not be built. If you want to build libsvn_ra_serf, please
Install serf 1.2.1 or newer.
Configure: error: Serf was explicitly enabled but an appropriate version was not found.
Installation steps:
(this article is only based on the deployment of the LAMP one-click installation package environment)
1. Install apr, apr-unit
The code is as follows:
Cd / root/lamp/source
# wget http://archive.apache.org/dist/apr/apr-1.4.8.tar.gz # LAMP has been downloaded
# wget http://archive.apache.org/dist/apr/apr-util-1.5.2.tar.gz
Tar xzf apr-1.4.8.tar.gz
Cd apr-1.4.8
. / configure-- prefix=/usr/local/apache
Make & & make install
Cd.. /
Tar xzf apr-util-1.5.2.tar.gz
Cd apr-util-1.5.2
. / configure-- prefix=/usr/local/apache
Make & & make install
Cd.. /
two。 Install serf-1.2.1
The code is as follows:
Yum-y install expat-devel
Wget http://serf.googlecode.com/files/serf-1.2.1.tar.bz2 # serf-1.2.1.zip is a problem with the win version
Tar xjf serf-1.2.1.tar.bz2
Cd serf-1.2.1
. / configure-- prefix=/usr/local/serf-- with-apr=/usr/local/apache-- with-apr-util=/usr/local/apache
Make & & make install
Cd..
3. Install svn
The code is as follows:
Tar xzf subversion-1.8.1.tar.gz
Cd subversion-1.8.1
. / get-deps.sh
. / configure-- prefix=/usr/local/subversion-- with-apxs=/usr/local/apache/bin/apxs\
-with-apr=/usr/local/apache-with-apr-util=/usr/local/apache-with-zlib\
-with-openssl-- enable-maintainer-mode-- with-serf=/usr/local/serf-- enable-mod-activation
Make & & make install
Cd..
4. Check whether the installation is successful
If the installation is successful, you will add the following 2 lines to / usr/local/apache/conf/httpd.conf itself.
The code is as follows:
LoadModule dav_svn_module / usr/local/subversion/libexec/mod_dav_svn.so
LoadModule authz_svn_module / usr/local/subversion/libexec/mod_authz_svn.so
Check whether svn supports http mode:
The code is as follows:
# svn-version
Svn, version 1.8.1 (r1503906)
Compiled Aug 2 2013, 11:36:48 on x86_64-unknown-linux-gnu
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many 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.
-with Cyrus SASL authentication
-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.
-handles' http' scheme
-handles' https' scheme
Thank you for reading, the above is the "Linux compilation and installation of Subversion client tutorials" content, after the study of this article, I believe you on the Linux compilation and installation of Subversion client tutorials have a deeper understanding of this problem, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.