From: Nicolas Costes (nicolas.costes_at_iut-laroche.univ-nantes.fr)
Date: Tue 15 Feb 2005 - 09:28:35 GMT
Le samedi 12 Février 2005 00:23, Jean Christophe a écrit :
> > There's no from-scratch build method for Mandrake (yet?). And i don't
> > know much about mandrake, so i can't help there in too many ways. I
> > guess the easiest way is to find someone who got a mandrake vserver
> > template, creating a vserver skeleton and putting the template in
> > place.
> You are maybe right, I am keeping looking, and writing.
> This is the "fun" with it. In 6 months, I will have 2 rpm's and a lot
> of explanation about it.
> Right now, I have to used what I have left beetween my hears, and it is
> not so much ;-)
> I did start linux for three years ago and I am still learning !
> Thank's for your help, have a nice week end, but don't be afraid to
> write to me if you get some ideas.
> Jean Christophe
Oh dear, I didn't see this thread before... Jean Christophe seems to have
the same problem than me a few weeks ago...
I sorry JC, but the only doc a I had time to write is on paper for now...
I'm planning to put it on my wiki (And vservers' one ;)), but I have much
work at the time.
Ok, here is a basic procedure for MAndrake (And other distros):
* First, setup your urpmi sources (Or apt, or... ;)). I personnaly made a
local ftp mirror of the Mdk10.1 tree.
* Download the tools and kernel patch at
* Patch, compile and install your VS kernel.
/!\ Use gcc3.3 /!\ , not the default gcc3.4 !!!
# urpmi gcc3.3
# rm /etc/alternatives/gcc
# ln -s /usr/bin/gcc-3.3.4 /etc/alternatives/gcc
* Install the vserver tools rpms
* reboot ;)
* create your first vserver:
# vserver test1 build -m skeleton --hostname test1.yourdomain.fr
(use a good IP, hostname, etc... ;))
* urpmi --root /vserver/test1 basesystem
This installs ~100Mb in two passes.
* Alternatively, if you want an already made mdk10.1 image, download one
there: http://nayco.free.fr/wiki/doku.php?id=linux-vserver . To use it:
# cd /vservers/test1
# tar xvjf /path/to/linux-vserver-image-basesystem.10.1-1mdk.tar.bz2
* Edit /vserver/test1/etc/resolv.conf and enter your ns parameters
* Take a deep breathe and...
# vserver test1 start.
# vps xa
# vserver test1 enter
* Play !
Hope that helps...
-- ,, (°> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Clé publique: http://www.keyserver.net/ ^ ^ Musique libre: http://www.magnatune.com/
Vserver mailing list