Which option manages HTTP access to the repository?

Your server has a package repository that local clients access remotely. Which option manages
HTTP access to the repository?

Your server has a package repository that local clients access remotely. Which option manages
HTTP access to the repository?

A.
pkg set-property

B.
pkg.depotd

C.
pkg.repotd

D.
pkgrepo

Explanation:
* pkg.depotd is the depot server for the image packaging system. It provides
network access to the data contained within a package repository. Clients that do not support
direct access to a repository through the file system, or for which network access is the only
available or preferred method of transport, typically use the package depot.
* Example:
Configure pkg.depotd to provide remote access. pkg.depotd provides an HTTP interface to a pkg
repo. Here we are going to make the repo server listen on port 10000, and use the repo dir we
created as its default.
# svcadm disable pkg/server

# svccfg -s pkg/server setprop pkg/inst_root = /data/myrepo
# svccfg -s pkg/server setprop pkg/port = 10000
# svcadm refresh pkg/server
# svcadm enable pkg/server



Leave a Reply 3

Your email address will not be published. Required fields are marked *