From 27cbcc36356289f0a4747fd11424788432a90be9 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Sat, 31 Aug 2002 09:59:41 +0000 Subject: [PATCH] Collapse multiple, subsequent 's to single, multi-line elements. --- .../articles/java-tomcat/article.sgml | 71 +++++++------------ 1 file changed, 27 insertions(+), 44 deletions(-) diff --git a/en_US.ISO8859-1/articles/java-tomcat/article.sgml b/en_US.ISO8859-1/articles/java-tomcat/article.sgml index c28562cd2c..2adceabd63 100644 --- a/en_US.ISO8859-1/articles/java-tomcat/article.sgml +++ b/en_US.ISO8859-1/articles/java-tomcat/article.sgml @@ -253,25 +253,21 @@ you need to start by building java/linux-jdk13: - &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 + &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 And finally: - &prompt.root; cd /usr/ports/java/linux-jdk13 - - &prompt.root; make all install clean + &prompt.root; cd /usr/ports/java/linux-jdk13 +&prompt.root; make all install clean Once you have built java/linux-jdk13, you need to test it, to make sure it works as intended. To do that: - &prompt.root; cd /usr/local/linux-jdk1.3.1/bin - - &prompt.root; ./java -version + &prompt.root; cd /usr/local/linux-jdk1.3.1/bin +&prompt.root; ./java -version The output of the above command should be as follows: @@ -281,9 +277,8 @@ Classic VM (build 1.3.1_02-b02, green threads, nojit) If you did not get the correct response, you need to: - &prompt.root; cd /usr/ports/java/linux-jdk13 - - &prompt.root; make deinstall + &prompt.root; cd /usr/ports/java/linux-jdk13 +&prompt.root; make deinstall And make sure that /usr/local does not contain a linux-jdk1.3.1 directory. If you @@ -436,9 +431,8 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9 - &prompt.root; setenv JAVA_HOME /usr/local/jdk1.3.1 (for C Shells) - - &prompt.root; export JAVA_HOME=/usr/local/jdk1.3.1 (for Bourne Shells) + &prompt.root; setenv JAVA_HOME /usr/local/jdk1.3.1 (for C Shells) +&prompt.root; export JAVA_HOME=/usr/local/jdk1.3.1 (for Bourne Shells) This environment variable should be made permanent by adding it into either .profile or @@ -473,15 +467,11 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9tomcat-4.0 for ease of reference: - &prompt.root; cd /usr/local - - &prompt.root; gtar zxvf jakarta-tomcat-4.0.3.tar.gz - - &prompt.root; ls jakarta* - - jakarta-tomcat-4.0.3 - - &prompt.root; mv jakarta-tomcat-4.0.3 tomcat-4.0 + &prompt.root; cd /usr/local +&prompt.root; gtar zxvf jakarta-tomcat-4.0.3.tar.gz +&prompt.root; ls jakarta* +jakarta-tomcat-4.0.3 +&prompt.root; mv jakarta-tomcat-4.0.3 tomcat-4.0 You can remove the jakarta-tomcat-4.0.3.tar.gz at your @@ -514,18 +504,16 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9Now that we have finished installing Tomcat. The following example shows how to start the Tomcat server: - &prompt.root; cd /usr/local/tomcat-4.0/bin - - &prompt.root; ./startup.sh (for starting Tomcat) + &prompt.root; cd /usr/local/tomcat-4.0/bin +&prompt.root; ./startup.sh (for starting Tomcat) You can test if your Tomcat server has started by visiting the following URL: http://127.0.0.1:8080 or http://localhost:8080. To stop Tomcat: - &prompt.root; cd /usr/local/tomcat-4.0/bin - - &prompt.root; ./shutdown.sh + &prompt.root; cd /usr/local/tomcat-4.0/bin +&prompt.root; ./shutdown.sh (for stopping Tomcat) @@ -535,9 +523,8 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9 - &prompt.root; cd /usr/local/etc/rc.d - - &prompt.root; ln -s /usr/local/tomcat-4.0/bin/catalina.sh + &prompt.root; cd /usr/local/etc/rc.d +&prompt.root; ln -s /usr/local/tomcat-4.0/bin/catalina.sh Edit the catalina.sh, and add the following at the beginning of the file (after the comment @@ -552,15 +539,11 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9 - &prompt.root; cd /usr/local/tomcat-4.0/conf - - &prompt.root; fgrep -n 8080 server.xml - - ~65: By default, a non-SSL HTTP/1.1 Connector is established on port 8080. - - ~89: port="8080" minProcessors="5" maxProcessors="75" - - &prompt.root; cat server.xml | sed s/8080/80/ > server.xml + &prompt.root; cd /usr/local/tomcat-4.0/conf +&prompt.root; fgrep -n 8080 server.xml +~65: By default, a non-SSL HTTP/1.1 Connector is established on port 8080. +~89: port="8080" minProcessors="5" maxProcessors="75" +&prompt.root; cat server.xml | sed s/8080/80/ > server.xml