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.
> Cheers
> 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 
http://www.13thfloor.at/vserver/d_rel26/v1.9.4/

* 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 
--interface test1=eth0:172.16.210.30
(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-stats
  # 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/

Attachment: pgpUm1FC8EMGs.pgp
Description: PGP signature

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to