{"id":11261,"date":"2013-12-23T12:29:51","date_gmt":"2013-12-23T06:59:51","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=11261"},"modified":"2016-08-30T11:16:12","modified_gmt":"2016-08-30T05:46:12","slug":"installing-oracle-11g-on-cloud-ec2-instance-rhelcentos-6-x-through-command-line","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/installing-oracle-11g-on-cloud-ec2-instance-rhelcentos-6-x-through-command-line\/","title":{"rendered":"Installing Oracle 11g on Cloud (EC2 instance RHEL\/Centos 6.x) through command line"},"content":{"rendered":"<p>You may find many blogs on internet providing step-by-step guidelines to install Oracle 11g on RHEL\/Centos 6.x but what&#8217;s different here is, I would be discussing the installation of Oracle 11g on AWS EC2 instance through CLI in cases where you do not have access to physical system. I believe the best example to showcase this environment would be that of <a title=\"devops aws\" href=\"http:\/\/www.tothenew.com\/devops-aws\">AWS Cloud<\/a>.<br \/>\nWithout wasting any time lets jump down to the point &amp; discuss further steps.<\/p>\n<p>We use \u201c<strong>oracle-rdbms-server-11gR2-preinstall<\/strong>\u201d package offered by \u201c<strong>Oracle Public Yum<\/strong>\u201d repository.<\/p>\n<p>[shell]# cd \/etc\/yum.repos.d<br \/>\n# wgethttps:\/\/public-yum.oracle.com\/public-yum-ol6.repo[\/shell]<\/p>\n<p>Install <strong>GPG<\/strong> <strong>key<\/strong> for your OS release<\/p>\n<p>[shell]# wget https:\/\/public-yum.oracle.com\/RPM-GPG-KEY-oracle-ol6 -O \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-oracle[\/shell]<\/p>\n<p>Now install the package<\/p>\n<p>[shell]<br \/>\n# yum install oracle-rdbms-server-11gR2-preinstall<br \/>\n[\/shell]<\/p>\n<p>Setup your <strong>hostname<\/strong><\/p>\n<p>[shell]<br \/>\n# vi \/etc\/sysconfig\/network<br \/>\nHOSTNAME=oracle.intelligrape.com<br \/>\n[\/shell]<\/p>\n<p>Make an entry for fully qualified hostname in <strong>\/etc\/hosts<\/strong> file<\/p>\n<p>[shell]# vi \/etc\/hosts<br \/>\n54.xxx.xxx.xxx oracle.intelligrape.com oracle[\/shell]<\/p>\n<p>where, 54.xxx.xxx.xxx is the Elastic IP of your Oracle Instance<\/p>\n<p>Restart your network for the changes to take effect.<\/p>\n<p>[shell]# \/etc\/init.d\/network restart[\/shell]<\/p>\n<p><strong>Create a User oracle\u00a0<\/strong>&amp; specify a password for it.<\/p>\n<p>[shell]# useradd oracle<br \/>\n# passwd oracle[\/shell]<\/p>\n<p>Make the following entries in<strong> \/etc\/security\/limits.d\/90-nproc.conf<\/strong><\/p>\n<p><strong>Comment out<\/strong><\/p>\n<p>[shell]* softnproc 1024[\/shell]<\/p>\n<p><strong>Add below entry<\/strong><\/p>\n<p>[shell]* &#8211; nproc 16384[\/shell]<\/p>\n<p><strong>Disable SELinux<\/strong> on your instance<\/p>\n<p>[shell]# vi \/etc\/selinux\/config<br \/>\nSELINUX=disabled[\/shell]<\/p>\n<p>Reboot for changes to take effect<\/p>\n<p>[shell]# reboot[\/shell]<\/p>\n<p>Now <strong>login as oracle user<\/strong> &amp; make below entry in your <strong>.bash_profile<\/strong><\/p>\n<p>[shell]# su &#8211; oracle<\/p>\n<p>$ vi .bash_profile<\/p>\n<p># Oracle Settings<br \/>\n TMP=\/tmp; export TMP<br \/>\n TMPDIR=$TMP; export TMPDIR<\/p>\n<p>ORACLE_HOSTNAME=oracle.intelligrape.com; export ORACLE_HOSTNAME<br \/>\n ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME<br \/>\n ORACLE_BASE=\/u01\/app\/oracle; export ORACLE_BASE<br \/>\n ORACLE_HOME=$ORACLE_BASE\/product\/11.2.0\/dbhome_1; export ORACLE_HOME<br \/>\n ORACLE_SID=DB11G; export ORACLE_SID<br \/>\n PATH=\/usr\/sbin:$PATH; export PATH<br \/>\n PATH=$ORACLE_HOME\/bin:$PATH; export PATH<\/p>\n<p>LD_LIBRARY_PATH=$ORACLE_HOME\/lib:\/lib:\/usr\/lib; export LD_LIBRARY_PATH<br \/>\n CLASSPATH=$ORACLE_HOME\/jlib:$ORACLE_HOME\/rdbms\/jlib; export CLASSPATH export PATH[\/shell]<\/p>\n<p>Create the directories and set the appropriate permissions in which the Oracle software will be installed.<\/p>\n<p>[shell]# mkdir -p \/u01\/app\/oracle\/product\/11.2.0\/dbhome_2<br \/>\n # chown -R oracle:oinstall \/u01<br \/>\n # chmod -R 775 \/u01[\/shell]<\/p>\n<p><strong>Download Oracle Software<\/strong><br \/>\n<strong> For Linux x86-64 Systems<\/strong><\/p>\n<p>[shell]# wgethttp:\/\/download.oracle.com\/otn\/linux\/oracle11g\/R2\/linux.x64_11gR2_database_1of2.zip<br \/>\n# wgethttp:\/\/download.oracle.com\/otn\/linux\/oracle11g\/R2\/linux.x64_11gR2_database_2of2.zip<br \/>\n# su &#8211; oracle<br \/>\n$ unzip linux_11gR2_database_1of2.zip<br \/>\n$ unzip linux_11gR2_database_2of2.zip[\/shell]<\/p>\n<p>On unzipping the files a database directory will get created. Run the runInstaller script placed under database directory.<\/p>\n<p>[shell]$ cd database<br \/>\n$ .\/runInstaller[\/shell]<\/p>\n<p>On running the script you will receive errors for <strong>swap space\u00a0<\/strong>&amp; most importantly errors responding to <strong>setting up of DISPLAY Parameter<\/strong> as indicated below.<\/p>\n<p>[shell]<br \/>\nStarting Oracle Universal Installer&#8230;<br \/>\n Checking Temp space: must be greater than 120 MB. Actual 7113 MB Passed<br \/>\n Checking swap space: must be greater than 150 MB. Actual 1011 MB Passed<br \/>\n Checking monitor: must be configured to display at least 256 colors<br \/>\n &gt;&gt;&gt; Could not execute auto check for display colors using command \/usr\/bin\/xdpyinfo. Check if the DISPLAY variable is set. Failed &lt;&lt;&lt;&lt;<br \/>\n Some requirement checks failed. You must fulfill these requirements before continuing with the installation,<br \/>\n Continue? (y\/n) [n]<br \/>\n[\/shell]<\/p>\n<p><strong>Note<\/strong> : As per the above error logs swap space check is passed as I have already created one using <strong>mkswap<\/strong>command on one of the unused partition or spare volume. By default when we setup a new server instance in cloud the swap space is not present, you can check the same via<strong> free \u2013k<\/strong> command.<\/p>\n<p>Since Oracle requires a GUI environment for installation we need to provide the same externally.<\/p>\n<p>You need to install \u201cXming\u201dor any of the X environment display tools on your local Windows PC, the installation process might be pretty slow in this case might be slow as your cloud server &amp; your local PC are in different networks. In order to speed up the installation process you can install Xming on the Windows server instance which is in the same network as your Linux server, what I mean by this is that both the Linux &amp; Windows server should be present in the Cloud within the same VPC.<\/p>\n<p>Download <strong>Xming<\/strong> from http:\/\/sourceforge.net\/projects\/xming\/files\/Xming-mesa\/6.9.0.31\/Xming-mesa-6-9-0-31-setup.exe\/download<br \/>\n<strong><br \/>\nInstallation steps &amp; enabling X11 forwarding<\/strong><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11265\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding.png\" alt=\"\" width=\"502\" height=\"390\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11266\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding1.png\" alt=\"\" width=\"506\" height=\"395\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11267\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding2.png\" alt=\"\" width=\"503\" height=\"394\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11268\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding3.png\" alt=\"\" width=\"505\" height=\"393\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11269\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding4.png\" alt=\"\" width=\"503\" height=\"394\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11270\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding5.png\" alt=\"\" width=\"505\" height=\"394\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11271\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Installation-steps-enabling-X11-forwarding6.png\" alt=\"\" width=\"502\" height=\"394\" \/><\/a><br \/>\nDownload<strong> Additional fonts for Xming from download link :<a href=\"http:\/\/sourceforge.net\/projects\/xming\/files\/\">http:\/\/sourceforge.net\/projects\/xming\/files\/<\/a><\/strong><\/p>\n<p>After downloading walk down through the following steps for installation<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation.png\"><img decoding=\"async\" loading=\"lazy\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation.png\" alt=\"\" width=\"506\" height=\"395\" \/><\/a><\/p>\n<p>Now <strong>start the Xming server<\/strong> by clicking on the Desktop icon.<\/p>\n<p>\u201c<strong>Enable X11Forwarding yes<\/strong>\u201d in<strong> \/etc\/ssh\/sshd_config\u00a0<\/strong>&amp; restart the ssh service.<br \/>\n<strong>Configure X11 Forwarding in SSH Clients<\/strong><br \/>\n<strong>PuTTY SSH<\/strong><br \/>\nIn the PuTTY configuration window, select &#8220;<strong>Connection-&gt;SSH-&gt;X11<\/strong>&#8221; and make sure the &#8220;<strong>Enable X11&#8243;<\/strong> forwarding box is checked, then return to the Session category and click [Open] when you are ready to connect to the specified machine:<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11273\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation1.png\" alt=\"\" width=\"458\" height=\"446\" \/><\/a><\/p>\n<p>Once you<strong> login with your pem file as ubuntu or ec2-user<\/strong> type below command.<\/p>\n<p>[shell]$ xauth list<br \/>\n $ oracle.intelligrape.com\/unix:10 MIT-MAGIC-COOKIE-1 8ea792a81074c62518d53789faf9558d[\/shell]<\/p>\n<p>Now<strong> login as oracle<\/strong> user.<\/p>\n<p>[shell]$ su \u2013 oracle<br \/>\n $ xauth add oracle.intelligrape.com\/unix:10 MIT-MAGIC-COOKIE-1 8ea792a81074c62518d53789faf9558d[\/shell]<\/p>\n<p>Now go to the unzipped <strong>database<\/strong> directory &amp; run <strong>runInstaller<\/strong>script.<\/p>\n<p>[shell]$ cd database<br \/>\n$ .\/runInstaller[\/shell]<\/p>\n<p><strong> Note<\/strong> :Now the runInstaller script will make use of your local Windows PC for the DISPLAY_PARAMETER error faced earlier for enabling the 256 colors required for launching the oracle GUI for installation.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11274\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation2.png\" alt=\"\" width=\"628\" height=\"446\" \/><\/a><\/p>\n<p>Press \u201c<strong>Continue<\/strong>\u201d for resuming the Oracle installation<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11275\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation3.png\" alt=\"\" width=\"628\" height=\"481\" \/><\/a><\/p>\n<p>Click Yes to continue installation<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11283\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation4.png\" alt=\"\" width=\"401\" height=\"233\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11277\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/Xming-Installation5.png\" alt=\"\" width=\"401\" height=\"237\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11278\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/1.png\" alt=\"\" width=\"403\" height=\"240\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11279\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/2.png\" alt=\"\" width=\"401\" height=\"238\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11280\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/3.png\" alt=\"\" width=\"392\" height=\"203\" \/><\/a><\/p>\n<p>Click Yes to continue installation.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11281\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/4.png\" alt=\"\" width=\"401\" height=\"206\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11284\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/5.png\" alt=\"\" width=\"398\" height=\"235\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11282\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/6.png\" alt=\"\" width=\"398\" height=\"206\" \/><\/a><\/p>\n<p>The <strong>pdksh<\/strong> package is not available in <strong>Oracle repository<\/strong> due to which you need to download and install it manually.<\/p>\n<p>[shell]# wget ftp:\/\/rpmfind.net\/linux\/redhat-archive\/6.2\/en\/os\/i386\/RedHat\/RPMS\/pdksh-5.2.14-2.i386.rpm[\/shell]<\/p>\n<p>During <strong>pdksh<\/strong> package installation you may encounter conflict error of <strong>ksh<\/strong> package. Remove <strong>ksh<\/strong> package forcefully and install the <strong>pdksh<\/strong> package with given below command:-<\/p>\n<p>[shell]# rpm -e ksh-20100621-19.el6_4.4.i686 &#8211;nodeps<br \/>\n# rpm -ivh pdksh-5.2.14-2.i386.rpm[\/shell]<\/p>\n<p>In case you face any more errors you can Check\u201cIgnore All\u201d checkbox&amp; install the mentioned packages externally if required.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/7.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11285\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/7.png\" alt=\"\" width=\"401\" height=\"211\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/8.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11286\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/8.png\" alt=\"\" width=\"402\" height=\"252\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11287\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/9.png\" alt=\"\" width=\"401\" height=\"248\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/10.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11288\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/10.png\" alt=\"\" width=\"402\" height=\"184\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/11.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11289\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/11.png\" alt=\"\" width=\"403\" height=\"251\" \/><\/a><\/p>\n<p>Click on Password Management<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/12.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11290\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/12.png\" alt=\"\" width=\"402\" height=\"258\" \/><\/a><\/p>\n<p>Set <strong>password for user \u201cSYS\u201d<\/strong>&amp; click \u201c<strong>OK<\/strong>\u201d to continue.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/13.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11291\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/13.png\" alt=\"\" width=\"417\" height=\"273\" \/><\/a><\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/14.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11292\" src=\"\/blog\/wp-ttn-blog\/uploads\/2013\/12\/14.png\" alt=\"\" width=\"402\" height=\"258\" \/><\/a><\/p>\n<p>Run the following <strong>configuration scripts<\/strong><\/p>\n<p>[shell]<br \/>\n # cd \/u01\/app\/oraInventory<\/p>\n<p># .\/orainstRoot.sh[\/shell]<\/p>\n<p>Changing permissions of \/u01\/app\/oraInventory.<br \/>\nAdding read,write permissions for group.<br \/>\nRemoving read,write,execute permissions for world.<\/p>\n<p>Changing groupname of <strong>\/u01\/app\/oraInventory<\/strong> to oinstall.<br \/>\nThe execution of the script is complete.<\/p>\n<p>[shell]# cd \/u01\/app\/oracle\/product\/11.2.0\/dbhome_2\/<br \/>\n# .\/root.sh[\/shell]<\/p>\n<p>Running Oracle 11g root.sh script&#8230;<\/p>\n<p>The following environment variables are set as:<\/p>\n<p>[shell]<br \/>\nORACLE_OWNER= oracle<br \/>\nORACLE_HOME= \/u01\/app\/oracle\/product\/11.2.0\/dbhome_2<br \/>\n[\/shell]<\/p>\n<p>Enter the full pathname of the local bin directory:<\/p>\n<p>[shell]<br \/>\n[\/usr\/local\/bin]:<br \/>\nCopying dbhome to \/usr\/local\/bin &#8230;<br \/>\nCopying oraenv to \/usr\/local\/bin &#8230;<br \/>\nCopying coraenv to \/usr\/local\/bin &#8230;<br \/>\nCreating \/etc\/oratab file&#8230;<br \/>\n[\/shell]<\/p>\n<p>Entries will be added to the \/etc\/oratab file as needed by\u00a0Database Configuration Assistant when a database is created.<\/p>\n<p>Finished running generic part of root.sh script.<\/p>\n<p>Now product-specific root actions will be performed.<\/p>\n<p>Finished product-specific root actions.<\/p>\n<p>Installation of Oracle database is Successful;<\/p>\n<p>&lt;a href=&#8221;\/blog\/wp-ttn-blog\/uploads\/2013\/12\/15.png&#8221;&gt;&lt;img class=&#8221;alignnone size-full wp-image-11293&#8243; title=&#8221;15&#8243; src=&#8221;\/blog\/wp-ttn-blog\/uploads\/2013\/12\/15.png&#8221; alt=&#8221;&#8221; width=&#8221;402&#8243; height=&#8221;251&#8243; \/&gt;&lt;\/a&gt;<\/p>\n<p>In order to check whether oracle is installed login as oracle user.<\/p>\n<p>[shell]$ export ORACLE_SID=orcl<\/p>\n<p>$ sqlplus \/ as sysdba<br \/>\n SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 24 01:37:49 2013<\/p>\n<p>Copyright (c) 1982, 2009, Oracle. All rights reserved.<br \/>\n Connected to:<br \/>\n Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 &#8211; 64bit Production<br \/>\n With the Partitioning, OLAP, Data Mining and Real Application Testing options<\/p>\n<p>SQL&gt;[\/shell]<\/p>\n<p>This completes the installation. Enjoy!!!!!<\/p>\n<p>Hopefully the above mechanism will work on other Cloud environments as well.<\/p>\n<p>Work Hard\u2026..Party Harder\u2026\u2026\u2026\u2026\uf04a\uf04a\uf04a!!!!!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may find many blogs on internet providing step-by-step guidelines to install Oracle 11g on RHEL\/Centos 6.x but what&#8217;s different here is, I would be discussing the installation of Oracle 11g on AWS EC2 instance through CLI in cases where you do not have access to physical system. I believe the best example to showcase [&hellip;]<\/p>\n","protected":false},"author":91,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":87},"categories":[1174,2348],"tags":[1172,248,1259],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/11261"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=11261"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/11261\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=11261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=11261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=11261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}