Difference between revisions of "Documentation/Administration Guide/Solaris"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(31 intermediate revisions by 6 users not shown)
Line 5: Line 5:
 
|PrevPage=Documentation/Administration Guide/How to deploy OpenOffice.org though a network
 
|PrevPage=Documentation/Administration Guide/How to deploy OpenOffice.org though a network
 
|NextPage=Documentation/Administration Guide/Linux
 
|NextPage=Documentation/Administration Guide/Linux
}}
+
}}  
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
=== Installation ===
+
=== Installation ===  
The setup of {{OOo} based on Solaris Packages with a Java font end.
+
<!--The [http://docs.sun.com/app/docs/doc/817-7351?a=load StarOffice 8 Getting Started Guide] describes the usage of the Java front end. -->
+
  
The Solaris Package Manager is powerful tool to deploy software packages locally and through a network.
+
The Solaris Package Manager is a powerful tool you can use to deploy software packages both locally and throughout a network.
  
To expand the installation:
+
{{Note|These instructions assume you have downloaded and extracted the {{AOo}} installation files.}}
 
+
* Become root if necessary
+
  
 +
<ol>
 +
<li>Become root if necessary
 +
<syntaxhighlight lang="text">
 
  su -
 
  su -
 +
</syntaxhighlight></li>
 +
<li>Change directory to:
 +
<syntaxhighlight lang="text">
 +
<OpenOffice_unzip-dir>/packages
 +
</syntaxhighlight></li>
 +
<li>For a silent installation of {{AOo}}, you must create an <tt>admin</tt> file. This hides any recurring queries during the installation.
 +
<syntaxhighlight lang="text">
 +
echo action=nocheck > /tmp/admin
 +
echo conflict=quit >> /tmp/admin
 +
echo idepend=nocheck >> /tmp/admin
 +
</syntaxhighlight></li>
 +
<li>Install the {{AOo}} packages :
 +
<syntaxhighlight lang="text">
 +
pkgadd -n -a /tmp/admin -d . *
 +
</syntaxhighlight></li></ol>
  
* Execute the installation package on Solaris Sparc
+
You can safely delete the {{AOo}} installation packages after the install is complete.
 
+
<nowiki>./OOo_<version>_SolarisSparc-en-US_<Optional languages>.sh</nowiki>
+
 
+
: On Solaris x86
+
 
+
<nowiki>./OOo_<version>_Solarisx86-en-US_<Optional languages>.sh</nowiki>
+
 
+
* Following error message appears
+
 
+
The Installation Wizard can't run in GUI mode.
+
Maybe the DISPLAY environment variable isn't set correctly.
+
 
+
* Due to the fact that we do not need the graphical installer you can ignore this error message. In those cases where the graphic setup appears, do not continue to install {{OOo}} but leave the installation dialog open.
+
 
+
* You will find the Solaris packages in following directory :
+
 
+
/var/tmp/unpack_staroffice/packages
+
 
+
* Move all packages directory in a directory of your choice.
+
* Go into this directory
+
* Cancel the {{OOo}} setup now
+
<!--
+
CDE users probably does not need the Gnome integration package. Remove the directory SUNWstaroffice-gnome-integration
+
 
+
rm -r SUNWstaroffice-gnome-integration
+
 
+
To anticipate the installation of the Adabas D Database server, which is part of StarOffice installation set, remove following directory :
+
 
+
rm -r SUNWadabas
+
 
+
For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
+
 
+
echo action=nocheck > /tmp/admin
+
echo conflict=nocheck >> /tmp/admin
+
echo idepend=nocheck >> /tmp/admin
+
 
+
To install the StarOffice packages :
+
 
+
pkgadd -n -a /tmp/admin -d . *
+
 
+
Remove the StarOffice installation packages afterwards :
+
 
+
rm -r /var/tmp/unpack_staroffice
+
 
+
=== Apply StarOffice Product Patches/Updates ===
+
Each Product Update has the same Java based installer front end as the StarOffice installation set. Just call the setup for applying the update. Anyhow, the Upgrade uses Solaris packages as which could be applied by the upgrade command of the Solaris Package Manager.
+
 
+
* Download the patch from SunSolve
+
 
+
[http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&nav=pub-patches http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&nav=pub-patches]
+
 
+
* Extract the patch files from the archive (The file name differ with the patch release)
+
 
+
<nowiki>unzip 120185-02.zip [Solaris Sparc]</nowiki>
+
<nowiki>unzip 120186-02.zip [Solaris x86]</nowiki>
+
 
+
* Apply the patch (The patch has the same number/name as the ZIP archive above)
+
 
+
patchadd 120186-02
+
 
+
=== De-Installation ===
+
Do not delete the StarOffice files from the file system. We strongly recommend to use the StarOffice Java setup or the ''pkgrm'' tool to de-install StarOffice. The Solaris package repository would become inconsistent when you remove the StarOffice files via rm -r .
+
 
+
* Become root if necessary<br/>
+
 
+
su -
+
 
+
* Create a file 'so_packages' with all StarOffice related Solaris packages
+
 
+
pkginfo -x | cut  -f1 -d " " | grep staroffice > /tmp/so_packages
+
 
+
* For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
+
 
+
echo action=nocheck > /tmp/admin
+
echo conflict=nocheck >> /tmp/admin
+
echo rdepend=nocheck >> /tmp/admin
+
 
+
* Remove all packages listed in the file
+
 
+
pkgrm -a /tmp/admin -n `cat /tmp/so_packages`
+
 
+
* There are a number of packages in the StarOffice installation set does not use the term 'staroffice'. These packages including a font server (SUNWfreetype2) and an Ababas D database server (SUNWadabas). To remove these packages:
+
 
+
pkgrm SUNWfreetype2 SUNWadabas
+
 
+
Depending on your Java environment you have to deinstall following three packages which including the Java Runtime Environment which was installed by the StarOffice installer. De-Installing these packages could damage you Java environment.
+
  
  pkgrm SUNWj5rt SUNWj5man SUNWj5cfg
+
=== Uninstall ===
 +
Do not delete the {{AOo}} files from the file system. You must use either the {{AOo}} Java setup or the <tt>pkgrm</tt> tool to uninstall {{AOo}}.
 +
<ol>
 +
<li>Become root if necessary
 +
<syntaxhighlight lang="text">
 +
su -
 +
</syntaxhighlight></li>
 +
<li>Create a file 'ooo_packages' with all {{AOo}} related Solaris packages
 +
<syntaxhighlight lang="text">
 +
pkginfo -x | cut -f1 -d " " | grep ooo > /tmp/ooo_packages
 +
</syntaxhighlight></li>
 +
<li>For a silent uninstall of {{AOo}}, you must create an <tt>admin</tt> file. This hides any recurring queries during the uninstall.
 +
<syntaxhighlight lang="text">
 +
echo action=nocheck > /tmp/admin
 +
echo conflict=nocheck >> /tmp/admin
 +
echo rdepend=nocheck >> /tmp/admin
 +
</syntaxhighlight></li>
 +
<li>Remove all packages listed in the file
 +
<syntaxhighlight lang="text">
 +
pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
 +
</syntaxhighlight></li>
 +
<li>Depending on your Java environment you may choose to uninstall additional packages which were installed by the {{AOo}} installer:
 +
<syntaxhighlight lang="text">
 +
pkgrm SUNWj6man SUNWj6cfg
 +
</syntaxhighlight>
 +
{{Warn|Uninstalling these packages could damage your Java environment.}}
 +
</li></ol>
  
-->
+
{{InterWiki Languages AdminGuide|articletitle=Documentation/Administration Guide/Solaris}}
 
{{PDL1}}
 
{{PDL1}}

Latest revision as of 09:47, 1 May 2022


Installation

The Solaris Package Manager is a powerful tool you can use to deploy software packages both locally and throughout a network.

Documentation note.png These instructions assume you have downloaded and extracted the Apache OpenOffice installation files.
  1. Become root if necessary
     su -
  2. Change directory to:
    <OpenOffice_unzip-dir>/packages
  3. For a silent installation of Apache OpenOffice, you must create an admin file. This hides any recurring queries during the installation.
    echo action=nocheck > /tmp/admin
    echo conflict=quit >> /tmp/admin
    echo idepend=nocheck >> /tmp/admin
  4. Install the Apache OpenOffice packages :
    pkgadd -n -a /tmp/admin -d . *

You can safely delete the Apache OpenOffice installation packages after the install is complete.

Uninstall

Do not delete the Apache OpenOffice files from the file system. You must use either the Apache OpenOffice Java setup or the pkgrm tool to uninstall Apache OpenOffice.

  1. Become root if necessary
    su -
  2. Create a file 'ooo_packages' with all Apache OpenOffice related Solaris packages
    pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
  3. For a silent uninstall of Apache OpenOffice, you must create an admin file. This hides any recurring queries during the uninstall.
    echo action=nocheck > /tmp/admin
    echo conflict=nocheck >> /tmp/admin
    echo rdepend=nocheck >> /tmp/admin
  4. Remove all packages listed in the file
    pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
  5. Depending on your Java environment you may choose to uninstall additional packages which were installed by the Apache OpenOffice installer:
    pkgrm SUNWj6man SUNWj6cfg
    Documentation caution.png Uninstalling these packages could damage your Java environment.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages