and possible additions

proper editing will be done after the information within is accurate.

-----------------------------------------------------

set up host as per gentoo how-to
and create template as it specifies.
add desired common services.
start and test the template.

create new-guest using skeleton method.
cd into it and remove all entries

then copy with
cp -la gentoo/* new-guest
to create hard links to the gentoo template.

cd into new-guest and 
remove completely, etc, root, home and var
i have setups for most internet services on 
the gentoo template and a regular user defined
therefore home gets moved too. (should /usr/portage
be moved and later recopied as 'real' files?)

if i want to remove the ability to run certain 
services in this vserver, now is the time to
remove the links to them so they are no longer a part
of this guest.

this is only necessary when allowing others
shell access. most people would create a very
minimal template server so this normally would not 
be necessary, but with my setups, i want all 
services available to every server even if i do 
not run them.

then run setattr --iunlink * ONLY in the following
directories inside new-guest
bin
sbin
lib
usr/bin
usr/sbin
usr/lib
(should there be others?)

setattr --~iunlink undoes any damage done to files that should not have that 
attribute.

then cp -Rp /vservers/gentoo/etc  and var and root and home
this will give real files to edit and use in the new-guest  config.

configure new-guest as necessary
start new-guest and enter to verify its operation.

-----------------------------------------------------------



-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


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

Reply via email to