Installation of Oracle11g under Windows

  • Installation media preparation

Prepare the installation packages (2) downloaded from the official website, and extract the installation packages to the same directory.


Here I have unzipped it to the database in the current directory.

  • Install database software

Run the setup installation launcher and wait for the installation:


Click Yes to proceed to the next step:



The installation option can choose to create and configure the database, here I only install the database software (the database will be installed later), the next step:


Here is whether to install a single instance database or a cluster database, I choose a single instance database, the next step:


Language selection, here is the default next step:


Here default, Enterprise Edition:


Here, adjust the directory according to your own situation:


Wait until the prerequisites are checked, then next (optionally save the response file):


Take a break and wait for the software installation to complete:


The installation is complete:


  • add listener

We can find the listener installation assistant through the menu, or call the listener installation assistant through the command netca (where cmd must be opened in administrator mode):


Listener configuration, next step:


Add, next step:


The default listening name LISTENER, the next step:


The default TCP protocol, the next step:


The default port number is 1521. Next step:


Whether to configure another listener, no, next and click Finish:




cmd executes the command to check whether the listening status is normal:

lsnrctl status


At this point, our monitoring has been configured, and now we can install the database.

  • Database installation

We can find the DB installation assistant through the menu, and we can also call up the DB installation assistant through the dbca command (where cmd must be opened in administrator mode):


Next step:


Create the database, the next step:


We can choose general purpose or transaction processing, I choose a custom database here (you can also click to display details and save as HTML):


Enter the database name, I call it orcl here:


Enterprise Manager can be configured here, or it can be checked:


Enter the password of the system user here (if the password is too short, a warning will be prompted, you can click Yes and continue):


Select the file system here, specify the location of the control database file by yourself, the default next step:


Whether to specify the quick recovery area and whether to open the archive log (you can check it or not, we can create the database login manually later), the next step:


Database component selection, here can be the default, the next step:


Set the memory (generally, the SGA setting is set according to 80% of the 80% of the physical memory, and the PGA is set according to 20% of the 80% of the physical memory), my local test here is the default:


Data block settings, set according to the software ordering instructions. The number of processes depends on the system and business conditions (generally, 2000 online systems can be set):


The character set is set according to your own situation (I set it to UTF-8 uniformly here), the next step:


Basic information stored here:


We select the control file, we click the control file tab, and we set the maximum number of files that can be created (I set 8192 here):


Set the tablespace size:

The size of the table space needs to be determined according to its own system storage. Generally, the minimum setting for SYSAUX, SYSTEM, TEMP, and UNDOTBS1 in the production environment is 20G, and the minimum setting for USERS is 5G.



Log group information settings:

The general production environment is simple to set up 8 groups, each group is 500M.


The setting is complete, the next step:


We can save as a database template and generate a database creation script (I left it off):


Click Finish (basic information can be saved as an HTML file):


Wait for the installation to complete:


Installed:



  • Configure the listening database:

Open the system menu and find the network configuration:



Find the listener in the Oracle Net configuration. Open the drop-down list in the right tab and find the database service:



Fill in the relevant information, exit the save and restart the monitor:


You can directly find the system service to restart:


It can also be restarted through the lsnrctl command (cmd requires administrator privileges):

lsnrctl stop
lsnrctl start


  • Login test:


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325893596&siteId=291194637