啥也没写
分类:
2006-06-12 07:51:19
#mkdir -p /zone/zone
#chmod 0700 /zone/zone
#zonecfg -z zone
zonecfg:zone>create
zonecfg:zone>set zonepath=/zone/zone
zonecfg:zone>set autoboot=true
zonecfg:zone>add net
zonecfg:zone:net>set address=192.168.0.3
zonecfg:zone:net>set physical=rtls0
zonecfg:zone:net>end
zonecfg:zone> info
zonepath: /zone/zone
autoboot: true
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 192.168.0.3
physical: rtls0
zonecfg:zone>verify
zonecfg:zone>commit
zonecfg:zone>^d
# zonecfg -z zone info
zonepath: /zone/zone
autoboot: true
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 192.168.0.3
physical: rtls0
#
# zoneadm -z zone install
Preparing to install zone
Creating list of files to copy from the global zone.
Copying <2457> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1001> packages on the zone.
Initializing package <943> of <1001>: percent complete: 94%
Initialized <1001> packages on zone.
Zone
The file contains a log of the zone installation.
#
# zoneadm list -vc
ID NAME STATUS PATH
0 global running /
- zone installed /zone/zone
# zoneadm -z zone boot
# zoneadm list -vc
ID NAME STATUS PATH
0 global running /
1 zone running /zone/zone
#
# zlogin -C zone
[ÒÑÁ¬½Óµ½ÇøÓò 'zone' ¿ØÖÆ̨]
100/100
Select a Language
0. English
1. Simplified Chinese
Please make a choice (0 - 1), or press h or ? for help:
Ñ¡0
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
8) Sun Workstation
9) Televideo 910
10) Televideo 925
11) Wyse Model 50
12) X Terminal Emulator (xterms)
13) CDE Terminal Emulator (dtterm)
14) Other
Type the number of your choice and press Return: 3
以后一台机子就可以当N台机子玩了,和和,