Today for some testing I have to install Oracle Application Server on centos. Following steps will guide you regarding installing Oracle Application server on CentOS.
Please go to the Note section to know the problems I faced at the time of installation.
Click on the screenshots for better resolution.

1. First add user from which you are going to start installation.

useradd oracle
groupadd oracle

2. Installing dependencies

yum install -y gcc xorg-x11-deprecated-libs

3. Create a folder for Oracle Application server installation and assign permission to it.

mkdir /app
chown oracle:oracle /app

4. Download the installer from http://edelivery.oracle.com to /tmp/install location and Unzip the installer

cd /tmp/install
cat soa_linux_x86_101310_disk1.cpio | cpio -idmv

5. Now run the installer

./runInstaller -ignoreSysPrereqs

6. Specify the Installation Directory as /app/oracle/product/10.1.3.1/OracleAS_1 and choose Advanced Install option

7. It will give you Advanced Installation Warning, click Yes to go ahead.

8. On Specify Inventory directory and credentials in inventory directory enter /home/oracle/oraInventory. In operating system group select oracle and click on next.

9. Now run /home/oracle/oraInventory/orainstRoot.sh as a root user in another terminal and then click on continue button.

10. In Next you will get the progress bar:

11. In installation type select J2EE Server and Web Server.

12. In prerequisite checks it will show you warning, avoid that and click on Next.

13. In Specify Port configuration select automatic and click on next.

14. In Administration Settings, provide AS Instance Name, AS Administrative Password. You required this password to access Oracle Application Server admin console.
Also check Configure this as an Administration OC4j instance.

15. We are doing basic setup so in cluster topology screen don’t choose anything.

16. In summary page cross verify the details and then click on Install button.

17. Now you will see Installation Progress screen.

18. Now you will again need to run /app/oracle/product/10.1.3.1/OracleAS_1/root.sh script as a root user. After running the script click on ok

19. Now you will get End of installation screen there you will see Oracle Application server admin console url. In my case it is
http://centos.home.network:7777/

20. To access Oracle Application server admin console enter http://ip:7777/em in your browser. You need to put password specified in step 14

21. If everything goes well you will get following screen.

Note:
At the time of installation I have faced following problems:

java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-06-29_11-04-15PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or direct

For above error I have to install xorg-x11-deprecated-libs

error in invoking target ‘ntcontab.o’ of makefile OracleAS_1/network/lib/ins_net_client.mk

For above error I have to install gcc

/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
The above error came while starting http server from opmn.

To solve this run,

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Installing Oracle Application Server on CentOS

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recommend on Google