安装Oracle Database XE
Oracle Linux
Download oracle-database-xe-21c-1.0-1.ol8.x86_64.rpm
Run “yum -y localinstall oracle-database-xe*”
Run “/etc/init.d/oracle-xe-21c configure”
Red Hat compatible Linux distribution
Download oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
Download oracle-database-xe-21c-1.0-1.ol8.x86_64.rpm
Run “yum -y localinstall oracle-database-xe*”
Run “/etc/init.d/oracle-xe-21c configure”
Windows
Log into Windows with a user that is a direct member of the Administrators group.
If the ORACLE_HOME or TNS_ADMIN environment variable has been set, unset it first.
Download OracleXE213_Win64.zip
Extract zip file to a local temporary directory and run setup.exe.
When prompted by the installer, provide the install location, the database password, and begin the installation.
When the installation is complete, note the provided connection strings on the final screen.
Docker
Docker images can be downloaded at https://container-registry.oracle.com/
Linux Docker images can also be built using the Dockerfiles provided under
https://github.com/oracle/docker-images
VirtualBox
A Linux VirtualBox VM can be built using the Vagrant scripts provided under https://github.com/oracle/vagrant-boxes. You can also install into a Windows VirtualBox VM providing the version of Windows is supported. See the Oracle Database XE Windows Installation Guide.




