Editing
0085.html
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<div class="links"> '''Re: [vserver] build a centos6 guest inkl. mini howto:'''<br /> <span class="small">vserver development mailing list</span> <br /> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]] </div> <div class="head"> <span id="re-vserver-build-a-centos6-guest-inkl.-mini-howto"></span> = Re: [vserver] build a centos6 guest inkl. mini howto = * <span class="dfn">This message</span>: [ [[#start|Message body]] ] [ [[#options2|More options]] ] * <span class="dfn">Related messages</span>: [ [[0086.html|Next message]] ] [ [[0084.html|Previous message]] ] [ [[0065.html|In reply to]] ] [ [[0091.html|Next in thread]] ] [ [[#replies|Replies]] ] </div> <div class="mail"> <span id="from"> <span class="dfn">From</span>: Roman Pretory <[mailto:roman.pretory_at_austrianonlines.com?Subject=Re:%20%5Bvserver%5D%20build%20a%20centos6%20guest%20inkl.%20mini%20howto roman.pretory_at_austrianonlines.com]> </span><br /> <span id="date"><span class="dfn">Date</span>: Wed 29 Feb 2012 - 12:52:07 GMT</span><br /> <span id="message-id"><span class="dfn">Message-ID</span>: <c860bcc50bf4445234efcc52982c07eb@10.0.0.6> </span><br /> On Mon, 27 Feb 2012 15:42:47 +0100 (CET), "Daniel Hokka Zakrisson"<br /> <daniel@hozac.com> wrote:<br /> ''> Roman Pretory wrote:''<br /> ''>> Hello all,''<br /> ''>>''<br /> ''>> I know I ask allready, a time ago,but mayme now a have more luck.''<br /> ''>>''<br /> ''>> I search for a full howdo to buid a Centos 6.x Guest on a Centos 6''<br /> ''>> Hostsystem.''<br /> ''>>''<br /> ''>> All build method on http://linux-vserver.org/Building_Guest_Systems seem''<br /> ''>> not to bring out a running guest.''<br /> ''>> I have seen there are troubles with the upstart style.. are the fixed''<br /> ''>> allready?''<br /> ''>''<br /> ''> vserver sl6 build -m yum -- -d sl6''<br /> ''> works fine here. How does it not work for you?''<br /> ''>''<br /> ''>''<br /> Hello Daniel<br /> Thanks that works.<br /> Thats my little howto for it:<br /> ===================================================================================================<br /> copy /usr/lib64/util-vserver/distributions/sl6/ to<br /> /usr/lib64/util-vserver/distributions/centos6/<br /> add to/usr/lib64/util-vserver/distributions/centos6/pkgs/03<br /> mc<br /> passwd<br /> tar<br /> unzip<br /> zip<br /> bzip2<br /> gzip<br /> crontabs<br /> shadow-utils<br /> yum<br /> openssh-server<br /> rsyslog-mysql<br /> xinetd<br /> at<br /> wget<br /> yum-utils<br /> tmpwatch<br /> delete :/usr/lib64/util-vserver/distributions/centos6/yum.repos.d/sl.repo<br /> create:<br /> /usr/lib64/util-vserver/distributions/centos6/yum.repos.d/CentOS-Base.repo<br /> with:<br /> [base]<br /> name=CentOS-centos-6 - Base<br /> #mirrorlist=http://mirrorlist.centos.org/?release=centos-6&arch=$basearch&repo=os<br /> baseurl=http://mirror.centos.org/centos-6/6.2/os/$basearch/<br /> http://centos.digitalnova.at/6.2/os/$basearch/<br /> http://centos.mirrors.skynet.be/pub/centos/6.2/os/$basearch/<br /> http://ftp.byfly.by/pub/CentOS/6.2/os/$basearch/<br /> http://centos.arminco.com/<br /> http://centos.intergenia.de/6.2/os/$basearch/<br /> http://ftp.hosteurope.de/mirror/centos.org/6.2/os/$basearch/<br /> http://centos.copahost.com/6.2/os/$basearch/<br /> http://mirror.checkdomain.de/centos/6.2/os/$basearch/<br /> gpgcheck=1<br /> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br /> after this I install Vserver with:<br /> vserver cos62 build -m yum --context 78 --hostname cos62.domain.at<br /> --interface eth0:x.x.x.x/24 -- -d centos6<br /> vserver cos62 pkgmgmt internalize<br /> Change in /vservers/cos62/etc/pam.d/sshd<br /> session required pam_loginuid.so to #session required<br /> pam_loginuid.so<br /> Change in /vservers/cos62/etc/pam.d/crond<br /> session required pam_loginuid.so to # session required<br /> pam_loginuid.so<br /> Bind ssh to ip in /vservers/cos6x/etc/ssh/sshd_config<br /> ListenAddress x.x.x.x<br /> del /vservers/cos62/etc/localtime<br /> cp /etc/localtime /vservers/cos62/etc/localtime<br /> del /vservers/cos62/vservers/<br /> Start and enter it for passwd<br /> stop it ready to clone and test<br /> ===================================================================================================<br /> With what I get a running centos 6.2 guest.<br /> And that I don't forget:<br /> Mike<br /> feel free to put this it the wiki, that realy a good idea,<br /> and as you should know you ask for so you are allowed to do,<br /> the same as I did with the howto,<br /> but you have translate it in a good british english of couse. :-)<br /> Thanks for Help Roman<br /> <span id="received"><span class="dfn">Received on</span> Wed Feb 29 12:52:16 2012</span> </div> <div class="foot"> * <span class="dfn">This message</span>: [ [[#start|Message body]] ] * <span class="dfn">Next message</span>: [[0086.html|Gordan Bobic: "Re: AW: AW: [vserver] Using loopback for guest-guest and guest-host communication but still remapping"]] * <span class="dfn">Previous message</span>: [[0084.html|Gordan Bobic: "Re: AW: AW: [vserver] Using loopback for guest-guest and guest-host communication but still remapping"]] * <span class="dfn">In reply to</span>: [[0065.html|Daniel Hokka Zakrisson: "Re: [vserver] build a centos6 guest"]] * <span class="dfn">Next in thread</span>: [[0091.html|Roderick A. Anderson: "Re: [vserver] build a centos6 guest inkl. mini howto"]] * <span id="replies"></span><span class="dfn">Reply</span>: [[0091.html|Roderick A. Anderson: "Re: [vserver] build a centos6 guest inkl. mini howto"]] * <span id="options2"></span><span class="dfn">Contemporary messages sorted</span>: [ [[date.html#85|By Date]] ] [ [[index.html#85|By Thread]] ] [ [[subject.html#85|By Subject]] ] [ [[author.html#85|By Author]] ] [ [[attachment.html|By messages with attachments]] ] </div> <div align="center"> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]]<br /> <span class="small">Generated on Wed 29 Feb 2012 - 12:52:16 GMT by [http://www.hypermail.org/ hypermail 2.1.8]</span> </div>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information