Compiling the Xen Hypervisor and dom0 on RHEL6: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 32: | Line 32: | ||
# | # | ||
yum install xmlto asciidoc elfutils-libelf-devel binutils-devel | yum install xmlto asciidoc elfutils-libelf-devel binutils-devel PyXML | ||
cd ~ | cd ~ | ||
cd ~/rpmbuild/SPECS/ | cd ~/rpmbuild/SPECS/ | ||
Line 38: | Line 38: | ||
# Make appropriate chages | # Make appropriate chages | ||
rpmbuild -ba kernel.spec | rpmbuild -ba kernel.spec | ||
rpmbuild -ba --target=noarch kernel.spec | |||
</source> | </source> | ||
Build dependencies. | |||
<source lang="bash"> | <source lang="bash"> | ||
# Build 'libdwarf' | |||
cd ~ | |||
</source> | </source> | ||
{{footer}} | {{footer}} |
Revision as of 17:03, 18 November 2010
AN!Wiki :: How To :: Compiling the Xen Hypervisor and dom0 on RHEL6 |
This tutorial assumes that you have a Red Hat Network account and, as such, makes use of repositories accessible via RHN only. I will try to create a totally open tutorial when CentOS 6 is released.
Setting Up The Build Environment
yum -y groupinstall "Development Tools"
Configure Repos
Add the following repositories to your RHN.
- Red Hat Enterprise Linux 6.0 - x86_64 - Source
- Red Hat Enterprise Linux Server Optional (v. 6)
Install Available Dependencies
yum install transfig libidn-devel zlib-devel texi2html SDL-devel curl-devel libX11-devel python-devel ghostscript tetex-latex ncurses-devel gtk2-devel libaio-devel texinfo dev86 gnutls-devel openssl-devel pciutils-devel libuuid-devel iasl bzip2-devel xz-devel e2fsprogs-devel glibc-devel.i686
Download the Xen and dom0 Source RPMs
cd ~
wget -c http://fedorapeople.org/~myoung/dom0/src/kernel-2.6.32.25-172.xendom0.fc12.src.rpm
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Fedora/source/SRPMS/xen-4.0.1-6.fc14.src.rpm
rpm -ivh xen-4.0.1-6.fc14.src.rpm kernel-2.6.32.25-172.xendom0.fc12.src.rpm
cd ~/rpmbuild/SPECS/
rpmbuild -ba xen.spec
#
yum install xmlto asciidoc elfutils-libelf-devel binutils-devel PyXML
cd ~
cd ~/rpmbuild/SPECS/
vim kernel.spec
# Make appropriate chages
rpmbuild -ba kernel.spec
rpmbuild -ba --target=noarch kernel.spec
Build dependencies.
# Build 'libdwarf'
cd ~
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Enterprise Support: Alteeve Support |
Community Support | |
© Alteeve's Niche! Inc. 1997-2024 | Anvil! "Intelligent Availability®" Platform | ||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |