IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using Oracle 10G for the first time in ubuntu

5 posters

Go down

Using Oracle 10G for the first time in ubuntu Empty Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit Wed Aug 04, 2010 9:24 pm

I assume you have installed oracle 10G using the tutorial from here

This instruction can be used for all versions of Oracle such as lite, XE or full:)

now, you can login as sys, or sysdba, but you won't be able to do the database related tasks. It is because the example databases are under the user HR which is locked.

But fear not, this tutorial is going to show you the way about how to enable the HR user and then use it. Very Happy

Enabling the HR user:

Execute the following commands after you start "Run SQL command line" from oracle menu from applications.
Code:

conn sys as sysdba;
It will ask for password, enter iit123
To be sure that you are really sys, enter this command:
Code:

show user;
if the output is

user is "SYS"
you are really sys now.

now execute the following commands:

Code:

alter user HR account unlock ;
alter user HR identified by iit123;
exit


Now, HR is unlocked and you are out of sqlplus window. Open a terminal, you can now login as HR using this command:
Code:

sqlplus HR

it will ask for your password, enter iit123
Now, you can do all the commands mentioned in book.
How about starting with:

Code:

select * from employees;

Very Happy Enjoy!

NOTE:

I have checked and double checked the instructions myself. I went to the
trouble of uninstalling Squirrel and then reinstalling it again so that
i can take the screenshots in each steps. If it does not work for you,
there is probably something wrong. And remember, starting database is a
lengthy process. Wait at least 2 minutes before you panic and start
shouting "HELP! it is not working!! I can't connect!!" .



Go to http://127.0.0.1:8080/apex and see if your page loads. If it does
not load, It means your oracle database is still being opened, mounted,
instantiated etc etc. Still if you can't connect.. you probably did
something wrong. Post the details under this topic, and we will see what
we can do for you.


Last edited by BIT0122-Amit on Sun Aug 08, 2010 1:10 am; edited 1 time in total
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0112-Rokon Wed Aug 04, 2010 10:00 pm

Thanks a lot..
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit Wed Aug 04, 2010 10:01 pm

vote koi :/
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0104-ANIK Thu Aug 05, 2010 2:47 am

eije vote +++
BIT0104-ANIK
BIT0104-ANIK
Administrator
Administrator

Course(s) :
  • BIT

Blood Group : O+
Posts : 423
Points : 699

http://anikstech.blogspot.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit Thu Aug 05, 2010 2:49 am

Very Happy Very Happy thanku thanku
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0129-Tabassum Sun Oct 17, 2010 2:16 am

Thanks for the nice instructions! Very Happy

rep++

Oops..its not here No
Just forgot that, voting has been removed Mad
missing that Sad

By the way, I faced problem 1st time due to "starting database is a
lengthy process." Razz
But now its working properly.
BIT0129-Tabassum
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

http://probe-tabassum.blogspot.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0119-Asif Sat Nov 06, 2010 4:14 pm

rep++
BIT0119-Asif
BIT0119-Asif
Study Moderator
Study Moderator

Course(s) :
  • BIT

Blood Group : B+
Posts : 163
Points : 432

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit Sat Nov 06, 2010 10:28 pm

That's really weird Neutral three people said rep++, and only 2 in the counter Neutral

Asif, you didn't think that just saying rep++ will do the clicking( on + ) for you, right? Razz
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0129-Tabassum Sun Nov 07, 2010 1:13 am

May be Asif has given the vote. But I couldn't Neutral

Thanks for the nice instructions! Very Happy

rep++

Oops..its not here No
Just forgot that, voting has been removed Mad
missing that Sad

Now I am giving your vote Very Happy

rep++
BIT0129-Tabassum
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

http://probe-tabassum.blogspot.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit Sun Nov 07, 2010 3:24 am

A sorry goes to Asif then Smile
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Using Oracle 10G for the first time in ubuntu Empty Re: Using Oracle 10G for the first time in ubuntu

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum