Reprinted from: https://www.moeor.com/26.html
Preface#
This tutorial explains the download and 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 update on the official website, the previous installation that provided 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. You need to log in to your account to download. 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 a download tool or a scientific Internet access method for faster download!
Install Oracle#
After downloading, unzip it and double-click the "setup.exe" installation program in the folder to wait for the program to start and enter the installation program.
Start the installation and click "Next"
Select "I accept the terms in the license agreement" and then click "Next".
This step is to select the installation location. Due to the large size of the file program, 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.
After the installation is complete, a new icon will be created on the desktop, and you can access the database in web form by opening it.
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!
Verify the Database#
Select the icon generated on the desktop
Right-click to 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, the installation is successful!