this setup is use for virtualization purposes.. one good help
for me is this kernel is setting up smtp relay servers (for some web
services its very beneficial and cost effective).
for me is this kernel is setting up smtp relay servers (for some web
services its very beneficial and cost effective).
prerequisites:
- gentoo minimal installation cd
- little linux understanding how to set up gentoo and passion
- reading comprehension on this guide
Step 1 to 6 follow the gentoo quickie setup guide:
http://boyformat.blogspot.com/2007/09/gentoo-rocks.html
7.emerging your kernel:
#emerge vserver-sources
8.configuring your kernel
#cd /usr/src/linux
#make menuconfig
configure your kernel now!
- gentoo minimal installation cd
- little linux understanding how to set up gentoo and passion
- reading comprehension on this guide
Step 1 to 6 follow the gentoo quickie setup guide:
http://boyformat.blogspot.com/2007/09/gentoo-rocks.html
7.emerging your kernel:
#emerge vserver-sources
8.configuring your kernel
#cd /usr/src/linux
#make menuconfig
configure your kernel now!
Linux VServer --->
(Do not enable the legacy options)
[ ] Enable Legacy Kernel API
[ ] Enable Legacy Networking Kernel API
(Read help text)
[ ] Remap Source IP Address
[*] Enable COW Immutable Link Breaking
[ ] Enable Virtualized Guest Time
[*] Enable Proc Security
[*] Enable Hard CPU Limits
[*] Avoid idle CPUs by skipping Time
[*] Limit the IDLE task
Persistent Inode Tagging (UID24/GID24) --->
[ ] Tag NFSD User Auth and Files
[*] Enable Inode Tag Propagation
[*] Honor Privacy Aspects of Guests
[ ] VServer Debugging Code
File systems --->
<*> Reiserfs support
[*] ReiserFS extended attributes
#make && make modules_install
#copy arch/i386/boot/bzimage /boot/myvserver-sources
Step 9 to 10 follow the gentoo quickie setup guide:
http://boyformat.blogspot.com/2007/09/gentoo-rocks.html
11. Update the portage and emerge the following packages for
preparation.
#emerge --sync
#emerge util-vserver - this is the main package!
#copy arch/i386/boot/bzimage /boot/myvserver-sources
Step 9 to 10 follow the gentoo quickie setup guide:
http://boyformat.blogspot.com/2007/09/gentoo-rocks.html
11. Update the portage and emerge the following packages for
preparation.
#emerge --sync
#emerge util-vserver - this is the main package!
12. Add the following to boot process and start the daemons.
# rc-update add vprocunhide default
# /etc/init.d/vprocunhide start
# rc-update add vserver.default default
# /etc/init.d/vserver.default start
13. Adding a level4 vserver and startup scripts
13. Adding a level4 vserver and startup scripts
download the stage4 portage for the vserver setup
#wget hxxp://poepole.linux-vserver.org/~hollow/stages/stage4-i686-20070905.tar.bz2
then provide the following syntax after the download
vserver boyformat build \
-m template \
--context 0529 \
--hostname boyformat\
--interface eth0:192.168.0.1/24 \
--initstyle gentoo \
-- \
-d gentoo \
-t /path/to/stage4-arch-version.tar.bz2
# mkdir -p /etc/vservers/boyformat/apps/init
# echo "default" > /etc/vservers/boyformat/apps/init/mark
references:
hxxp://linuxfreak.net/doku.php?id=wiki:vserver
hxxp://www.gentoo.org/proj/en/vps/vserver-howto.xml
hxxp://people.linux-vserver.org/~hollow/stages/


0 comments:
Post a Comment