- Timestamp:
- 04/07/2006 01:56:59 AM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6c8659b
- Parents:
- c04745b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/svnserver.xml
rc04745b rcf5c43f3 21 21 <para>This section will describe how to set up, administer and secure 22 22 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> 23 43 24 44 <bridgehead renderas="sect3">Subversion Server Dependencies</bridgehead> … … 99 119 FSFS and BDB, see <ulink 100 120 url="http://svnbook.red-bean.com/svnbook-1.1/ch05.html#svn-ch-5-sect-1.2.A"/>. 101 Optionally you can pass <option>bdb</option> in place of 102 <option>fsfs</option> in the following command to create a 103 BerkeleyDB data-store.</para> 121 </para> 104 122 105 123 <para>Create a new <application>Subversion</application> repository with 106 124 the following commands:</para> 107 125 108 <screen role="root"><userinput>install - d -m0755/srv &&109 install - d -m0755 -o svn -g svn/srv/svn/repositories &&126 <screen role="root"><userinput>install -v -m 0755 -d /srv && 127 install -v -m 0755 -o svn -g svn -d /srv/svn/repositories && 110 128 svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</userinput></screen> 111 129 112 <para>Now that the repository is created, we need to populate it130 <para>Now that the repository is created, it should be populated with 113 131 with something useful. You'll need to have a predefined directory 114 layout set up exactly as you want your repository to look. For132 layout set up exactly as you want your repository to look. For 115 133 example, here is a sample BLFS layout setup with a root of 116 134 <filename>svntest/</filename>. You'll need to setup a directory … … 134 152 file:///srv/svn/repositories/svntest</userinput></screen> 135 153 136 <para>Now go ahead andchange owner and group information on the154 <para>Now change owner and group information on the 137 155 repository, and add an unprivileged user to the 138 156 <systemitem class="groupname">svn</systemitem> and … … 163 181 files. This avoids locking out other users from the repository.</para> 164 182 165 <para>Now, go ahead andreturn to an unprivileged user account, and take a166 look at yournew repository using <command>svnlook</command>:</para>183 <para>Now, return to an unprivileged user account, and take a 184 look at the new repository using <command>svnlook</command>:</para> 167 185 168 186 <screen><userinput>svnlook tree /srv/svn/repositories/svntest/</userinput></screen> … … 257 275 EOF</userinput></screen> 258 276 259 <para>Finally, if you wish to simply start the se ver at277 <para>Finally, if you wish to simply start the server at 260 278 startup, install the svn bootscript included in the 261 279 <xref linkend="bootscripts"/> package.</para>
Note:
See TracChangeset
for help on using the changeset viewer.