Minimal update to bring aricle into current reality:
. Use better visible name for Using CVSup section . Use 1.3.1-patchset9 as referencing patchset . Use linux-sun-jdk1.3.1's build 10 for references. . Use tomcat 4.0.6 for references . Do not mention hand handling dependencies for gtar, bzip2, etc. These are handled automatically these days. XXX: article need to be updated to cover least following things: . enable linux emulation via kernel module loading . notice possiblities to build jdk13 without plugin, etc. This is useful in server only environment. . it should mention jdk14 as one of choices
This commit is contained in:
parent
6e666fa96b
commit
d57858a6cf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20519
1 changed files with 25 additions and 46 deletions
|
@ -33,6 +33,7 @@
|
|||
|
||||
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
|
||||
<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
|
||||
%man;
|
||||
|
||||
<!ENTITY % trademarks PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//EN">
|
||||
%trademarks;
|
||||
|
@ -47,8 +48,7 @@
|
|||
<!ENTITY tomcaturl "http://jakarta.apache.org/tomcat">
|
||||
|
||||
<!-- The Download URL is too long! :-) -->
|
||||
<!ENTITY tomcat403 "http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/">
|
||||
%man;
|
||||
<!ENTITY tomcat406 "http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.6/bin/">
|
||||
]>
|
||||
|
||||
<article>
|
||||
|
@ -124,7 +124,7 @@
|
|||
found this to be true when I needed to serve up some
|
||||
<filename>.jsp</filename> pages for a client on my web server,
|
||||
and needed to get <filename
|
||||
role="package">www/jakarta-tomcat</filename> to work with
|
||||
role="package">www/jakarta-tomcat4</filename> to work with
|
||||
<filename role="package">www/apache13</filename> on my FreeBSD
|
||||
system.</para>
|
||||
|
||||
|
@ -151,9 +151,9 @@
|
|||
<command>make</command> it will fail if it attempts to build older
|
||||
source. You can upgrade your entire ports collection by using
|
||||
<application>CVSup</application>. See <ulink
|
||||
url="../../books/handbook/cvsup.html"></ulink>
|
||||
for more information. You can also download the ports you need
|
||||
manually from <ulink
|
||||
url="../../books/handbook/cvsup.html">Using CVSup</ulink> section
|
||||
of the Handbook for more information. You can also download the
|
||||
ports you need manually from <ulink
|
||||
url="&ftpurl;/pub/FreeBSD/ports/"></ulink> to
|
||||
get you going.</para>
|
||||
|
||||
|
@ -162,8 +162,8 @@
|
|||
(Linux-ABI) enabled in your kernel configuration. Simply add
|
||||
the following option to your kernel configuration file and
|
||||
recompile it. Instructions for building a kernel can be found
|
||||
in the
|
||||
<ulink URL="../../books/handbook/">FreeBSD Handbook</ulink>.</para>
|
||||
in the <ulink url="../../books/handbook/index.html">FreeBSD
|
||||
Handbook</ulink>.</para>
|
||||
|
||||
<programlisting>options COMPAT_LINUX</programlisting>
|
||||
|
||||
|
@ -183,29 +183,13 @@
|
|||
<listitem>
|
||||
<para><filename role="package">java/linux-jdk13</filename></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><filename role="package">archivers/gtar</filename></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><filename role="package">archivers/bzip2</filename></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><filename role="package">archivers/unzip</filename></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><filename role="package">archivers/zip</filename></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>You will need to get the following:</para>
|
||||
|
||||
<procedure>
|
||||
<step>
|
||||
<para>Download <filename>bsd-jdk131-patches-5.tar.gz</filename>
|
||||
<para>Download <filename>bsd-jdk131-patches-9.tar.gz</filename>
|
||||
from <ulink
|
||||
url="http://www.eyesbeyond.com/freebsddom/java/jdk13.html"></ulink>
|
||||
and place it under <filename>/usr/ports/distfiles</filename>.</para>
|
||||
|
@ -219,13 +203,14 @@
|
|||
you read every word of the license page before you click on
|
||||
the <quote>Accept</quote> button! You will be brought to a
|
||||
page titled <quote>Download Java(TM) 2 SDK, Standard Edition
|
||||
1.3.1_02</quote>. Scroll to the bottom and click on the
|
||||
1.3.1_10</quote>. Scroll to the bottom and click on the
|
||||
<quote>HTTP download</quote> button. When the <quote>File
|
||||
Download</quote> box comes up, be sure to click on the
|
||||
<quote>Open</quote> button rather than the <quote>Save</quote>
|
||||
button. You will be presented with another <quote>File
|
||||
Download</quote> box - this time choose <quote>Save</quote>
|
||||
and you will be able to save <filename>j2sdk-1_3_1_02-linux-i386.bin</filename>.
|
||||
and you will be able to save
|
||||
<filename>j2sdk-1_3_1_10-linux-i386.bin</filename>.
|
||||
Place it in <filename>/usr/ports/distfiles</filename>.</para>
|
||||
</step>
|
||||
|
||||
|
@ -266,12 +251,6 @@
|
|||
you need to start by building <filename
|
||||
role="package">java/linux-jdk13</filename>:</para>
|
||||
|
||||
<screen>&prompt.root; cd /usr/ports/archivers/gtar; make all install clean
|
||||
&prompt.root; cd /usr/ports/archivers/unzip; make all install clean
|
||||
&prompt.root; cd /usr/ports/archivers/zip; make all install clean</screen>
|
||||
|
||||
<para>And finally:</para>
|
||||
|
||||
<screen>&prompt.root; cd /usr/ports/java/linux-jdk13
|
||||
&prompt.root; make all install clean</screen>
|
||||
|
||||
|
@ -284,8 +263,8 @@
|
|||
|
||||
<para>The output of the above command should be as follows:</para>
|
||||
|
||||
<programlisting>java version "1.3.1_02"
|
||||
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
|
||||
<programlisting>java version "1.3.1_10"
|
||||
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b02)
|
||||
Classic VM (build 1.3.1_02-b02, green threads, nojit)</programlisting>
|
||||
|
||||
<para>If you did not get the correct response, you need to:</para>
|
||||
|
@ -307,18 +286,18 @@ Classic VM (build 1.3.1_02-b02, green threads, nojit)</programlisting>
|
|||
<para>Make sure you have the
|
||||
<filename>j2sdk-1_3_1-src.tar.gz</filename> file in your
|
||||
<filename>/usr/ports/distfiles</filename>. This file is needed
|
||||
for applying the <quote>patch-sets</quote> discussed below.</para>
|
||||
for applying the <quote>patch-set</quote> discussed below.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>You will need to download the <literal>patch set</literal>
|
||||
for building the port. The patch-set file is called
|
||||
<filename>bsd-jdk131-patches-6.tar.gz</filename>. You should
|
||||
<filename>bsd-jdk131-patches-9.tar.gz</filename>. You should
|
||||
also make sure the integrity of the files by matching it with
|
||||
the following <acronym>MD5</acronym> checksum.</para>
|
||||
|
||||
<programlisting>
|
||||
MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9</programlisting>
|
||||
MD5 (bsd-jdk131-patches-9.tar.gz) = 29c83880d3555abcf74fc7df9db1959f</programlisting>
|
||||
|
||||
<para>The patch-set is available from: <ulink
|
||||
url="http://www.eyesbeyond.com/freebsddom/java/index.html"></ulink></para>
|
||||
|
@ -402,7 +381,7 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9</programlis
|
|||
information on Tomcat and <acronym>&jsp;</acronym>. The next
|
||||
section will demonstrate how to build the <quote>Tomcat
|
||||
Environment</quote> for FreeBSD. The version of Tomcat used in
|
||||
this guide is <literal>4.0.3</literal>. This version contains
|
||||
this guide is <literal>4.0.6</literal>. This version contains
|
||||
major bug fixes, and the following updates/changes:</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
@ -461,9 +440,9 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9</programlis
|
|||
<step>
|
||||
<para>Download the Tomcat <quote>binary distribution</quote>
|
||||
from the Jakarta website, which is located at
|
||||
<literal><ulink url="&tomcat403"></ulink></literal>. The
|
||||
<literal><ulink url="&tomcat406"></ulink></literal>. The
|
||||
file to download is called
|
||||
<filename>jakarta-tomcat-4.0.3.tar.gz</filename>.</para>
|
||||
<filename>jakarta-tomcat-4.0.6.tar.gz</filename>.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -479,19 +458,19 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9</programlis
|
|||
|
||||
<step>
|
||||
<para>Un-tar and Un-compress the
|
||||
<filename>jakarta-tomcat-4.0.3.tar.gz</filename> file into
|
||||
<filename>jakarta-tomcat-4.0.6.tar.gz</filename> file into
|
||||
the <filename>/usr/local</filename> directory and rename the
|
||||
directory to <filename>tomcat-4.0</filename> for ease of
|
||||
reference:</para>
|
||||
|
||||
<screen>&prompt.root; cd /usr/local
|
||||
&prompt.root; gtar zxvf jakarta-tomcat-4.0.3.tar.gz
|
||||
&prompt.root; gtar zxvf jakarta-tomcat-4.0.6.tar.gz
|
||||
&prompt.root; ls jakarta*
|
||||
jakarta-tomcat-4.0.3
|
||||
&prompt.root; mv jakarta-tomcat-4.0.3 tomcat-4.0</screen>
|
||||
jakarta-tomcat-4.0.6
|
||||
&prompt.root; mv jakarta-tomcat-4.0.6 tomcat-4.0</screen>
|
||||
|
||||
<para>You can remove the
|
||||
<filename>jakarta-tomcat-4.0.3.tar.gz</filename> at your
|
||||
<filename>jakarta-tomcat-4.0.6.tar.gz</filename> at your
|
||||
preference.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
|
|
Loading…
Reference in a new issue