Install Oracle Express Oracle Linux 6

Install Oracle Express Oracle Linux 6

Install Oracle Express Oracle Linux 6

Preparing Oracle Enterprise Linux
Disk/Swap Setup

df -h on Oracle Linux 6 with a 1.9T /opt logical volume for Oracle XE

As you can see we have root VG for the OS (60GB)
/home Volume Group for user accounts (10GB)
And /opt (where oracle installs, we have allocated 1.9TB in this instance)
** You Also NEED at least 2GB of Swap Space to install Oracle Express ***

Yum –y update (make sure your kernel is up to date)

yum -y update transaction summary, 47 packages to upgrade

By Default there is a lot of packages missing from OEL

Stop and Disable the Firewall on startup

chkconfig iptables off and service iptables stop on Oracle Linux 6

Stop and Disable SELinux
Vi /etc/selinux/config

/etc/selinux/config with SELINUX=disabled

Reboot once all Kernel, SELinux, and Firewall Tables Changes have been made

Installing Oracle Express 11gR2
Search for the Pre-Install with “yum search oracle-rdbms-server-11gR2-preinstall

yum search oracle-rdbms-server-11gR2-preinstall finding the preinstall package

Install it with “yum install oracle-rdbms-server-11gR2-presinstall”

yum install oracle-rdbms-server-11gR2-preinstall with its dependency list

Lots of dependencies

Preinstall package and 36 dependencies installed, Complete!

Done!
*** Create a SYMLINK for the path to be re-directed to /opt ***
Ln –s  /opt /u01
ln -s /opt /u01 creating the symlink
CD to the NFS Directory Where Oracle Is Stored (or download fresh from oracle.com)

ls in the Oracle-Express directory showing oracle-xe-11.2.0-1.0.x86_64.rpm

Rpm –ivh for the rpm package

rpm -ivh installing oracle-xe-11.2.0 and the post-install message to run oracle-xe configure
If all goes well, we should get this, follow the prompt

/etc/init.d/oracle-xe configure asking for the APEX HTTP port 8080

Go with the defaults for all, by hitting enter

oracle-xe configure prompts for HTTP port 8080 and listener port 1521

Enter a SYS or SYSTEM password

Setting the SYS and SYSTEM password and enabling Oracle XE at boot

You more than likely want this to start on boot

It will sit on “Starting Oracle Net Listener” “and Configuring database….” For a few minutes

Starting Oracle Net Listener Done, Configuring database in progress

Done!

Oracle Database 11g Express Edition configuration completed successfully
Total Disk Space:

1.7GB (can use command du-sh /* to find out the space)

Now we just need to allow remote access

ls of /u01/app/oracle/product/11.2.0/xe/bin with the oracle_env.sh script

Cd /u01/app/oracle/product/11.2.0/xe/bin
Username: system
Password: password specified in the setup earlier

./sqlplus logged in as system to Oracle Database 11g Express Edition

Issue the following SQL command:

Same sqlplus session connected as system, ready for the SQL command

Now go to “serverip:8080” (or whatever port specified)

Browser login for Oracle XE on port 8080 with user name sys

Enter the Sys password

Oracle Database XE 11.2 home page with Storage, Sessions and Parameters

Viola!

Ready to Start Using Oracle XE 11.2,Exit is the command to exit Oracle.

That’s it!

To Get a Hosted Oracle Linux Server visit www.zwiegnet.com/go today

Related guides: Mount SAN Volume Oracle Linux | Expand SAN LUN Oracle Linux 6

Leave a Reply

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