We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.

You're a fan of [Fedora Linux]? You want to play around with Linux-VServer's or use them in production? But you are new to this and want an easy way to (quickly) start with a running system?

Note: If you didn't want a VServer installation guide to Fedora Core 5, maybe you were searching for a guide like this: [The Perfect Setup - Fedora Core 5 (64 bit)]

This guide is aimed to assist you in a plain and basic installation "from scratch" to a running VServer enabled host system with also one installed basic guest system. It is assumed that you have basic knowledge of Linux administration and Fedora 5.


Page Index / Contents


What you need:

What you don't need:

[Page Index]


Okay, let's start:

1. installing the host system

SELINUX=disabled
yum -y upgrade

[Page Index]


2. Installing a vserver enabled kernel

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
exclude=kernel kernel-smp

[Page Index]


A. Installing the host kernel from rpm

[dhozac-vserver]
name=Daniel Hokka Zakrisson's packages for Fedora $releasever - $basearch - vserver
baseurl=http://rpm.hozac.com/dhozac/fedora/$releasever/vserver/$basearch
  http://muh.at/dhozac/fedora/$releasever/vserver/$basearch
gpgkey=http://rpm.hozac.com/fedora/conf/keys/RPM-DHOZAC-GPG-KEY
enabled=1
yum install kernel
  • Or for SMP systems
  • Hint: x86_64 on FC5 is always smp, so use kernel only on that
yum install kernel-smp

[Page Index]


3. Installing the vserver utilities on the host system

[Page Index]


A. Installing the vserver utilities system from rpm

yum install util-vserver{,-core,-lib,-sysv,-build}

Now continue with [step 4]

[Page Index]


4. Build your first guest system

vserver gast build -m yum --context 42 --hostname=gast.example --interface gast0=eth0:192.168.0.1/24 -- -d fc5

[Page Index]


5. Things you might want to consider / remember

# to enable unmanaged guest
vyum gast start
vyum gast -- install yum
vyum gast stop
vserver gast pkgmgmt internalize
/bin/sed --in-place -e "s/^session.*required.*pam_loginuid.so/# session\trequired\tpam_loginuid.so/g" /etc/pam.d/*
echo default >/etc/vservers/gast/apps/init/mark
chkconfig vservers-default on

[Page Index]


6. Configure your (first) guest system

vserver gast start
vserver gast enter
pwconv
pwck
passwd root
nameserver 192.168.0.1
cp -f /usr/share/zoneinfo/Europe/Vienna /etc/localtime

[Page Index]


If you want some special procedure described on this page (which should be of public interest), either add yourself (you're welcome) or [mail to the autor]. Please do NOT mail the author for any support purposes, use the mailing list or IRC channel instead!

For further issues like more fine-grained configuration etc. please read through the further documentation on this site.