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

From: Chuck (chuck_at_sbbsnet.net)
Date: Fri 16 Sep 2005 - 16:34:44 BST


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_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 Fri 16 Sep 2005 - 16:35:12 BST by hypermail 2.1.3