Editing
Building CentOS 6 ALT 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 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) 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/centos6alt/ add to/usr/lib64/util-vserver/distributions/centos6alt/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/centos6alt/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/centos6alt/yum.repos.d/CentOS-Base.repo edit your copied CentOS-Base.repo and remove the addons sections as that will not work. 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 copy your epel.repo from /etc/yum.repos.d to /usr/lib64/util-vserver/distributions/centos6alt/yum.repos.d/ 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) after this I install Vserver with: vserver cos62 build -m yum --hostname cos62.domain.at --interface eth0:x.x.x.x/24 -- -d centos6alt 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 ALT 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