<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=OVM%2FTools</id>
	<title>OVM/Tools - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=OVM%2FTools"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=OVM/Tools&amp;action=history"/>
	<updated>2026-04-30T05:52:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=OVM/Tools&amp;diff=244&amp;oldid=prev</id>
		<title>Kenneth: /* Installing Tools on OVM 3.2.x */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=OVM/Tools&amp;diff=244&amp;oldid=prev"/>
		<updated>2014-06-25T18:37:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Installing Tools on OVM 3.2.x&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Tools ==&lt;br /&gt;
&lt;br /&gt;
Tools:&lt;br /&gt;
* GCC / Make&lt;br /&gt;
* Python&lt;br /&gt;
* Mercurial&lt;br /&gt;
&lt;br /&gt;
The trick being to not upgrade any existing packages that came with the base system (otherwise it compromises the validity of the base system).&lt;br /&gt;
&lt;br /&gt;
== Installing Tools on OVM 3.3.x ==&lt;br /&gt;
&lt;br /&gt;
Install Oracle (oel6_5) Public Yum repository:&lt;br /&gt;
 cd /etc/yum.repos.d&lt;br /&gt;
 wget http://public-yum.oracle.com/public-yum-ol6.repo&lt;br /&gt;
&lt;br /&gt;
Edit public-yum-ol6.repo (using &amp;#039;vi&amp;#039;):&lt;br /&gt;
* disable [ol6_latest], [ol6_UEK_latest]&lt;br /&gt;
* enable [ol5_u5_base]&lt;br /&gt;
** &amp;lt;s&amp;gt;enable [ol5_u4_base]  (possibly ol5_u5_base, and some stuff in ol6_latest but slow)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or just use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ol6_u5_base]&lt;br /&gt;
name=Oracle Linux $releasever Update 5 installation media copy ($basearch)&lt;br /&gt;
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/5/base/$basearch/&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
enabled=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Warning: the Oracle Public Yum repo is slow!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exclude kernel from yum updates:&lt;br /&gt;
 echo &amp;quot;exclude=kernel*&amp;quot; &amp;gt;&amp;gt; /etc/yum.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Manually install Kernel headers:&lt;br /&gt;
 rpm -Uvh http://public-yum.oracle.com/repo/OracleLinux/OL6/4/base/x86_64/getPackage/kernel-devel-2.6.32-358.el6.x86_64.rpm&lt;br /&gt;
 rpm -Uvh http://public-yum.oracle.com/repo/OracleLinux/OL6/4/base/x86_64/getPackage/kernel-headers-2.6.32-358.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
Install Yum key???&lt;br /&gt;
 cp /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle.original&lt;br /&gt;
 wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle&lt;br /&gt;
&lt;br /&gt;
Install dependencies:&lt;br /&gt;
 yum install zlib-devel.x86_64 bzip2-devel.x86_64 bc&lt;br /&gt;
 # hg: zlib-devel bzip2-devel&lt;br /&gt;
&lt;br /&gt;
Manual hack to get GCC dependencies: (PITA!)&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/glibc-headers-2.12-1.107.el6_4.4.x86_64.rpm&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/glibc-devel-2.12-1.107.el6_4.4.x86_64.rpm&lt;br /&gt;
 rpm -Uvh glibc-headers-2.12-1.107.el6_4.4.x86_64.rpm glibc-devel-2.12-1.107.el6_4.4.x86_64.rpm&lt;br /&gt;
 yum install gcc&lt;br /&gt;
&lt;br /&gt;
Manual hack to get OpenSSL dependencies: (PITA!)&lt;br /&gt;
 yum install keyutils-libs-devel libselinux-devel  # I forgot to check if these were still required&lt;br /&gt;
&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/libcom_err-devel-1.41.12-14.el6_4.2.x86_64.rpm&lt;br /&gt;
 rpm -Uvh libcom_err-devel-1.41.12-14.el6_4.2.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/krb5-devel-1.10.3-10.el6_4.4.x86_64.rpm&lt;br /&gt;
 rpm -Uvh krb5-devel-1.10.3-10.el6_4.4.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/openssl-devel-1.0.1e-16.el6_5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh openssl-devel-1.0.1e-16.el6_5.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # test later, after python install, with &amp;quot;import ssl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installing Tools on OVM 3.2.x ==&lt;br /&gt;
&lt;br /&gt;
Install Oracle (oel5_5) Public Yum repository:&lt;br /&gt;
 cd /etc/yum.repos.d&lt;br /&gt;
 wget http://public-yum.oracle.com/public-yum-el5.repo&lt;br /&gt;
&lt;br /&gt;
Edit public-yum-el5.repo (using &amp;#039;vi&amp;#039;):&lt;br /&gt;
* disable [el5_latest]&lt;br /&gt;
* enable [el5_u5_base] &amp;lt;s&amp;gt;, [ol5_u5_base]&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or just use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[el5_u5_base]&lt;br /&gt;
name=Enterprise Linux $releasever Update 5 installation media copy ($basearch)&lt;br /&gt;
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/5/base/$basearch/&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
enabled=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ol5_u5 is now broken, so don&amp;#039;t use this!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ol5_u5_base]&lt;br /&gt;
name=Oracle Linux $releasever Update 5 installation media copy ($basearch)&lt;br /&gt;
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
enabled=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Warning: the Oracle Public Yum repo is slow!  A few times the repo has appeared to be online, but when attempting to download files you get a &amp;quot;&amp;#039;&amp;#039;File not found.&amp;quot;&amp;#039;&amp;#039;&amp;quot; error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exclude kernel from yum updates:&lt;br /&gt;
 echo &amp;quot;exclude=kernel*&amp;quot; &amp;gt;&amp;gt; /etc/yum.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Manually install Kernel headers:&lt;br /&gt;
 rpm -Uvh http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/x86_64/getPackage/kernel-devel-2.6.18-238.el5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/x86_64/getPackage/kernel-headers-2.6.18-238.el5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh kernel-devel-2.6.18-238.el5.x86_64.rpm kernel-headers-2.6.18-238.el5.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
Install dependencies:&lt;br /&gt;
 yum install make zlib-devel.x86_64 bzip2-devel.x86_64 bc&lt;br /&gt;
 # hg: zlib-devel bzip2-devel&lt;br /&gt;
&lt;br /&gt;
Manual hack to get GCC dependencies: (PITA!)&lt;br /&gt;
 wget http://vault.centos.org/5.5/updates/x86_64/RPMS/glibc-headers-2.5-49.el5_5.4.x86_64.rpm&lt;br /&gt;
 wget http://vault.centos.org/5.5/updates/x86_64/RPMS/glibc-devel-2.5-49.el5_5.4.x86_64.rpm&lt;br /&gt;
 rpm -Uvh glibc-headers-2.5-49.el5_5.4.x86_64.rpm glibc-devel-2.5-49.el5_5.4.x86_64.rpm&lt;br /&gt;
 yum install gcc&lt;br /&gt;
&lt;br /&gt;
Manual hack to get OpenSSL dependencies: (PITA!) - OVM 3.2.7&lt;br /&gt;
 yum install keyutils-libs-devel libselinux-devel&lt;br /&gt;
&lt;br /&gt;
 wget http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/getPackage/e2fsprogs-devel-1.39-33.el5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh e2fsprogs-devel-1.39-33.el5.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget http://vault.centos.org/5.5/updates/x86_64/RPMS/krb5-devel-1.6.1-36.el5_5.5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh krb5-devel-1.6.1-36.el5_5.5.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/55/x86_64/SL/openssl-devel-0.9.8e-12.el5_4.6.x86_64.rpm&lt;br /&gt;
 rpm -Uvh openssl-devel-0.9.8e-12.el5_4.6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # test later, after python install, with &amp;quot;import ssl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Manual hack to get OpenSSL dependencies: (PITA!) - OVM 3.2.6&lt;br /&gt;
 yum install keyutils-libs-devel libselinux-devel&lt;br /&gt;
&lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/55/x86_64/SL/e2fsprogs-devel-1.39-23.el5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh e2fsprogs-devel-1.39-23.el5.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget http://vault.centos.org/5.5/updates/x86_64/RPMS/krb5-devel-1.6.1-36.el5_5.5.x86_64.rpm&lt;br /&gt;
 rpm -Uvh krb5-devel-1.6.1-36.el5_5.5.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/55/x86_64/SL/openssl-devel-0.9.8e-12.el5_4.6.x86_64.rpm&lt;br /&gt;
 rpm -Uvh openssl-devel-0.9.8e-12.el5_4.6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # test later, after python install, with &amp;quot;import ssl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Install Python ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##&lt;br /&gt;
## PYTHON&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
mkdir -p ~/.src ; cd ~/.src&lt;br /&gt;
wget --no-check-certificate http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz&lt;br /&gt;
tar -zvxf Python-2.7.6.tgz&lt;br /&gt;
cd Python-2.7.6&lt;br /&gt;
./configure --prefix=/opt/python-2.7.6 &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
export PATH=/opt/python-2.7.6/bin:$PATH&lt;br /&gt;
echo -e &amp;quot;\n\nexport PATH=/opt/python-2.7.6/bin:\$PATH\n&amp;quot; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install Mercurial ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##&lt;br /&gt;
## MERCURIAL&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
MVER=3.0&lt;br /&gt;
mkdir -p ~/.src ; cd ~/.src&lt;br /&gt;
wget --no-check-certificate http://mercurial.selenic.com/release/mercurial-$MVER.tar.gz&lt;br /&gt;
tar -zvxf mercurial-$MVER.tar.gz&lt;br /&gt;
cd mercurial-$MVER&lt;br /&gt;
python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Setup mercurial config&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;gt; ~/.hgrc &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
[ui]&lt;br /&gt;
username = My User&lt;br /&gt;
editor = vim&lt;br /&gt;
#ssh = ssh -l [USER]&lt;br /&gt;
&lt;br /&gt;
[extensions]&lt;br /&gt;
color =&lt;br /&gt;
purge =&lt;br /&gt;
transplant =&lt;br /&gt;
rebase =&lt;br /&gt;
mq =&lt;br /&gt;
graphlog =&lt;br /&gt;
pager =&lt;br /&gt;
&lt;br /&gt;
[pager]&lt;br /&gt;
pager = LESS=&amp;#039;FRX&amp;#039; less&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>