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

From: Huibert Alblas (halblas_at_weos.de)
Date: Wed 14 Aug 2002 - 14:12:18 BST


Am Mit, 2002-08-14 um 02.16 schrieb Jason Silverglate:
> So do a maybe server build from a rh 7.3 cd and add in other rpms and use
> that? Other than that how do you build a server by hand/
>
> Thannx
>

Simple:

make a (minimal) directory structure:

/root /tmp /dev /var /proc /bin /sbin /lib /usr/lib ....(whatever)

and copy or link all binaries and libs you want/need.

As a rule off the Thumb:

you probably need everything in /bin /lib ,
parts of /etc /usr/bin /usr/lib /usr/sbin ,
some devicefiles in /dev (null random urandom) ,
/tmp with chomd 1777

as for everything else, you will findout whenever you need any extra's.

Need apache? ok:

find out what libs apache (httpd) needs with i.e. ldd
/usr/local/httpd/bin/httpd

and put those libs into your vserver :-)
Check httpd.conf for:

listen xxx.xxx.xxx.xxx

and change to YOUR_VSERVER_IP:80

Any questions?
Ok?

Halb

> Jason
>
> At 07:48 PM 8/13/2002, you wrote:
> >On Tue, 13 Aug 2002 16:24:23 -0400, Jason Silverglate wrote:
> >
> > >True but unifing is supposed to not make it 1.2GB but link all the binaries
> > >together.
> >
> >You probably ran into the same problem I did, ie: the root server
> >is not built from RPMs and so the script has no <package> info
> >to query and then choose which files to link and which to copy.
> >
> >The result is that it copies everything.
> >
> >My solution was to hand build a reference server (in fact 2, one
> >to be linked from and one to be copied). You can then use
> >the vserver script (modified slightly if needed ..) to build the
> >vservers as they are meant to be.
> >
> >
> > >jason
> >
> >-
> >Cheers
> >Lyn St George
> >+---------------------------------------------------------------------------------
> >+ http://www.zolotek.net .. eCommerce hosting, consulting
> >+ http://www.os2docs.org .. some 'How To' stuff ...
> >+----------------------------------------------------------------------------------
>
> __________________
> Jay Silver jason_at_pwebtech.com ICQ 103463692
> Pegasus Web Technologies
> http://www.pwebtech.com
> Web Hosting and Dedicated Servers
>

-- 
"I love deadlines. I like the whooshing sound they make as they fly by."
-- Douglas Adams


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 Wed 06 Nov 2002 - 07:03:42 GMT by hypermail 2.1.3