0085.html: Difference between revisions
(Restored content from Wayback Machine) |
(No difference)
|
Latest revision as of 21:56, 10 November 2025
Re: [vserver] build a centos6 guest inkl. mini howto:
vserver development mailing list
[[[../|Next/Previous Months]]] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Re: [vserver] build a centos6 guest inkl. mini howto[edit]
- This message: [ Message body ] [ More options ]
- Related messages: [ Next message ] [ Previous message ] [ In reply to ] [ Next in thread ] [ Replies ]
From: Roman Pretory <roman.pretory_at_austrianonlines.com>
Date: Wed 29 Feb 2012 - 12:52:07 GMT
Message-ID: <c860bcc50bf4445234efcc52982c07eb@10.0.0.6>
On Mon, 27 Feb 2012 15:42:47 +0100 (CET), "Daniel Hokka Zakrisson"
<daniel@hozac.com> wrote:
> Roman Pretory wrote:
>> Hello all,
>>
>> I know I ask allready, a time ago,but mayme now a have more luck.
>>
>> I search for a full howdo to buid a Centos 6.x Guest on a Centos 6
>> Hostsystem.
>>
>> All build method on http://linux-vserver.org/Building_Guest_Systems seem
>> not to bring out a running guest.
>> I have seen there are troubles with the upstart style.. are the fixed
>> allready?
>
> vserver sl6 build -m yum -- -d sl6
> works fine here. How does it not work for you?
>
>
Hello Daniel
Thanks that works.
Thats my little howto for it:
===================================================================================================
copy /usr/lib64/util-vserver/distributions/sl6/ to
/usr/lib64/util-vserver/distributions/centos6/
add to/usr/lib64/util-vserver/distributions/centos6/pkgs/03
mc
passwd
tar
unzip
zip
bzip2
gzip
crontabs
shadow-utils
yum
openssh-server
rsyslog-mysql
xinetd
at
wget
yum-utils
tmpwatch
delete :/usr/lib64/util-vserver/distributions/centos6/yum.repos.d/sl.repo
create:
/usr/lib64/util-vserver/distributions/centos6/yum.repos.d/CentOS-Base.repo
with:
[base]
name=CentOS-centos-6 - Base
baseurl=http://mirror.centos.org/centos-6/6.2/os/$basearch/
http://centos.digitalnova.at/6.2/os/$basearch/
http://centos.mirrors.skynet.be/pub/centos/6.2/os/$basearch/
http://ftp.byfly.by/pub/CentOS/6.2/os/$basearch/
http://centos.arminco.com/
http://centos.intergenia.de/6.2/os/$basearch/
http://ftp.hosteurope.de/mirror/centos.org/6.2/os/$basearch/
http://centos.copahost.com/6.2/os/$basearch/
http://mirror.checkdomain.de/centos/6.2/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
after this I install Vserver with:
vserver cos62 build -m yum --context 78 --hostname cos62.domain.at
--interface eth0:x.x.x.x/24 -- -d centos6
vserver cos62 pkgmgmt internalize
Change in /vservers/cos62/etc/pam.d/sshd
session required pam_loginuid.so to #session required
pam_loginuid.so
Change in /vservers/cos62/etc/pam.d/crond
session required pam_loginuid.so to # session required
pam_loginuid.so
Bind ssh to ip in /vservers/cos6x/etc/ssh/sshd_config
ListenAddress x.x.x.x
del /vservers/cos62/etc/localtime
cp /etc/localtime /vservers/cos62/etc/localtime
del /vservers/cos62/vservers/
Start and enter it for passwd
stop it ready to clone and test
===================================================================================================
With what I get a running centos 6.2 guest.
And that I don't forget:
Mike
feel free to put this it the wiki, that realy a good idea,
and as you should know you ask for so you are allowed to do,
the same as I did with the howto,
but you have translate it in a good british english of couse. :-)
Thanks for Help Roman
Received on Wed Feb 29 12:52:16 2012
- This message: [ Message body ]
- Next message: Gordan Bobic: "Re: AW: AW: [vserver] Using loopback for guest-guest and guest-host communication but still remapping"
- Previous message: Gordan Bobic: "Re: AW: AW: [vserver] Using loopback for guest-guest and guest-host communication but still remapping"
- In reply to: Daniel Hokka Zakrisson: "Re: [vserver] build a centos6 guest"
- Next in thread: Roderick A. Anderson: "Re: [vserver] build a centos6 guest inkl. mini howto"
- Reply: Roderick A. Anderson: "Re: [vserver] build a centos6 guest inkl. mini howto"
- Contemporary messages sorted: [ By Date ] [ By Thread ] [ By Subject ] [ By Author ] [ By messages with attachments ]
[[[../|Next/Previous Months]]] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 29 Feb 2012 - 12:52:16 GMT by hypermail 2.1.8