Installing Oracle Database 11g XE on Fedora 17/18
The following are the steps to install a Oracle 11g in fedora.
Step1: Downloading the Software
Download the oracle-xe-11.2.0-1.0.x86_64.rpm.zip file from follwing url
Step2: Extracting the content
Extract the zip into any location. Here i am extracting the above zip into following location.
[ranga@ranga Disk1]$ pwd
/home/ranga/install/Disk1
[ranga@ranga Disk1]$ ls
oracle-xe-11.2.0-1.0.x86_64.rpm response upgrade
[ranga@ranga Disk1]$
Step3: Install libaio
[root@ranga Disk1]# yum install libaio
Step4: Installing the oracle by using rpm command.
[root@ranga Disk1]# rpm -i oracle-xe-11.2.0-1.0.x86_64.rpm
Preparing... ########################################### [100%] 1:oracle-xe ########################################### [100%] Executing post-install steps... You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
Your installation done but u need configure
Step5: Configuring the database
[root@ranga Disk1]# /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 <enter> to accept the defaults. Ctrl-C will abort. Specify the HTTP port that will be used for Oracle Application Express [8080]: 9090 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]:y Starting Oracle Net Listener...Done Configuring database...Done Starting Oracle Database 11g Express Edition instance...Done Installation completed successfully.
In the above configuration, i am given port number is 9090 by default 8080 and database listener is same and you need to enter SYS or SYSTEM password. If you want while booting it self starting the database your giving 'y' in boot option. Finaly your database configured successfully. This installation created under /u01 directory.
Starting the Database manually :
To start the database manually, run this command as root user:
# /etc/init.d/oracle-xe start
or
or
# /usr/lib/oracle/xe/app/oracle/product/11.2.0/server/bin/lsnrctl start
Stopping the Database manually:
To stop the database manually, run the following command as root user:
# /etc/init.d/oracle-xe stopUn Install the Oracle 11g:
Step1: First you need to check which oracle version is installed.
[ranga@ranga ~]$ rpm -qa | grep oracle
oracle-xe-11.2.0-1.0.x86_64
Step2: Uninstall the oracle by using rpm -e with which version it is installed.
[ranga@ranga ~]$ rpm -e
oracle-xe-11.2.0-1.0.x86_64
0 comments:
Post a Comment