http://www.linux-vserver.org/index.php?title=Building_CentOS_6_ALT_Guest&feed=atom&action=historyBuilding CentOS 6 ALT Guest - Revision history2024-03-29T01:09:25ZRevision history for this page on the wikiMediaWiki 1.20.2http://www.linux-vserver.org/index.php?title=Building_CentOS_6_ALT_Guest&diff=29356&oldid=prevOffset27 at 19:57, 21 May 20132013-05-21T19:57:29Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:57, 21 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Here is a quick guide to building a CentOS 6 ALT Guest. Cent OS 6 ALT has <del class="diffchange diffchange-inline">all </del>the latest versions of php (as of now 5.3.23), apache, mysql. It's good if you need a site to be PCI Compliant. (PCI Compliance nowadays requires a scan of your box for vulnerabilities and if it finds an older version of apache or php, the versions that come with the latest version of centOS, the scan will complain)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Here is a quick guide to building a CentOS 6 ALT Guest. Cent OS 6 ALT has the latest versions of php (as of now 5.3.23), apache, mysql. It's good if you need a site to be PCI Compliant. (PCI Compliance nowadays requires a scan of your box for vulnerabilities and if it finds an older version of apache or php, the versions that come with the latest version of centOS, the scan will complain)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Offset27http://www.linux-vserver.org/index.php?title=Building_CentOS_6_ALT_Guest&diff=29354&oldid=prevOffset27: Created page with "Here is a quick guide to building a CentOS 6 ALT Guest. Cent OS 6 ALT has all the latest versions of php (as of now 5.3.23), apache, mysql. It's good if you need a site to be ..."2013-05-21T19:49:59Z<p>Created page with "Here is a quick guide to building a CentOS 6 ALT Guest. Cent OS 6 ALT has all the latest versions of php (as of now 5.3.23), apache, mysql. It's good if you need a site to be ..."</p>
<p><b>New page</b></p><div>Here is a quick guide to building a CentOS 6 ALT Guest. Cent OS 6 ALT has all the latest versions of php (as of now 5.3.23), apache, mysql. It's good if you need a site to be PCI Compliant. (PCI Compliance nowadays requires a scan of your box for vulnerabilities and if it finds an older version of apache or php, the versions that come with the latest version of centOS, the scan will complain)<br />
<br />
<br />
<br />
I followed the instructions from http://www.paul.sladen.org/vserver/archives/201202/0085.html with some updates.<br />
<br />
<br />
<br />
copy /usr/lib64/util-vserver/distributions/sl6/ to<br />
/usr/lib64/util-vserver/distributions/centos6alt/<br />
<br />
<br />
<br />
add to/usr/lib64/util-vserver/distributions/centos6alt/pkgs/03 with the following list:<br />
<br />
<br />
mc<br><br />
passwd<br><br />
tar<br><br />
unzip<br><br />
zip<br><br />
bzip2<br><br />
gzip<br><br />
crontabs<br><br />
shadow-utils<br><br />
yum<br><br />
openssh-server<br><br />
rsyslog-mysql<br><br />
xinetd<br><br />
at<br><br />
wget<br><br />
yum-utils<br><br />
tmpwatch<br><br />
<br />
<br />
delete :/usr/lib64/util-vserver/distributions/centos6alt/yum.repos.d/sl.repo<br />
<br />
<br />
copy the CentOS-Base.repo from your main Centos 6 repository /etc/yum.repos.d/CentOS-Base.repo to /usr/lib64/util-vserver/distributions/centos6alt/yum.repos.d/CentOS-Base.repo<br />
<br />
<br />
<br />
edit your copied CentOS-Base.repo and remove the addons sections as that will not work.<br />
<br />
<br />
<br />
add centalt.repo file to your yum.repos.d you can find a copy here: http://lifeunix.blogspot.com/2012/04/centos-6-centalt-repo-vim-etcyum.html<br />
<br />
<br />
copy your epel.repo from /etc/yum.repos.d to /usr/lib64/util-vserver/distributions/centos6alt/yum.repos.d/<br />
<br />
<br />
if you do not have epel.repo add that repository to your box. (you can do without it if you remove mc from the pkgs/03 list)<br />
<br />
<br />
<br />
after this I install Vserver with:<br />
vserver cos62 build -m yum --hostname cos62.domain.at<br />
--interface eth0:x.x.x.x/24 -- -d centos6alt<br />
<br />
<br />
Bind ssh to ip in /vservers/cos6x/etc/ssh/sshd_config<br />
ListenAddress x.x.x.x<br />
<br />
<br />
del /vservers/cos62/etc/localtime<br />
cp /etc/localtime /vservers/cos62/etc/localtime<br />
<br />
<br />
you should have a working CentOS 6 ALT Guest</div>Offset27