- 论坛徽章:
- 1
|
bash-3.2# ls
1 SUNWrtvc ocm
10_Recommended V24150-01.zip solarislegacycontainers
SUNWits V24151-01.zip
SUNWmlib V24152-01.zip
bash-3.2# rm 1
bash-3.2# cd solarislegacycontainers/
bash-3.2# ls
1.0 1.0.1 README
bash-3.2# cd 1.0.1
bash-3.2# ls
Legal Product
bash-3.2# cd Product/
bash-3.2# ls
SUNWs8brandk SUNWs9brandk
bash-3.2# pkgadd -d . *
Processing package instance <SUNWs8brandk> from </opt/solarislegacycontainers/1.0.1/Product>
## Installing package <SUNWs8brandk> in global zone
Solaris 8 Containers: solaris8 brand support RTU(sparc) 11.10.0,REV=2008.09.20.18.50
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
The following files are already installed on the system and are being
used by another package:
/usr/share/man/man5/solaris8.5
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
Installing Solaris 8 Containers: solaris8 brand support RTU as <SUNWs8brandk>
## Installing part 1 of 1.
/usr/lib/brand/solaris8/files/patches/109147-44.zip
/usr/lib/brand/solaris8/files/patches/109221-01.zip
/usr/lib/brand/solaris8/files/patches/111023-03.zip
/usr/lib/brand/solaris8/files/patches/111431-01.zip
/usr/lib/brand/solaris8/files/patches/112050-04.zip
/usr/lib/brand/solaris8/files/patches/112605-04.zip
/usr/lib/brand/solaris8/files/patches/order
/usr/share/man/man5/solaris8.5
[ verifying class <none> ]
Installation of <SUNWs8brandk> was successful.
Processing package instance <SUNWs9brandk> from </opt/solarislegacycontainers/1.0.1/Product>
## Installing package <SUNWs9brandk> in global zone
Solaris 9 Containers: solaris9 brand support RTU(sparc) 11.10.0,REV=2008.09.20.18.50
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Solaris 9 Containers: solaris9 brand support RTU as <SUNWs9brandk>
## Installing part 1 of 1.
/usr/lib/brand/solaris9/files/patches/112963-32.zip
/usr/lib/brand/solaris9/files/patches/115986-03.zip
/usr/lib/brand/solaris9/files/patches/order
/usr/share/man/man5/solaris9.5
[ verifying class <none> ]
Installation of <SUNWs9brandk> was successful
bash-3.2#
bash-3.2#
bash-3.2# zongcfg -z s8-zone
bash: zongcfg: command not found
bash-3.2# zonecfg -z s8-zone
s8-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:s8-zone> Nov 14 09:05:13 T5220 login: ROOT LOGIN /dev/pts/1 FROM 172.20.10.106
zonecfg:s8-zone> create -t SUNWsolaris8
zonecfg:s8-zone> set zonepath=/zone/s8-zone
zonecfg:s8-zone> set autoboot=true
zonecfg:s8-zone> add net
zonecfg:s8-zone:net> set address=172.20.10.150
zonecfg:s8-zone:net> set physical=e1000g0
zonecfg:s8-zone:net> info
net:
address: 172.20.10.150
physical: e1000g0
defrouter not specified
zonecfg:s8-zone:net> end
zonecfg:s8-zone> verify
zonecfg:s8-zone> commit
zonecfg:s8-zone> exit
bash-3.2# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 zone1 running /zone/zone1 native shared
- s8-zone configured /zone/s8-zone solaris8 shared
bash-3.2# cd /opt
bash-3.2# ls
10_Recommended SUNWrtvc V24152-01.zip
SUNWits V24150-01.zip ocm
SUNWmlib V24151-01.zip solarislegacycontainers
bash-3.2# unzip V24151-01.zip > 1
Nov 14 09:08:49 T5220 login: ROOT LOGIN /dev/pts/2 FROM 172.20.10.106
bash-3.2#
bash-3.2#
bash-3.2# ls
1 SUNWrtvc ocm
10_Recommended V24150-01.zip solaris8-image.flar
SUNWits V24151-01.zip solarislegacycontainers
SUNWmlib V24152-01.zip
bash-3.2# rm 1
bash-3.2# cd /
bash-3.2# zoneadm -z s8-zone install -u -a /opt/solaris8-image.flar
/zone/s8-zone must not be group readable.
/zone/s8-zone must not be group executable.
/zone/s8-zone must not be world readable.
/zone/s8-zone must not be world executable.
could not verify zonepath /zone/s8-zone because of the above errors.
zoneadm: zone s8-zone failed to verify
bash-3.2# chmod 700 /zone/s8-zone
bash-3.2# zoneadm -z s8-zone install -u -a /opt/solaris8-image.flar
Log File: /var/tmp/s8-zone.install.1972.log
Source: /opt/solaris8-image.flar
Installing: This may take several minutes...
Nov 14 09:13:37 T5220 login: ROOT LOGIN /dev/pts/1 FROM 172.20.10.106
Postprocessing: This may take several minutes...
Result: Installation completed successfully.
Log File: /zone/s8-zone/root/var/log/s8-zone.install.1972.log
bash-3.2# zoneadm -z s8-zone boot
bash-3.2# zlogin -C s8-zone
[Connected to zone 's8-zone' console]
Nov 14 09:17:54 T5220 login: ROOT LOGIN /dev/pts/2 FROM 172.20.10.106
You did not enter a selection.
What type of terminal are you using?
1) ANSI Standard CRT
2) DEC VT52
3) DEC VT100
4) Heathkit 19
5) Lear Siegler ADM31
6) PC Console
7) Sun Command Tool
Sun Workstation
9) Televideo 910
10) Televideo 925
11) Wyse Model 50
12) X Terminal Emulator (xterms)
13) Other
Type the number of your choice and press Return: |
|