2.3. Installing the Oracle Software¶
2.3.1. Sign in¶
With RDP, sign in as an Administrator user.
2.3.2. Creating OS users¶
Create the following OS users.
User name |
Assigning administrator authority |
Purpose |
oracle | Yes | Oracle Install User |
oraclehome | No | Oracle Home User |
Create an oracle user. Execute the command below in PowerShell. Please use your own password instead of the indicated one ([password]) in the picture.
PS C:\Users\Administrator> net user oracle [Password] /add
PS C:\Users\Administrator> net localgroup administrators oracle /add
PS C:\Users\Administrator> wmic useraccount where "Name='oracle'" set PasswordExpires=FALSE
Create an oraclehome user. Execute the command below in PowerShell. Please use your own password instead of the indicated one ([password]) in the picture.
PS C:\Users\Administrator> net user oraclehome [Password] /add
PS C:\Users\Administrator> wmic useraccount where "Name='oraclehome'" set PasswordExpires=FALSE
2.3.3. Sign in¶
With RDP, sign in as an oracle user.
2.3.4. Configuring install directory¶
Configure the following install directory
Directory Pass |
OS Owner |
|
ORACLE_BASE | D:\app\oraclehome | oracle、oraclehome |
Create an install directory. Execute the command below in PowerShell.
PS C:\Users\oracle> New-Item D:\app\oraclehome -itemType Directory
Grant the ORACLE_BASE access authority to oraclehome users. Execute the command below in PowerShell.
PS C:\Users\oracle> icacls D:\app\oraclehome /grant oraclehome:F
2.3.5. Execute the Installer¶
Execute the Oracle installer. Execute the command below in PowerShell.
PS C:\Users\oracle> C:\Software\Database\setup.exe
Check out the checkmark box of “I wish to receive security updates via My Oracle Support.”, click “Next”.
Click “Yes”.
Select “Install database software only”, then click “Next”.
Select “Single instance database installation”, then click “Next”.
Here, you need to verify that the additional language, “Japanese”, as well as “English”exists in the list of “Selected languages”.
After you have verified that the “Standard Edition Two (6.1GB)” is selected, click “Next” button.
Select the Use Existing Windows User, and enter that oraclehome to the User Name.
After input following settings, click “Next”.
Oracle base | Input ORACLE_BASE (ex.D:\app\oraclehome) |
Software location | Input ORACLE_Home (ex.D:\app\oraclehome\product\12.1.0\dbhome_1) |
You need to verify the contents, click “Install”.
Then, Oracle Installation will get started.
Verify the installation has successfully completed, then click “Close”.