you need to enable clients to access this repository vi…

A local repository is available on this system and you need to enable clients to access this repository via HTTP.
The repository information is:
PUBLISHERTYPESTATUSURI
solarisoriginonlinehttp://sysA.example.com
Identify two of the steps that are required to make the local repository on this server available to the client via
HTTP.

A local repository is available on this system and you need to enable clients to access this repository via HTTP.
The repository information is:
PUBLISHERTYPESTATUSURI
solarisoriginonlinehttp://sysA.example.com
Identify two of the steps that are required to make the local repository on this server available to the client via
HTTP.

A.
On the server: set the pkg/inst_root and pkg/readonly properties for the svc:/application/pkg/server:default
service and enabled the service

B.
On the server: set the sharefs property on the ZFS file system containing the IPS repository.

C.
On the client: reset the origin for the solaris publisher.

D.
On the client: set the pkg/inst_root and pkg/readonly properties for the svc:/application/server:default
service enable the service.

E.
On the client: start the pkg.depotd process.

Explanation:
A: Configure the Repository Server Service
To enable clients to access the local repository via HTTP, enable the application/pkg/server
Service Management Facility (SMF) service.
# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11
# svccfg -s application/pkg/server setprop pkg/readonly=true
E: Use pkg.depotd to serve the repository to clients.
Start the Repository Service
Restart the pkg.depotd repository service.
# svcadm refresh application/pkg/server
# svcadm enable application/pkg/server
To check whether the repository server is working, open a browser window on the localhost location.



Leave a Reply 0

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