PLDWWW: Vserver
patrys
patrys at pld-linux.org
Sun Jan 8 13:33:24 CET 2006
Author: patrys Date: Sun Jan 8 12:33:24 2006 GMT
Module: PLDWWW URL: http://pld-linux.org/Vserver
---- Log message:
---- Page affected: Vserver
---- Diffs:
================================================================
* [http://www.gentoo.org/doc/en/vserver-howto.xml Gentoo Linux-VServer Howto] you'll need this if you want to setup Gentoo guest vserver
* [http://linux-vserver.org/index.php?page=Linux-VServer-Paper-08 Field of Application paper] reasons why to use vserver.
-
- ---- /!\ '''Edit conflict - other version:''' ----
- == Installing host PLD Linux Vserver ==
-
- Build and install kernel
- {{{
- ./builder -r kernel-2_6_12_6-0_1 --with vserver --without grsecurity kernel.spec
- poldek -u kernel-vserver
-
- ---- /!\ '''Edit conflict - your version:''' ----
== Installing Vserver host on PLD Linux ==
Build and install the kernel:
{{{
$ ./builder -r kernel-2_6_12_6-0_1 \
--with vserver --without grsecurity kernel.spec
-
- ---- /!\ '''End of edit conflict''' ----
-
- ---- /!\ '''Edit conflict - other version:''' ----
- }}}
-
- If you also run desktop on that host you might want to:
- {{{
- poldek -u kernel-vserver-sound-{alsa,oss}
-
- ---- /!\ '''Edit conflict - your version:''' ----
- poldek -u kernel-vserver
+ # poldek -u kernel-vserver
}}}
If you also run a desktop on that host you might want to:
{{{
# poldek -u kernel-vserver-sound-{alsa,oss}
-
- ---- /!\ '''End of edit conflict''' ----
}}}
== Installing guest PLD Linux Vserver ==
-
- ---- /!\ '''Edit conflict - other version:''' ----
- === preparing userspace tools ===
- {{{
- poldek -u util-vserver{,-build,-init}
- }}}
-
- configure poldek.conf
- {{{
- vim /etc/vservers/.distributions/pld2.0/poldek/poldek.conf
- }}}
-
- At this point you should have booted into vserver enabled kernel.
- you must start vprocunhide or none of your vservers can start.
-
- to start vprocunhide:
- {{{
- /etc/rc.d/init.d/vprocunhide start
- }}}
-
- === actual guest creation ===
-
- build it
- {{{
- vserver /etc/vservers/test build -m poldek -n test
- }}}
-
- install {{{rc-scripts}}} to {{{vpoldek test}}}:
- {{{
- vpoldek test -- -u rc-scripts
- }}}
-
- and then start it
- {{{
- vserver test start
- }}}
-
- to enter that vserver
- {{{
- vserver test enter
- }}}
-
- note, if you don't run init style {{{plain}}} you must have at least one daemon running inside vserver or your vserver will be down shortly.
-
-
- == configuring network ==
-
- ---- /!\ '''Edit conflict - your version:''' ----
=== Preparing userspace tools ===
First, install the tools:
@@ -142, +71 @@
Note, however, that if you don't run ''plain'' init style you must have at least one daemon running inside your guest vserver or it will be shut down shortly.
== Configuring the network ==
-
- ---- /!\ '''End of edit conflict''' ----
{{{/etc/vservers/<vserver-name>/interfaces/<iface>}}}
More information about the pld-cvs-commit
mailing list