Appboard/old/configuration database/example oracle: Difference between revisions

imported>David.moore
imported>David.moore
No edit summary
Line 81: Line 81:
#*Connect As: SYSDBA
#*Connect As: SYSDBA
#Click Instance and set the state to Open.
#Click Instance and set the state to Open.
=== Creating a User ===
To create a new Oracle database user:
#Start the Oracle Database DBA Studio.
#*Windows: Launched from the Start menu.
#*UNIX: Launched by executing the following command: <tt>$ORACLE_HOME/bin/oemapp dbastudio</tt>
#Connect to the portal database using the following parameters:
#*Username: system
#*Password: manager
#*Connect As: NORMAL
#Expand portal→Security→Users
#Right-click Users and select Create from the pop-up menu.
#In the Create User window, enter values for the Name and Password. It is recommended that you use portal for both
#Click the Role tab. The Role page opens.
#Grant the additional roles of:
#*IMP_FULL_DATABASE
#*RESOURCE
#Click Create. The user has been created.

Revision as of 20:05, 25 November 2013


This section describes the tasks that must be performed in order to use Oracle with enPortal:

Installing Oracle

These installation instructions apply to Oracle 8i. To install Oracle:

  1. Obtain the Oracle installation media.
  2. On the server, start the Oracle Universal Installer.
  3. Follow the instructions that appear and enter appropriate values when necessary. When prompted for the following information, enter the values listed in Table A1. This will help ensure that Oracle functions properly with enPortal.
Template-note.png
The database must be set to treat strings in a case-sensitive manner.

Table A1: Oracle Installation Screen Prompts

Prompt Value
Product Selection Oracle 8i Enterprise Edition
Installation Type Minimal
Make Starter Database No

Listener Verification

To verify a listener for Oracle is active:

  1. Start the Oracle Net8 Assistant.
    • Windows: Launched from the Start menu.
    • UNIX: Launched by executing the following command: $ORACLE_HOME/bin/netasst
  2. Ensure that a listener exists for the local machine and identify the TCP/IP port on which it is listening. The default port is 1521.
  3. Close the Oracle Net8 Assistant.

Creating a Database

To create an Oracle database:

  1. Start the Oracle Database Configuration Assistant.
    • Windows: Launched from the Start menu.
    • UNIX: Launched by executing the following command: $ORACLE_HOME/bin/dbassist
  2. Choose Custom for the type of database to create. Except for the values shown in Table A2, choose all defaults:

Table A2: Oracle Database Configuration Assistant Prompts and Values

Prompt Value
Type of Configuration Custom
Database Identification:
  • Global Database Name
  • SID
  • portal (recommended value)
  • portal (recommended value)
Character Set (same screen as SID) UTF8

Managing the Database

To connect to an Oracle database as manager:

  1. Start the Oracle Database DBA Studio.
    • Windows: Launched from the Start menu.
    • UNIX: Launched by executing the following command: $ORACLE_HOME/bin/oemapp dbastudio
  2. Add a new database to the tree.
  3. Open the database and connect to the new database using the following parameters:
    • Username: system
    • Password: manager
    • Connect As: SYSDBA
  4. Click Instance and set the state to Open.

Creating a User

To create a new Oracle database user:

  1. Start the Oracle Database DBA Studio.
    • Windows: Launched from the Start menu.
    • UNIX: Launched by executing the following command: $ORACLE_HOME/bin/oemapp dbastudio
  2. Connect to the portal database using the following parameters:
    • Username: system
    • Password: manager
    • Connect As: NORMAL
  3. Expand portal→Security→Users
  4. Right-click Users and select Create from the pop-up menu.
  5. In the Create User window, enter values for the Name and Password. It is recommended that you use portal for both
  6. Click the Role tab. The Role page opens.
  7. Grant the additional roles of:
    • IMP_FULL_DATABASE
    • RESOURCE
  8. Click Create. The user has been created.