Installing Oracle 10g Express Edition on Windows Operating system

AID: 8309
  • Status: Published

1480 points

  • Byslobaray
  • TypeTutorial
  • Posted on2011-10-16 at 10:13:02
This article will show you how to install Oracle Database 10g Express Edition step by step and unlocking 'HR' user
which is provided by Oracle by default once we install 10g Express Edition.

For installing Oracle 10g express edition we need to get the setup file from Oracle website i.e.

http://www.oracle.com/technetwork/database/express-edition/downloads/102xewinsoft-090667.html

I am using Windows version of operating system.

Once downloaded run the executable file. After which we will be prompt by Welcome message as like below fig:

 
Fig1.jpg
  • 28 KB
  • Fig1
Fig1


Then read the express edition license agreement and then click next :

 
Fig2.jpg
  • 41 KB
  • Fig2
Fig2


Now we need to select the destination where we need to install Oracle Express Edition, as here I have kept the default " C:\ " drive and click next:

 
Fig3.jpg
  • 39 KB
  • Fig3
Fig3


Once clicked next we will be prompted to enter new password for our SYS and SYSTEM database account:

 
Fig4.jpg
  • 32 KB
  • Fig4
Fig4


Now provide a new password and confirm it by clicking next button:

 
Fig5.jpg
  • 32 KB
  • Fig5
Fig5



Then Click on Install button to install Oracle express edition:

 
Fig6.jpg
  • 30 KB
  • Fig6
Fig6


The Installation process will show like as below:

 
Fig7.jpg
  • 22 KB
  • Fig7
Fig7

 
Fig8.jpg
  • 23 KB
  • Fig8
Fig8

 
Fig9.jpg
  • 24 KB
  • Fig9
Fig9

 
Fig10.jpg
  • 25 KB
  • Fig10
Fig10

 
Fig11.jpg
  • 24 KB
  • Fig11
Fig11


Finally you will see a message like below which confirms that the installing is done on our system:

 
Fig12.jpg
  • 26 KB
  • Fig12
Fig12


Once clicked on Finish button automatically log in to Express Edition will be prompted like as below:

 
Fig13.jpg
  • 71 KB
  • Fig13
Fig13


Let this page be like that and let us also check if I am able to log in from command prompt:

Go to start button --> Type 'CMD' on Run and click "ok" :

 
Fig14.jpg
  • 16 KB
  • Fig14
Fig14


Once you see the command prompt , type SQLPLUS and hit enter:
 
Fig15.jpg
  • 21 KB
  • Fig15
Fig15


Once entered it will ask you to provide the username and password for your database, as I am not checking the SID as this is a fresh installation and if you have already having Oracle installed on your system then check if the SID is mapped to your new installed database or not :

 
Fig16.jpg
  • 29 KB
  • Fig16
Fig16

 
Fig17.jpg
  • 31 KB
  • Fig17
Fig17

 
Fig18.jpg
  • 35 KB
  • Fig18
Fig18


Now let use check what are the users present in our database from all_users table:

 
Fig19.jpg
  • 44 KB
  • Fig19
Fig19

 
Fig20.jpg
  • 26 KB
  • Fig20
Fig20


Let us go back to internet explorer where it prompted use to provide username and password for accessing our database but as we have seen that when I logged in from command prompted then I have used the username as "sys as sysdba" but here from UI we cannot use like that we only need to pass user as "SYS" and its password what we have selected while installation:

Fig21.jpg
  • 72 KB
  • Fig21
Fig21

Fig22.jpg
  • 76 KB
  • Fig22
Fig22


Once provided the user as "SYS" and it's  password you will be able to see like the below figure:

 
Fig23.jpg
  • 81 KB
  • Fig23
Fig23


Then click on administration icon and explore it :
 
Fig24.jpg
  • 75 KB
  • Fig24
Fig24


For checking the user click on "DATABASE USER " icon :

 
Fig24.jpg
  • 75 KB
  • Fig24
Fig24


Once navigated then you will see only one user is present and its in locked status:

 
Fig25.jpg
  • 68 KB
  • Fig25
Fig25


For more information on HR user click on the HR user icon for navigation:

 
Fig26.jpg
  • 109 KB
  • Fig26
Fig26



Here you can see the account HR is been locked; now we can unlock this user ‘HR’ by few ways like:

1) Unlock the user by selecting the dropdown/ LOV in account status and click on “Alter User” button as shown in below figure (We can do this as we have logged in with SYS user / Other user having sys privileges can also unlock ):

 
Fig27.jpg
  • 109 KB
  • Fig27
Fig27



2) We can go to SQL and write the alter user command to unlock “HR” account. For going to SQL prompt you can click on “SQL” icon then you need to navigate to “SQL Commands” icon to execute the alter command as show in below figure:
 
Fig28.jpg
  • 82 KB
  • Fig28
Fig28

 
Fig29.jpg
  • 80 KB
  • Fig29
Fig29


3) Go to start menu from your desktop and select “Run SQL Command Line” , login as sys user and execute the alter command to unlock HR user as show in below figures:

Fig30.jpg
  • 111 KB
  • Fig30
Fig30

Fig31.jpg
  • 22 KB
  • Fig31
Fig31

Fig32.jpg
  • 23 KB
  • Fig32
Fig32

Fig33.jpg
  • 24 KB
  • Fig33
Fig33

Fig34.jpg
  • 26 KB
  • Fig34
Fig34


But I have used to unlock from the UI by :
1) Login as SYS user
2) Navigate to Administration
3) Then navigate to Manage Database Users
4) Finally under user select the dropdown/ LOV in account status to"Unlock"  and click on “Alter User” button:

 
Fig35.jpg
  • 109 KB
  • Fig35
Fig35

Lastly you will see the HR account is been unlocked
Fig36.jpg
  • 74 KB
  • Fig36
Fig36


Then you can login with "HR" user and use it .
    Asked On
    2011-10-16 at 10:13:02ID8309
    Tags

    Oracle 10g

    Topic

    Oracle Database

    Views
    786

    Comments

    Expert Comment

    by: ericpete on 2011-10-18 at 17:39:27ID: 32631

    Your article has been published.

    ericpete
    Page Editor

    Add your Comment

    Please Sign up or Log in to comment on this article.

    Join Experts Exchange Today

    Gain Access to all our Tech Resources

    Get personalized answers

    Ask unlimited questions

    Access Proven Solutions

    Search 3.2 million solutions

    Read In-Depth How-To Guides

    1000+ articles, demos, & tips

    Watch Step by Step Tutorials

    Learn direct from top tech pros

    And Much More!

    Your complete tech resource

    See Plans and Pricing

    30-day free trial. Register in 60 seconds.

    Loading Advertisement...

    Top Oracle Database Experts

    1. slightwv

      811,605

      Sage

      12,800 points yesterday

      Profile
      Rank: Genius
    2. sdstuber

      578,296

      Sage

      3,540 points yesterday

      Profile
      Rank: Genius
    3. wasimibm

      159,939

      Guru

      2,100 points yesterday

      Profile
      Rank: Guru
    4. tosse

      83,962

      Master

      1,510 points yesterday

      Profile
      Rank: Master
    5. dvz

      77,992

      Master

      900 points yesterday

      Profile
      Rank: Sage
    6. flow01

      70,666

      Master

      0 points yesterday

      Profile
      Rank: Sage
    7. OP_Zaharin

      66,395

      Master

      0 points yesterday

      Profile
      Rank: Sage
    8. Geert_Gruwez

      66,198

      Master

      800 points yesterday

      Profile
      Rank: Genius
    9. awking00

      63,850

      Master

      0 points yesterday

      Profile
      Rank: Genius
    10. MikeOM_DBA

      55,954

      Master

      10 points yesterday

      Profile
      Rank: Genius
    11. johnsone

      46,104

      0 points yesterday

      Profile
      Rank: Genius
    12. schwertner

      43,375

      0 points yesterday

      Profile
      Rank: Genius
    13. slobaray

      42,921

      20 points yesterday

      Profile
      Rank: Master
    14. Bajwa

      35,334

      1,000 points yesterday

      Profile
    15. gatorvip

      33,868

      0 points yesterday

      Profile
      Rank: Sage
    16. praveencpk

      33,355

      0 points yesterday

      Profile
      Rank: Master
    17. sujith80

      30,896

      0 points yesterday

      Profile
      Rank: Genius
    18. sventhan

      30,548

      0 points yesterday

      Profile
      Rank: Sage
    19. markgeer

      29,292

      0 points yesterday

      Profile
      Rank: Genius
    20. paquicuba

      26,860

      0 points yesterday

      Profile
      Rank: Genius
    21. HainKurt

      24,922

      0 points yesterday

      Profile
      Rank: Genius
    22. Milleniumaire

      20,300

      0 points yesterday

      Profile
      Rank: Sage
    23. ytarkan

      17,352

      0 points yesterday

      Profile
    24. mwvisa1

      15,600

      0 points yesterday

      Profile
      Rank: Genius
    25. angelIII

      14,509

      0 points yesterday

      Profile
      Rank: Elite

    Hall Of Fame