Oracle linux установка пакетов rpm
- Preface
- Oracle Linux Security Overview
- Basic Security Considerations
- Keep Software up to Date
- Restrict Network Access to Critical Services
- Follow the Principle of Least Privilege
- Monitor System Activity
- Keep up to Date on the Latest Security Information
- Pre-Installation Tasks
- Installing Oracle Linux
- Shadow Passwords and Hashing Algorithms
- Strong Passwords
- Separate Disk Partitions
- Encrypted Disk Partitions
- Software Selection
- Network Time Service
- Configuring and Using Data Encryption
- Configuring a GRUB Password
- Configuring and Using Certificate Management
- About the openssl Command
- About the keytool Command
- About Local Oracle Linux Authentication
- About IPA
- About LDAP Authentication
- About NIS Authentication
- About Winbind Authentication
- About Kerberos Authentication
- About SELinux Administration
- About SELinux Modes
- Setting SELinux Modes
- About SELinux Policies
- Targeted Policy
- Multilevel Security (MLS) Policy
- Setting SELinux Policies
- Customizing SELinux Policies
- Displaying SELinux User Mapping
- Displaying SELinux Context Information
- Changing the Default File Type
- Restoring the Default File Type
- Relabelling a File System
- Mapping Oracle Linux Users to SELinux Users
- Configuring the Behavior of Application Execution for Users
- Configuring Update and Patch Management
- Installing and Using the Yum Security Plugin
- Configuring and Using Packet-filtering Firewalls
- Listing Firewall Rules
- Inserting Rules in a Chain
- Deleting Rules in a Chain
- Running DNS and FTP Services in a Chroot Jail
- Creating a Chroot Jail
- Using a Chroot Jail
- Address Space Layout Randomization
- Data Execution Prevention
- Position Independent Executables
- Design Principles for Secure Coding
- General Guidelines for Secure Coding
- General Guidelines for Network Programs
- Minimizing the Software Footprint
- Configuring System Logging
- Disabling Core Dumps
- Minimizing Active Services
- Locking Down Network Services
- Configuring a Packet-filtering Firewall
- Configuring TCP Wrappers
- Configuring Kernel Parameters
- Restricting Access to SSH Connections
- Configuring File System Mounts, File Permissions, and File Ownerships
- Checking User Accounts and Privileges
- About SCAP
- Installing the SCAP Packages
- About the oscap Command
- Displaying the Available SCAP Information
- Displaying Information About a SCAP File
- Displaying Available Profiles
- Validating OVAL and XCCDF Files
- Running a Scan Against a Profile
- Generating a Full Security Guide
- Running an OVAL Auditing Scan
- FIPS Validated Cryptographic Modules for Oracle Linux
- Enabling FIPS Mode on Oracle Linux
- Installing FIPS Validated Cryptographic Modules for Oracle Linux
- Installing and Using the OpenSSL FIPS Object Module
- Installing the OpenSSL FIPS Object Module
- Using the OpenSSL FIPS Object Module
The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.3.11 Configuring and Using Software Management
Oracle Linux provides the yum utility which you can use to install or upgrade RPM packages. The main benefit of using yum is that it also installs or upgrades any package dependencies. yum downloads packages from repositories such as those that are available on the Oracle Linux yum server and the Unbreakable Linux Network (ULN), but you can also set up your own repositories on systems that do not have Internet access.
The Oracle Linux yum server is a convenient way to install Oracle Linux packages rather than installing them from installation media. You can also subscribe to the Oracle Linux errata mailing list, and obtain bug fixes, security fixes and enhancements. You can access the server at https://yum.oracle.com/.
If you have registered your system with ULN, you can use yum with the ULN channels to maintain the software on your system
You can use the RPM package manager to verify the integrity of installed system files. The rpm -V package and rpm -Vf filename commands verify packages and files respectively by comparing them with package metadata in the RPM database. The verify operation compares file size, MD5 sum, permissions, type, owner, and group and displays any discrepancies. To see more verbose information, specify the -v option. You can use the rpm -qa command to verify the integrity of all the packages that are installed on a system, for example:
#
for i in `rpm -qa`
>do
>rpm -V $i > .tmp || echo -e "\nDiscepancies for package $i" && cat .tmp
>rm -f .tmp
>done
Discepancies for package gdm-2.30.4-33.0.1.el6_2.x86_64 .M. G.. /var/log/gdm .M. /var/run/gdm missing /var/run/gdm/greeter Discepancies for package libgcj-4.4.6-4.el6.x86_64 ..5. T. c /usr/lib64/security/classpath.security Discepancies for package sudo-1.7.4p5-12.el6_3.x86_64 S.5. T. c /etc/sudoers Discepancies for package libcgroup-0.37-4.el6.x86_64 S.5. T. c /etc/cgconfig.conf Discepancies for package yum-3.2.29-30.0.1.el6.noarch . T. c /etc/yum.conf Discepancies for package kernel-2.6.32-279.el6.x86_64 . T. /etc/ld.so.conf.d/kernel-2.6.32-279.el6.x86_64.conf .A string of character codes indicates the discrepancies between an installed file and the metadata for that file. The following table lists the meanings of the character codes in the output from rpm -V :
Description of Difference
Oracle linux установка пакетов rpm
Perform the following steps to install and configure Oracle Database using RPM packages.
Installing Oracle Database RPM using yum
- Log in as root .
- 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-21c
Installing Oracle Database RPM Manually
- Log in as root .
- Download and install the Oracle Database Preinstallation RPM:
- On Oracle Linux 7
# yum -y install oracle-database-preinstall-21c
# dnf -y install oracle-database-preinstall-21c
# curl -o oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/latest/x86_64/getPackage/oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm # yum -y localinstall oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
# rm oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
# cd /tmp # yum -y localinstall oracle-database-ee-21c-1.0-1.ol7.x86_64.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:
- Log in as root.
- To configure a sample Oracle Database instance, run the following service configuration script:
# /etc/init.d/oracledb_ORCLCDB-21c configure
Note: You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-21c.conf file.
Related Topics
Oracle linux установка пакетов rpm
Perform the following steps to install and configure Oracle Database using RPM packages.
Installing Oracle Database RPM using yum
- Log in as root .
- 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
- Log in as root .
- Download and install the Oracle Database Preinstallation RPM:
- On Oracle Linux
# yum -y install oracle-database-preinstall-19c
# curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm # yum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
# rm oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
# cd /tmp # yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.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:
- Log in as root.
- To configure a sample Oracle Database instance, run the following service configuration script:
# /etc/init.d/oracledb_ORCLCDB-19c configure
Note: You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-19c.conf file.
Related Topics
- Basic Security Considerations