How to configure local solaris 11.4 IPS repository?
server:-
1) download all repos from oracle website
2)check check sum of all repos and compare with
existing file.
root@server11:~# cd /myrepo/
root@server11:/myrepo# ls
SHA256 Digest sol-11_4-repo_1of5.zip sol-11_4-repo_3of5.zip sol-11_4-repo_5of5.zip
install-repo.ksh sol-11_4-repo_2of5.zip sol-11_4-repo_4of5.zip
root@server11:/myrepo# digest -v -a sha256 *zip
sha256 (sol-11_4-repo_1of5.zip) = de12a1d2c9653bddbb10580c6cd2b89f05aa498f80bff0b0199f594ff6776a93
sha256 (sol-11_4-repo_2of5.zip) =
2b982ecbcb9f4c7f870ea423b887f5d8f11d37b45aeb23838a08aa5d72b127ad
sha256 (sol-11_4-repo_3of5.zip) =
df751b6f7df9a35f884e1a0d7785142f795534896c486a8950d1c8dca861e74a
sha256 (sol-11_4-repo_4of5.zip) =
2a72da79e2dda54764ac019f69448336c7a6ca387e19345e7c8cf389cdc32467
sha256 (sol-11_4-repo_5of5.zip) =
d46a85f64e833b85a2d1e9d7d062ab38bb11c3f15e2cafb1f78d2fef1d5dbf82
root@server11:/myrepo#
3)creating local ips repository
root@server11:/myrepo# ls
SHA256 Digest sol-11_4-repo_1of5.zip sol-11_4-repo_3of5.zip sol-11_4-repo_5of5.zip
install-repo.ksh sol-11_4-repo_2of5.zip sol-11_4-repo_4of5.zip
root@server11:/myrepo# unzip -qd /testpool/
sol-11_4-repo_1of5.zip
root@server11:/myrepo# unzip -qd /testpool/
sol-11_4-repo_2of5.zip
root@server11:/myrepo# unzip -qd /testpool/
sol-11_4-repo_3of5.zip
root@server11:/myrepo# unzip -qd /testpool/
sol-11_4-repo_4of5.zip
root@server11:/myrepo# unzip -qd /testpool/
sol-11_4-repo_5of5.zip
root@server11:/testpool# svccfg -s
application/pkg/server setprop pkg/inst_root=/testpool/
root@server11:/testpool# svccfg -s
application/pkg/server setprop pkg/readonly=true
root@server11:/testpool# svccfg -s
application/pkg/server setprop pkg/port=6601
root@server11:/testpool# svcadm refresh
application/pkg/server
root@server11:/testpool# svcadm enable application/pkg/server
root@server11:/testpool# svcs pkg/server
STATE
STIME FMRI
online
16:44:32 svc:/application/pkg/server:default
root@server11:/testpool# pkg set-publisher -G '*'
-g http://192.168.56.50:6601/
solaris
root@server11:/testpool# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://192.168.56.50:6601/
root@server11:/testpool#
To check web based conosle in solaris 11.4
$ svcs webui/server sstore
clinet:-
set server as clinet to repository server
root@solarisnode2:~# pkg set-publisher -G '*' -g http://192.168.56.50:6601/ solaris
root@solarisnode2:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://192.168.56.50:6601/
to install packages
root@solarisnode2:~# pkg install solaris-desktop
Packages to install: 357
Mediators to change: 1
Services to change: 17
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
SPEED
Completed 357/357 61930/61930
958.4/958.4 2.5M/s
PHASE ITEMS
Installing new actions 76265/76265
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
No comments:
Post a Comment