Difference between revisions of "Talk:Debian template creation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
Line 2: Line 2:
 
This is my first trial with openVZ and a wiki. Please give me some hints, if anything is wrong. Don't hesitate to correct my poor english.
 
This is my first trial with openVZ and a wiki. Please give me some hints, if anything is wrong. Don't hesitate to correct my poor english.
  
I just installed openVZ on a rather old test box with Debian. Installation failed at first and I suppose there is one command missing in the instructions for debian.
+
I just installed openVZ on a rather old test box with Debian. Installation failed at first and I suppose there is a wrong path statement used for the debian packages.
  
 
When I came to  
 
When I came to  
 
<code>vzctl start 777</code>
 
<code>vzctl start 777</code>
 
I received the message
 
I received the message
<pre>Starting VE ...
+
<code>Starting VE ...
VE private area /var/lib/vz/private/777 does not exist</pre>
+
VE private area /var/lib/vz/private/777 does not exist</code>
  
After some researches at the forum I and the wiki I found out that the step
+
Moving the directory 777 from /vz/private to /var/lib/vz/private solves this problem.  
<code>vzctl create 777 --ostemplate debian-3.1-i386-minimal</code>
 
as described in the "OS template cache preparation" is missing in the debian specific section.
 
  
 
Now I could start and enter the new VE.
 
Now I could start and enter the new VE.
 
One of the first steps in the new VE should be the installation of security patches via apt-get update, apt-get upgrade. This fails because of missing nameservers. I added the line <code>nameserver xxx.xxx.xxx.xxx</code> to /etc/resolv.conf and updates work.
 

Revision as of 16:49, 7 January 2007

Hi all, This is my first trial with openVZ and a wiki. Please give me some hints, if anything is wrong. Don't hesitate to correct my poor english.

I just installed openVZ on a rather old test box with Debian. Installation failed at first and I suppose there is a wrong path statement used for the debian packages.

When I came to vzctl start 777 I received the message Starting VE ... VE private area /var/lib/vz/private/777 does not exist

Moving the directory 777 from /vz/private to /var/lib/vz/private solves this problem.

Now I could start and enter the new VE.