Add

How to create zones in Solaris


Here is a quick tutorial for Creating Zones in Solaris 10. First, you have to create two partitions on the disk of your system. Partitions 3 and 4 HAS To Be set to 1 Gb. Use the format utility.

With UFS filesystem newfs You Can created on the partitions 3 and 4:

newfs /dev/rdsk/c0d0s3
newfs /dev/rdsk/c0d0s4


Now you have to create the directory / zones / myzone. You have to mount / zones / myzone. Edit / etc / vfstab:

/dev/dsk/c0d0s3 /dev/rdsk/c0d0s3 /zones/myzone ufs 2 yes -

Now, use the mount command:

mount /zones/myzone
chmod 700 /zones/myzone

Here is how to create the zone:

zonecfg -z myzone
create
set zonepath=/zones/myzone
add fs
set dir=/mnt_myzone
set special=/dev/dsk/c0d0s4
set raw=/dev/rdsk/c0d0s4
set type=ufs
end
add net
set physical=nge0
set address=10.2.1.123
end
verify
commit
info
exit

After That, You Can See You zones:

zoneadm list -iv

Now you have to install the new parts:

zoneadm -z myzone install

After install, you CAN boot the zone:

zoneadm -z myzone boot

To login on the new areas, use the folowing command:

zlogin -C myzone

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

No comments yet.

Respond

Get in on the action.

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagSwedish flagNorwegian flagSerbian flagSlovenian flagUkrainian flagTurkish flagHungarian flag
By N2H

Random Posts Recent Comments

  • admin Says:

    Amigo, formulated your question in English Please If You Really Need Help! Cheers! ...

  • Gonçalves Mauricio Says:

    Boa late Amigo nao consigo me add me ajudar Podere novo user? They pride nao é que a commando ...

  • Flossy Says:

    That's really Zubao0 thinking out of the box. Thanks! ...

  • Michael Esch Says:

    I used this tutorial to install Komodo Edit 6 on Ubuntu 10.10, I rate your tutorial 5 / 5 I hope that ...

  • admin Says:

    @ Dan I run applications created in Visual Basic and fox in wine, so I would not be ...

  • Dan Says:

    I want to tell me if a PRG account under Visual Basic running under Ubuntu with Wine Deo wonder ...

  • admin Says:

    Thank you all for your comments. As I was busy latelly, I haven't answer to your posts. I hope you u. ..

  • tcpdump Says:

    Hello, I faced the error Also "It appears as though you do have permission to view informational note ...

  • Ali Says:

    awesome !!!...

  • Schedule Says:

    You you should make changes to the post subject and join files in Ubuntu Split with lxsplit | EtutsR ...

Tag Cloud