Solaris Patch Installation |
|
To list the patches installed on your system, use the command
showrev -p
If the required/recommended patches are not already
installed, follow the steps below to install the necessary patches.
Patch installation is simplest if the patch tar file is downloaded
into an empty current working directory with at least 110MB of free
space.
1.
Extract the patch tar file that matches your version
of Solaris (only one will apply to a given system).
Use a command
of the form tar xvf <file-name>.
For example, for Solaris 2.6 on SPARC, for update version 1.3.1_01,
use:
tar xvf j2sdk-1_3_1_01-patches-solsparc-5.6.tar
This will create a number of patch archives with names of the
form <patch-id>.tar.Z.
2.
Uncompress and extract each of the patch archives that
you wish to install:
uncompress <patch-id>.tar.Z
tar xvf <patch-id>.tar
A directory with a name like <patch-id> will be
created for each
patch. General instructions for patch installation are included
in the Install.info file in the top-level directory of each
patch. In addition, special installation instructions or
post-installation requirements (such as a system reboot) appear
in the README file included with each patch, along with a list of
bug ids fixed and files changed by that patch.
3.
Login to the system console as root.
4.
Place the system in single-user mode
This step is not required, but is recommended for patch
installation:
shutdown
5.
Install the patches.
Most patches can be installed using the
commands below; however the Install.info and README files for
each patch should be consulted. In the commands below, replace
<your_patch_directory> with the path to the directory
where the patches were extracted.
patchadd -M <your_patch_directory> <patch-id> <patch-id> ...
6.
Shutdown and reboot.
shutdown -i6
|