Using Oracle 10G for the first time in ubuntu 5 5 3

Using Oracle 10G for the first time in ubuntu

View previous topic View next topic Go down

Using Oracle 10G for the first time in ubuntu

Post by BIT0122-Amit on Wed Aug 04, 2010 5: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 Sat Aug 07, 2010 9:10 pm; edited 1 time in total

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6601

View user profile http://iitdu.forumsmotion.com

Back to top Go down

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

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

Thanks a lot..

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী

BIT0112-Rokon
Programmer
Programmer

Course(s):
  • BIT

Blood Group: O+
Posts: 673
Points: 1269

View user profile http://blog.codexplo.org

Back to top Go down

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

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

vote koi :/

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6601

View user profile http://iitdu.forumsmotion.com

Back to top Go down

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

Post by BIT0104-ANIK on Wed Aug 04, 2010 10:47 pm

eije vote +++

_________________________________________________________________
Buddhong shoronogocchami..
dhommong shoronogocchami..
shonghong shoronogocchami..
Jogoter sokol prani.. shukhi hok.

BIT0104-ANIK
Administrator
Administrator

Course(s):
  • BIT

Blood Group: O+
Posts: 423
Points: 699

View user profile http://anikstech.blogspot.com

Back to top Go down

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

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

Very Happy Very Happy thanku thanku

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6601

View user profile http://iitdu.forumsmotion.com

Back to top Go down

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

Post by BIT0129-Tabassum on Sat Oct 16, 2010 10:16 pm

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
Global Moderator
Global Moderator

Course(s):
  • BIT

Blood Group: A+
Posts: 1496
Points: 2297

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

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

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

rep++

BIT0119-Asif
Study Moderator
Study Moderator

Course(s):
  • BIT

Blood Group: B+
Posts: 163
Points: 432

View user profile

Back to top Go down

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

Post by BIT0122-Amit on Sat Nov 06, 2010 7: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

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6601

View user profile http://iitdu.forumsmotion.com

Back to top Go down

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

Post by BIT0129-Tabassum on Sat Nov 06, 2010 10:13 pm

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
Global Moderator
Global Moderator

Course(s):
  • BIT

Blood Group: A+
Posts: 1496
Points: 2297

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

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

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

A sorry goes to Asif then Smile

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

BIT0122-Amit
Founder
Founder

Course(s):
  • BIT

Blood Group: O+
Posts: 4187
Points: 6601

View user profile http://iitdu.forumsmotion.com

Back to top Go down

View previous topic View next topic Back to top


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