Changeset affc260 for server


Ignore:
Timestamp:
08/31/2004 08:29:57 PM (20 years ago)
Author:
Igor Živković <igor@…>
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
Message:

Changed location of the CVS repository as suggested by FHS 2.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2696 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/cvsserver.xml

    r8e2075c raffc260  
    4545<para>Create a new <acronym>CVS</acronym> repository with the following
    4646commands:</para>
    47 <screen><userinput><command>mkdir /home/cvsroot &amp;&amp;
    48 chmod 1777 /home/cvsroot &amp;&amp;
    49 export CVSROOT=/home/cvsroot &amp;&amp;
     47<screen><userinput><command>mkdir /srv/cvsroot &amp;&amp;
     48chmod 1777 /srv/cvsroot &amp;&amp;
     49export CVSROOT=/srv/cvsroot &amp;&amp;
    5050cvs init</command></userinput></screen></sect3>
    5151
     
    5555<acronym>CVS</acronym> repository:</para>
    5656
    57 <screen><userinput><command>export CVSROOT=/home/cvsroot &amp;&amp;
     57<screen><userinput><command>export CVSROOT=/srv/cvsroot &amp;&amp;
    5858cd <replaceable>[sourcedir]</replaceable> &amp;&amp;
    5959cvs import -m <replaceable>["repository test"] [cvstest] [vendortag] [releasetag]</replaceable></command></userinput></screen></sect3>
     
    7676
    7777<screen><userinput><command>export CVS_RSH=/usr/bin/ssh &amp;&amp;
    78 cvs -d:ext:<replaceable>[servername]</replaceable>:/cvsroot co cvstest</command></userinput></screen></sect3>
     78cvs -d:ext:<replaceable>[servername]</replaceable>:/srv/cvsroot co cvstest</command></userinput></screen></sect3>
    7979</sect2>
    8080<sect2>
     
    8686
    8787<screen><userinput><command>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) &amp;&amp;
    88 echo anonymous: &gt; /home/cvsroot/CVSROOT/passwd &amp;&amp;
    89 echo anonymous &gt; /home/cvsroot/CVSROOT/readers</command></userinput></screen>
     88echo anonymous: &gt; /srv/cvsroot/CVSROOT/passwd &amp;&amp;
     89echo anonymous &gt; /srv/cvsroot/CVSROOT/readers</command></userinput></screen>
    9090
    9191<para>If you use <command>inetd</command>, the following command will add the
     
    9393
    9494<screen><userinput><command>echo "2401  stream  tcp  nowait  root  /usr/bin/cvs cvs -f \
    95     --allow-root=/home/cvsroot pserver" &gt;&gt; /etc/inetd.conf</command></userinput></screen>
     95    --allow-root=/srv/cvsroot pserver" &gt;&gt; /etc/inetd.conf</command></userinput></screen>
    9696
    9797<para>Issue a <command>killall -HUP inetd</command> to reread the changed
     
    111111          passenv     = PATH
    112112          server      = /usr/bin/cvs
    113           server_args = -f --allow-root=/home/cvsroot pserver
     113          server_args = -f --allow-root=/srv/cvsroot pserver
    114114     }
    115115<command>EOF</command></userinput></screen>
     
    124124</para>
    125125
    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>
    129130
    130131</sect2>
     
    133134<title>Command explanations</title>
    134135
    135 <para><command>mkdir /home/cvsroot</command>: Create the <acronym>CVS</acronym>
     136<para><command>mkdir /srv/cvsroot</command>: Create the <acronym>CVS</acronym>
    136137repository directory.</para>
    137138
    138 <para><command>chmod 1777 /home/cvsroot</command>: Set sticky bit permissions for
     139<para><command>chmod 1777 /srv/cvsroot</command>: Set sticky bit permissions for
    139140<envar>CVSROOT</envar>.</para>
    140141
    141 <para><command>export CVSROOT=/home/cvsroot</command>: Specify new <envar>CVSROOT
     142<para><command>export CVSROOT=/srv/cvsroot</command>: Specify new <envar>CVSROOT
    142143</envar> for all <command>cvs</command> commands.</para>
    143144
     
    159160create one if not found.</para>
    160161
    161 <para><command>echo anonymous: &gt; /home/cvsroot/CVSROOT/passwd
     162<para><command>echo anonymous: &gt; /srv/cvsroot/CVSROOT/passwd
    162163</command>: Add the anonymous user to the <acronym>CVS</acronym> passwd file,
    163164which is unused for anything else in this configuration.</para>
    164165
    165 <para><command>echo anonymous &gt; /home/cvsroot/CVSROOT/readers</command>: Add the
     166<para><command>echo anonymous &gt; /srv/cvsroot/CVSROOT/readers</command>: Add the
    166167anonymous user to the <acronym>CVS</acronym> readers file, a list of
    167168users who have read only access to the repository.</para>
     
    170171
    171172</sect1>
    172 
Note: See TracChangeset for help on using the changeset viewer.