Oracle linux установка субд
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-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
- Log in as root .
- Download and install the Oracle Preinstallation RPM:
- On Oracle Linux
# yum -y install oracle-database-preinstall-18c
# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm # yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
# rm oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
# cd /tmp # yum -y localinstall oracle-database-ee-18c-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-18c configure
Note: You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-18c.conf file.
Related Topics
Oracle linux установка субд
Database Installation Guide
Oracle Database Database Installation Guide, 21c for Linux
Copyright © 2019, 2022, Oracle and/or its affiliates.
Primary Author: Prakash Jashnani
Contributing Authors: Douglas Williams, Subhash Chandra
Contributors: Jean-Francois Verrier, David Austin, Neha Avasthy, Sampath Ravindhran, Prasad Bagal, Subhranshu Banerjee, Gerald Venzl, Tammy Bednar, Sivaselvam Narayanasamy, Sangeeth Jose, Pushkar Punit, Peter Fusek, Darcy Christensen, Kiran Chamala, Jonathan Creighton, Benoit Dageville, Ranjit Noronha, Mani Mannampalli, Sumanta Chatterjee, Margaret Susairaj, Rajesh Dasari, Ricardo Gonzalez, Angad Gokakkar , Anu Natarajan, Girdhari Ghantiyala, Bernard Clouse, Chandrasekharan Iyer, David Jimenez, Sivaram Soma, Lisa Vaz, Vishal Saxena, Vasu Venkatasubramanian, Suman Palavalli, Sameer Joshi, Malai Stalin, Markus Michalewicz, Subrahmanyam Kodavaluru, Sudip Datta, Madhu Hunasigi, Jim Erickson, Marcus Fallen, Joseph Francis, Allan Graves, Barbara Glover, Thirumaleshwara Hasandka, Putta Ramesh, Sergio Leunissen, Aneesh Khandelwal, Joel Kallman, Eugene Karichkin, Jai Krishnani, Prasad K Kulkarni, Kevin Jernigan, Christopher Jones, Simon Law, Bryn Llewellyn, Saar Maoz, Gopal Mulagund, Ankur Kemkar, Sue Lee, Rich Long, Raunak Rungta, Barb Lundhild, Robert Achacoso, Rudregowda Mallegowda, Prasad Kuruvadi Nagaraj, Krishna Mohan, John McHugh, Satish Panchumarthy , Rajesh Prasad, Rajendra Pingte, Ramesh Chakravarthula, Srinivas Poovala, David Price, Hanlin Qian, Michael Coulter, Hema Ramamurthy, Mark Richwine, Dipak Saggi, Rodrigo Gonzalez Alba, Naveen Ramamurthy, Mohit Singhal, Dharma Sirnapalli, Akshay Shah, James Spiller, Roy Swonger, Binoy Sukumaran, Ravi Thammaiah, Pablo Sainz Albanez, Hector Vieyra, Peter Wahl, John Haxby, Sergiusz Wolicki
Oracle linux установка субд
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
Oracle linux установка субд
Perform the following steps to install and configure Oracle Database XE using RPM packages.
Before attempting to install Oracle Database XE 18c, uninstall any existing Oracle Database XE or database with the SID XE from the target system.
An Oracle Database XE installation will consume around 9 gigabytes of disk space under /opt . If this disk partition does not have the required disk space available, you must add space or mount an alternative partition as /opt/oracle . This disk partition is the defined Oracle Base where the software and database will reside.
The Oracle Database XE installation does not support usage of symbolic links (symlink) for that disk.
Installing Oracle Database XE RPM
- Execute as user root using sudo .
# curl -o oracle-database-preinstall-18c-1.0-1.el6.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el6.x86_64.rpm # yum -y localinstall oracle-database-preinstall-18c-1.0-1.el6.x86_64.rpm
# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm # yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
# yum -y localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm
The Database Preinstallation RPM automatically creates Oracle installation owner and groups and sets up other kernel configuration settings as required for Oracle installations. If you plan to use job-role separation, then create the extended set of database users and groups depending on your requirements. Check the RPM log file to review the system configuration changes.
For example, review this file for latest changes: /var/log/oracle-database-preinstall-18c/results/orakernel.log .
The installation of Oracle Database software is now complete.
After successful installation, you can delete the downloaded RPM files, for example:
# rm oracle-database-preinstall-18c-1.0-1.el6.x86_64.rpm # rm oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm # rm oracle-database-xe-18c-1.0-1.x86_64.rpm
Creating and Configuring an Oracle Database
The configuration script creates a container database ( XE ) with one pluggable database ( XEPDB1 ) and configures the listener at the default port (1521) and Enterprise Manager Express on port 5500.
You can modify the configuration parameters by editing the /etc/sysconfig/oracle—xe–18c.conf file.
The parameters set in this file are explained in more details in the silent mode installation procedure: Performing a Silent Installation.
To create the Oracle XE database with the default settings, perform the following steps:
- Execute as user root using sudo .
# /etc/init.d/oracle-xe-18c configure
At the prompt, specify a password for the SYS , SYSTEM , and PDBADMIN administrative user accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit 3.
See Also: The same password will be used for these accounts. The password should conform to the Oracle recommended standards. See Oracle Database Security Guide for more information about guidelines for securing passwords
Configuration, Database Files and Logs Location
Table 5-1 Configuration, Database Files and Logs Location
Oracle Base. This is the root of the Oracle Database XE directory tree.
Oracle Home. This home is where the Oracle Database XE is installed. It contains the directories of the Oracle Database XE executables and network files.
Diagnostic logs. The database alert log is /opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log
Database creation logs. The XE.log file contains the results of the database creation script execution.
Configuration default parameters.
Configuration and services script.