cd vi/vim .inputrc
Y se coloca la siguiente linea.
set bell-style none
cd vi/vim .inputrc
set bell-style none
root@sol11repo:/var/tmp/Repo# unzip p14050126_1100_SOLARIS64.zip
total 17315023 -rw-r--r-- 1 root root 1017872384 May 7 13:12 sol-11-1111-sru7-05-incr-repo.iso
root@sol11repo:/var/tmp/Repo# mount -F hsfs sol-11-1111-sru7-05-incr-repo.iso /mnt
root@sol11repo:/var/tmp/Repo# pkgrecv -s /mnt/repo -d /export/repoSolaris11/ '*'
Processing packages for publisher solaris ...
Retrieving and evaluating 140 package(s)...
PROCESS ITEMS GET (MB) SEND (MB)
Completed 140/140 874.3/874.3 2354.44
root@sol11repo:/var/tmp/Repo# pkgrepo rebuild -s /export/repoSolaris11/
Initiating repository rebuild.
root@sol11repo:/var/tmp/Repo# svcadm restart svc:/application/pkg/server:default
root@sol11repo:~# pkg update Packages to update: 78 Create boot environment: Yes Create backup boot environment: No DOWNLOAD PKGS FILES XFER (MB) Completed 78/78 1800/1800 58.2/58.2 PHASE ACTIONS Removal Phase 544/544 Install Phase 626/626 Update Phase 2872/2872 PHASE ITEMS Package State Update Phase 156/156 Package Cache Update Phase 78/78 Image State Update Phase 2/2
shutdown -y -i5 -g0
svccfg
select dns/client
setprop config/domain= astring: ("debian.lan")
setprop config/nameserver = net_address: ( 192.168.111.139 )
select dns/client:default
refresh
validate
select name-service/switch
setprop config/host = astring: "files dns"
select system/name-service/switch:default
refresh
validate
exit
root@sol11repo:~# svcadm enable dns/client root@sol11repo:~# svcadm refresh name-service/switch root@sol11repo:~# grep host /etc/nsswitch.conf hosts: files dns
root@sol11repo:~# cat /etc/resolv.conf # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. # _AUTOGENERATED_FROM_SMF_V1_ # # WARNING: THIS FILE GENERATED FROM SMF DATA. # DO NOT EDIT THIS FILE. EDITS WILL BE LOST. # See resolv.conf(4) for details. domain debian.lan nameserver 192.168.111.139
root@sol11repo:~# nslookup sol11repo Server: 192.168.111.139 Address: 192.168.111.139#53 Name: sol11repo.debian.lan Address: 192.168.111.142
unzip sol-11-1111-repo-full.iso-a.zip unzip sol-11-1111-repo-full.iso-b.zip cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > soll-11-1111-repo-full.iso
mv sol-11-1111-repo-full.iso /export/repoSolaris11/
svcadm enable application/pkg/server
mount -F hsfs /export/repoSolaris11/soll-11-1111-repo-full.iso /mnt cd /mnt/repo; tar cf - . | (cd /export/repoSolaris11; tar xfp -) pkgrepo info -s /export/repoSolaris11 PUBLISHER PACKAGES STATUS UPDATED solaris 4292 online 2011-10-26T17:17:30.230911Z
svccfg –s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11
svccfg –s application/pkg/server setprop pkg/readonly=true
pkg set-publisher -G http://pkg.oracle.com/solaris/release/ -g http://nombre_servidor/ solaris
svcadm refresh application/pkg/server