<?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>Mark Wagner&#039;s Oracle on Linux Site &#187; CentOS 5.2</title>
	<atom:link href="http://oracle-on-linux.net/tag/centos-5-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle-on-linux.net</link>
	<description>Helping DBA&#039;s in a Linux World</description>
	<lastBuildDate>Thu, 20 Aug 2009 18:21:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OS Prep for Oracle 11g installation &#8211; Redhat EL 5 or Centos 5.2 &#8211; 64bit Installation</title>
		<link>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/</link>
		<comments>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 17:56:09 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Redhat EL 5]]></category>
		<category><![CDATA[Kernel Parameters]]></category>
		<category><![CDATA[Oracle Installation]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/</guid>
		<description><![CDATA[OS Installation

At least 1 GB to /tmp&#160; Current Server has 4 GB for /tmp 
Package Installation

Follow the Oracle recommended practice of using a &#34;default RPMs&#34; installation. Accept the default software selection. 
Additional RPMs are required to run Oracle Database 11g Release 1. These will be installed later. 


Disable Firewall 
Select Disabled SELinux. 


Verify &#38; Configure [...]]]></description>
			<content:encoded><![CDATA[<p><b>OS Installation</b></p>
<ol>
<li>At least 1 GB to /tmp&#160; Current Server has 4 GB for /tmp </li>
<li>Package Installation
<ul>
<li>Follow the Oracle recommended practice of using a &quot;default RPMs&quot; installation. Accept the default software selection. </li>
<li>Additional RPMs are required to run Oracle Database 11<i>g</i> Release 1. These will be installed later. </li>
</ul>
</li>
<li>Disable Firewall </li>
<li>Select Disabled SELinux. </li>
</ol>
<p><b></b></p>
<p><b>Verify &amp; Configure </b><b>OS Installation</b><b>&#160; -&#160; </b><b>64-bit (x86_64) Installations</b></p>
<p>Required kernel version: 2.6.18 This kernel, or any of the kernels supplied in updates, works with Oracle Database 11<i>g</i> Release 1 . </p>
<p>Check your kernel version by running the following command: </p>
<p>uname -rm    <br />Ex:     <br /># uname -rm     <br />2.6.18-8.el5 x86_64</p>
<p>Required package versions (or later):</p>
<ul>
<li>binutils-2.17.50.0.6 </li>
<li>compat-libstdc++-33-3.2.3 </li>
<li>compat-libstdc++-33-3.2.3 (32 bit) </li>
<li>elfutils-libelf-0.125 </li>
<li>elfutils-libelf-devel-0.125 </li>
<li>gcc-4.1.1 </li>
<li>gcc-c++-4.1.1 </li>
<li>glibc-2.5-12 </li>
<li>glibc-2.5-12 (32 bit) </li>
<li>glibc-common-2.5 </li>
<li>glibc-devel-2.5 </li>
<li>glibc-devel-2.5-12 (32 bit) </li>
<li>libaio-0.3.106 </li>
<li>libaio-0.3.106 (32 bit) </li>
<li>libaio-devel-0.3.106 </li>
<li>libgcc-4.1.1 </li>
<li>libgcc-4.1.1 (32 bit) </li>
<li>libstdc++-4.1.1 </li>
<li>libstdc++-4.1.1 (32 bit) </li>
<li>libstdc++-devel 4.1.1 </li>
<li>make-3.81 </li>
<li>sysstat-7.0.0 </li>
</ul>
<p>Note that there are a number of packages where both the 64-bit and 32-bit RPMs must be installed. Fortunately, both should be provided on the 64-bit Linux installation media. </p>
<p>If you&#8217;ve performed a &quot;default RPMs&quot; install as suggested by Oracle, there are still some required packages that must be installed:</p>
<ul>
<li>compat-libstdc++-33-3.2.3 </li>
<li>compat-libstdc++-33-3.2.3 (32 bit) </li>
<li>elfutils-libelf-devel-0.125 </li>
<li>gcc-4.1.1 </li>
<li>gcc-c++-4.1.1 </li>
<li>glibc-devel-2.5 </li>
<li>glibc-devel-2.5-12 (32 bit) </li>
<li>libaio-devel-0.3.106 </li>
<li>libstdc++-devel 4.1.1 </li>
<li>sysstat-7.0.0 </li>
</ul>
<p>To install the remaining packages, mount the RedHat Enterprise Linux media and move to the directory containing the RPMs.</p>
<p>Some required packages are dependent upon other packages, so the dependant packages must be installed as well. Login as <b>root</b> and run the following commands to install the remaining required packages and their dependent packages:</p>
<p>Using Yum</p>
<p>yum install elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm compat-libstdc++-33* libaio-devel*.x86_64.rpm sysstat*</p>
<p>Using installation CDs</p>
<p>Mount CD 2</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm</p>
<p>&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm     <br />warning: elfutils-libelf-devel-0.125-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:glibc-headers ########################################### [ 11%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:glibc-devel ########################################### [ 22%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:libgomp ########################################### [ 33%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4:gcc ########################################### [ 44%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5:libstdc++-devel ########################################### [ 56%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 6:gcc-c++ ########################################### [ 67%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 7:glibc-devel ########################################### [ 78%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 8:elfutils-libelf-devel-s########################################### [ 89%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 9:elfutils-libelf-devel ########################################### [100%]     <br />&#160;&#160;&#160; cd /     <br />&#160;&#160;&#160; eject     <br />Mount CD 3</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh compat-libstdc++-33* libaio-devel*.x86_64.rpm</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh compat-libstdc++-33* libaio-devel*.x86_64.rpm     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:libaio-devel ########################################### [ 33%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:compat-libstdc++-33 ########################################### [ 67%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:compat-libstdc++-33 ########################################### [100%]</p>
<p>&#160;&#160;&#160; cd /    <br />&#160;&#160;&#160; eject</p>
<p>Mount CD 4</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh sysstat*</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh sysstat*     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; warning: sysstat-7.0.0-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:sysstat ########################################### [100%]</p>
<p>&#160;&#160;&#160; cd /    <br />&#160;&#160;&#160; eject</p>
<p>To verify that the required packages have been installed on your system, run the following command: </p>
<p>rpm -q &#8211;queryformat &quot;%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n&quot; binutils \    <br />compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc \     <br />glibc-common glibc-devel-2.5 libaio libaio-devel libgcc libstdc++ libstdc++-devel \     <br />make sysstat</p>
<p>&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160; # rpm -q &#8211;queryformat &quot;%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n&quot; binutils \</p>
<p>&#160;&#160;&#160; &gt; compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc \</p>
<p>&#160;&#160;&#160; &gt; glibc-common glibc-devel-2.5 libaio libaio-devel libgcc libstdc++ libstdc++-devel \</p>
<p>&#160;&#160;&#160; &gt; make sysstat</p>
<p>&#160;&#160;&#160; binutils-2.17.50.0.6-2.el5 (x86_64)</p>
<p>&#160;&#160;&#160; compat-libstdc++-33-3.2.3-61 (i386)</p>
<p>&#160;&#160;&#160; compat-libstdc++-33-3.2.3-61 (x86_64)</p>
<p>&#160;&#160;&#160; elfutils-libelf-0.125-3.el5 (x86_64)</p>
<p>&#160;&#160;&#160; elfutils-libelf-devel-0.125-3.el5 (x86_64)</p>
<p>&#160;&#160;&#160; gcc-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; gcc-c++-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-2.5-12 (i686)</p>
<p>&#160;&#160;&#160; glibc-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-common-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-devel-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-devel-2.5-12 (i386)</p>
<p>&#160;&#160;&#160; libaio-0.3.106-3.2 (x86_64)</p>
<p>&#160;&#160;&#160; libaio-0.3.106-3.2 (i386)</p>
<p>&#160;&#160;&#160; libaio-devel-0.3.106-3.2 (x86_64)</p>
<p>&#160;&#160;&#160; libgcc-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; libgcc-4.1.1-52.el5 (i386)</p>
<p>&#160;&#160;&#160; libstdc++-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; libstdc++-4.1.1-52.el5 (i386)</p>
<p>&#160;&#160;&#160; libstdc++-devel-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; make-3.81-1.1 (x86_64)</p>
<p>&#160;&#160;&#160; sysstat-7.0.0-3.el5 (x86_64)</p>
<p>To install support for ODBC the required packages have to be installed on your system.</p>
<p>unixODBC-2.2.11 (32 bit) or later</p>
<p>unixODBC-devel-2.2.11 (64 bit) or later</p>
<p>unixODBC-2.2.11 (64 bit) or later</p>
<p>Use yum to install if Needed</p>
<p># yum install unixODBC*</p>
<p><b>Create Oracle Account</b></p>
<p>Create Oracle groups and user account:    <br />In the same terminal window as root do the following:</p>
<p>/usr/sbin/groupadd oinstall    <br />/usr/sbin/groupadd dba     <br />/usr/sbin/useradd -m -g oinstall -G dba oracle     <br />id oracle</p>
<p>Expected output:    <br />uid=501(Oracle) gid=501(oinstall) groups=501(oinstall),502(dba)</p>
<p>Set the password for Oracle:</p>
<p>$ passwd oracle    <br />Changing password for user oracle.     <br />New password:     <br />Retype new password:     <br />passwd: all authentication tokens updated successfully.</p>
<p><b></b></p>
<p><b>Set Kernel Parameters</b></p>
<p>Cut and paste the following commands while logged in as root into a script and run it or directly at a terminal prompt: </p>
<p>cat &gt;&gt; /etc/sysctl.conf &lt;&lt;EOF    <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648</p>
<p>kernel.shmmni = 4096    <br />kernel.sem = 250 32000 100 128     <br />fs.file-max = 65536     <br />net.ipv4.ip_local_port_range = 1024 65000     <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304</p>
<p>net.core.wmem_max = 1048576    <br />EOF     <br />/sbin/sysctl -p</p>
<p>The output should be:    <br />net.ipv4.ip_forward = 0     <br />net.ipv4.conf.default.rp_filter = 1     <br />net.ipv4.conf.default.accept_source_route = 0     <br />kernel.sysrq = 0     <br />kernel.core_uses_pid = 1     <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648     <br />kernel.shmmni = 4096     <br />kernel.sem = 250 32000 100 128     <br />fs.file-max = 65536     <br />net.ipv4.ip_local_port_range = 1024 65000     <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304</p>
<p>net.core.wmem_max = 1048576</p>
<p>Next run the following commands as root to verify your settings: </p>
<p>/sbin/sysctl -a | egrep “shm|sem|file-max|ip_local_port_range| rmem_default|rmem_max|wmem_default|wmem_max”</p>
<p>The output should be:</p>
<p>net.ipv4.ip_local_port_range = 1024 65000    <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304     <br />net.core.wmem_max = 1048576     <br />vm..hugetlb_shm_group = 0     <br />kernel.sem = 250 32000 100 128     <br />kernel.shmmni = 4096     <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648     <br />fs.file-max = 65536</p>
<p><b></b></p>
<p><b>Create Directories</b></p>
<p>Now create directories to store the Oracle software and the database files (again as root in the same window):</p>
<p>mkdir -p /u01/app/oracle    <br />chown -R oracle:oinstall /u01/app     <br />chmod -R 775 /u01/app</p>
<p><b></b></p>
<p><b>Set Shell Limits for Oracle User</b></p>
<p>An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:</p>
<p>cat &gt;&gt; /etc/security/limits.conf &lt;&lt;EOF1    <br />oracle soft nproc 2047     <br />oracle hard nproc 16384     <br />oracle soft nofile 1024     <br />oracle hard nofile 65536     <br />EOF1     <br />cat &gt;&gt; /etc/pam.d/login &lt;&lt;EOF2     <br />session required /lib/security/pam_limits.so     <br />EOF2     <br />cat &gt;&gt; /etc/profile &lt;&lt;EOF3     <br />if [ \$USER = &quot;oracle&quot; ]; then     <br />if [ \$SHELL = &quot;/bin/ksh&quot; ]; then     <br />ulimit -p 16384     <br />ulimit -n 65536     <br />else ulimit -u 16384 -n 65536     <br />fi     <br />umask 022     <br />fi     <br />EOF3     <br />cat &gt;&gt; /etc/csh.login &lt;&lt;EOF4     <br />if ( \$USER == &quot;oracle&quot; ) then     <br />limit maxproc 16384     <br />limit descriptors 65536     <br />umask 022     <br />endif     <br />EOF4</p>
<p>Now the OS is ready for the Oracle Software installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating A CentOS 5.2 64 bit Virtual machine using VMware 2.0 &#8211; Part 2</title>
		<link>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:16:55 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[VMware 2.0]]></category>
		<category><![CDATA[Creating a Virtual Machine in VMware 2.0]]></category>
		<category><![CDATA[Installing CentOS 64 bit in VMware]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/</guid>
		<description><![CDATA[Now that you have created you new virtual machine we need to get it ready to install CentOS and eventually Oracle on to it.
Lets add some more disks:

One for the Oracle installation (8 gig) 
4 for 2 mirrored ASM Disk Groups (10 gig) 

Hopefully you remember how to log in a get to look at [...]]]></description>
			<content:encoded><![CDATA[<p>Now that you have created you new virtual machine we need to get it ready to install CentOS and eventually Oracle on to it.</p>
<p>Lets add some more disks:</p>
<ul>
<li>One for the Oracle installation (8 gig) </li>
<li>4 for 2 mirrored ASM Disk Groups (10 gig) </li>
</ul>
<p>Hopefully you remember how to log in a get to look at your virtual machine you created in <a href="http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/">Part 1</a></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image11.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb11.png" width="244" height="135" /></a> </p>
<blockquote><p><strong><font size="4">Adding Hard disks to your Virtual Machine</font></strong></p>
<p>Under the Commands section click the Add Hardware Link.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb12.png" width="244" height="135" /></a></p>
<p>Click Add Hard Disk</p>
<p>Click Next – Choose the size of the disk you want to create</p>
<p>For the Oracle 11g installation with ASM I am creating an 8 gig disk for the Oracle installation and four 10 gig disks to be used as ASM Disk Groups</p>
<p>Repeat this step until all necessary disks are created</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image13.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb13.png" width="244" height="135" /></a>&#160; </p>
<p>Now your Hard disks are created and you are ready to move on</p>
</blockquote>
<p>&#160;</p>
<p><strong><font size="4">Starting up your Virtual Machine</font></strong></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image14.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb14.png" width="244" height="135" /></a>&#160;&#160; Select your Virtual Machine and either click the Green arrow or under commands – select Power On</p>
<p>Once your Virtual machine is powered up Click on the Console tab</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb15.png" width="244" height="135" /></a> </p>
<p>Then click on the Screen to luanch the virtual machine Screen</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb16.png" width="244" height="193" /></a> </p>
<blockquote><p><font style="background-color: #ffffff" size="4"><strong>Installing CentOS 5.2 64 bit on your Virtual Machine</strong></font></p>
<p><font style="background-color: #ffffff" size="1">At this point you should either insert your CentOS Installation CD/DVD in your Drive or click the CD icon in the lower right corner and select your CentOS ISO.</font></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image17.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb17.png" width="244" height="202" /></a> Press Enter to start your Installation</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb18.png" width="244" height="155" /></a>&#160; I skip the media check</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image19.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb19.png" width="244" height="199" /></a> Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb20.png" width="244" height="199" /></a> I speak English so… Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image21.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb21.png" width="244" height="199" /></a> …&#160; English Keyboard … NEXT</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb22.png" width="244" height="199" /></a> Select Yes – This is the Drive we are installing CentOS on… gotta format it.. Don’t worry there isn’t any data on it.&#160; Remember we just created it at the top of this post</p>
<p>Repeat the YES selection for all the drives you Created.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image23.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb23.png" width="244" height="199" /></a> Deselect all the Drives other then the one your planning on using for your installation.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb24.png" width="244" height="199" /></a> Check the box for Review and Modify Partition Layout / Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image25.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb25.png" width="244" height="199" /></a>&#160; Select yes to deleting all data</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image26.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb26.png" width="244" height="199" /></a> Create the /u01 Partition on sdb filling it to maximum size</p>
<p>Create a partition on sda for /tmp size it at a minimum of 1024mb</p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image27.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb27.png" width="244" height="199" /></a></p>
<p>Leave the Grub Boot Loader (Defualt setting) – Click Next</p>
<p>I am Using NAT so I have left the defualt network setting of DHCP</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image28.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb28.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select your appropriate time zone</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image29.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb29.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Set your Root password</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image30.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb30.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select your Installation type:</p>
<ul>
<li>Desktop Gnome </li>
<li>Server </li>
<li>Customize Now </li>
</ul>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image31.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb31.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select the Development tools</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image32.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb32.png" width="244" height="199" /></a> </p>
<p>Click Next </p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image33.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb33.png" width="244" height="199" /></a> </p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image34.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb34.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image35.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb35.png" width="244" height="199" /></a> </p>
<p>&#160;</p>
<p>&#160;</p>
</blockquote>
<p><strong><font size="4">&#160;</font></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating A CentOS 5.2 64 bit Virtual machine using VMware 2.0 &#8211; Part 1</title>
		<link>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/</link>
		<comments>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 03:44:00 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[VMware 2.0]]></category>
		<category><![CDATA[Creating a Virtual Machine in VMware 2.0]]></category>
		<category><![CDATA[Installing CentOS 64 bit in VMware]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/</guid>
		<description><![CDATA[&#160;
Start the VMware Server Homepage
&#160;

Log In
 
Click The Virtual Machines Tab 
Creating A New Virtual Machine

Then Click Create Virtual Machine
 
Change the name of the virtual machine
 
Click Next
Select Linux Operating System
Then Select – Other 2.6x Linux (64 bit)
 
Click Next
If Planning to install Oracle later you need to up the amount of RAM dedicated [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Start the VMware Server Homepage</p>
<p>&#160;</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb.png" width="244" height="135" /></a></p>
<p>Log In</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb1.png" width="244" height="135" /></a> </p>
<p>Click The Virtual Machines Tab </p>
<blockquote><p><font style="background-color: #ffffff" size="4"><strong>Creating A New Virtual Machine</strong></font></p>
<p><font style="background-color: #ffffff"></font></p>
<p><font style="background-color: #ffffff">Then Click Create Virtual Machine</font></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb2.png" width="244" height="135" /></a> </p>
<p>Change the name of the virtual machine</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb3.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>Select Linux Operating System</p>
<p>Then Select – Other 2.6x Linux (64 bit)</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb4.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>If Planning to install Oracle later you need to up the amount of RAM dedicated to the virtual machine.&#160; I suggest 1024MB or Higher.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb5.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb6.png" width="244" height="135" /></a> </p>
<p>Select create a new virtual disk.&#160; Select the size you would like for your new Virtual disk.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image7.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb7.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>Click Add a Network Adapter</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb8.png" width="244" height="135" /></a> </p>
<p>You can then select the type of networking you need: Bridged, NAT, or Host Only</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image9.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb9.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>CD/DVD Drive – I recommend using the Physical device</p>
<p>Click Next</p>
<p>Floppy Drive – Don’t install a floppy – Unless you have a physical device or floppy images you plan on using</p>
<p>Click next</p>
<p>USB Controller – I used default setting for the USB Controller</p>
<p>Click next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb10.png" width="244" height="135" /></a>&#160; </p>
<p>Click Finish</p>
<p>You have now created the virtual Machine to install CentOS on.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting Shell Limits for Oracle User on CentOS 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 22:12:32 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=13</guid>
		<description><![CDATA[Set Shell Limits for Oracle User
An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:
 
cat &#62;&#62; /etc/security/limits.conf &#60;&#60;EOF1
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF1
cat &#62;&#62; /etc/pam.d/login &#60;&#60;EOF2
session [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><strong><span style="font-size: x-small;">Set Shell Limits for Oracle User</span></strong></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/security/limits.conf &lt;&lt;EOF1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle soft nproc 2047</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle hard nproc 16384</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle soft nofile 1024</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle hard nofile 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF1</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/pam.d/login &lt;&lt;EOF2</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">session required /lib/security/pam_limits.so</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF2</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/profile &lt;&lt;EOF3</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if [ \$USER = "oracle" ]; then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if [ \$SHELL = "/bin/ksh" ]; then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">ulimit -p 16384 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">ulimit -n 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">else ulimit -u 16384 -n 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fi </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">umask 022</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fi</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF3</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/csh.login &lt;&lt;EOF4</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if ( \$USER == &#8220;oracle&#8221; ) then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">limit maxproc 16384 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">limit descriptors 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">umask 022</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">endif</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF4</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Kernel Parameters for Oracle 11g on Redhat EL &amp; CentOS 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 22:10:36 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=11</guid>
		<description><![CDATA[Set Kernel Parameters
Cut and paste the following commands while logged in as root into a script and run it or directly at a terminal prompt: 
 
cat &#62;&#62; /etc/sysctl.conf &#60;&#60;EOF
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
EOF
/sbin/sysctl -p
 
The output [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><strong><span style="font-size: x-small;">Set Kernel Parameters</span></strong></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">Cut and paste the following commands while logged in as root into a script and run it</span></span><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> or directly at a terminal prompt</span></span><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">: </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/sysctl.conf &lt;&lt;EOF</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmall = 2097152</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmax = </span></span><span style="font-family: 'Courier New';"><span style="font-size: x-small;">2147483648</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmni = 4096</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sem = 250 32000 100 128</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fs.file-max = 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_local_port_range = 1024 65000</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_default = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_default = 262144</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_max = 4194304</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">1048576</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">/sbin/sysctl -p</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">The output should be:</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_forward = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.conf.default.rp_filter = 1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.conf.default.accept_source_route = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sysrq = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.core_uses_pid = 1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmall = 2097152</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmax = </span></span><span style="font-family: 'Courier New';"><span style="font-size: x-small;">2147483648</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmni = 4096</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sem = 250 32000 100 128</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fs.file-max = 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_local_port_range = 1024 65000</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_default = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_default = 262144</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">1048576</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Environment Variables for Oracle 11g on Centos 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 19:24:08 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Environment Variables]]></category>

		<guid isPermaLink="false">http:/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
