From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E25Up-0002E2-2V for garchives@archives.gentoo.org; Mon, 08 Aug 2005 11:08:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78B8Hm7007684; Mon, 8 Aug 2005 11:08:17 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78B8HM9022150 for ; Mon, 8 Aug 2005 11:08:17 GMT Message-Id: <200508081108.j78B8HM9022150@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1E25Ug-0004zj-6H for gentoo-doc-cvs@lists.gentoo.org; Mon, 08 Aug 2005 11:08:34 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Mon, 8 Aug 2005 11:08:24 +0000 From: "Xavier Neys" Date: Mon, 8 Aug 2005 11:08:24 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: vserver-howto.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 41c1b82e-52dd-43e1-aa12-ea0c663a0a4b X-Archives-Hash: 00ab163ae504f7ac67d5aa6110eef6e7 neysx 05/08/08 11:08:24 Modified: xml/htdocs/doc/en vserver-howto.xml Log: Removed tabs, shortened links, applied coding style, **No Content Change** Revision Changes Path 1.2 +72 -61 xml/htdocs/doc/en/vserver-howto.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/vserver-howto.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/vserver-howto.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/vserver-howto.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo Index: vserver-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/vserver-howto.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- vserver-howto.xml 17 Jun 2005 10:06:56 -0000 1.1 +++ vserver-howto.xml 8 Aug 2005 11:08:24 -0000 1.2 @@ -1,5 +1,5 @@ - + @@ -31,7 +31,7 @@

-The basic concept of the Linux-VServer solution is to separate the user-space +The basic concept of the Linux-VServer solution is to separate the user-space environment into distinct units (sometimes called Virtual Private Servers) in such a way that each VPS looks and feels like a real server to the processes contained within. @@ -50,23 +50,31 @@ Linux-VServer, VServer - Linux-VServer is the official name of the project and used in this Howto - the same way + + Linux-VServer is the official name of the project and used in this Howto + the same way + virtual server, vserver, guest system - All these are interchangable and refer to one instance of a server (i.e. - one virtual server) + + All these are interchangable and refer to one instance of a server (i.e. + one virtual server) + host system, host - The physical machine running your Gentoo Linux will host all virtual - servers + + The physical machine running your Gentoo Linux will host all virtual + servers + util-vserver, vserver utils - The util-vserver package contains all programs necessary for - maintaining your virtual servers + + The util-vserver package contains all programs necessary for + maintaining your virtual servers + @@ -85,7 +93,7 @@

-After the vserver-sources are installed it's time to configure them using +After the vserver-sources are installed it's time to configure them using make menuconfig.

@@ -97,18 +105,18 @@ (Required by current utils) [*] Enable Legacy Kernel API (Do not set!) - [ ] Disable Legacy Networking Kernel API + [ ] Disable Legacy Networking Kernel API (Highly recommended) - [*] Enable Proc Security + [*] Enable Proc Security [ ] Enable Hard CPU Limits - Persistent Inode Context Tagging (UID24/GID24) ---> + Persistent Inode Context Tagging (UID24/GID24) ---> [ ] Tag NFSD User Auth and Files [ ] Compile Debugging Code

-After you've built and installed the kernel, update your boot loader and finally -reboot to see if the kernel boots correctly. +After you've built and installed the kernel, update your boot loader and +finally reboot to see if the kernel boots correctly.

@@ -137,12 +145,12 @@
 

-If you use Proc Security you have to "unhide" certain files in your -/proc directory in order to make them available in virtual servers. -There is a script called vprocunhide in -/usr/lib/util-vserver which unhides files specified in +If you use Proc Security you have to "unhide" certain files in your +/proc directory in order to make them available in virtual +servers. There is a script called vprocunhide in +/usr/lib/util-vserver which unhides files specified in /usr/lib/util-vserver/defaults/vprocunhide-files. The util-vserver -ebuild installed a init-script which uses the vprocunhide command. Add +ebuild installed a init-script which uses the vprocunhide command. Add it to your runlevel:

@@ -152,8 +160,8 @@

-The vshelper script is used to correctly stop and restart virtual servers. -You have to tell the kernel where the vshelper script is located: +The vshelper script is used to correctly stop and restart virtual servers. You +have to tell the kernel where the vshelper script is located:

@@ -168,9 +176,9 @@
 
 
 

-You have to create some configuration files and directories to get your -virtual server up and running. We use the skeleton build mode from the -util-vserver package to setup our basic configuration. +You have to create some configuration files and directories to get your virtual +server up and running. We use the skeleton build mode from the util-vserver +package to setup our basic configuration.

@@ -181,8 +189,8 @@

There is a new baselayout-vserver ebuild in portage which supports the plain -init-style, i.e.; you don't have to use the gentoo init style anymore. The -plain init-style uses init and /etc/inittab to manage +init-style, i.e.; you don't have to use the gentoo init style anymore. The +plain init-style uses init and /etc/inittab to manage runlevels and init scripts (considered more stable and is the default now).

@@ -202,9 +210,9 @@
-Per default the virtual server is allowed to set the hostname itself. Be -sure to change /etc/conf.d/hostname in your virtual server later -to match the hostname above. +Per default the virtual server is allowed to set the hostname itself. Be sure +to change /etc/conf.d/hostname in your virtual server later to +match the hostname above. @@ -214,10 +222,10 @@

-We are creating a Gentoo template which we can copy later to get -multiple virtual servers easily. The vserver build-script created -some basic directories in /vservers/gentoo which -are installed by a stage anyway, so we remove them first. +We are creating a Gentoo template which we can copy later to get multiple +virtual servers easily. The vserver build-script created some basic directories +in /vservers/gentoo which are installed by a stage anyway, so we +remove them first.

@@ -225,48 +233,51 @@
 

-You have to install a regular Gentoo system now. You can follow most -of the Gentoo Handbook with some limitations and additions: +You have to install a regular Gentoo system now. You can follow most of the +Gentoo Handbook with some limitations and additions:

    -
  • Replace /mnt/gentoo with - /vservers/gentoo -
  • -
  • Choose the vserver/x86 profile in - chapter 6.a -
  • -
  • Use the vserver stages available - here. -
  • +
  • Replace /mnt/gentoo with /vservers/gentoo
  • -- gentoo-doc-cvs@gentoo.org mailing list