Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 16:05:12 -0700 (PDT)
From:      Valentino Vaschetto <logo@osd.bsdi.com>
To:        Holger Kipp <Holger.Kipp@alogis.com>, Murray Stokely <murray@osd.bsdi.com>
Cc:        <freebsd-doc@FreeBSD.ORG>
Subject:   Re: Contribute "SAP/R3 Installation Description on FreeBSD 4.3 STABLE"
Message-ID:  <Pine.BSF.4.31.0105311602510.46700-200000@meow.osd.bsdi.com>
In-Reply-To: <Pine.BSF.4.31.0105311532100.43842-100000@meow.osd.bsdi.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Okay, I lied.. now the diff is attached :)

-val



On Thu, 31 May 2001, Valentino Vaschetto wrote:

:Missed stuff:
:
:* Forgot the ";" at the end of one of the &prompt.root;
:* Fixed the ugly <screen> indentations
:
:Diff attached.
:
:-val
:
:
:
:On Wed, 30 May 2001, Murray Stokely wrote:
:
::On Tue, May 29, 2001 at 03:22:34PM +0200, Holger Kipp wrote:
::> Documentation is available (currently as LyX-File and derivations,
::> ie LaTeX, ps and pdf) and you're free to use it for the FreeBSD
::> Handbook, if you like (as long as my name stays in there ;-)
::
::Thanks Holger,
::
::  Valentino Vaschetto converted this document to DocBook SGML and it
::has been committed.  Please let me know if you think the presentation
::should be tweaked in any way (the change is in CVS now and should
::appear on the web in a few hours).  I thought it would be beneficial
::to list links to the SAP notes that you reference, but I couldn't find
::them online.
::
::     - Murray
::
::To Unsubscribe: send mail to majordomo@FreeBSD.org
::with "unsubscribe freebsd-doc" in the body of the message
::
:
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe freebsd-doc" in the body of the message
:

[-- Attachment #2 --]
Index: chapter.sgml
===================================================================
RCS file: /ncvs/doc/en_US.ISO_8859-1/books/handbook/linuxemu/chapter.sgml,v
retrieving revision 1.36
diff -u -r1.36 chapter.sgml
--- chapter.sgml	2001/05/31 05:40:35	1.36
+++ chapter.sgml	2001/06/01 03:27:42
@@ -834,9 +834,8 @@
         mine from ftp7.de.freebsd.org. Please choose the appropriate
         mirror).</para>
 
-        <screen>
-          &prompt.root; <userinput>dd if=kern.flp of=/dev/fd0</userinput> 
-          &prompt.root; <userinput>dd if=mfsroot.flp of=/dev/fd0</userinput> </screen>
+        <screen>&prompt.root; <userinput>dd if=kern.flp of=/dev/fd0</userinput> 
+&prompt.root; <userinput>dd if=mfsroot.flp of=/dev/fd0</userinput> </screen>
 
         <para>Don't forget to use different disks for the two images
         :-), then boot from the floppy with the kern.flp-image on it and
@@ -921,9 +920,8 @@
         FreeBSD 4.3 is quite easy. As user <emphasis>root</emphasis> do
         the following:</para>
 
-        <screen>
-          &prompt.root; <userinput>cp /etc/defaults/make.conf /etc/make.conf</userinput>
-          &prompt.root; <userinput>vi /etc/make.conf</userinput> </screen>
+        <screen>&prompt.root; <userinput>cp /etc/defaults/make.conf /etc/make.conf</userinput>
+&prompt.root; <userinput>vi /etc/make.conf</userinput> </screen>
 
         <para>The file <filename>/etc/make.conf</filename> requires the
         following entries to be active:</para>
@@ -944,9 +942,8 @@
         Starting cvsup to get the latest stable-sources is then very
         easy:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /usr/src</userinput>
-          &prompt.root; <userinput>make update</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/src</userinput>
+&prompt.root; <userinput>make update</userinput> </screen>
 
       </sect3>
 
@@ -957,9 +954,8 @@
         <para>The first thing to do is to install the sources.
           As user root, do the following:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /usr/src</userinput>
-          &prompt.root; <userinput>make world</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/src</userinput>
+&prompt.root; <userinput>make world</userinput> </screen>
 
         <para>If this goes through, one can then continue creating and
         configuring the new kernel. Usually this is where to customize
@@ -967,10 +963,9 @@
         troubadix, the natural name for the config file also is
         troubadix:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
-          &prompt.root; <userinput>cp GENERIC TROUBADIX</userinput>
-          &prompt.root; <userinput>vi TROUBADIX</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
+&prompt.root; <userinput>cp GENERIC TROUBADIX</userinput>
+&prompt.root; <userinput>vi TROUBADIX</userinput> </screen>
 
         <para>At this stage one can define the drivers to use and not to
         use, etc.  See the appropriate documentation or have a look at
@@ -980,13 +975,12 @@
         <para>One can then also include the parameters as described
         below Creating the new kernel then requires:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
-          &prompt.root; <userinput>config TROUBADIX</userinput>
-          &prompt.root; <userinput>cd /usr/src/sys/compile/TROUBADIX</userinput>
-          &prompt.root; <userinput>make depend</userinput>
-          &prompt.root; <userinput>make</userinput>
-          &prompt.root; <userinput>make install</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
+&prompt.root; <userinput>config TROUBADIX</userinput>
+&prompt.root; <userinput>cd /usr/src/sys/compile/TROUBADIX</userinput>
+&prompt.root; <userinput>make depend</userinput>
+&prompt.root; <userinput>make</userinput>
+&prompt.root; <userinput>make install</userinput> </screen>
 
 
         <para>After <emphasis>make install</emphasis> finished
@@ -1012,9 +1006,8 @@
       <sect3 id="installinglinuxbase-system">
         <title>Installing Linux base-system
         <para>First the linux base-system needs to be installed (as root):</para>
-        <screen>
-          &prompt.root; <userinput>cd /usr/ports/emulators/linux_base</userinput>
-          &prompt.root; <userinput>make package</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base</userinput>
+&prompt.root; <userinput>make package</userinput> </screen>
       </sect3>
 
 
@@ -1023,9 +1016,8 @@
 
         <para>Next, the linux development is needed:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /usr/ports/devel/linux_devtools</userinput>
-          &prompt.root; <userinput>make package</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /usr/ports/devel/linux_devtools</userinput>
+&prompt.root; <userinput>make package</userinput> </screen>
 
       </sect3>
 
@@ -1052,13 +1044,11 @@
         <para>I installed these packages with the following
         command:</para>
 
-        <screen>
-          &prompt.root; <userinput>rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm &lt;package_name&gt;</userinput> </screen>
+        <screen>&prompt.root; <userinput>rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm &lt;package_name&gt;</userinput> </screen>
 
         <para>except for the pam package, which I forced with</para>
 
-        <screen>
-          &prompt.root <userinput>rpm -i --ignoreos --nodeps --root /compat/linux --dbpath /var/lib/rpm pam-0.68-7.i386.rpm</userinput> </screen>
+        <screen>&prompt.root; <userinput>rpm -i --ignoreos --nodeps --root /compat/linux --dbpath /var/lib/rpm pam-0.68-7.i386.rpm</userinput> </screen>
 
         <para>For Oracle to run the intelligent agent, I also hat to
         install the following RedHat TCL package (as is steted in the
@@ -1109,10 +1099,9 @@
         <para>I also created some links, so FreeBSD will also find the
         correct path:</para>
 
-        <screen>
-          &prompt.root; <userinput>ln -s /compat/linux/oracle /oracle</userinput>
-          &prompt.root; <userinput>ln -s /compat/linux/sapmnt /sapmnt</userinput>
-          &prompt.root; <userinput>ln -s /compat/linux/usr/sap /usr/sap</userinput> </screen>
+        <screen>&prompt.root; <userinput>ln -s /compat/linux/oracle /oracle</userinput>
+&prompt.root; <userinput>ln -s /compat/linux/sapmnt /sapmnt</userinput>
+&prompt.root; <userinput>ln -s /compat/linux/usr/sap /usr/sap</userinput> </screen>
       </sect3>
 
       <sect3 id="creatingusersanddirectories">
@@ -1240,32 +1229,29 @@
         <para>First we'll set owners and right of some directories (as
         user <emphasis>root</emphasis>):</para>
 
-        <screen>
-          &prompt.root; <userinput>chmod 775 /oracle</userinput>
-          &prompt.root; <userinput>chmod 777 /sapmnt</userinput>
-          &prompt.root; <userinput>chown root:dba /oracle</userinput>
-          &prompt.root; <userinput>chown idsadm:sapsys /compat/linux/usr/sap</userinput>
-          &prompt.root; <userinput>chmow 775 /compat/linux/usr/sap</userinput> </screen>
+        <screen>&prompt.root; <userinput>chmod 775 /oracle</userinput>
+&prompt.root; <userinput>chmod 777 /sapmnt</userinput>
+&prompt.root; <userinput>chown root:dba /oracle</userinput>
+&prompt.root; <userinput>chown idsadm:sapsys /compat/linux/usr/sap</userinput>
+&prompt.root; <userinput>chmow 775 /compat/linux/usr/sap</userinput> </screen>
 
         <para>Second we'll create directories as user ora&lt;sid&gt;. These
         will all be subdirectories of /oracle/IDS:</para>
 
-        <screen>
-          &prompt.root; <userinput>su - oraids</userinput>
-          &prompt.root; <userinput>mkdir mirrlogA mirrlogB origlogA origlogB</userinput>
-          &prompt.root; <userinput>mkdir sapdata1 sapdata2 sapdata3 sapdata4 sapdata5 sapdata6</userinput>
-          &prompt.root; <userinput>mkdir saparch sapreorg</userinput>
-          &prompt.root; <userinput>exit</userinput> </screen>
+        <screen>&prompt.root; <userinput>su - oraids</userinput>
+&prompt.root; <userinput>mkdir mirrlogA mirrlogB origlogA origlogB</userinput>
+&prompt.root; <userinput>mkdir sapdata1 sapdata2 sapdata3 sapdata4 sapdata5 sapdata6</userinput>
+&prompt.root; <userinput>mkdir saparch sapreorg</userinput>
+&prompt.root; <userinput>exit</userinput> </screen>
 
         <para>In the third step we create directories as user idsadm
         (&lt;sid&gt;adm):</para>
 
-        <screen>
-          &prompt.root; <userinput>su - idsadm</userinput>
-          &prompt.root; <userinput>cd /usr/sap</userinput>
-          &prompt.root; <userinput>mkdir IDS</userinput>
-          &prompt.root; <userinput>mkdir trans</userinput>
-          &prompt.root; <userinput>exit</userinput> </screen>
+        <screen>&prompt.root; <userinput>su - idsadm</userinput>
+&prompt.root; <userinput>cd /usr/sap</userinput>
+&prompt.root; <userinput>mkdir IDS</userinput>
+&prompt.root; <userinput>mkdir trans</userinput>
+&prompt.root; <userinput>exit</userinput> </screen>
       </sect3>
 
       <sect3 id="entriesinslashetcslashservices">
@@ -1365,10 +1351,9 @@
         filenames should be in capital letters, otherwise use the -g
         option for mounting. So use the following commands:</para>
 
-        <screen>
-          &prompt.root; <userinput>mount_cd9660 -g /dev/cd0a /mnt</userinput>
-          &prompt.root; <userinput>cp -R /mnt/* /oracle/IDS/sapreorg/&lt;cd-name&gt;</userinput>
-          &prompt.root; <userinput>umount /mnt</userinput> </screen>
+        <screen>&prompt.root; <userinput>mount_cd9660 -g /dev/cd0a /mnt</userinput>
+&prompt.root; <userinput>cp -R /mnt/* /oracle/IDS/sapreorg/&lt;cd-name&gt;</userinput>
+&prompt.root; <userinput>umount /mnt</userinput> </screen>
       </sect3>
 
       <sect3 id="runningtheinstall-script">
@@ -1376,10 +1361,9 @@
 
         <para>First we need to prepare an install-directory:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /oracle/IDS/sapreorg</userinput>
-          &prompt.root; <userinput>mkdir install</userinput>
-          &prompt.root; <userinput>cd install</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /oracle/IDS/sapreorg</userinput>
+&prompt.root; <userinput>mkdir install</userinput>
+&prompt.root; <userinput>cd install</userinput> </screen>
 
         <para>Then the install-script is started, which will copy nearly
         all the relevant files into the install-directory:</para>
@@ -1400,15 +1384,13 @@
 
         <para>Make sure LD_LIBRARY_PATH is set correctly:</para>
 
-        <screen>
-          &prompt.root; <userinput>export LD_LIBRARY_PATH=/oracle/IDS/lib:/sapmnt/IDS/exe:/oracle/805_32/lib</userinput> </screen>
+        <screen>&prompt.root; <userinput>export LD_LIBRARY_PATH=/oracle/IDS/lib:/sapmnt/IDS/exe:/oracle/805_32/lib</userinput> </screen>
 
         <para>Start R3SETUP as user root from installation
         directory:</para>
 
-        <screen>
-          &prompt.root; <userinput>cd /oracle/IDS/sapreorg/install</userinput>
-          &prompt.root; <userinput>./R3SETUP -f CENTRDB.R3S</userinput> </screen>
+        <screen>&prompt.root; <userinput>cd /oracle/IDS/sapreorg/install</userinput>
+&prompt.root; <userinput>./R3SETUP -f CENTRDB.R3S</userinput> </screen>
 
         <para>The script then asks some questions (defaults in brackets,
         followed by actual input):</para>
@@ -1633,13 +1615,12 @@
         <para>Apart from relinking, the installation is
         straightforward:</para>
 
-        <screen>
-          &prompt.root; <userinput>su - oraids</userinput>
-          &prompt.root; <userinput>export TERM=xterm</userinput>
-          &prompt.root; <userinput>export ORACLE_TERM=xterm</userinput>
-          &prompt.root; <userinput>export ORACLE_HOME=/oracle/IDS</userinput>
-          &prompt.root; <userinput>cd /ORACLE_HOME/orainst_sap</userinput>
-          &prompt.root; <userinput>./orainst</userinput> </screen>
+        <screen>&prompt.root; <userinput>su - oraids</userinput>
+&prompt.root; <userinput>export TERM=xterm</userinput>
+&prompt.root; <userinput>export ORACLE_TERM=xterm</userinput>
+&prompt.root; <userinput>export ORACLE_HOME=/oracle/IDS</userinput>
+&prompt.root; <userinput>cd /ORACLE_HOME/orainst_sap</userinput>
+&prompt.root; <userinput>./orainst</userinput> </screen>
 
         <para>Confirm all Screens with Enter until the software is
         installed, except that one has to deselect the <emphasis>Oracle
@@ -2009,16 +1990,15 @@
         <para>To continue with the installation, I created a link and an
         additional directory:</para>
 
-        <screen>
-          &prompt.root; pwd
-          /compat/linux/usr/sap
-          &prompt.root; ls -l
-          total 4
-          drwxr-xr-x 3 idsadm sapsys 512 May 5 11:20 D00
-          drwxr-x--x 5 idsadm sapsys 512 May 5 11:35 IDS
-          lrwxr-xr-x 1 root sapsys 7 May 5 11:35 SYS -> IDS/SYS
-          drwxrwxr-x 2 idsadm sapsys 512 May 5 13:00 tmp
-          drwxrwxr-x 11 idsadm sapsys 512 May 4 14:20 trans </screen>
+        <screen>&prompt.root; pwd
+/compat/linux/usr/sap
+&prompt.root; ls -l
+total 4
+drwxr-xr-x 3  idsadm sapsys 512 May 5 11:20 D00
+drwxr-x--x 5  idsadm sapsys 512 May 5 11:35 IDS
+lrwxr-xr-x 1  root   sapsys 7 May 5 11:35 SYS -> IDS/SYS
+drwxrwxr-x 2  idsadm sapsys 512 May 5 13:00 tmp
+drwxrwxr-x 11 idsadm sapsys 512 May 4 14:20 trans </screen>
    
         <para>I also found SAP notes (0029227 and 0008401) describing
         this behaviour.</para>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0105311602510.46700-200000>