<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobFantini</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobFantini"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/RobFantini"/>
	<updated>2026-07-28T03:54:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Shared_webhosting&amp;diff=11600</id>
		<title>Talk:Shared webhosting</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Shared_webhosting&amp;diff=11600"/>
		<updated>2011-11-15T19:54:45Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: /* MySQL Socket Sharing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Sharing mysql socket ==&lt;br /&gt;
Wouldn't it be easier to just link the directory containing the socket using 'mount --bind'? Don't think that inode will change. [[Special:Contributions/62.195.200.207|62.195.200.207]] 16:39, 15 July 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Linking to howto pages ==&lt;br /&gt;
I probably did something stupid, but how can I link from the HOWTO's to this page?&lt;br /&gt;
--[[User:Hvdkamer|Hvdkamer]] 08:23, 2 August 2006 (EDT)&lt;br /&gt;
: If you want to link to the Category:HOWTO, you put it like this&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:Category:HOWTO HOWTOs (i.e. this is link text)]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: If you want your article to be included into HOWTO category, you put it like this (in any part of the article, usually at the end):&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:HOWTO]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: --[[User:Kir|Kir]] 09:51, 2 August 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Rename? ==&lt;br /&gt;
&lt;br /&gt;
I suggest renaming the article to something like &amp;quot;Application separation&amp;quot; or &amp;quot;Services separation&amp;quot; since this is what you actually describe :) --[[User:Kir|Kir]] 10:22, 2 August 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Go ahead if you think it describes the content better. I started to investigate OpenVZ because I had serious problems with shared hosting. The minimal servers (it is only a rough draft at this moment) are the solution to that. You could see this as application seperation, but for the end-user it is a &amp;quot;normal&amp;quot; webhosting account. Only he/she can do much more and can not break his/her prison :-) --[[User:Hvdkamer|Hvdkamer]] 10:28, 2 August 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: May be to explain better my choice. After some serious problems with PHP (users who knew where an include with passwords lived, could see the content) I started to investigate the option of Apache threads with its own user credentials. That was the abonded project perchild. So there is not an easy technical solution. Also users hate safe_mode and open_basedir because it breaks there applications. They also want obscure CGI-scripts and all the things we administrators hate. I already used chrooted OpenSSH shell accounts. With the minimal servers I take that one step further. Now every user has total control (he/she can even be root) over his/her space.&lt;br /&gt;
&lt;br /&gt;
:: If I had to do my research again, I think I would still start with &amp;quot;shared webhosting&amp;quot;. Not &amp;quot;application seperation&amp;quot;. I think that my term, although not exactly correct, will draw more people to this site. I think of it as &amp;quot;user seperation&amp;quot;, but that is the whole point of OpenVZ? As said, its your Wiki, so change it if you think it is better :-) --[[User:Hvdkamer|Hvdkamer]] 10:40, 2 August 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: I changed the introduction to give some examples of the problems shared webhosting is facing. I think that you now could see were it is going? I'm still in the process of setting up this server. So I thought to start this page while I'm working on it. Because if you do it weeks later, most subtle points are lost :-) --[[User:Hvdkamer|Hvdkamer]] 11:42, 2 August 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Proxying ==&lt;br /&gt;
&lt;br /&gt;
I would suggest using [http://www.apsis.ch/pound/ Pound] as the Proxy Server running on your Frontend VE. Its a pretty lightweight and _fast_ Proxy. Besides proxying it does also support load balancing, failover and SSL.  I've been using it for various projects over the past few years, its proven to be pretty stable and reliable. --[[User:Torsten|Torsten]] 14:51, 9th Nov 2006 (CST)&lt;br /&gt;
&lt;br /&gt;
== MySQL Socket Sharing ==&lt;br /&gt;
&lt;br /&gt;
2011-11-15 I had this issue using mysql :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Could not connect to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)&lt;br /&gt;
 111115 22:05:40 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address&lt;br /&gt;
 111115 22:05:40 [ERROR] Do you already have another mysqld server running on port: 3306 ?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
changing bind-address in /etc/mysql/my.cnf from &lt;br /&gt;
 bind-address           = 127.0.0.1&lt;br /&gt;
to  &lt;br /&gt;
  bind-address            = 10.100.100.220&lt;br /&gt;
fixed it for us.  using ubuntu 11.10&lt;br /&gt;
------------&lt;br /&gt;
&lt;br /&gt;
There's a good guide, using &amp;quot;mount --bind&amp;quot; available at http://sudhaker.com/2008/04/isolated-mysql-installation-openvz-cluster/, but I couldn't get it to work.&lt;br /&gt;
Also the &amp;quot;ln /var/lib/vz/private/101/var/run/mysqld/mysqld.sock ...&amp;quot; mentioned in the article itself does not work for me: the mysqld.sock only appears in /vz/root/123, not /vz/private/123.&lt;br /&gt;
Additionally, &amp;quot;mysql -u root -p -S /vz/root/123/var/run/mysqld/mysqld.sock&amp;quot; fails with:&lt;br /&gt;
 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/vz/root/1234/var/run/mysqld/mysqld.sock' (111)&lt;br /&gt;
This is with Ubuntu Hardy (fixed kernel from Git).&lt;br /&gt;
[[User:Blueyed|Blueyed]] 16:23, 28 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
=== Decreased security ===&lt;br /&gt;
Isn't sharing sockets blocking advantages promoted in &amp;lt;blockquote&amp;gt;&amp;quot;As an extra security measure you can use the internal IP-address as well.&amp;quot;&amp;lt;/blockquote&amp;gt; &lt;br /&gt;
I'd actually would like to have mysql reject root user logins unless logging in from VE actually housing mysql server. That's impossible on using Unix sockets since it's always using &amp;quot;localhost&amp;quot; then, isn't it?&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Download/kernel/2.6.32/2.6.32-belyayev.1&amp;diff=8710</id>
		<title>Talk:Download/kernel/2.6.32/2.6.32-belyayev.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Download/kernel/2.6.32/2.6.32-belyayev.1&amp;diff=8710"/>
		<updated>2010-06-07T03:09:02Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: Created page with 'thank you for the work you do, and the bundled history lesson.. there  a little info at   http://en.wikipedia.org/wiki/Pavel_Belyayev  on Pavel Ivanovich Belyaev .'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;thank you for the work you do, and the bundled history lesson.. there  a little info at   http://en.wikipedia.org/wiki/Pavel_Belyayev  on Pavel Ivanovich Belyaev .&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bind_mounts&amp;diff=8485</id>
		<title>Bind mounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bind_mounts&amp;diff=8485"/>
		<updated>2010-04-16T04:33:33Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: /* Read-only bind mounts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recent Linux kernels support an operation called 'bind mounting' which makes part of a mounted filesystem visible at some other mount point. See 'man mount' for more information.&lt;br /&gt;
&lt;br /&gt;
Bind mounts can be used to make directories on the hardware node visible to the container.&lt;br /&gt;
&lt;br /&gt;
== Filesystem layout ==&lt;br /&gt;
OpenVZ uses two directories. Assuming our container is numbered 777, these directories are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt;: $VZDIR/private/777&lt;br /&gt;
* &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;: $VZDIR/root/777&lt;br /&gt;
&lt;br /&gt;
{{Note|&amp;lt;code&amp;gt;$VZDIR&amp;lt;/code&amp;gt; is usually &amp;lt;code&amp;gt;/vz&amp;lt;/code&amp;gt;, on Debian systems however this is &amp;lt;code&amp;gt;/var/lib/vz&amp;lt;/code&amp;gt;. In this document this is further referred to as &amp;lt;code&amp;gt;$VZDIR&amp;lt;/code&amp;gt; -- substitute it with what you have.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt; is a place for all the container files. &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt; is the mount point to which &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt; is mounted during container start (or when you run &amp;lt;code&amp;gt;vzctl mount&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Warning|If you want to do a bind mount for container, you need to '''use &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;''' (not &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt;!) and '''make sure that container is mounted''' (this can be checked using &amp;lt;code&amp;gt;vzctl status&amp;lt;/code&amp;gt;).}}&lt;br /&gt;
&lt;br /&gt;
== Manual mount example ==&lt;br /&gt;
&lt;br /&gt;
On the HN we have a directory &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; which we wish to make available (shared) to container 777.&lt;br /&gt;
&lt;br /&gt;
The correct command to issue on the HN is:&lt;br /&gt;
&lt;br /&gt;
  mount --bind /home $VZDIR/root/777/home&lt;br /&gt;
&lt;br /&gt;
The container must be started (or at least mounted) and the destination directory must exist. The container will see this directory mounted like this:&lt;br /&gt;
&lt;br /&gt;
 # df&lt;br /&gt;
 Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
 simfs                 10485760    298728  10187032   3% /&lt;br /&gt;
 ext3                 117662052 104510764   7174408  94% /home&lt;br /&gt;
&lt;br /&gt;
During the container stop vzctl unmounts that bind mount, so you have to mount it again when you start the container for the next time. Luckily there is a way to automate it.&lt;br /&gt;
&lt;br /&gt;
== Make the mount persistent ==&lt;br /&gt;
&lt;br /&gt;
Put a mount script in OpenVZ configuration directory (&amp;lt;code&amp;gt;/etc/vz/conf/&amp;lt;/code&amp;gt;) with the name &amp;lt;code&amp;gt;''CTID''.mount&amp;lt;/code&amp;gt; (where &amp;lt;code&amp;gt;''CTID''&amp;lt;/code&amp;gt; is container ID, like 777). This script will be executed every time you run &amp;lt;code&amp;gt;vzctl mount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vzctl start&amp;lt;/code&amp;gt; for a particular container. If you need to the same for all containers, use the global mount script named &amp;lt;code&amp;gt;vps.mount&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
From any mount script you can use the following environment variables:&lt;br /&gt;
* &amp;lt;code&amp;gt;${VEID}&amp;lt;/code&amp;gt; -- container ID (like &amp;lt;code&amp;gt;777&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;${VE_CONFFILE}&amp;lt;/code&amp;gt; -- container configuration file (like &amp;lt;code&amp;gt;/etc/vz/conf/777.conf&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Now, in order to get the value of &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt; you need to source both the global OpenVZ configuration file, and then the container configuration file, in that particular order. This is the same way vzctl uses to determine &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mount script example ===&lt;br /&gt;
Here is an example of such a mount script (it can either be &amp;lt;code&amp;gt;/etc/vz/conf/vps.mount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/vz/conf/''CTID''.mount&amp;lt;/code&amp;gt;)&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 source /etc/vz/vz.conf&lt;br /&gt;
 source ${VE_CONFFILE}&lt;br /&gt;
 mount -n --bind /mnt/disk ${VE_ROOT}/mnt/disk&lt;br /&gt;
&lt;br /&gt;
=== Unmount script example ===&lt;br /&gt;
For unmounting a filesystem, &amp;lt;code&amp;gt;/etc/vz/conf/vps.umount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/vz/conf/''CTID''.umount&amp;lt;/code&amp;gt; script can be used in the same way:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 source /etc/vz/vz.conf&lt;br /&gt;
 source ${VE_CONFFILE}&lt;br /&gt;
 umount ${VE_ROOT}/mnt/disk&lt;br /&gt;
&lt;br /&gt;
{{Note|&amp;lt;code&amp;gt;''CTID''.umount&amp;lt;/code&amp;gt; script is not strictly required, since vzctl tries to unmount everything on CT stop. But you'd better have it anyway.}}&lt;br /&gt;
&lt;br /&gt;
== Read-only bind mounts ==&lt;br /&gt;
&lt;br /&gt;
Since Linux kernel 2.6.26, bind mounts can be made read-only. The trick is to first mount as usual, and then remount it read-only:&lt;br /&gt;
&lt;br /&gt;
 mount -n --bind /home $VZDIR/root/777/home&lt;br /&gt;
 mount -n --bind -oremount,ro $VZDIR/root/777/home&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[NFS]]&lt;br /&gt;
* [[FUSE]]&lt;br /&gt;
* [[Mounting filesystems]]&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bind_mounts&amp;diff=8484</id>
		<title>Bind mounts</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bind_mounts&amp;diff=8484"/>
		<updated>2010-04-16T04:33:07Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: /* Mount script example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recent Linux kernels support an operation called 'bind mounting' which makes part of a mounted filesystem visible at some other mount point. See 'man mount' for more information.&lt;br /&gt;
&lt;br /&gt;
Bind mounts can be used to make directories on the hardware node visible to the container.&lt;br /&gt;
&lt;br /&gt;
== Filesystem layout ==&lt;br /&gt;
OpenVZ uses two directories. Assuming our container is numbered 777, these directories are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt;: $VZDIR/private/777&lt;br /&gt;
* &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;: $VZDIR/root/777&lt;br /&gt;
&lt;br /&gt;
{{Note|&amp;lt;code&amp;gt;$VZDIR&amp;lt;/code&amp;gt; is usually &amp;lt;code&amp;gt;/vz&amp;lt;/code&amp;gt;, on Debian systems however this is &amp;lt;code&amp;gt;/var/lib/vz&amp;lt;/code&amp;gt;. In this document this is further referred to as &amp;lt;code&amp;gt;$VZDIR&amp;lt;/code&amp;gt; -- substitute it with what you have.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt; is a place for all the container files. &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt; is the mount point to which &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt; is mounted during container start (or when you run &amp;lt;code&amp;gt;vzctl mount&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Warning|If you want to do a bind mount for container, you need to '''use &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;''' (not &amp;lt;code&amp;gt;VE_PRIVATE&amp;lt;/code&amp;gt;!) and '''make sure that container is mounted''' (this can be checked using &amp;lt;code&amp;gt;vzctl status&amp;lt;/code&amp;gt;).}}&lt;br /&gt;
&lt;br /&gt;
== Manual mount example ==&lt;br /&gt;
&lt;br /&gt;
On the HN we have a directory &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; which we wish to make available (shared) to container 777.&lt;br /&gt;
&lt;br /&gt;
The correct command to issue on the HN is:&lt;br /&gt;
&lt;br /&gt;
  mount --bind /home $VZDIR/root/777/home&lt;br /&gt;
&lt;br /&gt;
The container must be started (or at least mounted) and the destination directory must exist. The container will see this directory mounted like this:&lt;br /&gt;
&lt;br /&gt;
 # df&lt;br /&gt;
 Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
 simfs                 10485760    298728  10187032   3% /&lt;br /&gt;
 ext3                 117662052 104510764   7174408  94% /home&lt;br /&gt;
&lt;br /&gt;
During the container stop vzctl unmounts that bind mount, so you have to mount it again when you start the container for the next time. Luckily there is a way to automate it.&lt;br /&gt;
&lt;br /&gt;
== Make the mount persistent ==&lt;br /&gt;
&lt;br /&gt;
Put a mount script in OpenVZ configuration directory (&amp;lt;code&amp;gt;/etc/vz/conf/&amp;lt;/code&amp;gt;) with the name &amp;lt;code&amp;gt;''CTID''.mount&amp;lt;/code&amp;gt; (where &amp;lt;code&amp;gt;''CTID''&amp;lt;/code&amp;gt; is container ID, like 777). This script will be executed every time you run &amp;lt;code&amp;gt;vzctl mount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vzctl start&amp;lt;/code&amp;gt; for a particular container. If you need to the same for all containers, use the global mount script named &amp;lt;code&amp;gt;vps.mount&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
From any mount script you can use the following environment variables:&lt;br /&gt;
* &amp;lt;code&amp;gt;${VEID}&amp;lt;/code&amp;gt; -- container ID (like &amp;lt;code&amp;gt;777&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;${VE_CONFFILE}&amp;lt;/code&amp;gt; -- container configuration file (like &amp;lt;code&amp;gt;/etc/vz/conf/777.conf&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Now, in order to get the value of &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt; you need to source both the global OpenVZ configuration file, and then the container configuration file, in that particular order. This is the same way vzctl uses to determine &amp;lt;code&amp;gt;VE_ROOT&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mount script example ===&lt;br /&gt;
Here is an example of such a mount script (it can either be &amp;lt;code&amp;gt;/etc/vz/conf/vps.mount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/vz/conf/''CTID''.mount&amp;lt;/code&amp;gt;)&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 source /etc/vz/vz.conf&lt;br /&gt;
 source ${VE_CONFFILE}&lt;br /&gt;
 mount -n --bind /mnt/disk ${VE_ROOT}/mnt/disk&lt;br /&gt;
&lt;br /&gt;
=== Unmount script example ===&lt;br /&gt;
For unmounting a filesystem, &amp;lt;code&amp;gt;/etc/vz/conf/vps.umount&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/vz/conf/''CTID''.umount&amp;lt;/code&amp;gt; script can be used in the same way:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 source /etc/vz/vz.conf&lt;br /&gt;
 source ${VE_CONFFILE}&lt;br /&gt;
 umount ${VE_ROOT}/mnt/disk&lt;br /&gt;
&lt;br /&gt;
{{Note|&amp;lt;code&amp;gt;''CTID''.umount&amp;lt;/code&amp;gt; script is not strictly required, since vzctl tries to unmount everything on CT stop. But you'd better have it anyway.}}&lt;br /&gt;
&lt;br /&gt;
== Read-only bind mounts ==&lt;br /&gt;
&lt;br /&gt;
Since Linux kernel 2.6.26, bind mounts can be made read-only. The trick is to first mount as usual, and then remount it read-only:&lt;br /&gt;
&lt;br /&gt;
 mount --bind /home $VZDIR/root/777/home&lt;br /&gt;
 mount --bind -oremount,ro $VZDIR/root/777/home&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[NFS]]&lt;br /&gt;
* [[FUSE]]&lt;br /&gt;
* [[Mounting filesystems]]&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8383</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8383"/>
		<updated>2010-03-25T01:15:42Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
* note at the end I had to copy an existing .conf file to make this work. so the following needs improvement. I'll try to solve the issues and then edit this page. in the mean time if you need Sarge then this may be of some use.&lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;br /&gt;
&lt;br /&gt;
* note.  the container started and I could enter and work with it cron cli. however the vm was mis-configured from proxmox's web control pages' point of view. so i think this line needs a defferent template:&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
&lt;br /&gt;
to solve the issue I copied a working Debian Etch conf file from /etc/vz/conf to 599 and made a few changes..&lt;br /&gt;
&lt;br /&gt;
I'll look around to try to find a conf template to use ..&lt;br /&gt;
&lt;br /&gt;
* this is my final working conf file. it works ok from teh web control page.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PVE default config for 256MB RAM                                                         &lt;br /&gt;
&lt;br /&gt;
ONBOOT=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Primary parameters&lt;br /&gt;
NUMPROC=&amp;quot;1024:1024&amp;quot; &lt;br /&gt;
NUMTCPSOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMOTHERSOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
VMGUARPAGES=&amp;quot;131072:9223372036854775807&amp;quot;              &lt;br /&gt;
&lt;br /&gt;
# Secondary parameters&lt;br /&gt;
KMEMSIZE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
OOMGUARPAGES=&amp;quot;131072:9223372036854775807&amp;quot;         &lt;br /&gt;
PRIVVMPAGES=&amp;quot;131072:143572&amp;quot;                       &lt;br /&gt;
TCPSNDBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
TCPRCVBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
OTHERSOCKBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
DGRAMRCVBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Auxiliary parameters&lt;br /&gt;
NUMFILE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMFLOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMPTY=&amp;quot;255:255&amp;quot;&lt;br /&gt;
NUMSIGINFO=&amp;quot;1024:1024&amp;quot;&lt;br /&gt;
DCACHESIZE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
LOCKEDPAGES=&amp;quot;65536:65536&amp;quot;&lt;br /&gt;
SHMPAGES=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMIPTENT=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
PHYSPAGES=&amp;quot;0:9223372036854775807&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Disk quota parameters&lt;br /&gt;
DISKSPACE=&amp;quot;2097152:2306867&amp;quot;&lt;br /&gt;
DISKINODES=&amp;quot;400000:440000&amp;quot;&lt;br /&gt;
QUOTATIME=&amp;quot;0&amp;quot;&lt;br /&gt;
QUOTAUGIDLIMIT=&amp;quot;0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# CPU fair sheduler parameter&lt;br /&gt;
CPUUNITS=&amp;quot;1000&amp;quot;&lt;br /&gt;
CPUS=&amp;quot;1&amp;quot;&lt;br /&gt;
VE_ROOT=&amp;quot;/var/lib/vz/root/$VEID&amp;quot;&lt;br /&gt;
VE_PRIVATE=&amp;quot;/var/lib/vz/private/$VEID&amp;quot;&lt;br /&gt;
OSTEMPLATE=&amp;quot;debian-3.1&amp;quot;&lt;br /&gt;
ORIGIN_SAMPLE=&amp;quot;pve.auto&amp;quot;&lt;br /&gt;
IP_ADDRESS=&amp;quot;10.100.100.145&amp;quot;&lt;br /&gt;
HOSTNAME=&amp;quot;fbc145.fantinibakery.com&amp;quot;&lt;br /&gt;
NAMESERVER=&amp;quot;10.100.100.2&amp;quot;&lt;br /&gt;
SEARCHDOMAIN=&amp;quot;fantinibakery.com&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Category: Debian]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8382</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8382"/>
		<updated>2010-03-25T00:49:55Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;br /&gt;
&lt;br /&gt;
* note.  the container started and I could enter and work with it cron cli. however the vm was mis-configured from proxmox's web control pages' point of view. so i think this line needs a defferent template:&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
&lt;br /&gt;
to solve the issue I copied a working Debian Etch conf file from /etc/vz/conf to 599 and made a few changes..&lt;br /&gt;
&lt;br /&gt;
I'll look around to try to find a conf template to use ..&lt;br /&gt;
&lt;br /&gt;
* this is my final working conf file. it works ok from teh web control page.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PVE default config for 256MB RAM                                                         &lt;br /&gt;
&lt;br /&gt;
ONBOOT=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Primary parameters&lt;br /&gt;
NUMPROC=&amp;quot;1024:1024&amp;quot; &lt;br /&gt;
NUMTCPSOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMOTHERSOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
VMGUARPAGES=&amp;quot;131072:9223372036854775807&amp;quot;              &lt;br /&gt;
&lt;br /&gt;
# Secondary parameters&lt;br /&gt;
KMEMSIZE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
OOMGUARPAGES=&amp;quot;131072:9223372036854775807&amp;quot;         &lt;br /&gt;
PRIVVMPAGES=&amp;quot;131072:143572&amp;quot;                       &lt;br /&gt;
TCPSNDBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
TCPRCVBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
OTHERSOCKBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
DGRAMRCVBUF=&amp;quot;9223372036854775807:9223372036854775807&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Auxiliary parameters&lt;br /&gt;
NUMFILE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMFLOCK=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMPTY=&amp;quot;255:255&amp;quot;&lt;br /&gt;
NUMSIGINFO=&amp;quot;1024:1024&amp;quot;&lt;br /&gt;
DCACHESIZE=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
LOCKEDPAGES=&amp;quot;65536:65536&amp;quot;&lt;br /&gt;
SHMPAGES=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
NUMIPTENT=&amp;quot;9223372036854775807:9223372036854775807&amp;quot;&lt;br /&gt;
PHYSPAGES=&amp;quot;0:9223372036854775807&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Disk quota parameters&lt;br /&gt;
DISKSPACE=&amp;quot;2097152:2306867&amp;quot;&lt;br /&gt;
DISKINODES=&amp;quot;400000:440000&amp;quot;&lt;br /&gt;
QUOTATIME=&amp;quot;0&amp;quot;&lt;br /&gt;
QUOTAUGIDLIMIT=&amp;quot;0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# CPU fair sheduler parameter&lt;br /&gt;
CPUUNITS=&amp;quot;1000&amp;quot;&lt;br /&gt;
CPUS=&amp;quot;1&amp;quot;&lt;br /&gt;
VE_ROOT=&amp;quot;/var/lib/vz/root/$VEID&amp;quot;&lt;br /&gt;
VE_PRIVATE=&amp;quot;/var/lib/vz/private/$VEID&amp;quot;&lt;br /&gt;
OSTEMPLATE=&amp;quot;debian-3.1&amp;quot;&lt;br /&gt;
ORIGIN_SAMPLE=&amp;quot;pve.auto&amp;quot;&lt;br /&gt;
IP_ADDRESS=&amp;quot;10.100.100.145&amp;quot;&lt;br /&gt;
HOSTNAME=&amp;quot;fbc145.fantinibakery.com&amp;quot;&lt;br /&gt;
NAMESERVER=&amp;quot;10.100.100.2&amp;quot;&lt;br /&gt;
SEARCHDOMAIN=&amp;quot;fantinibakery.com&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Category: Debian]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8381</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8381"/>
		<updated>2010-03-25T00:47:24Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;br /&gt;
&lt;br /&gt;
* note.  the container started and I could enter and work with it cron cli. however the vm was mis-configured from proxmox's web control pages' point of view. so i think this line needs a defferent template:&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
&lt;br /&gt;
to solve the issue I copied a working Debian Etch conf file from /etc/vz/conf to 599 and made a few changes..&lt;br /&gt;
&lt;br /&gt;
I'll look around to try to find a conf template to use .. &lt;br /&gt;
&lt;br /&gt;
[[Category: Debian]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8380</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8380"/>
		<updated>2010-03-25T00:30:49Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Debian]]&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8379</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8379"/>
		<updated>2010-03-25T00:26:58Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8378</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8378"/>
		<updated>2010-03-25T00:25:56Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
* I used '599' as the container number. of course you'd want to pick an unused number.&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
           &lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8377</id>
		<title>Debian sarge</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Debian_sarge&amp;diff=8377"/>
		<updated>2010-03-25T00:24:38Z</updated>

		<summary type="html">&lt;p&gt;RobFantini: Created page with '* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info fr…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* on proxmox-ve we need to run some Debian Sarge containers.  we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. &lt;br /&gt;
&lt;br /&gt;
 aptitude  install debootstrap&lt;br /&gt;
&lt;br /&gt;
 debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
 vzctl set 599 --applyconfig pve.auto --save&lt;br /&gt;
  Saved parameters for CT 599&lt;br /&gt;
           &lt;br /&gt;
 echo &amp;quot;OSTEMPLATE=debian-3.1&amp;quot; &amp;gt;&amp;gt; /etc/vz/conf/599.conf&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --ipadd 10.100.100.144 --save&lt;br /&gt;
&lt;br /&gt;
 vzctl set 599 --nameserver 10.100.100.2 --save&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl start 599&lt;br /&gt;
&lt;br /&gt;
Starting container ...&lt;br /&gt;
Initializing quota ...&lt;br /&gt;
Container is mounted&lt;br /&gt;
Adding IP address(es): 10.100.100.144&lt;br /&gt;
Setting CPU units: 250&lt;br /&gt;
Configure meminfo: 7680&lt;br /&gt;
File resolv.conf was modified&lt;br /&gt;
Container start in progress...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 vzctl enter 599&lt;/div&gt;</summary>
		<author><name>RobFantini</name></author>
		
	</entry>
</feed>