Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

Configuring the Proxy in the Global Zone

You can configure the proxy directly in the global zone, and any updates to proxies for origins in the global zone are automatically made to the system-repository configuration. The system-repository service does not require modification.

Example 9-2  Configuring the Proxy in the Global Zone
# pkg set-publisher --proxy http://www-proxy -g http://pkg-server pub

No port specification is required unless the proxy accepts connections on a port other than 80.

If zones are on the system, the system-repository service is restarted, and the proxy is used to provide access to pkg-server.