博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

好想好好爱你!

badb0y.cublog.cn


solaris10 的区域技术

#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 <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 <zone> is initialized.

The file </zone/zone/root/var/sadm/system/logs/install_log> 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台机子玩了,和和,

发表于: 2006-06-12 ,修改于: 2006-06-12 07:51,已浏览505次,有评论0条 推荐 投诉


网友评论

发表评论