0% found this document useful (0 votes)
103 views3 pages

OS Installation

The document details setting up a local Solaris 11.4 software repository and support repository update (SRU) by creating ZFS filesystems for packages, copying packages to them, and configuring the software package tool to use the local repositories.

Uploaded by

Suhaimi Mie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views3 pages

OS Installation

The document details setting up a local Solaris 11.4 software repository and support repository update (SRU) by creating ZFS filesystems for packages, copying packages to them, and configuring the software package tool to use the local repositories.

Uploaded by

Suhaimi Mie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. Install solaris 11.

4 and create REPO and SRU filesystem


root@www:~# zfs create -o mountpoint=/export/REPO rpool/export/REPO
root@www:~# zfs set atime=off rpool/export/REPO

root@www:~# zfs create -o mountpoint=/export/SRU rpool/export/SRU


root@www:~# zfs set atime=off rpool/export/SRU

2. SFTP solaris 11.4 REPO into /export/REPO , this is the GA 11.4 base packages
root@www:/export/REPO# ls
sol-11_4-repo_1of5.zip
sol-11_4-repo_2of5.zip
sol-11_4-repo_3of5.zip
sol-11_4-repo_4of5.zip
sol-11_4-repo_5of5.zip

3. SFTP required FULL SRU into /export/SRU


p30383243_1100_Solaris86-64_1of6.zip
p30383243_1100_Solaris86-64_2of6.zip
p30383243_1100_Solaris86-64_3of6.zip
p30383243_1100_Solaris86-64_4of6.zip
p30383243_1100_Solaris86-64_5of6.zip
p30383243_1100_Solaris86-64_6of6.zip
p30383244_1100_Solaris86-64.zip

4. unzip p30383244_1100_Solaris86-64.zip
Archive: p30383244_1100_Solaris86-64.zip
inflating: README-zipped-repo.txt
inflating: install-repo.ksh
inflating: sol-11_4_15_5_0-incr-repo_digest.txt
inflating: sol-11_4_15_5_0-readme.html
inflating: sol-11_4_15_5_0-readme.txt

5. cp install-repo.ksh into /export/REPO


root@www:/export/SRU# cp install-repo.ksh /export/REPO

6. cerate local repository at /export/REPO


root@www:/export/REPO# ./install-repo.ksh -d /export/REPO

7. create local SRU at /export/SRU


root@www:/export/SRU# ./install-repo.ksh -d /export/SRU

8. change the repository to local repo /export/REPO


root@www:/export/SRU# pkg set-publisher -G '*' -g /export/REPO solaris

9. add SRU to the publisher


root@www:/export/SRU# pkg set-publisher -g /export/SRU solaris
10. Verify the new publisher
root@www:/export/SRU# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///export/REPO/
solaris origin online F file:///export/SRU/

11. Verify the repo and sru contained the necessary repo and update
root@www:/export/SRU# pkgrepo -s /export/REPO list entire
PUBLISHER NAME O VERSION
solaris entire 11.4-11.4.0.0.1.15.0:20180817T004203Z
root@www:/export/SRU# pkgrepo -s /export/SRU list entire
PUBLISHER NAME O VERSION
solaris entire 11.4-11.4.15.0.1.5.0:20191105T184613Z

12. update the repo to the latest packages in solaris 11.4-11.4.15.0.1.5.0


root@www:/export/SRU# pkg update

13. verify new be is being created


root@www:/export/SRU# beadm list
BE Name Flags Mountpoint Space Policy Created
--------- ----- ---------- ------ ------ ----------------
solaris N / 87.31M static 2020-05-15 15:26
solaris-1 R - 5.26G static 2020-05-15 18:11

14. reboot for the new BE to take effect


root@www:/export/SRU# reboot

15. Verify that the kernel is updated to 11.4-11.4.15.0.1.5.0

root@www:~# pkg info entire


Name: entire
Summary: entire incorporation including Support Repository Update
(Oracle Solaris 11.4.15.5.0).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system.
For more information see:
https://support.oracle.com/rs?type=doc&id=2433412.1
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 11.4 (Oracle Solaris 11.4.15.5.0)
Branch: 11.4.15.0.1.5.0
Packaging Date: November 5, 2019 at 6:46:13 PM
Last Install Time: May 15, 2020 at 11:13:44 AM
Size: 2.52 kB
FMRI: pkg://solaris/entire@11.4-11.4.15.0.1.5.0:20191105T184613Z

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy