<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coopers Consulting Solutions Limited &#187; centOS 5.2</title>
	<atom:link href="http://coopersconsultingsolutions.co.uk/tag/centos-52/feed/" rel="self" type="application/rss+xml" />
	<link>http://coopersconsultingsolutions.co.uk</link>
	<description>Simple solutions for a complicated world</description>
	<lastBuildDate>Thu, 12 May 2011 17:30:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Installing Oracle EBS R12 on CentOS 5.3 (part 1)</title>
		<link>http://coopersconsultingsolutions.co.uk/2009/04/26/installing-oracle-ebs-r12-on-centos-53-part-1/</link>
		<comments>http://coopersconsultingsolutions.co.uk/2009/04/26/installing-oracle-ebs-r12-on-centos-53-part-1/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 19:43:23 +0000</pubDate>
		<dc:creator>administrator</dc:creator>
				<category><![CDATA[ERP Projects]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Oracle EBS R12]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[centOS 5.2]]></category>
		<category><![CDATA[centOS 5.3]]></category>
		<category><![CDATA[oracle applications]]></category>
		<category><![CDATA[oracle EBS R12 install]]></category>

		<guid isPermaLink="false">http://coopersconsultingsolutions.co.uk/?p=25</guid>
		<description><![CDATA[Looking at the notes i&#8217;d written when i did this i thought it best to break this up into 2 parts. This first part looks at the installation and configuration of the server. Part 2 will focus on the install of &#8230; <a href="http://coopersconsultingsolutions.co.uk/2009/04/26/installing-oracle-ebs-r12-on-centos-53-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Looking at the notes i&#8217;d written when i did this i thought it best to break this up into 2 parts.</p>
<p>This first part looks at the installation and configuration of the server. Part 2 will focus on the install of R12 and the post install steps.</p>
<p>Right-o let me set the scene. This install is onto a 1-node-1-user machine; i.e. a laptop<br />
I&#8217;ve done the install before, and that was onto a laptop with Oracle Enterprise Linux (OEL) 4.7. However this time i wanted to step away from the usual enterprise distro&#8217;s and go with one of the more common respin&#8217;s.</p>
<p>For the uninitiated, CentOS is based on Red Hat enterprise &#8211; So 5.2 (or 5.3 in this case) is built on RHEL 5.2</p>
<h2>Hardware</h2>
<p>For this install, i am using a Dell Vostro 1710 laptop that i bought for the sole purpose of putting Linux and my linux development toolkit onto. The core specs are as follows:</p>
<ul>
<li>CPU: Intel Core 2 Duo T5870 (2.0 GHz, 800MHz FSB, 2MB cache)</li>
<li>Display: 17in widescreen WUXGA (running an impressive 1900&#215;1200 resolution)</li>
<li>Graphics: The usual Dell fare of NVIDIA GeForce 8600M GS (featuring 256MB DDR2)</li>
<li>Memory: 4Gig &#8211; 667MHz DDR2 Dual channel</li>
<li>Hard Drive: 500GB (Dual 250GB Seagate Momentus G-Force 7200rpm 16MB cache SATA) &#8211; This was not standard on the Dell configurator so was a post deliver mod</li>
<li>Network:  Fairly standard Realtek RTL8168C PCI-E Gigabit ethernet, which fits nicely with my wired Gigabit network at home</li>
<li>Optical Drive: 8x DVD+/-RW/RAM Drive</li>
</ul>
<p>It came shipped from Dell with a downgrade to XP. The XP install lasted long enough for me to boot it to verify that all hardware was present and correct before the whole lot was wiped.</p>
<h2>OS Install</h2>
<p>The media for the install was a free DVD supplied with the December edition of <a title="Linux Format" href="http://www.linuxformat.co.uk/" target="_blank">linux format</a> magazine. I&#8217;d already tried it out under <a title="Virtual Box" href="http://www.virtualbox.org/" target="_blank">Virtual Box</a>, running on my OEL4.7 install on the same hardware, and had been impressed that it had nailed the Soundcard and Wireless card straight away (unlike the OEL install).</p>
<p>Anyway, booting up from the DVD i went through the partioning configurator and set up the following:</p>
<ul>
<li>The dual HDD&#8217;s were configured as a single logical volume (500GB)</li>
<li>The boot partition <strong>/boot</strong> was configured to be 15MB fixed size</li>
<li>The swap partition <strong>/swap</strong> was configured to be 4096MB (ie same size as the installed memory)</li>
<li>The root partition <strong>/</strong> was configured to fill the remaining available disk space. I had to double check this, as my first attempt using automatic partitioning did not fill the remaining space and i was left with a large area effectively closed off from the OS!</li>
</ul>
<p><span style="color: #ff0000;">Important!</span><br />
Make sure that you elect to have NO firewall, and that the &#8220;Enable SELinux?&#8221; option is set to DISABLED. This is advice given in the original notes i followed when doing the OEL install last year. Aparently it causes issues later on when you come to install EBS R12.</p>
<h3>Package Groups</h3>
<p>During the OS install you will face the package manager. Presenting you with an array of scintillating choices. As i had disk space to play with i went a bit mad and selected the following:</p>
<ul>
<li>X Window System (required for EBS)</li>
<li>GNOME Desktop environment (also required for EBS)</li>
<li>Editors (your choice &#8211; i&#8217;m a big fan of Vi )</li>
<li>Graphical internet</li>
<li>Server configuration tools</li>
<li>Development tools</li>
<li>Administration tools</li>
<li>
<h3>System Tools</h3>
</li>
</ul>
<h3>Required Packages</h3>
<p>This list is taken from the Metalink note 402310.1 &#8211; Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux 32-bit</p>
<p>The following are required packages for EBS R12 (running on OEL 5 but also for CentOS). All versions are minimum required versions (except where stated):</p>
<ul>
<li>compat-glibc-2.3.4-2.26</li>
<li>gcc-4.1.2-14.el5</li>
<li>gcc-c++-4.1.2-14.el5</li>
<li>glibc-2.5-12</li>
<li>glibc-common-2.5-12</li>
<li>glibc-devel-2.5-12</li>
<li>libgcc-4.1.2-14.el5</li>
<li>libstdc++-devel-4.1.2-14.el5</li>
<li>libstdc++-4.1.2-14.el5</li>
<li>make-3.81-1.1</li>
<li>gdbm-1.8.0-26.2.1</li>
<li>libXp-1.0.0-8.1.el5</li>
<li>libaio-0.3.106-3.2</li>
<li>libgomp-4.1.2-14.el5</li>
<li>sysstat-7.0.0-3.el5</li>
<li>compat-libstdc++-.296-2.96-138</li>
<li>compat-libstdc++-33-3.2.3-61</li>
</ul>
<p>In addition, i needed to pull the following files from the Oracle compatability project archive, which is found at <a href="http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux">http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux</a></p>
<ul>
<li>openmotif21-2.1.30-11.EL5.i386 (this must be this version exactly!)</li>
<li>xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386</li>
<li>binutils-2.17.50.0.6-6.0.1.i386</li>
</ul>
<p>In checking whether you have all the required packages, you can query each package individually using:<br />
<strong>rpm -q glibc<br />
</strong>etc</p>
<p>or you could query all packages and put the output into a text file, and then view this file to search for each package:<br />
<strong>rpm -qa &gt;rpm_files.txt</strong></p>
<p>view rpm_files.txt</p>
<p>For the files downloaded from Oracle, i placed then into a separate directory and them manually installed them using rpm:<br />
<strong>rpm -Uvh libaio-0*</strong></p>
<h3>Software requirements</h3>
<p>The following maintenance tools must also be installed and their locations specified in the PATH of the account that will run Rapid Install. Both times i&#8217;ve done this install these programs have (a) been installed, and (b) present in the path.</p>
<ul>
<li>ar</li>
<li>gcc</li>
<li>g++</li>
<li>ld</li>
<li>ksh</li>
<li>make</li>
<li>X Display Server</li>
</ul>
<p>You can easily verify these by using the which command:<br />
<strong>which make<br />
&gt;&gt; /usr/bin/make</strong></p>
<p>My final step to finish off the OS install itself was to run the automatic updater <strong>yum update</strong> as this applied a load of patches to take the OS to 5.3.</p>
<p>Onto the home straight now for the server config&#8230;</p>
<h3>Kernel Settings</h3>
<p>I then had to edit the file <strong>/etc/sysctl.conf</strong> to configure my kernel settings. The following table is taken from the metalink note i referred to earlier.</p>
<div id="attachment_32" class="wp-caption alignleft" style="width: 648px"><img class="size-full wp-image-32" title="kernel-params" src="http://coopersconsultingsolutions.co.uk/wp-content/uploads/2009/05/kernel-params.jpg" alt="kernel settings for EBS R12 on Linux" width="638" height="292" /><p class="wp-caption-text">kernel settings for EBS R12 on Linux</p></div>
<div class="mceTemp">* &#8211; set using the following entry in the <strong>/etc/sysctl.conf</strong> file:</div>
<div class="mceTemp"><strong>kernel.sem = 256 32000 100 142</strong></div>
<div class="mceTemp"> </div>
<div class="mceTemp">After editing this file i restarted my laptop to invoke the new settings.</div>
<h3 class="mceTemp">DNS resolver parameters</h3>
<p class="mceTemp">Two Domain Name System (DNS) resolver parameters are set by default to low values when the OS is installed. These low values may cause attempted network connections to an Oracle database to fail. It is reccomended that these minimum settings are set in the <strong>/etc/resolv.conf</strong> file:<br />
<strong>options attempts:5<br />
options timeout:15</strong></p>
<h3 class="mceTemp">Verifying Host Names</h3>
<p class="mceTemp">I verified that the <strong>/etc/hosts</strong> file was formatted as follows:<br />
<strong>127.0.0.1 localhost.localdomain localhost<br />
&lt;ip_address&gt; &lt;node_name&gt;.&lt;domain_name&gt; &lt;node_name&gt;</strong></p>
<p class="mceTemp">I then had to verify that the <strong>/etc/sysconfig/network</strong> file was formatted as follows:<br />
<strong>HOSTNAME=&lt;node_name&gt;.&lt;domain_name&gt;</strong></p>
<p class="mceTemp">If the <strong>/etc/sysconfig/networking/profiles/default/network</strong> file exists then delete it! No such file existed on my install so i skipped this step.</p>
<p class="mceTemp">I then restarted my laptop (again).!</p>
<h3 class="mceTemp">Other settings</h3>
<p class="mceTemp">I modified the <strong>/etc/security/limits.conf</strong> file to ensure the values for &#8220;hard&#8221; and &#8220;soft&#8221; open file descriptor limits were at least the minimum as given below:</p>
<p class="mceTemp">* hard nofile 65536<br />
* soft nofile 4096<br />
* hard nproc 16384<br />
* soft nproc 2047</p>
<p class="mceTemp">It states in the install notes (metalink) that if any of these values are already higher then not to lower them!</p>
<h3 class="mceTemp">Oracle HTTP Server Patch</h3>
<p class="mceTemp">This step was originally missed out when i first tried this install. Shame on me, as it caused no end of troubles. It was only when i looked back at the metalink notes that i realised i&#8217;d missed it and it was rather important!</p>
<p class="mceTemp">I needed to download and install the patch 6078836 from Oracle Metalink. It fixes an issue with the Oracle HTTP server that is bundled with EBS. Its only applicable to OEL5 or RHEL5, but as we&#8217;ve established, CentOS is a RHEL respin so needed to apply as well. For those wondering&#8230;.I have a Metalink account so was able to do this. In fact i actually have 2 accounts; i have one linked to the site that i&#8217;m currently contracted to, and i also have a personal account linked to an OEL license pack that i purchased last year. Probably the best $100 my company has spent in ages <img src='http://coopersconsultingsolutions.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="mceTemp">Once i&#8217;d studiously followed the patch install instructions, i then had to perform the following task; essentially this is a patch post-install step to link the Motif library for OAS 10.1.2 &#8211; this needed to be done as root:</p>
<p class="mceTemp"><strong>unlink /usr/lib/libXtst.so.6<br />
ln -s /usr/X116R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6</strong></p>
<p class="mceTemp">And there you have it. End of part one. We have a configured server waiting for an install of EBS <img src='http://coopersconsultingsolutions.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://coopersconsultingsolutions.co.uk/2009/04/26/installing-oracle-ebs-r12-on-centos-53-part-1/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

