Installing Oracle XE Centos 6


We need some small Oracle application writing and have choosen APEX and it fairly easy to use and also FREE 🙂 always a good thing. To start out we are going to use the Oracle XE version to start us off and if need be install on the live Oracle server.

So the build is in Vmware as always and the OS will be Centos 6, trying to keep up with the newest releases.

Download the Oracle XE client and server from the Oracle web site, I am not includin a link as it is your choice which one you want. I am installing:

oracle-xe-client-10.2.0.1-1.0.i386

oracle-xe-10.2.0.1-1.0.i386

Once downloaded then

rpm -iv oracle-xe-client-10.2.0.1-1.0.i386.rpm

rpm -iv oracle-xe-10.2.0.1-1.0.i386.rpm

You may get the following error

error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key

If you do then

yum install bc libc.so.6 libaio.so.1

This install the relevant packages required by Oracle.

 

To install Oracle

rpm -iv oracle-xe-10.2.0.1-1.0.i386.rpm

/etc/init.d/oracle-xe configure

 

This will start the configuration.

Oracle Database 10g Express Edition Configuration
————————————————-
This will configure on-boot properties of Oracle Database 10g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]: Take the default

Specify a port that will be used for the database listener [1521]:Take the default

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:Enter a strong password

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener…Done
Configuring Database…Done
Starting Oracle Database 10g Express Edition Instance…Done
Installation Completed Successfully.
To access the Database Home Page go to “http://127.0.0.1:8080/apex&#8221;

 

To ensure Oracle is started

service oracle-xe start

Starting Oracle Database 10g Express Edition Instance.

 

 

 

 

Advertisements

2 Comments on “Installing Oracle XE Centos 6”

  1. […] Amazin AWS, APEX, EC2, Oracle |Leave a comment » I have written about how to install Apex and XE on Linux, this one takes those thoughts and applies them to Amazon […]

  2. This site was… how do I say it? Relevant!! Finally I’ve found something which helped me.

    Thank you!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s