- Timestamp:
- 08/31/2004 08:29:57 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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:
- 2af644ac
- Parents:
- 8e2075c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/cvsserver.xml
r8e2075c raffc260 45 45 <para>Create a new <acronym>CVS</acronym> repository with the following 46 46 commands:</para> 47 <screen><userinput><command>mkdir / home/cvsroot &&48 chmod 1777 / home/cvsroot &&49 export CVSROOT=/ home/cvsroot &&47 <screen><userinput><command>mkdir /srv/cvsroot && 48 chmod 1777 /srv/cvsroot && 49 export CVSROOT=/srv/cvsroot && 50 50 cvs init</command></userinput></screen></sect3> 51 51 … … 55 55 <acronym>CVS</acronym> repository:</para> 56 56 57 <screen><userinput><command>export CVSROOT=/ home/cvsroot &&57 <screen><userinput><command>export CVSROOT=/srv/cvsroot && 58 58 cd <replaceable>[sourcedir]</replaceable> && 59 59 cvs import -m <replaceable>["repository test"] [cvstest] [vendortag] [releasetag]</replaceable></command></userinput></screen></sect3> … … 76 76 77 77 <screen><userinput><command>export CVS_RSH=/usr/bin/ssh && 78 cvs -d:ext:<replaceable>[servername]</replaceable>:/ cvsroot co cvstest</command></userinput></screen></sect3>78 cvs -d:ext:<replaceable>[servername]</replaceable>:/srv/cvsroot co cvstest</command></userinput></screen></sect3> 79 79 </sect2> 80 80 <sect2> … … 86 86 87 87 <screen><userinput><command>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 88 echo anonymous: > / home/cvsroot/CVSROOT/passwd &&89 echo anonymous > / home/cvsroot/CVSROOT/readers</command></userinput></screen>88 echo anonymous: > /srv/cvsroot/CVSROOT/passwd && 89 echo anonymous > /srv/cvsroot/CVSROOT/readers</command></userinput></screen> 90 90 91 91 <para>If you use <command>inetd</command>, the following command will add the … … 93 93 94 94 <screen><userinput><command>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 95 --allow-root=/ home/cvsroot pserver" >> /etc/inetd.conf</command></userinput></screen>95 --allow-root=/srv/cvsroot pserver" >> /etc/inetd.conf</command></userinput></screen> 96 96 97 97 <para>Issue a <command>killall -HUP inetd</command> to reread the changed … … 111 111 passenv = PATH 112 112 server = /usr/bin/cvs 113 server_args = -f --allow-root=/ home/cvsroot pserver113 server_args = -f --allow-root=/srv/cvsroot pserver 114 114 } 115 115 <command>EOF</command></userinput></screen> … … 124 124 </para> 125 125 126 <screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/home/cvsroot co cvstest</command></userinput></screen> 127 <note><para>Replace <replaceable>[servername]</replaceable> with the <acronym>IP</acronym> address or 128 hostname of the <acronym>CVS</acronym> server</para></note> 126 <screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/srv/cvsroot co cvstest</command></userinput></screen> 127 <note><para>Replace <replaceable>[servername]</replaceable> with the 128 <acronym>IP</acronym> address or hostname of the 129 <acronym>CVS</acronym> server.</para></note> 129 130 130 131 </sect2> … … 133 134 <title>Command explanations</title> 134 135 135 <para><command>mkdir / home/cvsroot</command>: Create the <acronym>CVS</acronym>136 <para><command>mkdir /srv/cvsroot</command>: Create the <acronym>CVS</acronym> 136 137 repository directory.</para> 137 138 138 <para><command>chmod 1777 / home/cvsroot</command>: Set sticky bit permissions for139 <para><command>chmod 1777 /srv/cvsroot</command>: Set sticky bit permissions for 139 140 <envar>CVSROOT</envar>.</para> 140 141 141 <para><command>export CVSROOT=/ home/cvsroot</command>: Specify new <envar>CVSROOT142 <para><command>export CVSROOT=/srv/cvsroot</command>: Specify new <envar>CVSROOT 142 143 </envar> for all <command>cvs</command> commands.</para> 143 144 … … 159 160 create one if not found.</para> 160 161 161 <para><command>echo anonymous: > / home/cvsroot/CVSROOT/passwd162 <para><command>echo anonymous: > /srv/cvsroot/CVSROOT/passwd 162 163 </command>: Add the anonymous user to the <acronym>CVS</acronym> passwd file, 163 164 which is unused for anything else in this configuration.</para> 164 165 165 <para><command>echo anonymous > / home/cvsroot/CVSROOT/readers</command>: Add the166 <para><command>echo anonymous > /srv/cvsroot/CVSROOT/readers</command>: Add the 166 167 anonymous user to the <acronym>CVS</acronym> readers file, a list of 167 168 users who have read only access to the repository.</para> … … 170 171 171 172 </sect1> 172
Note:
See TracChangeset
for help on using the changeset viewer.