svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
pkg.sysrepo(8)
System Administration Commands pkg.sysrepo(8)
NAME
pkg.sysrepo - Image Packaging System system repository configuration
SYNOPSIS
/usr/lib/pkg.sysrepo -p port [-c cache_dir] [-s cache_size]
[-w http_proxy] [-W https_proxy]
DESCRIPTION
pkg.sysrepo is used to generate the configuration files for the Image
Packaging System (IPS) system repository. pkg.sysrepo is called by the
svc:/application/pkg/system-repository Service Management Facility
(SMF) service. Changes in configuration should be made to the proper‐
ties in the SMF service.
The system repository is responsible for providing access to the pack‐
age repositories configured in a reference image through a centralized
proxy. Publisher configuration changes made to that reference image are
seen immediately by any clients configured to use the system reposi‐
tory.
The system repository is primarily used in the global zone to allow
non-global zones to access the repositories configured in the global
zone. The SMF services svc:/application/pkg/zones-proxyd and
svc:/application/pkg/zones-proxy-client are responsible for providing
the transport between non-global zones and the global zone. This trans‐
port is only used by pkg(7).
The system repository can proxy http, https, file, and .p5p archive
repositories. Only version 4 file system repositories are supported,
which is the default format for the pkgrepo create command. See the
pkgrepo(1) man page for more information about repository versions.
OPTIONS
The following options are supported:
-c cache_dir
Specify the absolute path to a directory that should be used by the
system repository for caching responses from the publishers config‐
ured.
By default, a file-cache is used. However, the special value memory
can be used to indicate the an in-memory cache should be used. The
special value None can be used to indicate that the system reposi‐
tory should not perform any caching. This setting should be config‐
ured using the config/cache_dir SMF property.
-p port
Specify the port that the system repository should use to listen
for requests. This setting should be configured using the con‐
fig/port SMF property.
-s cache_size
An integer value in megabytes that defines the maximum cache size
of the system repository. This setting should be configured using
the config/cache_max SMF property.
-w http_proxy
A string of the form scheme://hostname[:port] that defines a web
proxy that the system repository can use to access http-based pack‐
age repositories. This setting can be configured using the con‐
fig/http_proxy SMF property.
-W https_proxy
A string of the form scheme://hostname[:port] that defines a web
proxy that the system repository can use to access https-based
package repositories. This setting can be configured using the con‐
fig/https_proxy SMF property.
EXAMPLES
Example 1 Enabling the System Repository
$ svcadm enable svc:/application/pkg/system-repository
EXIT STATUS
The following exit values are returned:
0 Command succeeded.
1 Command failed to write a valid configuration.
2 Invalid command line options were specified.
99 An unanticipated exception occurred.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitypackage/pkg _ Interface StabilityUncommit‐
ted
SEE ALSO
pkg(1), pkg.depotd(8), pkg(7)
https://github.com/oracle/solaris-ips
Oracle Solaris 11.4 15 Nov 2017 pkg.sysrepo(8)