Download sol-11_1-repo-full.iso.a and sol-11_1-repo-full.iso. B
Then cat sol-11_1-repo-full.iso.a sol-11_1-repo-full.iso. B> sol-11_1-repo-full.iso
Write a sol-11_1-repo-full.iso to a disc with a double-layer burn of a dvd or place this direct iso file under/mnt in the file system (here is an example of the mnt directory)
For more information about ISO mounting and CD mounting, see
Configure the repo source and install the dependency package
Svccfg-s application/pkg/server setprop \
Pkg/inst_root = <data_source>/repo
Svccfg-s application/pkg/server setprop pkg/readonly = true
Svccfg-s application/pkg/server setprop pkg/inst_root =/usr/src/sol_repo/repo
Svccfg-s application/pkg/server setprop pkg/readonly = true
Root @ solaris: /usr/src/sol_repo/repo # rsync-aP/mnt/repo // usr/src/sol_repo/repo/# copy the package from the image to/usr/src/sol_repo/ repo/
Root @ solaris:/usr/src/sol_repo/repo # svccfg-s application/pkg/server setprop pkg/inst_root =/usr/src/sol_repo/repo # Set the source
Root @ solaris:/usr/src/sol_repo/repo # svccfg-s application/pkg/server setprop pkg/readonly = true
Root @ solaris:/usr/src/sol_repo/repo # pkg set-publisher-G '*'-g file: /// usr/src/sol_repo/repo/solaris # refresh the Directory
****** *****************************
# Pkg set-publisher-Pe-O http://pkg.oracle.com/solaris/release solaris # This step replaces the previous step
**************************************** **************************************** *
Root @ solaris:/usr/src/sol_repo/repo # svcadm refresh application/pkg/server # refresh Service
Root @ solaris:/usr/src/sol_repo/repo # svcadm enable application/pkg/server # enable repo
Root @ solaris:/usr/src/sol_repo/repo # pkg list # view all packages in the source
Root @ solaris:/usr/src/sol_repo/repo # pkg install * gcc ** c ++ * # install the required package
Package to be installed: 26
Intermediary to be changed: 1
Create a boot environment: No
Create backup boot environment: No
Service to be changed: 1
Download package file XFER (MB) Speed
Completed 26/26 6812/6812 177.3/177.3 0B/s
Phase Project
Installing new operation 8424/8424
Updating Software Package status database complete
Updating the image status is complete.
Creating a quick search database is complete
Recommended reading:
Chinese EUC cannot be used after Solaris 11 (x86) is installed
Use VNC-Xvnc in Solaris 10/11 (x86)
Oralce Solaris 11 source code installation Qt 4.8.3
Install Zabbix Agent on Solaris 11