Install Oracle XE On Oracle Linux 7

goal of this tutorial is the installation of oracle-xe-11.2.0-1.0.x86_64 on Oracle Linux 7.
we must first download of oracle-xe-11.2.0-1.0.x86_64 from Oracle select the oracle-xe-11.2.0-1.0.x86_64.rpm.zip

1-- unzip the 'oracle-xe-11.2.0-1.0.x86_64.rpm.zip' through the command unzip
it will create a Folder Disk1
[akh@localhost Downloads]$ unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
Archive: oracle-xe-11.2.0-1.0.x86_64.rpm.zip
creating: Disk1/
creating: Disk1/upgrade/
inflating: Disk1/upgrade/gen_inst.sql
creating: Disk1/response/
inflating: Disk1/response/xe.rsp
inflating: Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm


2-- Change Directory to Disk1
[akh@localhost Downloads]$ cd Disk1/
[akh@localhost Disk1]$ ls
oracle-xe-11.2.0-1.0.x86_64.rpm response upgrade


3-- we can now installing 'oracle-xe' withe the command rpm -ivh
[akh@localhost Disk1]$ rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:oracle-xe-11.2.0-1.0 ################################# [100%]
Executing post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.


4-- Oracle-XE configuration
[root@localhost /]# /etc/init.d/oracle-xe configure
Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g 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 to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:8085
Specify a port that will be used for the database listener [1521]:
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:
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:n
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

5-- Setting the Oracle Database XE Environment Variables
After you have installed and configured Oracle Database XE, users must set their environment
before they use Oracle Database XE. They do not need to log on with root permissions to do so.
Oracle Database XE provides a script that sets the necessary environment variables.

Go to the following directory:
/u01/app/oracle/product/11.2.0/xe/bin
Look for the following script:
oracle_env.sh
the content of oracle_env.sh looks like:


Run the script in your shell:
. ./oracle_env.sh
You may also want edit your login or profile files so that these environment variables are set properly each time you log in or open a new shell.
enter the following line into the .bash_profile:
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
if you have not found the .bash_profile, then do the following:


6-- Starting Oracle Database XE
After you have installed Oracle Database XE, the database is up and running and you can begin using it right away, as follows:
If the database is currently stopped, start it as follows: click the Main menu (on Gnome) or the Applications menu (on KDE), then Oracle
Database 11g Express Edition, and then click Start Database.

Go to the Main menu (on Gnome) or the Applications menu (on KDE), then Oracle Database 11g Express Edition, and then click Run SQL Command Line.
Connect to the database using the user name SYSTEM, and supply the password that you created during configuration.

To start the database manually, run this command as root user:
# /etc/init.d/oracle-xe start

To stop the database manually, run the following command as root user:
# /etc/init.d/oracle-xe stop


continue with: Install jdeveloper Studio 11 on oracle Linux 7