You can install in a directory where part of the path is a symbolic link. An example for installing in a path reached by a symbolic link is if the default directory /opt does not have enough disk space. You need to complete the steps below to prevent the installer from bypassing the symbolic link and installing in an actual filesystem.
For example, if you choose to install in /opt, the following steps show you how to create a symbolic link of /opt/SUNWspro that points to /export/opt_SUNWspro. You can substitute your directory names for the example names.
Become a superuser (root) by typing:
su Password: root-password |
Save the existing symbolic link by typing:
mv /opt/SUNWspro /mytemp |
Make a new /opt/SUNWspro directory, which will serve as a mount point, by typing:
mkdir /opt/SUNWspro |
Mount the target directory so it is available as /opt/SUNWspro by typing:
mount -F lofs localhost:/export/opt_SUNWspro /opt/SUNWspro |
Install the product in the /opt directory.
Unmount the target directory by typing:
umount /opt/SUNWspro |
Remove the empty /opt/SUNWspro mount point by typing:
rmdir /opt/SUNWspro |
Restore the symbolic link that you moved in step 2:
mv /mytemp /opt/SUNWspro |
Exit from superuser privileges by typing:
exit |