- Rpm ��� oracle linux
- 3 Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
- 3.1 Overview of Oracle Linux Configuration with Oracle RPMs
- 3.2 Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
- 3.3 Installing Oracle Linux with Oracle Linux Yum Server Support
- 3.4 Installing the Oracle Preinstallation RPM From DVDs or Images
- 3.5 Additional Optional Operating System Configuration Tasks
- 3.5.1 Configure Oracle Ksplice Repository for Oracle Linux
- 3.5.2 Configure Additional Operating System Features
- 3.6 Required System Configuration for Oracle Grid Infrastructure
- Rpm ��� oracle linux
- 3 Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
- 3.1 Overview of Oracle Linux Configuration with Oracle RPMs
- 3.2 Installing a New Oracle Linux Installation from DVDs or Images
- 3.3 Installing the Oracle Preinstallation RPM with ULN support
- 3.4 Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
- 3.5 Installing the Oracle Preinstallation RPM From DVDs or Images
- 3.6 Installing Oracle Linux with Oracle Linux Yum Server Support
- 3.7 Additional Optional Operating System Configuration Tasks
- 3.7.1 Configure Oracle Ksplice Repository for Oracle Linux
- 3.7.2 Configure Additional Operating System Features
Rpm ��� oracle linux
Perform the following steps to install and configure Oracle Database using RPM packages.
Installing Oracle Database RPM using yum
If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle Database via a single yum command.
# yum -y install oracle-database-ee-18c
This command downloads and installs the Oracle Preinstallation RPM and the Oracle Database RPM packages.
The installation of Oracle Database software is now complete, continue to the «Creating and Configuring an Oracle Database» section.
Installing Oracle Database RPM Manually
Download and install the Oracle Preinstallation RPM:
On Oracle Linux
On Red Hat Enterprise Linux
After successful installation, you can delete the downloaded RPM file:
Access the software download page for Oracle Database RPM-based installation from Oracle Technology Network:
Download the .rpm file required for performing an RPM-based installation to a directory of your choice. For example, download the oracle-database-ee-18c-1.0-1.x86_64.rpm file to the /tmp directory.
Install the database software using the yum localinstall command.
Where, oracle-database-ee-18c-1.0-1.x86_64.rpm is the fully qualified name of the Oracle Database RPM.
The installation of Oracle Database software is now complete.
Creating and Configuring an Oracle Database
To create a sample database with the default settings, perform the following steps:
To configure a sample Oracle Database instance, run the following service configuration script:
You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-18c.conf file.
This script creates a container database ( ORCLCDB ) with one pluggable database ( ORCLPDB1 ) and configures the listener at the default port (1521).
Review the status information that is displayed on your screen.
Источник
3 Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
Oracle recommends that you install Oracle Linux 7, Oracle Linux 6, or Oracle Linux 5 and use Oracle RPMs to configure your operating systems for Oracle Grid Infrastructure and Oracle Database installations with Oracle Real Application Clusters (Oracle RAC). For Oracle Linux 7 and Oracle Linux 6, run the Oracle Preinstallation RPM. For Oracle Linux 5, run the Oracle Validated RPM.
This chapter contains the following contents:
3.1 Overview of Oracle Linux Configuration with Oracle RPMs
The Oracle RPMs for your Oracle Linux distributions and Oracle RDBMS releases automatically install any additional packages needed for installing Oracle Grid Infrastructure and Oracle Database, and configure your server operating system automatically, including setting kernel parameters and other basic operating system requirements for installation. For more information about what the Oracle RPMs do, refer to the following URL:
Configuring a server using Oracle Linux and an Oracle and the Oracle Preinstallation RPM consists of the following steps:
Install Oracle Linux.
Register your Linux distribution with Oracle Unbreakable Linux Network (ULN) or download and configure the Yum repository for your system using the Oracle Linux yum server for your Oracle Linux release.
Install the Oracle Preinstallation RPM or Oracle Validated RPM with the RPM for your Oracle Grid Infrastructure and Oracle Database releases, and update your Linux release.
Create role-allocated groups and users with identical names and ID numbers on each cluster candidate node.
Complete network interface configuration for each cluster node candidate.
Complete system configuration for shared storage access as required for each standard or Hub Node cluster candidate.
After these steps are complete, you can proceed to install Oracle Grid Infrastructure and Oracle RAC.
3.2 Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
Use the following procedure to subscribe to Oracle Linux channels, and to add the Oracle Linux channel that distributes the Oracle RDBMS Server 12 c R1 RPM:
Complete a default Oracle Linux workstation installation, or a default Red Hat Enterprise Linux installation.
You can download Oracle Linux from the Oracle Software Delivery Cloud:
Register your server with Unbreakable Linux Network (ULN). By default, you are registered for the Oracle Linux Latest channel for your operating system and hardware.
Log in to Unbreakable Linux Network:
Click the Systems tab, and in the System Profiles list, select a registered server. The System Details window opens and displays the subscriptions for the server.
Click Manage Subscriptions . The System Summary window opens.
From the Available Channels list, select the Enterprise Linux installation media copy and update patch channels corresponding to your Oracle Linux distribution. For example, if your distribution is Oracle Linux 5 Update 6 for x86_64, then select the following:
Oracle Linux 5 Update 6 installation media copy (x86_64)
Oracle Linux 5 Update 6 Patch (x86_64)
Start a terminal session and enter the following command as root , depending on your platform:
You should see output indicating that you have subscribed to the Oracle Linux channel. For example:
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
The RPM packages set the Oracle software user to oracle by default. Before installing Oracle Database, you can update the Oracle user name in the etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf file and other configuration files.
Repeat steps 1 through 8 on all other servers in your cluster.
Check the RPM log file to review the system configuration changes. For example, on Oracle Linux 5:
3.3 Installing Oracle Linux with Oracle Linux Yum Server Support
Use the following procedure to install Oracle Linux and configure your Linux installation for security errata or bug fix updates using the Oracle Linux yum server:
Obtain Oracle Linux DVDs from Oracle Store, or download Oracle Linux from the Oracle Software Delivery Cloud:
Oracle Software Delivery Cloud website:
Install Oracle Linux from the ISO or DVD image.
Download the yum repository file for your Linux distribution from http://yum.oracle.com , using the instructions you can find on the Oracle Linux yum server. For example:
Ensure that the ol release _latest file ( ol6_latest for Oracle Linux 6) is enabled, as this is the repository that contains the Oracle Preinstallation RPM.
(Optional) Edit the repo file to enable other repositories. For example, enable the repository ol6_UEK_latest by setting enabled=1 in the file with a text editor.
Run the command yum repolist to verify the registered channels.
Start a terminal session and enter the following command as root , depending on your platform. For example:
You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed. For example:
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
After installation, run the command yum update as needed to obtain the most current security errata and bug fixes for your Oracle Linux installation.
3.4 Installing the Oracle Preinstallation RPM From DVDs or Images
Use the following procedure to install the Oracle Preinstallation RPM from the Oracle Linux distribution:
Obtain Oracle Linux disks either by ordering the Oracle Linux media pack from Oracle Store, or by downloading disk images from the Oracle Software Delivery Cloud website for Oracle Linux and Oracle VM.
Oracle Software Delivery Cloud website:
Start the Oracle Linux installation.
Review the first software selection screen, which lists task-specific software options. At the bottom of the screen, there is an option to customize now or customize later. Select Customize now , and click Next .
On Oracle Linux 7 and Oracle Linux 6, select Servers on the left hand side of the screen, and then select System administration Tools on the right side of the screen. These options may differ between releases.
The Packages in System Tools window opens.
Select the Oracle Preinstallation RPM package box from the package list, and click Next .
Complete the other screens to finish installing Oracle Linux.
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
Repeat steps 2 through 6 on all other cluster member nodes.
3.5 Additional Optional Operating System Configuration Tasks
Complete the following optional configuration tasks:
3.5.1 Configure Oracle Ksplice Repository for Oracle Linux
You can use Oracle Ksplice if you have Premier support subscription and an access key, which is available on ULN. For more information about Ksplice (including trial versions, see http://www.ksplice.com/ .
Complete the following task to register your system with Ksplice:
Check for your kernel distribution at the following URL:
Ensure that you have access to the Internet on the server where you want to use Ksplice. For example, if you are using a proxy server, then set the proxy server and port values in the shell with commands similar to the following:
Download the Ksplice Uptrack repository RPM package:
Run the following commands:
3.5.2 Configure Additional Operating System Features
As needed, configure the operating system for additional features, such as Intelligent Platform Management Interface (IPMI), or additional programming environments, then review Chapter 4, «Configuring Operating Systems for Oracle Grid Infrastructure and Oracle RAC.»
3.6 Required System Configuration for Oracle Grid Infrastructure
Complete system configuration as described in the following chapters:
Источник
Rpm ��� oracle linux
Perform the following steps to install and configure Oracle Database using RPM packages.
Installing Oracle Database RPM with ULN Support
If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle Database via a single yum command.
# yum -y install oracle-database-ee-19c
This command downloads and installs the Oracle Database Preinstallation RPM and the Oracle Database RPM packages.
The installation of Oracle Database software is now complete, continue to the «Creating and Configuring an Oracle Database» section.
Installing Oracle Database RPM Manually
Download and install the Oracle Database Preinstallation RPM:
On Oracle Linux
On Red Hat Enterprise Linux
After successful installation, you can delete the downloaded RPM file:
Access the software download page for Oracle Database RPM-based installation from Oracle Technology Network:
Download the .rpm file required for performing an RPM-based installation to a directory of your choice. For example, download the oracle-database-ee-19c-1.0-1.x86_64.rpm file to the /tmp directory.
Install the database software using the yum localinstall command.
Where, oracle-database-ee-19c-1.0-1.x86_64.rpm is the fully qualified name of the Oracle Database RPM.
The installation of Oracle Database software is now complete.
Creating and Configuring an Oracle Database
To create a sample database with the default settings, perform the following steps:
To configure a sample Oracle Database instance, run the following service configuration script:
You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-19c.conf file.
This script creates a container database ( ORCLCDB ) with one pluggable database ( ORCLPDB1 ) and configures the listener at the default port (1521).
Review the status information that is displayed on your screen.
Источник
3 Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
Oracle recommends that you install Oracle Linux 7, Oracle Linux 6 or Oracle Linux 5 and use Oracle RPMs to configure your operating systems for Oracle Database and Oracle Grid Infrastructure installations. For Oracle Linux 7 and Oracle Linux 6, run the Oracle Preinstallation RPM. For Oracle Linux 5, run the Oracle Validated RPM.
This chapter contains the following contents:
3.1 Overview of Oracle Linux Configuration with Oracle RPMs
The Oracle RPMs for your Oracle Linux distributions and Oracle RDBMS releases automatically install any additional packages needed for installing Oracle Grid Infrastructure and Oracle Database, and configure your server operating system automatically, including setting kernel parameters and other basic operating system requirements for installation. For more information about what the Oracle RPMs do, refer to the following URL:
Configuring a server using Oracle Linux and the Oracle Preinstallation RPM consists of the following steps:
Install Oracle Linux
Register your Linux distribution with Oracle Unbreakable Linux Network (ULN) or download and configure the yum repository for your system using the Oracle Linux yum server for your Oracle Linux release
Install the Oracle Preinstallation RPM or Oracle Validated RPM with the RPM for your Oracle Grid Infrastructure and Oracle Database releases, and update your Linux release.
Create role-allocated groups and users with identical names and ID numbers
Complete network interface configuration for each cluster node candidate
Complete system configuration for shared storage access as required for each standard or Core node cluster candidate.
After these steps are complete, you can proceed to install Oracle Grid Infrastructure and Oracle RAC
3.2 Installing a New Oracle Linux Installation from DVDs or Images
Use the following procedure to install a new Oracle Linux installation and to perform system configuration with the Oracle Preinstallation RPM:
Obtain Oracle Linux either by ordering the Oracle Linux media pack from Oracle Store, or by downloading disk images from the Oracle Software Delivery Cloud website for Oracle Linux and Oracle VM.
Oracle Software Delivery Cloud website:
Start the Oracle Linux installation, and respond to installation screens with values appropriate for your environment.
Review the first software selection screen, which lists task-specific software options. At the bottom of the screen, there is an option to customize now or customize later. Select Customize now , and click Next .
On Oracle Linux 7 and Oracle Linux 6, select Servers on the left hand side of the screen, and System administration tools on the right hand side of the screen (options may vary between releases)
The Packages in System Tools window opens.
Select the Oracle Preinstallation RPM or Oracle Validated RPM package box from the package list.
If you do not have an Oracle Preinstallation RPM or Oracle Validated package option that is current for your Oracle Database release, because you are using an Oracle Linux installation that is previous to your Oracle Database and Oracle Grid Infrastructure release, then install the RPM for your release manually after completing the operating system install.
Close the optional package window and click Next .
Complete the other screens to finish installing Oracle Linux.
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
Repeat steps 2 through 6 on all other cluster member nodes.
3.3 Installing the Oracle Preinstallation RPM with ULN support
Use the following procedure to subscribe to Unbreakable Linux Network (ULN) Oracle Linux channels, and to add the Oracle Linux channel that distributes the Oracle Preinstallation RPM:
Register your server with Unbreakable Linux Network (ULN). By default, you are registered for the Oracle Linux Latest channel for your operating system and hardware.
Log in to Unbreakable Linux Network:
Click the Systems tab, and in the System Profiles list, select a registered server. The System Details window opens and displays the subscriptions for the server.
Click Manage Subscriptions . The System Summary window opens.
From the Available Channels list, select the Linux installation media copy and update patch channels corresponding to your Oracle Linux distribution. For example, if your distribution is Oracle Linux 5 Update 6 for x86_64, then select the following:
Oracle Linux 5 Update 6 installation media copy (x86_64)
Oracle Linux 5 Update 6 Patch (x86_64)
Start a terminal session and enter the following command as root , depending on your platform. For example:
Oracle Linux 6 and Oracle Linux 7:
You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed. For example:
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
Repeat steps 1 through 8 on all other servers in your cluster.
Check the RPM log file to review the system configuration changes. For example, on Oracle Linux 5:
3.4 Installing the Oracle Preinstallation RPM From Unbreakable Linux Network
Use the following procedure to subscribe to Oracle Linux channels, and to add the Oracle Linux channel that distributes the Oracle Preinstallation RPM:
Complete a default Oracle Linux workstation installation.
You can download Oracle Linux from the Oracle Software Delivery Cloud:
Register your server with Unbreakable Linux Network (ULN). By default, you are registered for the Oracle Linux Latest channel for your operating system and hardware.
Log in to Unbreakable Linux Network:
Click the Systems tab, and in the System Profiles list, select a registered server. The System Details window opens and displays the subscriptions for the server.
Click Manage Subscriptions . The System Summary window opens.
From the Available Channels list, select the Enterprise Linux installation media copy and update patch channels corresponding to your Oracle Linux distribution. For example, if your distribution is Oracle Linux 5 Update 5 for x86_64, then select the following:
Oracle Linux 5 Update 5 installation media copy (x86_64)
Oracle Linux 5 Update 5 Patch (x86_64)
Start a terminal session and enter the following command as root , depending on your platform:
Oracle Linux 6 and Oracle Linux 7:
You should see output indicating that you have subscribed to the Oracle Linux channel. For example:
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
Enter the following command as root to update the sysctl.conf settings:
The RPM packages set the Oracle software user to oracle by default. Before installing Oracle Database, you can update the Oracle user name in the etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf file and other configuration files.
Repeat steps 1 through 9 on all other servers in your cluster.
Check the RPM log file to review the system configuration changes. For example, on Oracle Linux 5:
3.5 Installing the Oracle Preinstallation RPM From DVDs or Images
Use the following procedure to install the Oracle Preinstallation RPM from the Oracle Linux distribution:
Obtain Oracle Linux disks either by ordering the Oracle Linux media pack from Oracle Store, or by downloading disk images from the Oracle Software Delivery Cloud website for Oracle Linux and Oracle VM.
Oracle Software Delivery Cloud website:
Start the Oracle Linux installation.
Review the first software selection screen, which lists task-specific software options. At the bottom of the screen, there is an option to customize now or customize later. Select Customize now , and click Next .
Select Base System on the Customization page, in the list on the left side of the screen, and then select System Tools on the right side of the screen. Then click Optional Packages .
The Packages in System Tools window opens.
Select the Oracle Preinstallation RPM package box from the package list, and click Next .
Complete the other screens to finish installing Oracle Linux.
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
Repeat steps 2 through 6 on all other cluster member nodes.
3.6 Installing Oracle Linux with Oracle Linux Yum Server Support
Use the following procedure to install Oracle Linux and configure your Linux installation for security errata or bug fix updates using the Oracle Linux yum server:
Obtain Oracle Linux DVDs from Oracle Store, or download Oracle Linux from the Oracle Software Delivery Cloud:
Oracle Software Delivery Cloud website:
Install Oracle Linux from the ISO or DVD image.
Download the yum repository file for your Linux distribution from http://yum.oracle.com/ , using the instructions you can find on the Oracle Linux yum server website. For example:
Ensure that the ol release _latest file (for example, ol6_latest for Oracle Linux 6) is enabled, as this is the repository that contains the Oracle Preinstallation RPM.
(Optional) Edit the repo file to enable other repositories. For example, enable the repository ol6_UEK_latest by setting enabled=1 in the file with a text editor.
Run the command yum repolist to verify the registered channels.
Start a terminal session and enter the following command as root , depending on your platform. For example:
Oracle Linux 6 and Oracle Linux 7:
You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed. For example:
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations.
After installation, run the command yum update as needed to obtain the most current security errata and bug fixes for your Oracle Linux installation.
3.7 Additional Optional Operating System Configuration Tasks
Complete the following optional configuration tasks:
3.7.1 Configure Oracle Ksplice Repository for Oracle Linux
You can use Oracle Ksplice if you have Oracle Linux Premier support subscription and an access key, which is available on ULN. For more information about Ksplice (including trial versions, see http://www.ksplice.com/ .
Complete the following task to register your system with Ksplice
Check for your kernel distribution at the following URL:
Ensure that you have access to the Internet on the server where you want to use Ksplice. For example, if you are using a proxy server, then set the proxy server and port values in the shell with commands similar to the following:
Download the Ksplice Uptrack repository RPM package:
Run the following commands:
3.7.2 Configure Additional Operating System Features
As needed, configure the operating system for additional features, such as IPMI or additional programming environments, then review Chapter 4, » Oracle Database Preinstallation Tasks»
Источник