- Oracle Database 12c Release 2 (12.2) Installation On Oracle Linux 6 (OL6) and 7 (OL7)
- Download Software
- Unpack Files
- Hosts File
- Oracle Installation Prerequisites
- Automatic Setup
- Manual Setup
- Additional Setup
- Installation
- Post Installation
- Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 7 (OL7)
- Download Software
- Unpack Files
- Hosts File
- Oracle Installation Prerequisites
- Automatic Setup
- Manual Setup
- Additional Setup
- Installation
- Post Installation
- 12.1.0.1 Notes
- 12.1.0.2 Notes
- Oracle 12c download linux
- Oracle Database Software Downloads
- Software Delivery Cloud
- Oracle Database 19c
- Download
- Download
- Oracle Database 21c
- Download
- Oracle Database Express Edition
- Previous Database Release Software
- Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 8 (OL8)
- Download Software
- Unpack Files
- Hosts File
- Oracle Installation Prerequisites
- Automatic Setup
- Manual Setup
- Additional Setup
- Installation
- Database Creation
- Post Installation
Oracle Database 12c Release 2 (12.2) Installation On Oracle Linux 6 (OL6) and 7 (OL7)
This article describes the installation of Oracle Database 12c Release 2 (12.2) 64-bit on Oracle Linux 6 (OL6) and 7 (OL7) 64-bit. The article is based on a server installation with a minimum of 2G swap and secure Linux set to permissive. An example of this type of Linux installation can be seen here (OL6 or OL7).
Download Software
Download the Oracle software from OTN or MOS depending on your support status.
Unpack Files
You should now have a single directory called «database» containing installation files.
Hosts File
The «/etc/hosts» file must contain a fully qualified name for the server.
Set the correct hostname in the «/etc/hostname» file.
Oracle Installation Prerequisites
Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.
Automatic Setup
If you plan to use the «oracle-database-server-12cR2-preinstall» package to perform all your prerequisite setup, issue the following command.
It is probably worth doing a full update as well, but this is not strictly speaking necessary.
It’s worth running the all the YUM commands listed in the manual setup section. Depending on the OS package groups you have selected, some additional packages might also be needed.
Manual Setup
If you have not used the «oracle-database-server-12cR2-preinstall» package to perform all prerequisites, you will need to manually perform the following setup tasks.
Add the following lines to the «/etc/sysctl.conf» file, or in a file called «/etc/sysctl.d/98-oracle.conf».
Run one of the following commands to change the current kernel parameters, depending on which file you edited.
Add the following lines to a file called «/etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf» file.
Someone in the comments suggested you might need to add the previous lines into the «/etc/security/limits.conf» file also for CentOS7. This is definitely not needed for OL7, but worth considering if the installer gives prerequisite failures for these settings.
Add the following line to the «/etc/pam.d/login» file, if it does not already exist.
The following packages are listed as required, including the 32-bit version of some of the packages. Many of the packages should be installed already.
Create the new groups and users.
Uncomment the extra groups you require.
Additional Setup
The following steps must be performed, whether you did the manual or automatic setup.
Set the password for the «oracle» user.
Set secure Linux to permissive by editing the «/etc/selinux/config» file, making sure the SELINUX flag is set as follows.
Once the change is complete, restart the server or run the following command.
If you have the Linux firewall enabled, you will need to disable or configure it, as shown here or here. To disable it, do the following.
If you are not using Oracle Linux and UEK, you will need to manually disable transparent huge pages.
Create the directories in which the Oracle software will be installed.
Putting mount points directly under root without mounting separate disks to them is typically a bad idea. It’s done here for simplicity, but for a real installation «/» storage should be reserved for the OS.
Unless you are working from the console, or using SSH tunnelling, login as root and issue the following command.
The scripts are created using the cat command, with all the «$» characters escaped. If you want to manually create these files, rather than using the cat command, remember to remove the «\» characters before the «$» characters.
Create a «scripts» directory.
Create an environment file called «setEnv.sh».
Add a reference to the «setEnv.sh» file at the end of the «/home/oracle/.bash_profile» file.
Create a «start_all.sh» and «stop_all.sh» script that can be called from a startup/shutdown service. Make sure the ownership and permissions are correct.
Once the installation is complete and you’ve edited the «/etc/oratab», you should be able to start/stop the database with the following scripts run from the «oracle» user.
You can see how to create a Linux service to automatically start/stop the database here (OL6, OL7).
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.
Proceed with the installation of your choice.
You can see the type of installation I performed by clicking on the links below to see screen shots of each stage.
The «Database Configuration Assistant Complete» screen displays the Database Express 12c URL, which will be something like «https://ol7-122.localdomain:5500/em».
Post Installation
Edit the «/etc/oratab» file setting the restart flag for each instance to ‘Y’.
Источник
Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 7 (OL7)
Oracle Linux 7 is a production release, but Oracle Database 12c is only supported on it from (12.1.0.2) onward. This installation should not be used for a real system when using 12c database versions prior to 12.1.0.2.
This article describes the installation of Oracle Database 12c Release 1 (12.1) 64-bit on Oracle Linux 7 (OL7) 64-bit. The article is based on a server installation with a minimum of 2G swap and secure Linux set to permissive. An example of this type of Linux installation can be seen here.
Download Software
Download the Oracle software from OTN or MOS depending on your support status.
Unpack Files
Unzip the files.
You should now have a single directory called «database» containing installation files.
Hosts File
The «/etc/hosts» file must contain a fully qualified name for the server.
Set the correct hostname in the «/etc/hostname» file.
Oracle Installation Prerequisites
Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.
Automatic Setup
If you plan to use the «oracle-rdbms-server-12cR1-preinstall» package to perform all your prerequisite setup, issue the following command.
Earlier versions of Oracle Linux required manual setup of the Yum repository by following the instructions at http://public-yum.oracle.com.
It is probably worth doing a full update as well, but this is not strictly speaking necessary.
It’s worth running the all the YUM commands listed in the manual setup section. Depending on the OS package groups you have selected, some additional packages might also be needed.
Manual Setup
If you have not used the «oracle-rdbms-server-12cR1-preinstall» package to perform all prerequisites, you will need to manually perform the following setup tasks.
Add the following lines to the «/etc/sysctl.conf» file, or in a file called «/etc/sysctl.d/98-oracle.conf».
Run one of the following commands to change the current kernel parameters, depending on which file you edited.
Add the following lines to a file called «/etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf» file.
Add the following line to the «/etc/pam.d/login» file, if it does not already exist.
The following packages are listed as required, including the 32-bit version of some of the packages. Many of the packages should be installed already.
Create the new groups and users.
Uncomment the extra groups you require.
Additional Setup
The following steps must be performed, whether you did the manual or automatic setup.
Set the password for the «oracle» user.
Set secure Linux to permissive by editing the «/etc/selinux/config» file, making sure the SELINUX flag is set as follows.
Once the change is complete, restart the server or run the following command.
If you have the Linux firewall enabled, you will need to disable or configure it, as shown here. To disable it, do the following.
Create the directories in which the Oracle software will be installed.
Putting mount points directly under root without mounting separate disks to them is typically a bad idea. It’s done here for simplicity, but for a real installation «/» storage should be reserved for the OS.
Unless you are working from the console, or using SSH tunnelling, login as root and issue the following command.
Add the following lines at the end of the «/home/oracle/.bash_profile» file.
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.
Proceed with the installation of your choice.
If you are doing an installation for an Enterprise Manager repository, remember to do an advanced installation and pick the ALT32UTF8 character set.
Check out the notes below for how to deal with potential errors that may arise during the installation.
You can see the type of installation I performed by clicking on the links below to see screen shots of each stage.
The «Database Configuration Assistant Complete» screen displays the Database Express 12c URL, which will be something like «https://ol7.localdomain:5500/em».
Post Installation
Edit the «/etc/oratab» file setting the restart flag for each instance to ‘Y’.
12.1.0.1 Notes
Only follow these notes if you are attempting the install using 12.1.0.1, there are a number of things that will need to be fixed along the way. These are not necessary for a 12.1.0.2 installation, as it completes cleanly.
The following steps need to be considered during the installation.
When clicking «Next» on the «Download Software Updates» screen you will get the following message. Click the «Yes» button.
During the linking phase, you will see the following error.
To fix it, do the following:
Perform the following modifications to the «$ORACLE_HOME/rdbms/lib/env_rdbms.mk» file.
Click the «Retry» button.
Later, you might see the following error.
To fix it, do the following:
Perform the following modifications to the «$ORACLE_HOME/ctx/lib/env_ctx.mk» file.
Click the «Retry» button.
Due to the issues during the linking phase, it probably makes sense to do a relink once the installation is complete.
12.1.0.2 Notes
During the linking phase, you may see the following error.
To fix it, run the following command as the «oracle» user, then click the «Retry» button.
During the database creation as part of the installation, or after when using the DBCA, you may get the following error.
To fix it, follow the instructions to rebuild Perl as described towards the end of this post by Laurent Leturgez. You will have to redo the database creation.
Источник
Oracle 12c download linux
Your search did not match any results.
We suggest you try the following to help find what you’re looking for:
- Check the spelling of your keyword search.
- Use synonyms for the keyword you typed, for example, try “application” instead of “software.”
- Try one of the popular searches shown below.
- Start a new search.
Oracle Database Software Downloads
Software Delivery Cloud
Oracle also provides all supported database release software for all platforms on the Oracle Software Delivery Cloud: https://edelivery.oracle.com
Oracle Database 19c
Oracle Database 19c is the latest Long Term Release with the widest window of support duration. For details about database releases and their support timeframes, refer to Oracle Support Document 742060.1 (Release Schedule of Current Database Releases) on My Oracle Support.
19.5 — Enterprise Edition (also includes Standard Edition 2)
Download
19.3 — Enterprise Edition (also includes Standard Edition 2)
Download
Oracle Database 21c
Oracle Database 21c is the latest Innovation Release. For details about database releases and their support timeframes, refer to Oracle Support Document 742060.1 (Release Schedule of Current Database Releases) on My Oracle Support.
21.3 — Enterprise Edition (also includes Standard Edition 2)
Download
Oracle Database Express Edition
Previous Database Release Software
Oracle Database 10.2, 11.x, 12.x, and 18c are available as a media or FTP request for those customers who own a valid Oracle Database product license for any edition. To request access to these releases, follow the instructions in Oracle Support Document 1071023.1 (Requesting Physical Shipment or Download URL for Software Media) from My Oracle Support. NOTE: for Oracle Database 10.2, you should request 10.2.0.1 even if you want to install a later patch set. Once you install 10.2.0.1 you can then apply any 10.2 patch set. Similarly, for 11.1 request 11.1.0.6 which must be applied before installing 11.1.0.7. Patch sets can be downloaded from the Patches and Updates tab on My Oracle Support.
Источник
Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 8 (OL8)
This article describes the installation of Oracle Database 12c Release 1 (12.1) 64-bit on Oracle Linux 8 (OL8) 64-bit. The article is based on a server installation with a minimum of 2G swap and secure Linux set to permissive. An example of this type of Linux installation can be seen here.
Download Software
Download the Oracle software from OTN or MOS depending on your support status.
Unpack Files
Unzip the files.
You should now have a single directory called «database» containing installation files.
Hosts File
The «/etc/hosts» file must contain a fully qualified name for the server.
Set the correct hostname in the «/etc/hostname» file.
Oracle Installation Prerequisites
Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.
Automatic Setup
At the time of writing there isn’t a preinstall package from 12.1, but we can use the 19c preinstall package.
If you plan to use the «oracle-database-preinstall-19c» package to perform all your prerequisite setup, issue the following command.
It is probably worth doing a full update as well, but this is not strictly speaking necessary.
It’s worth running the all the YUM commands listed in the manual setup section. Depending on the OS package groups you have selected, some additional packages might also be needed.
Manual Setup
If you have not used the «oracle-database-preinstall-19c» package to perform all prerequisites, you will need to manually perform the following setup tasks.
Add the following lines to the «/etc/sysctl.conf» file, or in a file called «/etc/sysctl.d/98-oracle.conf».
Run one of the following commands to change the current kernel parameters, depending on which file you edited.
Add the following lines to a file called «/etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf» file.
Add the following line to the «/etc/pam.d/login» file, if it does not already exist.
The following packages are listed as required, including the 32-bit version of some of the packages. Many of the packages should be installed already.
Create the new groups and users.
Uncomment the extra groups you require.
Additional Setup
The following steps must be performed, whether you did the manual or automatic setup.
Set the password for the «oracle» user.
Set secure Linux to permissive by editing the «/etc/selinux/config» file, making sure the SELINUX flag is set as follows.
Once the change is complete, restart the server or run the following command.
If you have the Linux firewall enabled, you will need to disable or configure it, as shown here. To disable it, do the following.
Create the directories in which the Oracle software will be installed.
Putting mount points directly under root without mounting separate disks to them is typically a bad idea. It’s done here for simplicity, but for a real installation «/» storage should be reserved for the OS.
Unless you are working from the console, or using SSH tunnelling, login as root and issue the following command.
The scripts are created using the cat command, with all the «$» characters escaped. If you want to manually create these files, rather than using the cat command, remember to remove the «\» characters before the «$» characters.
Create a «scripts» directory.
Create an environment file called «setEnv.sh». The «$» characters are escaped using «\». If you are not creating the file with the cat command, you will need to remove the escape characters.
Add a reference to the «setEnv.sh» file at the end of the «/home/oracle/.bash_profile» file.
Create a «start_all.sh» and «stop_all.sh» script that can be called from a startup/shutdown service. Make sure the ownership and permissions are correct.
Once the installation is complete and you’ve edited the «/etc/oratab», you should be able to start/stop the database with the following scripts run from the «oracle» user.
You can see how to create a Linux service to automatically start/stop the database here.
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
Switch to the directoy with the installation media, unzip it and start the Oracle Universal Installer (OUI) by issuing one of the following commands. The interactive mode will display GUI installer screens to allow user input, while the silent mode will install the software without displaying any screens, as all required options are already specified on the command line. We need to use the CV_ASSUME_DISTID environment variable to fake the OS for the installer.
Run the root scripts when prompted.
You can read more about silent installations here.
You are now ready to create a database, but it’s better to patch the installation first if you have access to Oracle Support.
Database Creation
You create a database using the Database Configuration Assistant (DBCA). The interactive mode will display GUI screens to allow user input, while the silent mode will create the database without displaying any screens, as all required options are already specified on the command line.
You can read more about silent database creation here.
Post Installation
Edit the «/etc/oratab» file setting the restart flag for each instance to ‘Y’.
Источник