- Downloads
- Technologies
- Partners
On my CentOS 6.5 system, the Open-iSCSI package is not installed by default. [root@linux ~]# rpm -qa| grep iscsi-initiator-utils. If the iscsi-initiator-utils package is not already installed, use the “yum” command to install it. Connect to an iSCSI target using Open-iSCSI initiator software”. May 18, 2010 How to install and configure Openfiler iscsi target. Redhat //default it'll be password. Here i changed to redhat. Web Interface. In order to use openfiler target as disk, it has to be set as iscsi initiator. For that we need to install the following package. #rpm -ivh iscsi-initiator-utils-6.2.0.865-0.8.el5.i386.rpm.
by Ginny Henningsen; updated by Michele Casey
How to simplify the installation of Oracle Database 12c or 11g on Oracle Linux 6 by installing the oracle-rdbms-server-12cR1-preinstall
or oracle-rdbms-server-11gR2-preinstall
RPM package, which automatically performs a number of tasks, such as installing required software packages, resolving package dependencies, and modifying kernel parameters.
![Install rpm package on open filer default login account Install rpm package on open filer default login account](/uploads/1/2/5/8/125837627/817109400.jpg)
Published September 2012 (updated September 2017)
![Install Rpm Package On Open Filer Default Login Install Rpm Package On Open Filer Default Login](/uploads/1/2/5/8/125837627/864005899.png)
READ THIS FIRST: Important Changes Since Publication
While the content in this article is still valid, several details have changed. For example:
- For Oracle Database 12c Release 2, the preinstall RPM has a different name than the one used in the article belowpu:
- oracle-database-server-12cR2-preinstall
- See also this documentation: Automatically Configuring Oracle Linux with Oracle Preinstallation RPM
- The preinstall RPMs are published on Oracle Linux yum server for both Oracle Linux 6 and 7 in the Latest repositories which are configured and enabled by default in recent releases of Oracle Linux 6 and 7
Introducing the oracle-rdbms-server-12cR1-preinstall
and oracle-rdbms-server-11gR2-preinstall
RPM for Oracle Linux
Before installing Oracle Database 12c or 11g on a system, you need to preconfigure the operating environment since the database requires certain software packages, package versions, and tweaks to kernel parameters. (Be sure to review the appropriate Oracle Database installation guide to familiarize yourself with hardware, software, and operating system requirements.)
|
Note: This article applies to Oracle Linux 6. A previous article, 'How I Simplified Oracle Database Installation on Oracle Linux,' covered performing a similar task on versions of Oracle Linux 5.
On Oracle Linux, I discovered that there is a remarkably easy way to address these installation prerequisites: First, depending on your database version, install either the RPM package called
oracle-rdbms-server-12cR1-preinstall
or oracle-rdbms-server-11gR2-preinstall
. This RPM performs a number of preconfiguration steps, including the following:- Automatically downloading and installing any additional software packages and specific package versions needed for installing Oracle Grid Infrastructure and Oracle Database 12 c Release 1 (12.1) or 11g Release 2 (11.2.0.3), with package dependencies resolved via
yum
orup2date
capabilities. - Creating the user
oracle
and the groupsoinstall
(forOraInventory
) anddba
(forOSDBA
), which are used during database installation. (For security purposes, this user has no password by default and cannot log in remotely. To enable remote login, please set a password using thepasswd
tool.) - Modifying kernel parameters in
/etc/sysctl.conf
to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on. - Setting hard and soft shell resource limits in
/etc/security/limits.conf
, such as the locked-in memory address space, the number of open files, the number of processes, and core file size. - Setting
numa=off
in the kernel for x86_64 machines.
Note that
oracle-rdbms-server-12cR1-preinstall
and oracle-rdbms-server-11gR2-preinstall
parses the existing /etc/sysctl.conf
and /etc/security/limits.conf
files and updates values only as needed for database installation. Any precustomized settings not related to database installation are left as is.The
oracle-rdbms-server-12cR1-preinstall
and oracle-rdbms-server-11gR2-preinstall
RPM packages are accessible through the Oracle Unbreakable Linux Network (ULN, which requires a support contract), from the Oracle Linux distribution media, or from the Oracle public yum repository. Thus, whether or not your system is registered with ULN to access Oracle patches and support, you can use oracle-rdbms-server-12cR1-preinstall
and oracle-rdbms-server-11gR2-preinstall
to simplify database installation on Oracle Linux. In addition, the Oracle public yum repository now includes all security and bug errata, ensuring systems are secured and stable with the latest security updates and bug fixes.Installing the oracle-rdbms-server-12cR1-preinstall
or oracle-rdbms-server-11gR2-preinstall
RPM
The remainder of this article steps through the procedure that I used for installing
oracle-rdbms-server-11gR2-preinstall
on Oracle Linux via the Oracle public yum repository. The same steps outlined in the following section can be used for either version of the preinstall RPM package. I started with a system running Oracle Linux Release 6 Update 4 for x86_64, a 64-bit version of Oracle Linux that I downloaded from the Oracle software delivery cloud (requires registration or login). First, I set up a yum
configuration file that pointed to the correct repository, and then I installed the oracle-rdbms-server-11gR2-preinstall
RPM from that repository.Here are the steps for preconfiguring a system for Oracle Database installation using
oracle-rdbms-server-11gR2-preinstall
. Remember, the steps are the same when using the oracle-rdbms-server-12cR1-preinstall
package; you simply need to change the name of the RPM package during the yum installation step.- As an authorized user (for example,
root
), retrieve the file that configures repository locations: - Using a text editor, modify the file, changing the field
enabled=0
toenabled=1
to reflect repositories that correspond to the machine's operating system release.Here is an excerpt ofpublic-yum-old6.repo
with the changed lines in boldface.Because the target system is running Oracle Linux Release 6 Update 4 for x86_64, which installs the Oracle Unbreakable Enterprise Kernel by default, there are two repositories to enable,[ol6_latest]
and[ol6_UEK_latest]
. - Next, install the
oracle-rdbms-server-11gR2-preinstall
RPM using theyum install
command. If you are using Oracle Database 12c, then you would typeyum install
.The output in Listing 1 shows how the installation checks dependencies and then downloads and installs the required packages.Listing 1: Installing theoracle-rdbms-server-11gR2-preinstall
RPMThe yum installation logs messages about kernel changes in the file/var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log
, and it makes backups of current system settings in the directory/var/log/oracle-rdbms-server-11gR2-preinstall/backup
. - At this point, the system is ready for the installation of Oracle Database. For example, to install Oracle Database 11g Release 2, follow the directions in Chapter 4, 'Installing Oracle Database,' of the Database Installation Guide for Linux.'Here are the steps I followed while installing Oracle Database 11g Release 2 in my test environment. Make sure you review all documentation and follow recommended best practices before installing into your production environment.
- As
root
, create a parent directory in a file system that has sufficient space to be the target location for the downloaded files:The amount of disk space needed in the file system varies according to the specific installation type, but roughly twice the size of the zip archives, or 5 GB, is enough to house the software and data files. - Into this target directory, download the installation media files from the Oracle Database Software Downloads page on Oracle Technology Network.
- Extract the files:
- Log in as the user
oracle
. Change directory to thedatabase
directory and enter the following command to run the Oracle Universal Installer:
The Oracle Universal Installer performs a number of checks, verifying that the necessary OS packages and versions are installed. In addition, it checks kernel parameters set by theoracle-rdbms-server-11gR2-preinstall
installation. During the kernel settings check, the installer might flag a few settings as 'failed,' and you should investigate these failures. In some cases, you still might be able to continue with the database installation. If you check kernel settings in/etc/sysctl.conf
, you'll see thatoracle-rdbms-server-11gR2-preinstall
has modified and added the necessary settings to ensure the minimum requirements are met, as defined in section 2.10.1, 'Displaying and Changing Kernel Parameter Values,' in Chapter 2, 'Oracle Database Preinstallation Requirements,' of the Oracle Database Installation Guide 11g Release2 (11.2) for Linux. Below is the list of requirements:If necessary, you can (asroot
) edit the file/etc/sysctl.conf
to specify a setting manually, for example:The Oracle Universal Installer performs additional checks, such as verifying theglibc
version, sufficient disk space, environmental variable and path settings, and sufficient physical memory and swap space. Generally, installingoracle-rdbms-server-11gR2-preinstall
takes care of the prerequisites so that you can proceed directly with installing the database. - As
Final Thoughts
Installing the
oracle-rdbms-server-12cR1-preinstall
and oracle-rdbms-server-11gR2-preinstall
RPMs can save time when installing Oracle Database 12c and 11g on Oracle Linux. These RPMs address most Oracle Database installation prerequisites and greatly simplify the installation process.See Also
Here are the resources referenced earlier in this document:
- Oracle Unbreakable Linux Network: https://linux.oracle.com
- Oracle Linux yum server: http://yum.oracle.com/
- Oracle software delivery cloud (requires registration or login): https://edelivery.oracle.com/linux
- Chapter 4, 'Installing Oracle Database,' of the Database Installation Guide for Linux: http://docs.oracle.com/cd/E11882_01/install.112/e24321/inst_task.htm#BABBBHJH
- Oracle Database Software Downloads page on Oracle Technology Network: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
And here are some additional resources from the Oracle Database Documentation Library (http://www.oracle.com/pls/db112/homepage). Relevant subsections from the Oracle Database Installation Guide 11g Release 2 (11.2) for Linux (http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/toc.htm) with currently valid URLs are as follows:
- 'About the Oracle RDBMS Pre-Install and Oracle Validated RPMs' from Chapter 1, 'Overview of Oracle Database Installation': http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/install_overview.htm#BABDBHCJ
- Chapter 2, 'Oracle Database Preinstallation Requirements': http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/pre_install.htm#BABFDGHJ
- 'Downloading Oracle Software' from Chapter 4, 'Installing Oracle Database,' which describes how to download installation files from the Oracle Technology Network Website: http://docs.oracle.com/cd/E11882_01/install.112/e16763/inst_task.htm#autoId6
Also see the blog entry 'Oracle RDBMS Server 11gR2 Pre-Install RPM for Oracle Linux 6 has been released': https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre
About the Authors
Ginny Henningsen has worked for the last 15 years as a freelance writer developing technical collateral and documentation for high-tech companies. Prior to that, Ginny worked for Sun Microsystems, Inc. as a Systems Engineer in King of Prussia, PA and Milwaukee, WI. Ginny has a BA from Carnegie-Mellon University and a MSCS from Villanova University.
Michele Casey is the Director of Product Management for Oracle Linux. She has worked with commercial Linux distributions and open source projects as a product manager since 2006. She has also held positions as a system administrator, project manager, and technical support engineer.
Revision 1.1, 07/09/2013; added information about using theoracle-rdbms-server-12cR1-preinstall package to install Oracle Database 12c |
Follow us:
Blog | Facebook | Twitter | YouTube
false Blog | Facebook | Twitter | YouTube
One of the several duties of a system administrator is to install and manage software on a computer system-Linux in this case and in order keep track of installed/available software packages on your system, you can learn, and/or keep in mind a few quick commands.
In this article, we will explain how to list all installed rpm packages on CentOS, RHEL and Fedora distributions using four different ways.
1. Using RPM Package Manager
RPM (RPM Package Manager) formerly known as Red-Hat Package Manager is an open source, low-level package manager, which runs on Red Hat Enterprise Linux (RHEL) as well as other Linux such as CentOS, Fedora and UNIX systems.
You can compare it to DPKG Package Manager, the default packaging system for Debian and it’s derivatives such as Ubuntu, Kali Linux etc.
The following command will print a list of all installed packages on your Linux system, the flag
-q
meaning query and -a
enables listing of all installed packages:2. Using YUM Package Manager
YUM (Yellowdog Updater, Modified) is an interactive, front-end rpm based, package manager.
You can use the yum command below to list all installed packages on your system, one advantage with this method is, it includes the repository from which a package was installed:
Yum – List All Installed Packages
3. Using YUM-Utils
Yum-utils is an assortment of tools and programs for managing yum repositories, installing debug packages, source packages, extended information from repositories and administration.
To install it, run the command below as root, otherwise, use sudo command:
Once you have it installed, type the repoquery command below to list all installed packages on your system:
To list installed packages from a particular repository, use the yumdb program in the form below:
List All Installed Packages from Repository
Read more about package management in Linux:
In this article, we showed you how to list all installed packages on CentOS or RHEL four different ways. Share your thoughts concerning this article via the feedback section below.