Nai*_*ita 3 solaris solaris-zones
我有一台 SUN M3000 服务器。我想将它配置为一个全局区域(名为 z1dms),它将有两个非全局区域(名为 zu9dms 和 zu10dms)。请告诉我如何配置。
常规 Solaris 实例将为您提供全局区域。
使用zonecfg并且zoneadm您可以配置和安装区域
典型的区域创建由以下人员执行:
#configure the zone
zonecfg -z zu9dms
create
#make some modifications if you want an alternate zonepath or autoboot for example
verify
exit
Run Code Online (Sandbox Code Playgroud)
将包含区域的目录归其所有root并且模式是非常重要的700
#install the zone
zoneadm -z zu9dms install
#boot the zone and enter the console of the zone
zoneadm -z zu9dms boot; zlogin -C zu9dms
#wait until SMF is configured and follow the system configuration assistant
Run Code Online (Sandbox Code Playgroud)
如需进一步阅读,我建议您阅读man页面man zonecfg和man zoneadm