Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

11 bytes removed, 10:09, 9 October 2010
Undo revision 9213 by 188.28.189.223 (Talk)
<pre>
mkdir /vz/privateroot/777/usr/portagemount -o bind /usr/portage /vz/privateroot/777/usr/portage
</pre>
<pre>
mount -n -o bind /usr/portage/distfiles /vz/privateroot/777/usr/portage/distfiles
</pre>
For security reasons, you should have these directories mounted only while installing software into a container.
{{Note|you have to <code>umount /vz/privateroot/777/usr/portage/distfiles</code> before trying to stop your container.}} 
== Dedicated installation of portage ==
Anonymous user