<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux-Vserver on the bin</title><link>https://thebin.net/tags/linux-vserver/</link><description>Recent content in Linux-Vserver on the bin</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 27 Mar 2012 00:00:00 +0000</lastBuildDate><atom:link href="https://thebin.net/tags/linux-vserver/index.xml" rel="self" type="application/rss+xml"/><item><title>Preparing Minimal Images with Debootstrap</title><link>https://thebin.net/2012/03/preparing-minimal-images-with-debootstrap/</link><pubDate>Tue, 27 Mar 2012 00:00:00 +0000</pubDate><guid>https://thebin.net/2012/03/preparing-minimal-images-with-debootstrap/</guid><description>&lt;p&gt;Debootstrap gives us a simple and consistent way to cleanly setup machines by installing packages directly into a file system directly from the repos.  These have the flexibility of being used across many different kind of machines.&lt;/p&gt;&#10;&lt;h2 id="create-directory-structure"&gt;Create Directory Structure&lt;/h2&gt;&#10;&lt;p&gt;Here we are just creating the directories into which we will be installing the operating systems into.&lt;/p&gt;&#10;&lt;div class="codeblock" data-lang="bash"&gt;&#10; &lt;div class="codeblock__bar"&gt;&#10; &lt;span class="codeblock__lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="codeblock__copy" aria-label="Copy code"&gt;&#10; &lt;span class="codeblock__copy-label"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir -p /mnt/build/amd64 /mnt/build/i386&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /mnt/build/amd64&lt;span class="p"&gt;;&lt;/span&gt; mkdir ubuntu_10.04 ubuntu_10.10 ubuntu_11.04 ubuntu_11.10 debian_5 debian_6&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /mnt/build/i386&lt;span class="p"&gt;;&lt;/span&gt; mkdir ubuntu_10.04 ubuntu_10.10 ubuntu_11.04 ubuntu_11.10 debian_5 debian_6&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="install-required-software"&gt;Install Required Software&lt;/h2&gt;&#10;&lt;div class="codeblock" data-lang="bash"&gt;&#10; &lt;div class="codeblock__bar"&gt;&#10; &lt;span class="codeblock__lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="codeblock__copy" aria-label="Copy code"&gt;&#10; &lt;span class="codeblock__copy-label"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get install debootstrap&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="install-operating-systems-into-the-folders"&gt;Install Operating Systems into the Folders&lt;/h2&gt;&#10;&lt;p&gt;Ubuntu Lucid&lt;/p&gt;</description></item></channel></rss>