Otagowano: Wirtualizacja

Wirtualizacja

04.02 Configuration of container st1

After installation and initial configuration of st1 container you need to look on working services and disable those, which are not necessary. But at first I will set up more comfortable environment to work. I will change default shell to zsh and home directory of root user. I will use GNU sed for this purpose. Remember that /usr/local directory is inherited from global zone in read-only mode.

04.01 Installation of container st1

Creation of container named st1, without resource control, with inherited standard directories and additionally inherited /usr/local dir (read only mode). Configured two network Quad Fast Ethernet cards: qfe4 and qfe5 in shared mode. Added ZFS pool (zpool) named studmail.

04. Containers (Solaris zones)

Solaris 10 has embedded some kind of virtualization mechanism, which is known as Solaris Zones. This is not only jail, but also resource controller for zones. I will not write about mechanism, because you can find this in documentation on Sun/Oracle sites and other blogs. I will give you some simple examples how to configure and install zone on Solaris 10.