Setup procedures for the database
- Do not check to accept security updates, do not provide e-mail, skip the warning.
- Choose to install only the database software
- Single-instance database installation
- Default language
- Database version Select Enterprise Edition
- Oracle Base directory: Store all Oracle software products and profiles, Oracle home directory: Oracle Software Installation Location
- Direct Next (automatic prerequisite check)
- Direct Next Step (summary display)
- Direct next (automatic installation)
- Installation Complete
Creation of the database and configuration of the listener
Creation of a database
- Start menu, All Programs->oracle-> configuration and porting Tools->database config Assistant
- Next, create a database
- Select General user or transaction processing
- Global database name: Database name SID: Name of instance name
- Uncheck Configure Enterprise Manager (memory consumption)
- SYS: Database owner SYSTEM: database operator can use the same password
- Direct Next (Default storage type and location)
- Direct Next (Default recovery configuration)
- Select the instance scenario (learning to use)
- Direct next (default initialization parameter)
- Direct next (Database storage)
- Click Finish
- Click OK (CREATE DATABASE profile)
- Select Password management after creation (change Scott's password to Tiger HR's password is hr)
- Open the SQL plus input user name and password to connect to the test database
Configuration of the Listener
- Start menu, All Programs->oracle-> configuration and porting Tools->net config Assistant
- Select Listener Configuration
- Add to
- Direct Next (default listener name)
- Direct next (default TCP protocol)
- Direct Next (default port number 1521)
- Run->services.msc Orcale Service (Tnslistener enabled: Database allows external connections, SERVICEORCL enabled: instance service enabled, database can be used)
PL/SQL configuration
- Anonymous login in PL/SQL->tool->preferences Configure the Oracle Home:oracle installation home directory and OCI library:oracle installation home directory \bin\oci.dll
- Modify the Tnsnames.ora file under the Oracle installation home directory \network\admin to write the relevant information based on the instance, a simple example is as follows:
ORCL = (DESCRIPTION = (Address_list = (ADDRESS = (PROTOCOL = TCP) (host=localhost) (port=1521))) (Connect_data = (SERVER = DEDI cated) (service_name = ORCL))
Installation and configuration of oracle11g and PL/SQL (single-machine learning simple version)