Popular Posts

Dec 20, 2016

pkg administration in solaris 11

pkg administration in solaris 11



1. To view Solaris 11 package version
    A package called entire is the primary incorporation package that determines the overall state of a system.
     pkg info entire

Table 1. FMRI elements
FMRI SegmentValueDescription
publishersolarisPublisher
nameentirePackage name
component_version0.5.11Component version
release5.11Release version, for example, Oracle Solaris 11
branch_version0.175.3.14.0.6.0Branch version
timestamp20161110T164958ZPackage time stamp (ISO 8601 UTC format)


OR

2. Determining Oracle Solaris 11 OS Package Update Version (Kernel Version)
      pkg info kernel

3. Update a Solaris 11 server from repository with latest SRU
     pkg update --accept

4. To view the configured publishers (repo servers)
      pkg publisher

5. To determine whether the installadm package is already installed on this system
      pkg list installadm

6. Make sure your IPS package repository contains the installadm package
     pkg list -a installadm

7. Install a package from repository
     pkg install install/installadm

8. To view the details of a package
      pkg info installadm

9. To list content or associated files of a package
      pkg contents nano

10. To uninstall a package from solaris 11 server
        pkg uninstall editor/nano


11. Upgrade the packages by relaxing the version lock
        pkg list | grep "network/ntp"
        pkgrepo list -s http://192.168.1.10 | grep "network/ntp"
        pkg update service/network/ntp@4.2.8.9,5.11-0.175.3.17.0.1.0
        pkg contents -m userland-incorporation | grep "service/network/ntp"
        pkg change-facet facet.version-lock.service/network/ntp=false
        pkg update service/network/ntp@4.2.8.9,5.11-0.175.3.17.0.1.0   OR
        pkg update service/network/ntp

12. Set Package publisjer
        pkg set-publisher -G '*' -M '*' -g http://10.192.168.10 solaris

~
pkg administration in solaris 11;
install package in solaris 11;
solaris 11 package installation;
pkg update solaris 11
pkg info entire

info pkg
~

No comments:

Post a Comment

Popular Posts