Editing
CentOS HowTo
(section)
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!
== C. Adding CentOS 4 Support into the tools == if you have the x86_64 architecture, substitute lib64 for lib in the next section. --psg <pre class="code">cd /usr/lib/util-vserver/distributions cp -Rpv fc3 centos4 cd centos4 mkdir pubkeys cp /usr/share/rhn/RPM-GPG-KEY-centos4 ./pubkeys/ (Should be there from CentOS install or on CD1 if not using a CentOS host) ln -s ../redhat/initpre . ln -s ../redhat/initpost . cd pkgs rm -f 01 02 03 vi 01 (put the contents of this into it: http://linux-vserver.org/CentOS_min_install) #EDIT 03.05.2006: CentOS 4.3 compatible package list downloadable from http://pegasi.fi/CentOS_min_install-4.3 #Done with Perl and 4.3 DVD, please update the list if incorrectness occurs, Pekka.Kuronen(at)pegasi.fi #ADD 12.05.2006: Scientific Linux (SL) 4.3 compatible package list downloadable from #http://www.cnaf.infn.it/~apagano/Scientific_Linux_min_install-4.3 #Done with 4.3 DVD, please update the list if incorrectness occurs, alfredo.pagano(at)cnaf.infn.it cd ../yum vi yum.conf and replace with: [main] cachedir=@YUMCACHEDIR@ reposdir=@YUMETCDIR@/yum.repos.d debuglevel=2 logfile=@YUMLOGDIR@/log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 cd ../yum.repos.d rm -f *.repo cp /etc/yum.repos.d/CentOS-Base.repo . (in centos-yumconf RPM from CD1 if not using CentOS as host) vi CentOS-Base.repo (replace $releasever with 4.0 everywhere. In Vi use: .,$s/$releasever/4/g) cp -Rpv /etc/vservers/.distributions/fc3 /etc/vservers/.distributions/centos4 mkdir /vservers chmod 000 /vservers mkdir /vservers/.pkg</pre> <span id="d.-vserver-creation"></span>
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