How to Install Components on Oracle Solaris

  • To install Hardware Management Pack components, you must be logged into your system with root privileges.

  • If you are not using the public Oracle Solaris repository but instead have set up your own internal repository, ensure that you have set the publisher to point to your internal repro site. For example:

    # pkg set-publisher -p http://repository_URI

    Where repository_URI is the URI to your internal repository.

  • If you are using the public Oracle Solaris repository (for example, http://pkg.oracle.com/solaris/release/en/index.shtml), and your company uses a proxy server, ensure that you have configured the proxy. For example:

    # export http_proxy=http://proxy-server:port-number

    Where proxy-server is the address of your proxy server and port-number is the port number used for the proxy server.

  1. Determine which Hardware Management Pack components to install. See Available Hardware Management Pack Components.
  2. To install a package, use the following command:

    # pkg install package-name

    Where package-name is one or more of the packages (each separated by a space) listed in Available Hardware Management Pack Components. For example:

    root@system1:~# pkg install system/management/raidconfig
               Packages to install:  1
           Create boot environment: No
    Create backup boot environment: No
    DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
    Completed                                1/1           9/9 0.1/0.1  1.6M/s
    
    PHASE                                          ITEMS
    Installing new actions                         38/38
    Updating package state database                 Done
    Updating package cache                           0/0
    Updating image state                            Done
    Creating fast lookup database                   Done
    Updating package cache                           1/1
    root@system1:~#