官术网_书友最值得收藏!

Determining the current package publisher

When administering IPS on a Solaris 11 system, the first thing we need to do is find out the current package publisher because initially, it will be the source that our system will install or update a package from.

Getting ready

To follow this recipe, it's necessary that we have a machine (physical or virtual) running Oracle Solaris 11; we need to log in to this system as the root user and open a terminal.

How to do it…

To list the existing publishers, we execute the following:

root@solaris11:/# pkg publisher
PUBLISHER   TYPE    STATUS  P  LOCATION
solaris     origin  online  F  http://pkg.oracle.com/solaris/release/

According to the output, the Oracle package URI and repository (http://pkg.oracle.com/solaris/release/) is the source of the packages and updates (named as origin), and it isn't proxied (when P equals F, the proxy is set to false).

To collect additional information about the publisher of the packages, we type the following:

root@solaris11:~# pkg publisher solaris
Publisher: solaris
Alias:
Origin URI: http://pkg.oracle.com/solaris/release/
SSL Key: None
SSL Cert: None
Client UUID: f7cdfbf2-0292-11e2-831b-80144f013e20
Catalog Updated: September 12, 2013 04:22:26 PM
Enabled: Yes

An overview of the recipe

Using the main command, pkg, with the publisher keyword, we've found a list of publishers and that the solaris publisher is online, and a URI is enabled that points to the repository location, which is http://pkg.oracle.com/solaris/release/. Furthermore, there is no SSL digital certificate associated with the solaris publisher.

主站蜘蛛池模板: 伽师县| 安康市| 乌兰浩特市| 忻城县| 抚宁县| 安徽省| 罗源县| 股票| 汾阳市| 新巴尔虎右旗| 洪江市| 炎陵县| 双城市| 朝阳区| 江安县| 抚松县| 茂名市| 武山县| 融水| 安庆市| 从江县| 固原市| 卓资县| 府谷县| 宕昌县| 古田县| 靖安县| 石阡县| 开平市| 九龙城区| 杭锦旗| 东港市| 台中县| 六安市| 漾濞| 贡嘎县| 定陶县| 留坝县| 贵州省| 甘南县| 涟水县|