Installation guide

Quick Installation
1.4 Installing RTR for SunOS
1.4.1 Installation Procedure
Note
There are both an
rtr
and
rtr_r
(the latter is installed only on SunOS
5.6/Solaris 2.6 systems); a soft link is established to the proper one
from
/usr/bin/rtr
.
Both
librtr_r.so
and
librtr.so
are provided for both SunOS 5.5 and
5.6, in case there is a need to link your application with the threaded
version, but only on SunOS 5.6 will RTR itself use
librtr_r.so
, thus
enabling asynchronous I/O (aio) support.
1. Login as user
root
or
su
to
root
.
2. Use the
pkginfo
utility to check if you have a version of RTR already
installed:
# pkginfo -l rtr
3. If RTR is already installed on your system, see Section 2.2.4, Uninstalling
on Sun, for information on uninstalling RTR and removing related
processes.
4. Insert the CD-ROM and mount the volume at a convenient mount point
(for example,
/cdrom
).
5. Install RTR from the CD-ROM directory where the kit is located, for
example:
# cd /cdrom/rtr_kit
# pkgadd -d .
You can accept the defaults for most questions from the
pkgadd
utility.
When asked for the ‘‘base directory’’, answer
/opt
.
Ignore any warning about free blocks and answer ‘‘y’ to the attached
continue question.
When asked
"Do you want to install these as setuid/setgid files
[y,n,?,q]"
, answer ‘‘y’’.
When asked
"This package contains scripts which will be executed
with super-user permission during the process of installing this
package. Do you want to continue with the installation of <rtr>
[y,n,?]"
, answer ‘‘y’’.
6. RTR is now installed in
/opt/rtr
.
1–8 Quick Installation