/[gentoo]/xml/htdocs/proj/en/vps/vserver-howto.xml
Gentoo

Diff of /xml/htdocs/proj/en/vps/vserver-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/vps/vserver-howto.xml,v 1.5 2007/01/20 20:50:24 hollow Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/vps/vserver-howto.xml,v 1.6 2007/01/21 14:12:12 hollow Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/proj/en/vps/vserver-howto.xml"> 5<guide link="/proj/en/vps/vserver-howto.xml">
6<title>Gentoo Linux-VServer Howto</title> 6<title>Gentoo Linux-VServer Howto</title>
7 7
19 19
20<!-- The content of this document is licensed under the CC-BY-SA license --> 20<!-- The content of this document is licensed under the CC-BY-SA license -->
21<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 21<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
22<license/> 22<license/>
23 23
24<version>1.7</version> 24<version>1.8</version>
25<date>2007-01-20</date> 25<date>2007-01-21</date>
26 26
27<chapter> 27<chapter>
28<title>Introduction</title> 28<title>Introduction</title>
29<section> 29<section>
30<title>The Linux-VServer Concept</title> 30<title>The Linux-VServer Concept</title>
178<pre caption="vprocunhide init script"> 178<pre caption="vprocunhide init script">
179# <i>rc-update add vprocunhide default</i> 179# <i>rc-update add vprocunhide default</i>
180# <i>/etc/init.d/vprocunhide start</i> 180# <i>/etc/init.d/vprocunhide start</i>
181</pre> 181</pre>
182 182
183<p>
184The vshelper script is used to restart virtual servers correctly. You
185have to tell the kernel where the vshelper script is located:
186</p>
187
188<pre caption="vshelper setup">
189# <i>echo 'kernel.vshelper = /usr/lib/util-vserver/vshelper' &gt;&gt; /etc/sysctl.conf</i>
190# <i>sysctl -p</i>
191</pre>
192
193</body> 183</body>
194</section> 184</section>
195</chapter> 185</chapter>
196 186
197<chapter> 187<chapter>
198<title>Guest creation</title> 188<title>Guest creation</title>
199<section> 189<section>
200<title>Using vserver stage3</title> 190<title>Using vserver stage3/4</title>
201<body> 191<body>
202 192
203<p> 193<p>
204You have to download a vserver prepared stage3 from one of 194You have to download a vserver prepared stage3/4 from one of
205<uri link="/main/en/mirrors.xml">our mirrors</uri>. Those stages are located 195<uri link="/main/en/mirrors.xml">our mirrors</uri>. Those stages are located
206under the <path>experimental/&lt;arch&gt;/vserver/</path> directory. 196under the <path>experimental/&lt;arch&gt;/vserver/</path> directory.
207Since a stage3 contains a complete root filesystem you can use the template 197Since a stage3/4 contains a complete root filesystem you can use the template
208build method of util-vserver. However, this method is only available since 198build method of util-vserver. However, this method is only available since
209util-vserver-0.30.211, so make sure you have the right version installed. 199util-vserver-0.30.211, so make sure you have the right version installed.
210</p> 200</p>
211 201
212<p> 202<p>
225 <i>--context 1253 \</i> 215 <i>--context 1253 \</i>
226 <i>--hostname gentoo \</i> 216 <i>--hostname gentoo \</i>
227 <i>--interface eth0:192.168.1.253/24 \</i> 217 <i>--interface eth0:192.168.1.253/24 \</i>
228 <i>-m template -- \</i> 218 <i>-m template -- \</i>
229 <i> -d gentoo \</i> 219 <i> -d gentoo \</i>
230 <i> -t /path/to/stage3-&lt;arch&gt;-&lt;version&gt;.tar.bz2</i> 220 <i> -t /path/to/stage4-&lt;arch&gt;-&lt;version&gt;.tar.bz2</i>
231</pre> 221</pre>
232 222
233<note> 223<note>
234To reflect your network settings you should change 224To reflect your network settings you should change
235<path>/etc/conf.d/hostname</path>, <path>/etc/conf.d/domainname</path> and 225<path>/etc/conf.d/hostname</path>, <path>/etc/conf.d/domainname</path> and

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20