<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://linux-vserver.at/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cdog</id>
		<title>Linux-VServer - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cdog"/>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Special:Contributions/Cdog"/>
		<updated>2026-04-09T23:42:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Fedora</id>
		<title>Installation on Fedora</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Fedora"/>
				<updated>2007-01-09T14:14:15Z</updated>
		
		<summary type="html">&lt;p&gt;Cdog: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; Author:  C Campbell&lt;br /&gt;
 OS:      Fedora Core 6&lt;br /&gt;
 Project: Vserver Installation&lt;br /&gt;
&lt;br /&gt;
 This wiki entry was tested on Fedora Core 6, but should work for any Fedora.&lt;br /&gt;
 &lt;br /&gt;
 Hardware is a pizza box 1U server single proc:&lt;br /&gt;
&lt;br /&gt;
 Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04&lt;br /&gt;
 1 GB Memory&lt;br /&gt;
 Intel i845 Chipset&lt;br /&gt;
 &lt;br /&gt;
 It is possible to install everything needed using yum.&lt;br /&gt;
 &lt;br /&gt;
 First consider that Vserver requires a customer kernel provided by&lt;br /&gt;
 &lt;br /&gt;
 Daniel Hokka Zakrisson's packages for Fedora&lt;br /&gt;
 &lt;br /&gt;
 Of course, YOU can build your own Vserver kernel from source.&lt;br /&gt;
&lt;br /&gt;
 Cannot recommend this guide for production level.&lt;br /&gt;
&lt;br /&gt;
 Much of this information was ripped from this wiki entry: &lt;br /&gt;
 &lt;br /&gt;
 http://oldwiki.linux-vserver.org/VServer+installation+Fedora+Core+5&lt;br /&gt;
 &lt;br /&gt;
 The base FC 6 is a minimal custom install from CD 1 - 2.&lt;br /&gt;
 &lt;br /&gt;
 All additional packages and updates were installed using yum.&lt;br /&gt;
 &lt;br /&gt;
 Disk considerations&lt;br /&gt;
 &lt;br /&gt;
 When creating the base system, if possible, partition only needed space and leave free space&lt;br /&gt;
 available for things like apache content, or vservers.  Its recommended that vservers have a&lt;br /&gt;
 partition of there own, but if possible create a partition for EACH vserver.&lt;br /&gt;
 &lt;br /&gt;
 Disable SELinux&lt;br /&gt;
 &lt;br /&gt;
 As instructed by the FC 5 Vserver wiki, the following steps were taken to disable SELinux.&lt;br /&gt;
  Would love to know more about SELinux and leave it enabled on the base system.  &lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/selinux/config&lt;br /&gt;
&lt;br /&gt;
  SELINUX=disabled&lt;br /&gt;
 &lt;br /&gt;
  sudo yum -y upgrade&lt;br /&gt;
 &lt;br /&gt;
 At this point I rebooted to make sure SELinux disabled, but you can wait until later.&lt;br /&gt;
 &lt;br /&gt;
 Install util-vserver&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver&lt;br /&gt;
 &lt;br /&gt;
 Install the custom kernel&lt;br /&gt;
 &lt;br /&gt;
 Create a new yum repository file.&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/dhorac-vserver.repo&lt;br /&gt;
 &lt;br /&gt;
 Paste this:&lt;br /&gt;
 &lt;br /&gt;
 [dhozac-vserver]&lt;br /&gt;
 name=Daniel Hokka Zakrisson's packages for Fedora $releasever - $basearch - vserver&lt;br /&gt;
 baseurl=http://rpm.hozac.com/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
   http://muh.at/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
 gpgkey=http://rpm.hozac.com/fedora/conf/keys/RPM-DHOZAC-GPG-KEY&lt;br /&gt;
 enabled=1&lt;br /&gt;
 &lt;br /&gt;
 Modify your existing Fedora updates yum repository file&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/fedora-updates.repo&lt;br /&gt;
 &lt;br /&gt;
 Add this line to each repository block&lt;br /&gt;
 &lt;br /&gt;
 exclude=kernel kernel-smp yum&lt;br /&gt;
 &lt;br /&gt;
 Remove your existing kernel&lt;br /&gt;
 &lt;br /&gt;
 To find your existing kernel&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 This will be different depending on your kernel&lt;br /&gt;
 &lt;br /&gt;
  sudo yum remove kernel-2.6.18-1.2868.fc6&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install kernel&lt;br /&gt;
 &lt;br /&gt;
 If you have a multi- core or processor machine use kernel-smp &lt;br /&gt;
 &lt;br /&gt;
 Watch Yum and make sure you see the kernel downloaded from Dhozac, not fedora updates&lt;br /&gt;
 &lt;br /&gt;
 Reboot&lt;br /&gt;
 &lt;br /&gt;
  /sbin/init 6&lt;br /&gt;
 &lt;br /&gt;
 When your machine reboots check to make sure the kernel loaded&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 You should see something like this&lt;br /&gt;
 &lt;br /&gt;
 2.6.18-1.2861.fc6.vs2.0.2.2.0.rc9.1&lt;br /&gt;
 &lt;br /&gt;
 The important bit is &amp;quot;fc6.vs2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 At this point I tried to create a vserver but found out that I needed &lt;br /&gt;
 &lt;br /&gt;
 util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 FYI: you will need util-vserver{-core,-lib,-i386,-sysv,-build}&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 Install chroot Yum&lt;br /&gt;
 &lt;br /&gt;
  sudo yum update yum&lt;br /&gt;
 &lt;br /&gt;
 Now you should have a chroot version of yum (yum.noarch 3.0.1-2.fc6.chroot)&lt;br /&gt;
&lt;br /&gt;
 To make sure&lt;br /&gt;
&lt;br /&gt;
  sudo tail /var/log/yum.log&lt;br /&gt;
 &lt;br /&gt;
 At this point we're ready to build a vserver.&lt;br /&gt;
 &lt;br /&gt;
 Build a vserver&lt;br /&gt;
 &lt;br /&gt;
 For this vserver I created a 10GB partition called /vserver1.&lt;br /&gt;
 &lt;br /&gt;
 My base server is on 192.168.1/24 so I'll stay on that subnet.&lt;br /&gt;
 &lt;br /&gt;
 I'll call my vserver bianca.&lt;br /&gt;
 &lt;br /&gt;
 Context has something to do with unique UIDs in the kernel.&lt;br /&gt;
 &lt;br /&gt;
 For more on all the build options &lt;br /&gt;
 &lt;br /&gt;
  vserver build build --help&lt;br /&gt;
&lt;br /&gt;
 Here is a bash script you can use to create a vserver. &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
 ROOTDIR=&amp;quot;/vserver1&amp;quot;&lt;br /&gt;
 PKGBASE=&amp;quot;/vserver1/.pkg&amp;quot;&lt;br /&gt;
 SUDO=&amp;quot;sudo&amp;quot;&lt;br /&gt;
 HOSTNAME=&amp;quot;bianca&amp;quot;&lt;br /&gt;
 VSERVER=$HOSTNAME&lt;br /&gt;
 IP=&amp;quot;eth0:192.168.1.106/24&amp;quot;&lt;br /&gt;
 INTERFACE=&amp;quot;bianca0&amp;quot;&lt;br /&gt;
 CONTEXT=&amp;quot;43&amp;quot;&lt;br /&gt;
 DIST=&amp;quot;fc6&amp;quot;&lt;br /&gt;
 PM=&amp;quot;yum&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;$SUDO /usr/sbin/vserver $VSERVER build /&lt;br /&gt;
 -m $PM --context $CONTEXT /&lt;br /&gt;
 --hostname=$HOSTNAME --interface $INTERFACE=$IP /&lt;br /&gt;
 --rootdir $ROOTDIR --pkgbase $PKGBASE -- -d $DIST&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 #EOF&lt;br /&gt;
&lt;br /&gt;
 At this point you'll wait for yum to get started, then you'll see expected yum download output.&lt;br /&gt;
 &lt;br /&gt;
 Yum will download kernel hook packages and then it will download a minimal set of user packages.&lt;br /&gt;
 &lt;br /&gt;
 The yum process finishes as expected, but I got this warning/error:&lt;br /&gt;
 &lt;br /&gt;
 /usr/lib/util-vserver/distributions/fc6/initpost: line 105:  3587 Killed&lt;br /&gt;
 $_VSERVER &amp;quot;$vserver&amp;quot; exec bash -c ': &amp;gt;/tmp/startwait' &amp;gt;&amp;amp;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 Not sure which part of this script is broken, but it did not impact the install, so move on.&lt;br /&gt;
 &lt;br /&gt;
 Technically at this point you should be able to start the vserver.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca start&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 This will take you &amp;quot;inside&amp;quot; the Vserver to a shell.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca enter &lt;br /&gt;
&lt;br /&gt;
 Now, if you entered the vserver, get out of the vserver and stop it.&lt;br /&gt;
&lt;br /&gt;
  Ctrl + D&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca stop&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 Install minimal packages &lt;br /&gt;
&lt;br /&gt;
 The FC 5 wiki entry talks about unmanaged guest package management&lt;br /&gt;
 Here the guest is able to run its own yum.&lt;br /&gt;
&lt;br /&gt;
 # to enable unmanaged guest&lt;br /&gt;
 vyum gast -- install yum&lt;br /&gt;
 vserver gast running &amp;amp;&amp;amp; vserver gast stop&lt;br /&gt;
 vserver gast pkgmgmt internalize&lt;br /&gt;
&lt;br /&gt;
 I decided to use &amp;quot;managed guest&amp;quot; package management.&lt;br /&gt;
 Here the base server will update the guest (vserver)&lt;br /&gt;
 The vserver must be stopped for these vyum steps.&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install openssh-server&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install vim-minimal&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install passwd&lt;br /&gt;
 &lt;br /&gt;
 After each of these commands you'll see normal yum install output.&lt;br /&gt;
&lt;br /&gt;
 Now enter your vserver.&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca start&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca enter&lt;br /&gt;
&lt;br /&gt;
 Make sure you see a different bash prompt now, which means your in the vserver.&lt;br /&gt;
&lt;br /&gt;
 Now setup your shadow passwd file and set root passwd.&lt;br /&gt;
&lt;br /&gt;
 pwconv&lt;br /&gt;
&lt;br /&gt;
 pwck&lt;br /&gt;
 &lt;br /&gt;
 passwd root&lt;br /&gt;
&lt;br /&gt;
 Set the nameserver by modifying resolv.conf&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;nameserver 192.168.1.1&amp;quot; &amp;gt;&amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
 Set the timezone file.&lt;br /&gt;
&lt;br /&gt;
 cp -f /usr/share/zoneinfo/&amp;lt;your timezone&amp;gt; /etc/localtime&lt;br /&gt;
 &lt;br /&gt;
 Things to keep in mind.&lt;br /&gt;
 &lt;br /&gt;
 Most of the problems I encountered were network related.&lt;br /&gt;
 &lt;br /&gt;
 1.  Modify your firewall.  &lt;br /&gt;
Fedora has a firewall in place by default and it will block your Vserver.&lt;br /&gt;
 &lt;br /&gt;
 	Check your firewall.&lt;br /&gt;
 &lt;br /&gt;
 	 sudo /sbin/iptables -L &lt;br /&gt;
 &lt;br /&gt;
 2.  SSHD will not work until you either change the Listen from all interfaces&lt;br /&gt;
 on your base machine, or change the port for your Vserver SSHD.&lt;br /&gt;
 Otherwise they collide.&lt;/div&gt;</summary>
		<author><name>Cdog</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Fedora</id>
		<title>Installation on Fedora</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Fedora"/>
				<updated>2007-01-09T14:12:30Z</updated>
		
		<summary type="html">&lt;p&gt;Cdog: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; Author:  C Campbell&lt;br /&gt;
 OS:      Fedora Core 6&lt;br /&gt;
 Project: Vserver Installation&lt;br /&gt;
&lt;br /&gt;
 This wiki entry was tested on Fedora Core 6, but should work for any Fedora.&lt;br /&gt;
 &lt;br /&gt;
 Hardware is a pizza box 1U server single proc:&lt;br /&gt;
&lt;br /&gt;
 Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04&lt;br /&gt;
 1 GB Memory&lt;br /&gt;
 Intel i845 Chipset&lt;br /&gt;
 &lt;br /&gt;
 It is possible to install everything needed using yum.&lt;br /&gt;
 &lt;br /&gt;
 First consider that Vserver requires a customer kernel provided by&lt;br /&gt;
 &lt;br /&gt;
 Daniel Hokka Zakrisson's packages for Fedora&lt;br /&gt;
 &lt;br /&gt;
 Of course, YOU can build your own Vserver kernel from source.&lt;br /&gt;
&lt;br /&gt;
 Cannot recommend this guide for production level.&lt;br /&gt;
&lt;br /&gt;
 Much of this information was ripped from this wiki entry: &lt;br /&gt;
 &lt;br /&gt;
 http://oldwiki.linux-vserver.org/VServer+installation+Fedora+Core+5&lt;br /&gt;
 &lt;br /&gt;
 The base FC 6 is a minimal custom install from CD 1 - 2.&lt;br /&gt;
 &lt;br /&gt;
 All additional packages and updates were installed using yum.&lt;br /&gt;
 &lt;br /&gt;
 Disk considerations&lt;br /&gt;
 &lt;br /&gt;
 When creating the base system, if possible, partition only needed space and leave free space&lt;br /&gt;
 available for things like apache content, or vservers.  Its recommended that vservers have a&lt;br /&gt;
 partition of there own, but if possible create a partition for EACH vserver.&lt;br /&gt;
 &lt;br /&gt;
 Disable SELinux&lt;br /&gt;
 &lt;br /&gt;
 As instructed by the FC 5 Vserver wiki, the following steps were taken to disable SELinux.&lt;br /&gt;
  Would love to know more about SELinux and leave it enabled on the base system.  &lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/selinux/config&lt;br /&gt;
&lt;br /&gt;
  SELINUX=disabled&lt;br /&gt;
 &lt;br /&gt;
  sudo yum -y upgrade&lt;br /&gt;
 &lt;br /&gt;
 At this point I rebooted to make sure SELinux disabled, but you can wait until later.&lt;br /&gt;
 &lt;br /&gt;
 Install util-vserver&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver&lt;br /&gt;
 &lt;br /&gt;
 Install the custom kernel&lt;br /&gt;
 &lt;br /&gt;
 Create a new yum repository file.&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/dhorac-vserver.repo&lt;br /&gt;
 &lt;br /&gt;
 Paste this:&lt;br /&gt;
 &lt;br /&gt;
 [dhozac-vserver]&lt;br /&gt;
 name=Daniel Hokka Zakrisson's packages for Fedora $releasever - $basearch - vserver&lt;br /&gt;
 baseurl=http://rpm.hozac.com/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
   http://muh.at/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
 gpgkey=http://rpm.hozac.com/fedora/conf/keys/RPM-DHOZAC-GPG-KEY&lt;br /&gt;
 enabled=1&lt;br /&gt;
 &lt;br /&gt;
 Modify your existing Fedora updates yum repository file&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/fedora-updates.repo&lt;br /&gt;
 &lt;br /&gt;
 Add this line to each repository block&lt;br /&gt;
 &lt;br /&gt;
 exclude=kernel kernel-smp yum&lt;br /&gt;
 &lt;br /&gt;
 Remove your existing kernel&lt;br /&gt;
 &lt;br /&gt;
 To find your existing kernel&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 This will be different depending on your kernel&lt;br /&gt;
 &lt;br /&gt;
  sudo yum remove kernel-2.6.18-1.2868.fc6&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install kernel&lt;br /&gt;
 &lt;br /&gt;
 If you have a multi- core or processor machine use kernel-smp &lt;br /&gt;
 &lt;br /&gt;
 Watch Yum and make sure you see the kernel downloaded from Dhozac, not fedora updates&lt;br /&gt;
 &lt;br /&gt;
 Reboot&lt;br /&gt;
 &lt;br /&gt;
  /sbin/init 6&lt;br /&gt;
 &lt;br /&gt;
 When your machine reboots check to make sure the kernel loaded&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 You should see something like this&lt;br /&gt;
 &lt;br /&gt;
 2.6.18-1.2861.fc6.vs2.0.2.2.0.rc9.1&lt;br /&gt;
 &lt;br /&gt;
 The important bit is &amp;quot;fc6.vs2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 At this point I tried to create a vserver but found out that I needed &lt;br /&gt;
 &lt;br /&gt;
 util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 FYI: you will need util-vserver{-core,-lib,-i386,-sysv,-build}&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 Install chroot Yum&lt;br /&gt;
 &lt;br /&gt;
  sudo yum update yum&lt;br /&gt;
 &lt;br /&gt;
 Now you should have a chroot version of yum (yum.noarch 3.0.1-2.fc6.chroot)&lt;br /&gt;
&lt;br /&gt;
 To make sure&lt;br /&gt;
&lt;br /&gt;
  sudo tail /var/log/yum.log&lt;br /&gt;
 &lt;br /&gt;
 At this point we're ready to build a vserver.&lt;br /&gt;
 &lt;br /&gt;
 Build a vserver&lt;br /&gt;
 &lt;br /&gt;
 For this vserver I created a 10GB partition called /vserver1.&lt;br /&gt;
 &lt;br /&gt;
 My base server is on 192.168.1/24 so I'll stay on that subnet.&lt;br /&gt;
 &lt;br /&gt;
 I'll call my vserver bianca.&lt;br /&gt;
 &lt;br /&gt;
 Context has something to do with unique UIDs in the kernel.&lt;br /&gt;
 &lt;br /&gt;
 For more on all the build options &lt;br /&gt;
 &lt;br /&gt;
  vserver build build --help&lt;br /&gt;
&lt;br /&gt;
 Here is a bash script you can use to create a vserver. &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
 ROOTDIR=&amp;quot;/vserver1&amp;quot;&lt;br /&gt;
 PKGBASE=&amp;quot;/vserver1/.pkg&amp;quot;&lt;br /&gt;
 SUDO=&amp;quot;sudo&amp;quot;&lt;br /&gt;
 HOSTNAME=&amp;quot;bianca&amp;quot;&lt;br /&gt;
 VSERVER=$HOSTNAME&lt;br /&gt;
 IP=&amp;quot;eth0:192.168.1.106/24&amp;quot;&lt;br /&gt;
 INTERFACE=&amp;quot;bianca0&amp;quot;&lt;br /&gt;
 CONTEXT=&amp;quot;43&amp;quot;&lt;br /&gt;
 DIST=&amp;quot;fc6&amp;quot;&lt;br /&gt;
 PM=&amp;quot;yum&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;$SUDO /usr/sbin/vserver $VSERVER build /&lt;br /&gt;
 -m $PM --context $CONTEXT /&lt;br /&gt;
 --hostname=$HOSTNAME --interface $INTERFACE=$IP /&lt;br /&gt;
 --rootdir $ROOTDIR --pkgbase $PKGBASE -- -d $DIST&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 #EOF&lt;br /&gt;
&lt;br /&gt;
 At this point you'll wait for yum to get started, then you'll see expected yum download output.&lt;br /&gt;
 &lt;br /&gt;
 Yum will download kernel hook packages and then it will download a minimal set of user packages.&lt;br /&gt;
 &lt;br /&gt;
 The yum process finishes as expected, but I got this warning/error:&lt;br /&gt;
 &lt;br /&gt;
 /usr/lib/util-vserver/distributions/fc6/initpost: line 105:  3587 Killed&lt;br /&gt;
 $_VSERVER &amp;quot;$vserver&amp;quot; exec bash -c ': &amp;gt;/tmp/startwait' &amp;gt;&amp;amp;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 Not sure which part of this script is broken, but it did not impact the install, so move on.&lt;br /&gt;
 &lt;br /&gt;
 Technically at this point you should be able to start the vserver.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca start&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 This will take you &amp;quot;inside&amp;quot; the Vserver to a shell.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca enter &lt;br /&gt;
&lt;br /&gt;
 Now, if you entered the vserver, get out of the vserver and stop it.&lt;br /&gt;
&lt;br /&gt;
  Ctrl + D&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca stop&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 Install minimal packages &lt;br /&gt;
&lt;br /&gt;
 The FC 5 wiki entry talks about unmanaged guest package management&lt;br /&gt;
 Here the guest is able to run its own yum.&lt;br /&gt;
&lt;br /&gt;
 # to enable unmanaged guest&lt;br /&gt;
 vyum gast -- install yum&lt;br /&gt;
 vserver gast running &amp;amp;&amp;amp; vserver gast stop&lt;br /&gt;
 vserver gast pkgmgmt internalize&lt;br /&gt;
&lt;br /&gt;
 I decided to use &amp;quot;managed guest&amp;quot; package management.&lt;br /&gt;
 Here the base server will update the guest (vserver)&lt;br /&gt;
 The vserver must be stopped for these vyum steps.&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install openssh-server&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install vim-minimal&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install passwd&lt;br /&gt;
 &lt;br /&gt;
 After each of these commands you'll see normal yum install output.&lt;br /&gt;
&lt;br /&gt;
 Now enter your vserver.&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca start&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca enter&lt;br /&gt;
&lt;br /&gt;
 Make sure you see a different bash prompt now, which means your in the vserver.&lt;br /&gt;
&lt;br /&gt;
 Now setup your shadow passwd file and set root passwd.&lt;br /&gt;
&lt;br /&gt;
 pwconv&lt;br /&gt;
&lt;br /&gt;
 pwck&lt;br /&gt;
 &lt;br /&gt;
 passwd root&lt;br /&gt;
&lt;br /&gt;
 Set the nameserver by modifying resolv.conf&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;nameserver 192.168.1.1&amp;quot; &amp;gt;&amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
 Set the timezone file.&lt;br /&gt;
&lt;br /&gt;
 cp -f /usr/share/zoneinfo/&amp;lt;your timezone&amp;gt; /etc/localtime&lt;br /&gt;
 &lt;br /&gt;
 Things to keep in mind.&lt;br /&gt;
 &lt;br /&gt;
 Most of the problems I encountered were network related.&lt;br /&gt;
 &lt;br /&gt;
 1.  Modify your firewall.  &lt;br /&gt;
Fedora has a firewall in place by default and it will block your Vserver.&lt;br /&gt;
 &lt;br /&gt;
 	Check your firewall.&lt;br /&gt;
 &lt;br /&gt;
 	 sudo /sbin/iptables -L &lt;br /&gt;
 &lt;br /&gt;
 2.  SSHD will not work until you either change the Listen from all interfaces on your base machine, or change the port that your Vserver SSHD is running on.&lt;br /&gt;
Otherwise they collide.&lt;/div&gt;</summary>
		<author><name>Cdog</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Fedora</id>
		<title>Installation on Fedora</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Fedora"/>
				<updated>2007-01-09T14:10:41Z</updated>
		
		<summary type="html">&lt;p&gt;Cdog: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; Author:  C Campbell&lt;br /&gt;
 OS:      Fedora Core 6&lt;br /&gt;
 Project: Vserver Installation&lt;br /&gt;
&lt;br /&gt;
 This wiki entry was tested on Fedora Core 6, but should work for any Fedora.&lt;br /&gt;
 &lt;br /&gt;
 Hardware is a pizza box 1U server single proc:&lt;br /&gt;
&lt;br /&gt;
 Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04&lt;br /&gt;
 1 GB Memory&lt;br /&gt;
 Intel i845 Chipset&lt;br /&gt;
 &lt;br /&gt;
 It is possible to install everything needed using yum.&lt;br /&gt;
 &lt;br /&gt;
 First consider that Vserver requires a customer kernel provided by&lt;br /&gt;
 &lt;br /&gt;
 Daniel Hokka Zakrisson's packages for Fedora&lt;br /&gt;
 &lt;br /&gt;
 Of course, YOU can build your own Vserver kernel from source.&lt;br /&gt;
&lt;br /&gt;
 Cannot recommend this guide for production level.&lt;br /&gt;
&lt;br /&gt;
 Much of this information was ripped from this wiki entry: &lt;br /&gt;
 &lt;br /&gt;
 http://oldwiki.linux-vserver.org/VServer+installation+Fedora+Core+5&lt;br /&gt;
 &lt;br /&gt;
 The base FC 6 is a minimal custom install from CD 1 - 2.&lt;br /&gt;
 &lt;br /&gt;
 All additional packages and updates were installed using yum.&lt;br /&gt;
 &lt;br /&gt;
 Disk considerations&lt;br /&gt;
 &lt;br /&gt;
 When creating the base system, if possible, partition only needed space and leave free space&lt;br /&gt;
 available for things like apache content, or vservers.  Its recommended that vservers have a&lt;br /&gt;
 partition of there own, but if possible create a partition for EACH vserver.&lt;br /&gt;
 &lt;br /&gt;
 Disable SELinux&lt;br /&gt;
 &lt;br /&gt;
 As instructed by the FC 5 Vserver wiki, the following steps were taken to disable SELinux.&lt;br /&gt;
  Would love to know more about SELinux and leave it enabled on the base system.  &lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/selinux/config&lt;br /&gt;
&lt;br /&gt;
  SELINUX=disabled&lt;br /&gt;
 &lt;br /&gt;
  sudo yum -y upgrade&lt;br /&gt;
 &lt;br /&gt;
 At this point I rebooted to make sure SELinux disabled, but you can wait until later.&lt;br /&gt;
 &lt;br /&gt;
 Install util-vserver&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver&lt;br /&gt;
 &lt;br /&gt;
 Install the custom kernel&lt;br /&gt;
 &lt;br /&gt;
 Create a new yum repository file.&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/dhorac-vserver.repo&lt;br /&gt;
 &lt;br /&gt;
 Paste this:&lt;br /&gt;
 &lt;br /&gt;
 [dhozac-vserver]&lt;br /&gt;
 name=Daniel Hokka Zakrisson's packages for Fedora $releasever - $basearch - vserver&lt;br /&gt;
 baseurl=http://rpm.hozac.com/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
   http://muh.at/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
 gpgkey=http://rpm.hozac.com/fedora/conf/keys/RPM-DHOZAC-GPG-KEY&lt;br /&gt;
 enabled=1&lt;br /&gt;
 &lt;br /&gt;
 Modify your existing Fedora updates yum repository file&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/fedora-updates.repo&lt;br /&gt;
 &lt;br /&gt;
 Add this line to each repository block&lt;br /&gt;
 &lt;br /&gt;
 exclude=kernel kernel-smp yum&lt;br /&gt;
 &lt;br /&gt;
 Remove your existing kernel&lt;br /&gt;
 &lt;br /&gt;
 To find your existing kernel&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 This will be different depending on your kernel&lt;br /&gt;
 &lt;br /&gt;
  sudo yum remove kernel-2.6.18-1.2868.fc6&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install kernel&lt;br /&gt;
 &lt;br /&gt;
 If you have a multi- core or processor machine use kernel-smp &lt;br /&gt;
 &lt;br /&gt;
 Watch Yum and make sure you see the kernel downloaded from Dhozac, not fedora updates&lt;br /&gt;
 &lt;br /&gt;
 Reboot&lt;br /&gt;
 &lt;br /&gt;
  /sbin/init 6&lt;br /&gt;
 &lt;br /&gt;
 When your machine reboots check to make sure the kernel loaded&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 You should see something like this&lt;br /&gt;
 &lt;br /&gt;
 2.6.18-1.2861.fc6.vs2.0.2.2.0.rc9.1&lt;br /&gt;
 &lt;br /&gt;
 The important bit is &amp;quot;fc6.vs2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 At this point I tried to create a vserver but found out that I needed &lt;br /&gt;
 &lt;br /&gt;
 util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 FYI: you will need util-vserver{-core,-lib,-i386,-sysv,-build}&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 Install chroot Yum&lt;br /&gt;
 &lt;br /&gt;
  sudo yum update yum&lt;br /&gt;
 &lt;br /&gt;
 Now you should have a chroot version of yum (yum.noarch 3.0.1-2.fc6.chroot)&lt;br /&gt;
&lt;br /&gt;
 To make sure&lt;br /&gt;
&lt;br /&gt;
  sudo tail /var/log/yum.log&lt;br /&gt;
 &lt;br /&gt;
 At this point we're ready to build a vserver.&lt;br /&gt;
 &lt;br /&gt;
 Build a vserver&lt;br /&gt;
 &lt;br /&gt;
 For this vserver I created a 10GB partition called /vserver1.&lt;br /&gt;
 &lt;br /&gt;
 My base server is on 192.168.1/24 so I'll stay on that subnet.&lt;br /&gt;
 &lt;br /&gt;
 I'll call my vserver bianca.&lt;br /&gt;
 &lt;br /&gt;
 Context has something to do with unique UIDs in the kernel.&lt;br /&gt;
 &lt;br /&gt;
 For more on all the build options &lt;br /&gt;
 &lt;br /&gt;
  vserver build build --help&lt;br /&gt;
&lt;br /&gt;
 Here is a bash script you can use to create a vserver. &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
 ROOTDIR=&amp;quot;/vserver1&amp;quot;&lt;br /&gt;
 PKGBASE=&amp;quot;/vserver1/.pkg&amp;quot;&lt;br /&gt;
 SUDO=&amp;quot;sudo&amp;quot;&lt;br /&gt;
 HOSTNAME=&amp;quot;bianca&amp;quot;&lt;br /&gt;
 VSERVER=$HOSTNAME&lt;br /&gt;
 IP=&amp;quot;eth0:192.168.1.106/24&amp;quot;&lt;br /&gt;
 INTERFACE=&amp;quot;bianca0&amp;quot;&lt;br /&gt;
 CONTEXT=&amp;quot;43&amp;quot;&lt;br /&gt;
 DIST=&amp;quot;fc6&amp;quot;&lt;br /&gt;
 PM=&amp;quot;yum&amp;quot; &lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;$SUDO /usr/sbin/vserver $VSERVER build -m $PM --context $CONTEXT /&lt;br /&gt;
 --hostname=$HOSTNAME --interface $INTERFACE=$IP /&lt;br /&gt;
 --rootdir $ROOTDIR --pkgbase $PKGBASE -- -d $DIST&lt;br /&gt;
&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 At this point you'll wait for yum to get started, then you'll see expected yum download output.&lt;br /&gt;
 &lt;br /&gt;
 Yum will download kernel hook packages and then it will download a minimal set of user packages.&lt;br /&gt;
 &lt;br /&gt;
 The yum process finishes as expected, but I got this warning/error:&lt;br /&gt;
 &lt;br /&gt;
 /usr/lib/util-vserver/distributions/fc6/initpost: line 105:  3587 Killed                  $_VSERVER &amp;quot;$vserver&amp;quot; exec bash -c ': &amp;gt;/tmp/startwait' &amp;gt;&amp;amp;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 Not sure which part of this script is broken, but it did not impact the install, so move on.&lt;br /&gt;
 &lt;br /&gt;
 Technically at this point you should be able to start the vserver.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca start&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 This will take you &amp;quot;inside&amp;quot; the Vserver to a shell.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca enter &lt;br /&gt;
&lt;br /&gt;
 Now, if you entered the vserver, get out of the vserver and stop it.&lt;br /&gt;
&lt;br /&gt;
  Ctrl + D&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca stop&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 Install minimal packages &lt;br /&gt;
&lt;br /&gt;
 The FC 5 wiki entry talks about unmanaged guest package management&lt;br /&gt;
 Here the guest is able to run its own yum.&lt;br /&gt;
&lt;br /&gt;
 # to enable unmanaged guest&lt;br /&gt;
 vyum gast -- install yum&lt;br /&gt;
 vserver gast running &amp;amp;&amp;amp; vserver gast stop&lt;br /&gt;
 vserver gast pkgmgmt internalize&lt;br /&gt;
&lt;br /&gt;
 I decided to use &amp;quot;managed guest&amp;quot; package management.&lt;br /&gt;
 Here the base server will update the guest (vserver)&lt;br /&gt;
 The vserver must be stopped for these vyum steps.&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install openssh-server&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install vim-minimal&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install passwd&lt;br /&gt;
 &lt;br /&gt;
 After each of these commands you'll see normal yum install output.&lt;br /&gt;
&lt;br /&gt;
 Now enter your vserver.&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca start&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca enter&lt;br /&gt;
&lt;br /&gt;
 Make sure you see a different bash prompt now, which means your in the vserver.&lt;br /&gt;
&lt;br /&gt;
 Now setup your shadow passwd file and set root passwd.&lt;br /&gt;
&lt;br /&gt;
 pwconv&lt;br /&gt;
&lt;br /&gt;
 pwck&lt;br /&gt;
 &lt;br /&gt;
 passwd root&lt;br /&gt;
&lt;br /&gt;
 Set the nameserver by modifying resolv.conf&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;nameserver 192.168.1.1&amp;quot; &amp;gt;&amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
 Set the timezone file.&lt;br /&gt;
&lt;br /&gt;
 cp -f /usr/share/zoneinfo/&amp;lt;your timezone&amp;gt; /etc/localtime&lt;br /&gt;
 &lt;br /&gt;
 Things to keep in mind.&lt;br /&gt;
 &lt;br /&gt;
 Most of the problems I encountered were network related.&lt;br /&gt;
 &lt;br /&gt;
 1.  Modify your firewall.  Fedora has a firewall in place by default and it will block your Vserver.&lt;br /&gt;
 &lt;br /&gt;
 	Check your firewall.&lt;br /&gt;
 &lt;br /&gt;
 	 sudo /sbin/iptables -L &lt;br /&gt;
 &lt;br /&gt;
 2.  SSHD will not work until you either change the Listen from all interfaces on your base machine, or&lt;br /&gt;
 	change the port that your Vserver SSHD is running on.  Otherwise they collide.&lt;/div&gt;</summary>
		<author><name>Cdog</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Fedora</id>
		<title>Installation on Fedora</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Fedora"/>
				<updated>2007-01-09T14:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;Cdog: FC 6 Vserver Install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; Author:  C Campbell&lt;br /&gt;
 OS:      Fedora Core 6&lt;br /&gt;
 Project: Vserver Installation&lt;br /&gt;
&lt;br /&gt;
 This wiki entry was tested on Fedora Core 6, but should work for any Fedora.&lt;br /&gt;
 &lt;br /&gt;
 Hardware is a pizza box 1U server single proc:&lt;br /&gt;
&lt;br /&gt;
 Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04&lt;br /&gt;
 1 GB Memory&lt;br /&gt;
 Intel i845 Chipset&lt;br /&gt;
 &lt;br /&gt;
 It is possible to install everything needed using yum.&lt;br /&gt;
 &lt;br /&gt;
 First consider that Vserver requires a customer kernel provided by&lt;br /&gt;
 &lt;br /&gt;
 Daniel Hokka Zakrisson's packages for Fedora&lt;br /&gt;
 &lt;br /&gt;
 Of course, YOU can build your own Vserver kernel from source.&lt;br /&gt;
&lt;br /&gt;
 Cannot recommend this guide for production level.&lt;br /&gt;
&lt;br /&gt;
 Much of this information was ripped from this wiki entry: &lt;br /&gt;
 &lt;br /&gt;
 http://oldwiki.linux-vserver.org/VServer+installation+Fedora+Core+5&lt;br /&gt;
 &lt;br /&gt;
 The base FC 6 is a minimal custom install from CD 1 - 2.&lt;br /&gt;
 &lt;br /&gt;
 All additional packages and updates were installed using yum.&lt;br /&gt;
 &lt;br /&gt;
 Disk considerations&lt;br /&gt;
 &lt;br /&gt;
 When creating the base system, if possible, partition only needed space and leave free space available for things like apache content, or vservers.  Its recommended that vservers have a partition of there own, but if possible create a partition for EACH vserver.&lt;br /&gt;
 &lt;br /&gt;
 Disable SELinux&lt;br /&gt;
 &lt;br /&gt;
 As instructed by the FC 5 Vserver wiki, the following steps were taken to disable SELinux.  Would love to know more about SELinux and leave it enabled on the base system.  &lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/selinux/config&lt;br /&gt;
&lt;br /&gt;
  SELINUX=disabled&lt;br /&gt;
 &lt;br /&gt;
  sudo yum -y upgrade&lt;br /&gt;
 &lt;br /&gt;
 At this point I rebooted to make sure SELinux disabled, but you can wait until later.&lt;br /&gt;
 &lt;br /&gt;
 Install util-vserver&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver&lt;br /&gt;
 &lt;br /&gt;
 Install the custom kernel&lt;br /&gt;
 &lt;br /&gt;
 Create a new yum repository file.&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/dhorac-vserver.repo&lt;br /&gt;
 &lt;br /&gt;
 Paste this:&lt;br /&gt;
 &lt;br /&gt;
 [dhozac-vserver]&lt;br /&gt;
 name=Daniel Hokka Zakrisson's packages for Fedora $releasever - $basearch - vserver&lt;br /&gt;
 baseurl=http://rpm.hozac.com/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
   http://muh.at/dhozac/fedora/$releasever/vserver/$basearch&lt;br /&gt;
 gpgkey=http://rpm.hozac.com/fedora/conf/keys/RPM-DHOZAC-GPG-KEY&lt;br /&gt;
 enabled=1&lt;br /&gt;
 &lt;br /&gt;
 Modify your existing Fedora updates yum repository file&lt;br /&gt;
 &lt;br /&gt;
  sudo vi /etc/yum.repos.d/fedora-updates.repo&lt;br /&gt;
 &lt;br /&gt;
 Add this line to each repository block&lt;br /&gt;
 &lt;br /&gt;
 exclude=kernel kernel-smp yum&lt;br /&gt;
 &lt;br /&gt;
 Remove your existing kernel&lt;br /&gt;
 &lt;br /&gt;
 To find your existing kernel&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 This will be different depending on your kernel&lt;br /&gt;
 &lt;br /&gt;
  sudo yum remove kernel-2.6.18-1.2868.fc6&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install kernel&lt;br /&gt;
 &lt;br /&gt;
 If you have a multi- core or processor machine use kernel-smp &lt;br /&gt;
 &lt;br /&gt;
 Watch Yum and make sure you see the kernel downloaded from Dhozac, not fedora updates&lt;br /&gt;
 &lt;br /&gt;
 Reboot&lt;br /&gt;
 &lt;br /&gt;
  /sbin/init 6&lt;br /&gt;
 &lt;br /&gt;
 When your machine reboots check to make sure the kernel loaded&lt;br /&gt;
 &lt;br /&gt;
  uname -a&lt;br /&gt;
 &lt;br /&gt;
 You should see something like this&lt;br /&gt;
 &lt;br /&gt;
 2.6.18-1.2861.fc6.vs2.0.2.2.0.rc9.1&lt;br /&gt;
 &lt;br /&gt;
 The important bit is &amp;quot;fc6.vs2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 At this point I tried to create a vserver but found out that I needed &lt;br /&gt;
 &lt;br /&gt;
 util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 FYI: you will need util-vserver{-core,-lib,-i386,-sysv,-build}&lt;br /&gt;
 &lt;br /&gt;
  sudo yum install util-vserver-build&lt;br /&gt;
 &lt;br /&gt;
 Install chroot Yum&lt;br /&gt;
 &lt;br /&gt;
  sudo yum update yum&lt;br /&gt;
 &lt;br /&gt;
 Now you should have a chroot version of yum (yum.noarch 3.0.1-2.fc6.chroot)&lt;br /&gt;
&lt;br /&gt;
 To make sure&lt;br /&gt;
&lt;br /&gt;
  sudo tail /var/log/yum.log&lt;br /&gt;
 &lt;br /&gt;
 At this point we're ready to build a vserver.&lt;br /&gt;
 &lt;br /&gt;
 Build a vserver&lt;br /&gt;
 &lt;br /&gt;
 For this vserver I created a 10GB partition called /vserver1.&lt;br /&gt;
 &lt;br /&gt;
 My base server is on 192.168.1/24 so I'll stay on that subnet.&lt;br /&gt;
 &lt;br /&gt;
 I'll call my vserver bianca.&lt;br /&gt;
 &lt;br /&gt;
 Context has something to do with unique UIDs in the kernel.&lt;br /&gt;
 &lt;br /&gt;
 For more on all the build options &lt;br /&gt;
 &lt;br /&gt;
  vserver build build --help&lt;br /&gt;
&lt;br /&gt;
 Here is a bash script you can use to create a vserver. &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
 ROOTDIR=&amp;quot;/vserver1&amp;quot;&lt;br /&gt;
 PKGBASE=&amp;quot;/vserver1/.pkg&amp;quot;&lt;br /&gt;
 SUDO=&amp;quot;sudo&amp;quot;&lt;br /&gt;
 HOSTNAME=&amp;quot;bianca&amp;quot;&lt;br /&gt;
 VSERVER=$HOSTNAME&lt;br /&gt;
 IP=&amp;quot;eth0:192.168.1.106/24&amp;quot;&lt;br /&gt;
 INTERFACE=&amp;quot;bianca0&amp;quot;&lt;br /&gt;
 CONTEXT=&amp;quot;43&amp;quot;&lt;br /&gt;
 DIST=&amp;quot;fc6&amp;quot;&lt;br /&gt;
 PM=&amp;quot;yum&amp;quot; &lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;$SUDO /usr/sbin/vserver $VSERVER build -m $PM --context $CONTEXT /&lt;br /&gt;
 --hostname=$HOSTNAME --interface $INTERFACE=$IP /&lt;br /&gt;
 --rootdir $ROOTDIR --pkgbase $PKGBASE -- -d $DIST&lt;br /&gt;
&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 At this point you'll wait for yum to get started, then you'll see expected yum download output.&lt;br /&gt;
 &lt;br /&gt;
 Yum will download kernel hook packages and then it will download a minimal set of user packages.&lt;br /&gt;
 &lt;br /&gt;
 The yum process finishes as expected, but I got this warning/error:&lt;br /&gt;
 &lt;br /&gt;
 /usr/lib/util-vserver/distributions/fc6/initpost: line 105:  3587 Killed                  $_VSERVER &amp;quot;$vserver&amp;quot; exec bash -c ': &amp;gt;/tmp/startwait' &amp;gt;&amp;amp;/dev/null&lt;br /&gt;
 &lt;br /&gt;
 Not sure which part of this script is broken, but it did not impact the install, so move on.&lt;br /&gt;
 &lt;br /&gt;
 Technically at this point you should be able to start the vserver.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca start&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 This will take you &amp;quot;inside&amp;quot; the Vserver to a shell.&lt;br /&gt;
 &lt;br /&gt;
  sudo vserver bianca enter &lt;br /&gt;
&lt;br /&gt;
 Now, if you entered the vserver, get out of the vserver and stop it.&lt;br /&gt;
&lt;br /&gt;
  Ctrl + D&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca stop&lt;br /&gt;
&lt;br /&gt;
  sudo vserver bianca status&lt;br /&gt;
 &lt;br /&gt;
 Install minimal packages &lt;br /&gt;
&lt;br /&gt;
 The FC 5 wiki entry talks about unmanaged guest package management&lt;br /&gt;
 Here the guest is able to run its own yum.&lt;br /&gt;
&lt;br /&gt;
 # to enable unmanaged guest&lt;br /&gt;
 vyum gast -- install yum&lt;br /&gt;
 vserver gast running &amp;amp;&amp;amp; vserver gast stop&lt;br /&gt;
 vserver gast pkgmgmt internalize&lt;br /&gt;
&lt;br /&gt;
 I decided to use &amp;quot;managed guest&amp;quot; package management.&lt;br /&gt;
 Here the base server will update the guest (vserver)&lt;br /&gt;
 The vserver must be stopped for these vyum steps.&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install openssh-server&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install vim-minimal&lt;br /&gt;
 &lt;br /&gt;
  sudo vyum bianca -- install passwd&lt;br /&gt;
 &lt;br /&gt;
 After each of these commands you'll see normal yum install output.&lt;br /&gt;
&lt;br /&gt;
 Now enter your vserver.&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca start&lt;br /&gt;
&lt;br /&gt;
 sudo vserver bianca enter&lt;br /&gt;
&lt;br /&gt;
 Make sure you see a different bash prompt now, which means your in the vserver.&lt;br /&gt;
&lt;br /&gt;
 Now setup your shadow passwd file and set root passwd.&lt;br /&gt;
&lt;br /&gt;
 pwconv&lt;br /&gt;
&lt;br /&gt;
 pwck&lt;br /&gt;
 &lt;br /&gt;
 passwd root&lt;br /&gt;
&lt;br /&gt;
 Set the nameserver by modifying resolv.conf&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;nameserver 192.168.1.1&amp;quot; &amp;gt;&amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
 Set the timezone file.&lt;br /&gt;
&lt;br /&gt;
 cp -f /usr/share/zoneinfo/&amp;lt;your timezone&amp;gt; /etc/localtime&lt;br /&gt;
 &lt;br /&gt;
 Things to keep in mind.&lt;br /&gt;
 &lt;br /&gt;
 Most of the problems I encountered were network related.&lt;br /&gt;
 &lt;br /&gt;
 1.  Modify your firewall.  Fedora has a firewall in place by default and it will block your Vserver.&lt;br /&gt;
 &lt;br /&gt;
 	Check your firewall.&lt;br /&gt;
 &lt;br /&gt;
 	 sudo /sbin/iptables -L &lt;br /&gt;
 &lt;br /&gt;
 2.  SSHD will not work until you either change the Listen from all interfaces on your base machine, or&lt;br /&gt;
 	change the port that your Vserver SSHD is running on.  Otherwise they collide.&lt;/div&gt;</summary>
		<author><name>Cdog</name></author>	</entry>

	</feed>