Editing
Building CentOS 6 Guest
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!
Here is a quick guide to building a CentOS 6 Guest. I didn't see instructions on here. I followed the instructions from http://www.paul.sladen.org/vserver/archives/201202/0085.html with some updates. copy /usr/lib64/util-vserver/distributions/sl6/ to /usr/lib64/util-vserver/distributions/centos6/ add to/usr/lib64/util-vserver/distributions/centos6/pkgs/03 with the following list: 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 copy the CentOS-Base.repo from your main Centos 6 repository /etc/yum.repos.d/CentOS-Base.repo to /usr/lib64/util-vserver/distributions/centos6/yum.repos.d/CentOS-Base.repo edit your copied CentOS-Base.repo and remove the addons sections as that will not work. after this I install Vserver with: vserver cos62 build -m yum --hostname cos62.domain.at --interface eth0:x.x.x.x/24 -- -d centos6 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 you should have a working CentOS 6 Guest
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