Reposted from: https://www.moeor.com/26.html
Introduction#
This tutorial explains the installation process of Oracle Database Express Edition (XE) Release 11.2.0.2.0 (11gR2) version!
This version is a portable installation version, just install it directly, very convenient.
Due to the updates on the official website, the installation that used to provide client and server is no longer available, so it will not be explained here!
Preparation#
Visit the Oracle official website to download this version of the database. Login account is required for downloading, you can search for shared Oracle accounts on Baidu!
Download link: https://www.oracle.com/database/technologies/xe-prior-releases.html
Choose the version suitable for your system, this article takes Win10 as an example. It is recommended to use download tools or a VPN to download faster!
Installing Oracle#
After downloading, unzip it and double-click the "setup.exe" installation program in the folder, wait for the program to start and enter the installation program.
Start the installation by clicking "Next".
Select "I accept the terms in the license agreement" and click "Next".
This step is to choose the installation location. Since the file program is relatively large, it is recommended to install it on the D drive. Create a new Oracle folder, click "Browse" to select the folder, pay attention to the target folder and file path, and then click "Next".
Set the login password for the database, which is the database password. It is recommended to keep it simple, such as "root", and then click "Next".
Click "Install" to start the installation.
The installation process is relatively slow, please be patient and wait for the installation to complete!
After the installation is complete, click "Finish" to complete the installation of Oracle 11gR2.
A new icon will be created on the desktop after the installation is complete, and you can access the database in web form.
Double-click to open it, and the following error message may pop up. This is not a problem, just restart the computer after the installation is complete!
Verifying the Database#
Select the icon generated on the desktop.
Right-click and open the file location, a folder will pop up, scroll up in the folder and find the "bin" folder.
Double-click to enter the "bin" folder, scroll down, and find the "sqlplus.exe" program.
Double-click to run.
Enter the username: system (it is always system by default), and press Enter.
Enter the password: (the password set during installation), the password input is not displayed, just press Enter.
If the statement "Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production" appears, then the installation is successful!