Ignore:
Timestamp:
05/30/2016 03:19:47 AM (8 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
130e7e1
Parents:
aac14ed
Message:

(systemd) Sync to trunk r17403

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17404 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/svnserver.xml

    raac14ed r678c25bd  
    2121    <para>This section will describe how to set up, administer and secure
    2222    a <application>Subversion</application> server.</para>
    23 
    24     <!-- <note>
    25       <para>The default build instructions for
    26       <application>Subversion</application> disabled the
    27       <application>Berkeley DB</application> repository back-end due to the
    28       errors encountered in the test suite while building the
    29       <xref linkend="subversion"/> package. This should not present a
    30       functionality issue as the FSFS repository back-end is now the default,
    31       and recommended by the <application>Subversion</application> development
    32       team.</para>
    33 
    34       <para>If you have existing repositories based on a
    35       <application>Berkeley DB</application> back-end and you followed the
    36       BLFS instructions for building <application>Subversion</application>,
    37       you'll need to dump the databases, create new repositories using the
    38       FSFS back-end, then then reload the data into the new repositories.
    39       Instructions for performing these operations can be found at <ulink
    40       url="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5"/>.
    41       </para>
    42     </note> -->
    4323
    4424    <bridgehead renderas="sect3">Subversion Server Dependencies</bridgehead>
     
    11292      <title>2. Create a Subversion repository.</title>
    11393
    114       <para>With subversion-1.1.0 and greater, a new type of repository
    115       data-store is available, FSFS. There is a tradeoff for speed with
    116       the new backend, however, the repository can now be placed on a
    117       network mount, and any corruption does not require an admin to
    118       recover the repository.  For more information and comparison between
    119       FSFS and BDB, see <ulink
    120       url="http://svnbook.red-bean.com/svnbook-1.1/ch05.html#svn-ch-5-sect-1.2.A"/>.
     94      <para>
     95        There are several ways to set up a subversion repository. It is
     96        recommended to have a look at the <ulink
     97        url="http://svnbook.red-bean.com/nightly/en/svn.reposadmin.html">SVN
     98        Book</ulink> corresponding chapter. A basic repository can be set up
     99        with the instructions below.
    121100      </para>
    122101
     
    126105<screen role="root"><userinput>install -v -m 0755 -d /srv/svn &amp;&amp;
    127106install -v -m 0755 -o svn -g svn -d /srv/svn/repositories &amp;&amp;
    128 svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</userinput></screen>
     107svnadmin create /srv/svn/repositories/svntest</userinput></screen>
    129108
    130109      <para>Now that the repository is created, it should be populated with
    131       with something useful. You'll need to have a predefined directory
     110      something useful. You'll need to have a predefined directory
    132111      layout set up exactly as you want your repository to look. For
    133112      example, here is a sample BLFS layout setup with a root of
     
    226205    <sect3 id="svnserver-init">
    227206      <title>4. Starting the Server</title>
    228 <!--
    229       <para>There are a couple of ways to start <command>svnserve</command>.
    230       The most common way is to start it as an <command>inetd</command> or
    231       <command>xinetd</command> process. Alternately, you can use a
    232       bootscript to start the service at startup.</para>
    233 
    234       <note>
    235         <para>If you do not wish to provide anonymous access to your svn
    236         repositories or use <command>svnserve</command>'s built-in
    237         authentication, you do not need to run
    238         <command>svnserve</command>.</para>
    239       </note>
    240 
    241       <para>If you use <command>inetd</command>, add a line to
    242       <filename>/etc/inetd.conf</filename> using the following
    243       commands:</para>
    244 
    245       <indexterm zone="svnserver svnserver-init">
    246         <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
    247       </indexterm>
    248 
    249 <screen role="root"><userinput>cat &gt;&gt; /etc/inetd.conf &lt;&lt; "EOF"
    250 <literal>svn stream tcp nowait svn /usr/bin/svnserve svnserve -i</literal>
    251 EOF</userinput></screen>
    252 
    253       <para>If you use <command>xinetd</command>, the following command will
    254       create the <application>Subversion</application> server file as
    255       <filename>/etc/xinetd.d/svn</filename>:</para>
    256 
    257       <indexterm zone="svnserver svnserver-init ">
    258         <primary sortas="e-etc-xinetd.d-svn">/etc/xinetd.d/svn</primary>
    259       </indexterm>
    260 
    261 <screen role="root"><userinput>cat &gt;&gt; /etc/xinetd.d/svn &lt;&lt; "EOF"
    262 <literal># Begin /etc/xinetd.d/svn
    263 
    264 service svn
    265 {
    266         port                    = 3690
    267         socket_type             = stream
    268         protocol                = tcp
    269         wait                    = no
    270         user                    = svn
    271         server                  = /usr/bin/svnserve
    272         server_args             = -i -r /srv/svn/repositories
    273 }
    274 
    275 # End /etc/xinetd.d/svn</literal>
    276 EOF</userinput></screen> -->
    277207
    278208      <para>
Note: See TracChangeset for help on using the changeset viewer.