1. double click the oracle 10g
installation file. it will check some dependencies. if some files are
missing it will let you know. depending on that you have to install
some more packages. it is almost certain that you will need libaio1
package. if it is required then just install it from the deb file you
just downloaded. if there are no dependencies to be satisfied then
install the package.
2. after the installation is finished you need to configure it. for that open the terminal and type
2. after the installation is finished you need to configure it. for that open the terminal and type
- Code: Select All
-
/etc/init.d/oracle-xe configure
3. Now you have to add it to the bash. in the terminal type
- Code: Select All
-
sudo gedit ~/.bashrc
- Code: Select All
-
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH
4. At the time of login you will see a new account. dont worry by seeing it. now after logging into your normal account move to system>administration>user and groups. there select and enable that new account and set a password for that. now click on the manage group option. you will see a list of groups . select dba and click on properties. check your account and that new account (probably it will be named as oracle).
5. reboot it again. now login into that new account or your own account and start the database by applications>oracle database(something like that)>start database.
you can now access the database. for testing paste this link to the browser
http://127.0.0.1:8080/apex
6. for giving sql command just type the following in the terminal
- Code: Select All
-
sqlplus sys as sysdba
it will ask for the password. give it
Comments
Post a Comment