FEDORA SVN installation and configuration under Category: Linux Comments (1), browsing (94)

2009-12-22  来源:本站原创  分类:Development  人气:188 

0814


step 1

The subversion
yum install subversion

step 2

Install the apache svn module
yum install mod_dav_svn

step 3

Build svn repository file
mkdir / var / svn

step 4

SVN repository set up and modify / var / svn user groups and users
svnadmin create / var / svn / repos /
chown-R apache.apache / var / svn

step 5

Edit / var / svn / repos / conf / svnserve.conf
vi / var / svn / repos / conf / svnserve.conf
a.
The # anon-access = read
# Auth-access = write
To
anon-access = none
auth-access = write
b.
The # password-db = passwd
To
password-db = passwd

step 6

Increase the user's password
vi / var / svn / repos / conf / passwd
Such as [users]
looney = 123456

step 7

Each time files are submitted to and / var / www / html sync, as you can directly access a letter to a post-commit file
vi / var / svn / repos / hooks / post-commit
Writes the following:
#! / Bin / sh
export LANG = en_US.UTF-8
svn update / var / www / html-username looney-password 123456
And this file to 777 first, before the server / var / www / html checkout after each update will be able to / var / www / html added

Step 8

Run subversion service (not required)
vi / etc / rc.local
Add the following command
#! / Bin / sh
#
# This script will be executed * after * all the other init scripts.
# You can put your own initialization stuff in here if you don't
# Want to do the full Sys V style init stuff.
touch / var / lock / subsys / local
svnserve-d-r / var / svn / repos

step 9

Set up apache svn configuration file

vi / etc / httpd / conf.d / subversion.conf

<Location /repos>
DAV svn
SVNParentPath / var / svn
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
# AuthType Basic
# AuthName "Authorization Realm"
# AuthUserFile / path / to / passwdfile
# Require valid-user
# </ LimitExcept>
</ Location>
To correspond to the # removed, and modify the path to above the.

step 10

Restart the server

step 11
The establishment of project test
mkdir / tmp / test
mkdir / var / svn / repos / test
svn import / tmp / Test file: / / / var / svn / repos / Test -M "initial import"
step 12
Checkout time on the server
svn checkout svn: / / 127.0.0.1 / / var / www / html

step 13
OK, you can use other machines to access the server, such as intranet IP: 192.168.1.226
svn: / / 192.168.1.226/test
test items address
http://192.168.1.226/test

After the commit code to the data warehouse, and 192.168.1.222 server / var / www / html synchronization inside another, each data warehouse project can work, wants to own the associated set

相关文章
  • FEDORA SVN installation and configuration under Category: Linux Comments (1), browsing (94) 2009-12-22

    0814 step 1 The subversion yum install subversion step 2 Install the apache svn module yum install mod_dav_svn step 3 Build svn repository file mkdir / var / svn step 4 SVN repository set up and modify / var / svn user groups and users svnadmin creat

  • [Reserved] Linux SVN Installation and Configuration 2011-08-27

    Linux SVN Installation and configuration of the original address: http://blog.sina.com.cn/s/blog_60be437a0100ikn0.html Linux SVN Installation and Configuration step 1 The subversion yum install subversion step 2 Installing the Linux SVN module apache

  • MyEclipse novice in the SVN installation and configuration guide 2010-11-03

    This section explain the installation of MyEclipse in the SVN configuration, mainly MyEclipse6.X and MyEclipse7.X, the following is a specific description, and I welcome that we can learn together. 1.SVN Chinese official website: http://www.subversio

  • svn installation and configuration (windows down) 2011-06-06

    Did not want to write, but found two hits in javaeye highest installation can not complete the installation of the tutorial, so I decided to write a real problem not the svn installation and configuration. Step One: Download the svn server installati

  • SVN SVN installation and configuration of integrated MyEclipse 2010-04-26

    SVN Installation: 1, the installation server ######### Installation file: SVN server ############### # Http://www.collab.net/downloads/subversion # CollabNetSubversion-server-1.6.9-1.win32.exe Click the Install CollabNetSubversion-server.exe, when th

  • SVN installation and configuration of the HTTP protocol 2010-11-06

    To solve the SVN client and server versions of the inconsistencies between (the company originally used Subversion-server-1.5.3 + TortoiseSVN-1.6.2) caused by the CruiseControl automatically get the code from the SVN version of the conflict, I've com

  • SVN installation and configuration under Linux 2011-01-04

    Installation 1. Using the source file is compiled installation. A total of two source files, as follows: wget http://subversion.tigris.org/downloads/subversion-deps-1.6.15.tar.gz(subversion Source file ) wget http://subversion.tigris.org/downloads/su

  • linux svn installation and configuration, not with apache 2011-04-26

    http://blog.51yip.com/server/901.html Today, a colleague engaged in SVN Server , SVN Fu Wuqi I also considered Bijiao Shu Di, and when he encountered a configuration problem is the package configuration file letter authz always a problem, before when

  • linux svn installation and configuration 2010-09-04

    First, install the software to wget http://subversion.tigris.org/downloads/subversion-1.6.1.tar.gz wget http://subversion.tigris.org/downloads/subversion-deps-1.6.1.tar.gz svn's official website is http://subversion.tigris.org After extracting the ab

  • SVN Installation and Configuration 2010-03-18

    Server operating systems: Windpws XP SP3, IP: 192.168.0.185 (32bit) Client operating systems: Windpws XP SP2 (32bit) Ready to install the software: subversion server installation package: Setup-Subversion-1.5.3.msi TSVN client: TortoiseSVN-1.6.7.1841

  • windowns svn installation and configuration under 2011-05-27

    svn is a popular version of the controller, the trial configuration is simple and convenient, first download Subversion and TortoiseSVN, and then double-click the installation, both are required after the installation is complete restart the computer

  • Openldap installation and configuration detail records (Linux) 2010-12-10

    # Install zlib # Tar xvfz zlib-1.2.3.tar.gz # Cd zlib-1.2.3 #. / Configure - shared # Make # Make install -------------------------------------------------- -------- # Do not uninstall the upgrade installation system comes with Openssl Openssl, other

  • JDK1.6 installation configuration under the LINUX 2010-03-25

    http://developer.51cto.com/art/200907/134477.htm DK1.6 under the LINUX install and configure Java for beginners is a must to start Java programming, how JDK1.6 installation and configuration under the LINUX became the primary issue, then this article

  • Notes centos5 server set up: SVN (subversion) of the installation and configuration 2010-12-21

    SVN installation and configuration Technical preparations for the check whether the installation package your_package # Rpm-qa | grep your_package Install your_package Package # Rpm-ivh your_package Or # Rpm-Uvh your_package Step 1, check for and ins

  • MyEclipse in the SVN installation configuration Beginner's Guide 2010-11-03

    This section explain the installation of MyEclipse in the SVN configuration, mainly MyEclipse6.X and MyEclipse7.X, the following is a specific description, and I welcome that we can learn together. 1.SVN Chinese official website: http://www.subversio

  • centos5 server set up notes: SVN (subversion) installation and configuration 2010-12-21

    SVN installation and configuration Technology is installed ready to check the package your_package # Rpm-qa | grep your_package Installation your_package package # Rpm-ivh your_package Or # Rpm-Uvh your_package Step 1, check for and install SVN and m

  • svn + apache linux following the installation and configuration 2010-06-30

    Linux systems APACHE SVN server set up the whole process of a first related to the installation package is ready, I am here using the following several packages Apr: apr-1.2.11.tar.gz and apr-util-1.2.2.tar.gz Apache: httpd-2.2.6.tar.gz Subversion: s

  • Linux Knowledge ten: SVN installation configuration and use. SVN integration with Apache 2010-11-12

    svn installation and use of knowledge: svn install the required software: apr, apr-util, sqlite, neon, subversionyum install subversion: Online installation repository. . / Configure - prefix = / usr / local / subversion - with-apxs = / usr/local/apa

  • The following svn + apache linux installation and configuration 2010-06-30

    APACHE SVN under Linux server set up the whole process of a first related to the installation package is ready, I am using here is the following a few packages Apr: apr-1.2.11.tar.gz and apr-util-1.2.2.tar.gz Apache: httpd-2.2.6.tar.gz Subversion: su

  • SVN under Linux installation and configuration records 2009-09-24

    Transfer: http://blog.csdn.net/zym361589736/archive/2009/07/26/4381557.aspx Chapter Installation 1 using the source files compile and install. A total of two source files for: subversion-1.6.1.tar.gz (subversion source file) subversion-deps-1.6.1.tar