Configure repo and repo for Solaris 11

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.