Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Openvz Vserver
Date: Wed, 11 Apr 2012 18:00:15
Message-Id: 4F85C637.5070108@binarywings.net
In Reply to: Re: [gentoo-user] Openvz Vserver by Silvio Siefke
1 Am 11.04.2012 18:10, schrieb Silvio Siefke:
2 > Hello,
3 >
4 > On Wed, 11 Apr 2012 06:53:22 +0200
5 > Florian Philipp <lists@×××××××××××.net> wrote:
6 >
7 >> It's a "Linux-VServer." In this setup, all virtual private servers share
8 >> the kernel of the host system (It's like a glorified chroot). You don't
9 >> need grub. The host system calls /sbin/init. I've followed this howto
10 >> for hosting europe:
11 >> http://log.pardus.de/2008/04/gentoo-on-1-vserver.html
12 >
13 > Yes this link i know, and u has problems or nothing?. I has run the setup,
14 > but Gentoo want not start. Can u tell me how u make the Network. Because
15 > i understand not the routing.
16 >
17 > root@vserver12:~# ip route
18 > 127.0.0.0/8 dev lo scope link
19 > default dev venet0 scope link
20 >
21
22 This is my /etc/conf.d/net (of course you have to adapt subnets):
23
24 modules="iproute2"
25 modules="!ifconfig"
26
27 config_venet0="83.169.5.6/32 broadcast 0.0.0.0"
28 routes_venet0="191.255.255.1/32 scope link
29 default via 191.255.255.1"
30
31 dns_domain_lo="binarywings.net"
32 dns_domain_venet0="binarywings.net"
33 dns_servers="8.8.8.8"
34
35
36 /sbin/rc-update (notice net.venet0):
37 bootmisc | boot
38 devfs | sysinit
39 dmesg | sysinit
40 fcron | default
41 fsck | boot
42 hostname | boot
43 hwclock | boot
44 keymaps | boot
45 killprocs | shutdown
46 local | default
47 localmount | boot
48 modules | boot
49 mount-ro | shutdown
50 mtab | boot
51 net.lo | boot default
52 net.venet0 | default
53 netmount | default
54 nscd | default
55 procfs | boot
56 root | boot
57 savecache | shutdown
58 sshd | default
59 svscan | default
60 swap | boot
61 sysctl | boot
62 syslog-ng | default
63 termencoding | boot
64 urandom | boot
65
66 >
67 > And must use the vserver build? Because its from year 2006 when i see it right,
68 > can i use it at this timepoint?
69 >
70
71 IIRC, the build was merged into the main tree. You should be able to use
72 the default stage3. I'm using the default x86 portage profile.
73
74 It's probably also a good idea to set rc_sys in /etc/rc.conf but I
75 didn't need to.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Openvz Vserver Silvio Siefke <siefke_listen@×××.de>