About this list Date view Thread view Subject view Author view Attachment view

From: Charles (cliu_at_atl-hk.com)
Date: Mon 03 Nov 2003 - 14:13:08 GMT


hi jack and chunk,

thanks for your info, the procedures are really great!

i followed and merged both procedures to create my vserver and it works!!
i'm using redhat7.3 inside redhat 7.3 (and will migrate to redhat 9 later),
i did some additional steps (for somebody new to vserver like me):

inside the vserver (after "vserver new enter"):
- remove the /etc/rc.d/init.d/halt
- remove the files/directories inside /proc
- remove the files/directories inside /dev except (full, null, pts, zero,
ptmx, random, urandom) <-- pls tell me which file i could further remove
or should be retained
- modify the /etc/fstab to "/dev/hdv1 / ext2 defaults 1 1"
- modify the /etc/mtab to "/dev/hdv1 / ext2 rw 0 0"
- remove the /boot
- remove unnecessary packages (like grub, apmd, etc)

questions:
how could i create a vserver by using "link" instead of "copy" so that i
could share the disk space?

cheers,
charles

----- Original Message -----
From: "Jacques Gelinas" <jack_at_solucorp.qc.ca>
To: "Vserver mailing list" <vserver_at_dns.solucorp.qc.ca>
Sent: Saturday, November 01, 2003 1:58 AM
Subject: Re: [Vserver] 1.0 release - I agree!

> On Fri, 31 Oct 2003 12:48:00 -0500, Charles wrote
> > hi chuck,
> >
> > can you tell me how to make it work?
> > do i need to modify the setting of the rh6.2 after "rsync"?
> >
> > i've got a rh7.3/rh9 host server, and like to run a rh7.3/rh9 vserver
> > inside.
> >
> > thanks a lot!
>
> After copying, create a new configuration file in /etc/vservers
>
> Then enter the vserver
>
> vserver new enter
>
> Then turn off all services
>
> cd /etc/rc.d/init.d
> for serv in *
> do
> /sbin/chkconfig $serv off
> done
>
> Then turn only the services you need. Generally
>
> chkconfig crond on
> chkconfig syslog on
> chkconfig httpd on
> ...
>
> exit
>
> and start the vserver
>
> ---------------------------------------------------------
> Jacques Gelinas <jack_at_solucorp.qc.ca>
> vserver: run general purpose virtual servers on one box, full speed!
> http://www.solucorp.qc.ca/miscprj/s_context.hc
> _______________________________________________
> Vserver mailing list
> Vserver_at_www.solucorp.qc.ca
> http://www.solucorp.qc.ca/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 03 Nov 2003 - 14:14:16 GMT by hypermail 2.1.3