Subject: Re: [SPAM? 3.811] Re: [vserver] b uild a centos6 guest inkl. mini howto
From: Roman Pretory <roman.pretory@austrianonlines.com>
Date: Fri, 09 Mar 2012 13:18:33 +0100



On Wed, 07 Mar 2012 07:32:46 -0800, "Roderick A. Anderson"
<raanders42@gmail.com> wrote:
> 
> 
> Roman Pretory wrote:
>> 
>> On Wed, 29 Feb 2012 08:37:41 -0800, "Roderick A. Anderson"
>> <raanders42@gmail.com> wrote:
>>> Roman Pretory wrote:
>>>> 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.
>>> Roman,
>>>
>>> Is your host system a CentOS 6?  If so did you build the kernel and 
>>> utils from source?
>>>
>>>
>>> TIA,
>>> Rod
>> 
>> Hello Rod
>> 
>> Yes it's  a Centos 6.2 
>> 
>> Installed by this howto:
>> 
>> http://wiki.centos.org/HowTos/Virtualization/Vserver
>> 
>> only change:
>> 
>> baseurl=http://rpm.hozac.com/dhozac/centos/$releasever/vserver/$basearch
> to
>> baseurl=http://rpm.hozac.com/dhozac/rhel/$releasever/vserver/$basearch
> 
> I'm still rounding up TUITS to do and CentOS 6 install! :-(
> 
> One more question?  What did you do about YUM?  Is it still necessary 
> build a patched version or did RPM community (RH?) and the YUM community 
> work out their differences and the stock YUM will work with LV?
> 
> 
> Rod
>

Hello Rod

no keep it simple

install centos 6.2 minimal Desktop
rpm -i
ftp://fr2.rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -i
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
yum clean all
yum update

disable selinux set:
SELINUX=disabled   in /etc/selinux/config


del "quite" and "rgb" from the /boot/grub/grub.conf in kernel /vmlin....
set "id:3:initdefault:"   /etc/inittab

create: /etc/yum.repos.d/dhozac-vserver.repo

[dhozac-vserver]
name=Linux-VServer related packages for CentOS $releasever - #$basearch
baseurl=http://rpm.hozac.com/dhozac/rhel/$releasever/vserver/$basearch
gpgkey=http://rpm.hozac.com/conf/keys/RPM-DHOZAC-GPG-KEY

reboot
yum clean all
yum update kernel
yum install util-vserver{,-core,-lib,-sysv,-build}

bind sshd to your server ip with ListenAddress <Serverip> in
/etc/ssh/sshd_config
chkconfig util-vserver on 
chkconfig vprocunhide on

reboot and follow up with my the client howto

--
Roman