Appboard/old/configuration database/example oracle
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:
- Obtain the Oracle installation media.
- On the server, start the Oracle Universal Installer.
- 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.
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:
- Start the Oracle Net8 Assistant.
- Windows: Launched from the Start menu.
- UNIX: Launched by executing the following command: $ORACLE_HOME/bin/netasst
- 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.
- Close the Oracle Net8 Assistant.
Creating a Database
To create an Oracle database:
- Start the Oracle Database Configuration Assistant.
- Windows: Launched from the Start menu.
- UNIX: Launched by executing the following command: $ORACLE_HOME/bin/dbassist
- 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:
|
|
Character Set (same screen as SID) | UTF8 |
Managing the Database
To connect to an Oracle database as manager:
- Start the Oracle Database DBA Studio.
- Windows: Launched from the Start menu.
- UNIX: Launched by executing the following command: $ORACLE_HOME/bin/oemapp dbastudio
- Add a new database to the tree.
- Open the database and connect to the new database using the following parameters:
- Username: system
- Password: manager
- Connect As: SYSDBA
- 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: $ORACLE_HOME/bin/oemapp dbastudio
- 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.