Update CVS/SVN server instructions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10278 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2012-06-07 20:38:04 +00:00
parent db32c4c17c
commit efd03f7d15
4 changed files with 41 additions and 36 deletions

View File

@ -50,8 +50,8 @@
<para>Create a new CVS repository with the following
commands:</para>
<screen role="root"><userinput>mkdir /srv/cvsroot &amp;&amp;
chmod 1777 /srv/cvsroot &amp;&amp;
<screen role="root"><userinput>mkdir /srv/cvsroot &amp;&amp;
chmod 1777 /srv/cvsroot &amp;&amp;
export CVSROOT=/srv/cvsroot &amp;&amp;
cvs init</userinput></screen>
@ -111,19 +111,20 @@ cvs -d:ext:<replaceable>&lt;servername&gt;</replaceable>:/srv/cvsroot co cvstest
echo anonymous: &gt; /srv/cvsroot/CVSROOT/passwd &amp;&amp;
echo anonymous &gt; /srv/cvsroot/CVSROOT/readers</userinput></screen>
<para>If you use <command>inetd</command>, the following command
<!-- <para>If you use <command>inetd</command>, the following command
will add the <application>CVS</application> entry to
<filename>/etc/inetd.conf</filename>:</para>
<screen role="root"><userinput>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \
--allow-root=/srv/cvsroot pserver" &gt;&gt; /etc/inetd.conf</userinput></screen>
- -allow-root=/srv/cvsroot pserver" &gt;&gt; /etc/inetd.conf</userinput></screen>
<indexterm zone="cvsserver cvsserver-config">
<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
</indexterm>
<para>Issue a <command>killall -HUP inetd</command> to reread the changed
<filename>inetd.conf</filename> file.</para>
<filename>inetd.conf</filename> file.</para>
-->
<!--
<para>If you use <command>xinetd</command>, the following command will create
the CVS file as <filename>/etc/xinetd.d/cvspserver</filename>:</para>

View File

@ -85,6 +85,8 @@
a complete runtime environment to run <application>Java</application>
programs.</para>
&lfs71_checked;
<note><para>The browser plugin and webstart implementation have been split
off into a separate project. To provide a complete implementation, you will
need to later install <xref linkend="icedtea-web"/>.</para></note>
@ -127,8 +129,6 @@
here</ulink>.</para>
</note>
&lfs71_checked;
<bridgehead renderas="sect3">Source Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
@ -315,15 +315,15 @@
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -vdm755 /opt/OpenJDK-&openjdk-version;-bin &amp;&amp;
cp -R * /opt/OpenJDK-&openjdk-version;-bin &amp;&amp;
cp -R * /opt/OpenJDK-&openjdk-version;-bin &amp;&amp;
chown -R root:root /opt/OpenJDK-&openjdk-version;-bin</userinput></screen>
<para>Configure the temporary <application>OpenJDK</application>
installation with the following commands:</para>
<screen><userinput>export PATH_HOLD="${PATH}" &amp;&amp;
<screen><userinput>export PATH_HOLD="${PATH}" &amp;&amp;
export JAVA_HOME="/opt/OpenJDK-&openjdk-version;-bin" &amp;&amp;
export CLASSPATH=".:/usr/share/java" &amp;&amp;
export CLASSPATH=".:/usr/share/java" &amp;&amp;
export PATH="${PATH}:${JAVA_HOME}/bin"</userinput></screen>
<para>The binary version is now installed. If you don't want to compile the
@ -347,7 +347,7 @@ export PATH="${PATH}:${JAVA_HOME}/bin"</userinput></screen>
not installed the js.jar file in another way, do so with the following
commands as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>unzip ../../rhino1_7R3.zip &amp;&amp;
<screen role="root"><userinput>unzip ../../rhino1_7R3.zip &amp;&amp;
install -v -d -m755 /usr/share/java &amp;&amp;
install -v -m755 rhino1_7R3/*.jar /usr/share/java</userinput></screen>
@ -357,13 +357,13 @@ install -v -m755 rhino1_7R3/*.jar /usr/share/java</userinput></screen>
source license. Put all of the individual components into the source tree
with the following commands:</para>
<screen><userinput>cp -v ../corba.tar.gz . &amp;&amp;
cp -v ../hotspot.tar.gz . &amp;&amp;
cp -v ../jaxp.tar.gz . &amp;&amp;
cp -v ../jaxws.tar.gz . &amp;&amp;
cp -v ../jdk.tar.gz . &amp;&amp;
<screen><userinput>cp -v ../corba.tar.gz . &amp;&amp;
cp -v ../hotspot.tar.gz . &amp;&amp;
cp -v ../jaxp.tar.gz . &amp;&amp;
cp -v ../jaxws.tar.gz . &amp;&amp;
cp -v ../jdk.tar.gz . &amp;&amp;
cp -v ../langtools.tar.gz . &amp;&amp;
cp -v ../openjdk.tar.gz .</userinput></screen>
cp -v ../openjdk.tar.gz .</userinput></screen>
<para>Apply a patch to generate a valid cacerts file using the system CA
certificates:</para>

View File

@ -134,21 +134,21 @@ svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</userinput></screen
<filename>svntest/</filename>. You'll need to setup a directory
tree similar to the following:</para>
<screen><literal> svntest/ # The name of the repository
trunk/ # Contains the existing source tree
BOOK/
bootscripts/
edguide/
patches/
scripts/
branches/ # Needed for additional branches
tags/ # Needed for tagging release points</literal></screen>
<screen><literal>svntest/ # The name of the repository
trunk/ # Contains the existing source tree
BOOK/
bootscripts/
edguide/
patches/
scripts/
branches/ # Needed for additional branches
tags/ # Needed for tagging release points</literal></screen>
<para>Once you've created your directory layout as shown above, you
are ready to do the initial import:</para>
<screen role="root"><userinput>svn import -m "Initial import." \
<replaceable>&lt;/path/to/source/tree&gt;</replaceable> \
<replaceable>&lt;/path/to/source/tree&gt;</replaceable> \
file:///srv/svn/repositories/svntest</userinput></screen>
<para>Now change owner and group information on the
@ -156,9 +156,9 @@ svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</userinput></screen
<systemitem class="groupname">svn</systemitem> and
<systemitem class="groupname">svntest</systemitem> groups:</para>
<screen role="root"><userinput>chown -R svn:svntest /srv/svn/repositories/svntest &amp;&amp;
chmod -R g+w /srv/svn/repositories/svntest &amp;&amp;
chmod g+s /srv/svn/repositories/svntest/db &amp;&amp;
<screen role="root"><userinput>chown -R svn:svntest /srv/svn/repositories/svntest &amp;&amp;
chmod -R g+w /srv/svn/repositories/svntest &amp;&amp;
chmod g+s /srv/svn/repositories/svntest/db &amp;&amp;
usermod -G svn,svntest -a <replaceable>&lt;username&gt;</replaceable></userinput></screen>
<para><systemitem class="groupname">svntest</systemitem> is the group
@ -208,7 +208,8 @@ usermod -G svn,svntest -a <replaceable>&lt;username&gt;</replaceable></userinput
repository using the following commands:</para>
<screen role="root"><userinput>cp /srv/svn/repositories/svntest/conf/svnserve.conf \
/srv/svn/repositories/svntest/conf/svnserve.conf.default &amp;&amp;
/srv/svn/repositories/svntest/conf/svnserve.conf.default &amp;&amp;
cat &gt; /srv/svn/repositories/svntest/conf/svnserve.conf &lt;&lt; "EOF"
<literal>[general]
anon-access = read
@ -224,7 +225,7 @@ EOF</userinput></screen>
<sect3 id="svnserver-init">
<title>4. Starting the Server</title>
<!--
<para>There are a couple of ways to start <command>svnserve</command>.
The most common way is to start it as an <command>inetd</command> or
<command>xinetd</command> process. Alternately, you can use a
@ -272,11 +273,10 @@ service svn
}
# End /etc/xinetd.d/svn</literal>
EOF</userinput></screen>
EOF</userinput></screen> -->
<para>Finally, if you wish to simply start the server at
startup, install the svn bootscript included in the
<xref linkend="bootscripts"/> package.</para>
<para>To start the server at boot time, install the svn bootscript included
in the <xref linkend="bootscripts"/> package.</para>
<indexterm zone="svnserver svnserver-init">
<primary sortas="f-svn">svn</primary>

View File

@ -44,6 +44,10 @@
<listitem>
<para>June 7th, 2012</para>
<itemizedlist>
<listitem>
<para>[dj] - Updated subversion and cvs server instructions.
Fixes <ulink url="&blfs-ticket-root;3400">#3400</ulink>.</para>
</listitem>
<listitem>
<para>[dj] - Added OpenJDK-1.7.0.4.</para>
</listitem>