Установить oracle на линукс

Установить oracle на линукс

Whether you are installing on a single system or on multiple systems, you should plan ahead to ensure a successful installation.

To upgrade from the latest version of the previous major Oracle Linux release to the current major release version, use the Leapp utility. See Oracle Linux 8: Performing System Upgrades With Leapp.

System Requirements

Verify that your system fulfills the following minimum requirements. In general, having more resources in the system improves a system’s performance.

  • Minimum of 2 logical CPUs up to 2048 logical CPUs
  • 1.5 GB of memory per logical CPU, up to a maximum of 64 TB
  • At least 10 GB of disk space (20 GB is the recommended minimum)
  • On UEFI systems, ensure that the target disk uses GPT (GUID Partition Table), as some UEFI firmwares do not support UEFI/MBR boot

Refer to the following additional resources for information related to installation issues and system requirements:

System Configuration

The configuration of the system itself also has an impact on the installation. Consider the following:

  • Storage device and partition on which the operating system is installed. The installation program displays a warning if disk space is insufficient.
  • Storage space for each file system ( / , /boot , /home , /var/tmp , and so on), the file system type, and whether the block device underlying each file system should be encrypted.
  • Layout and configuration of the storage devices such as use of logical volume management RAID configuration, encryption, and others.
  • For iSCSI or FCoE connections, the WWID or the port, target, and LUN to be used.
  • Required network setup using DHCP or static addresses, FQDN or host name, and so on.
  • Other specialized network interfaces to be configured during installation, such as VLANs and network bonding.
  • URLs of any additional repositories and proxy settings to be installed.
  • Software packages to be installed based on system’s intended purpose, such as a web server.

Obtaining Installation Images

To install Oracle Linux, download the installation images from the following locations:

  • Oracle Software Delivery Cloud at https://edelivery.oracle.com.
  • Oracle Linux yum server at https://yum.oracle.com/oracle-linux-isos.html. Note, however, that the Oracle Linux yum server does not provide equivalent repositories for some channels that are available on Unbreakable Linux Network (ULN). These channels provide non-open source packages. For more information about ULN, see Oracle Linux: Managing Software on Oracle Linux.

The following installation images are available for both the x86_64 platform and the aarch64 platform, unless indicated otherwise:

  • Full ISO of Oracle Linux for typical installations on systems that are located locally or remotely.
  • Boot ISO of Oracle Linux for network installations or if the installation media lacks space to store the full ISO.
  • Boot ISO of the supported UEK release for installations in which you want to use the Btrfs file system or for installing on hardware that is supported only on UEK. For instructions to install Oracle Linux with the Btrfs files system, see Installing a System With a Btrfs root File System.
  • Source DVDs that contain the source code for the software packages in the release.
Читайте также:  Как быстро удалить linux

Aside from installation ISOs, you can also use Oracle Linux images to create compute instances on Oracle Cloud Infrastructure (OCI). For information about these images, see the release notes for the specific image that you are using on the Oracle Cloud Infrastructure Documentation page at https://docs.oracle.com/iaas/images/. For information about using Oracle Linux instances, https://docs.oracle.com/en-us/iaas/oracle-linux/home.htm.

For information about the available ISOs for the three most recent updates to the Oracle Linux releases, refer to https://yum.oracle.com/oracle-linux-isos.html.

Preparing Installation Media

Before you can use an ISO image to install Oracle Linux, you must first store it in a bootable installation media, such as the following:

You can install Oracle Linux by using a boot image on portable devices such as a USB flash drive or an SD card, provided that the system’s firmware supports booting from those devices.

To create a bootable drive, use the dd command. Or, use a separate third-party utility to write the ISO image to a drive. See, for example, Create USB Installation Media for Oracle Linux with Fedora Media Writer.

This procedure destroys any existing data on the drive. Ensure that you specify the correct device name for the USB drive on your system.

  1. Insert a USB flash drive into an Oracle Linux system.
  2. Check the file systems that are on the drive.
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb1 35346 35346 0 100% /media/USB
sudo dd if=./full_image.iso of=/dev/sdb bs=512k

The USB flash drive is now ready to be used to boot a system and start the installation.

Due to storage limits, CDs or DVDs might no longer be sufficient to accommodate ISO images. Or, they can store only the boot ISO image.

To write the downloaded ISO image file to a CD or DVD, use a command such as cdrecord , for example:

sudo cdrecord -v -eject speed=16 dev=ATA:0,2,0 file_name.iso

To display the SCSI subsystem and device that corresponds to the CD or DVD writer, use the cdrecord -scanbus command.

Читайте также:  Linux for beginner tutorial

For the network drive, the image that you download can either be the full ISO image or just the boot image, while the network server can be of any type, such as NFS or a web server.

To copy the ISO image to a network drive, first mount the image and then use the following command syntax:

sudo cp -a -T path-to-mounted-ISO-image network_dir

For example, if you are using a web server to host the network drive, and have mounted the ISO image on the server’s /mnt location, you could run the following command:

sudo cp -a -T /mnt /var/www/html/OSimage/OL8

When the command completes, you can boot the system from the network drive.

Using a network drive is part of network installation, which requires you to build a network configuration that provides network installation functionality. For details, see Creating a Network Installation Setup.

A Driver Update Disk (DUD) provides a mechanism for delivering updated device drivers during system installation. On some systems, hardware might not be fully supported for an Oracle Linux release. In these cases, a DUD may be released at a later date to facilitate installation on newer hardware.

DUDs are released as modules and become available for previously unsupported hardware. The DUD is usually in the form of an ISO and is available in the Oracle Software Delivery Cloud or through MyOracle Support.

Like the other ISOs, the DUD must be stored in an appropriate media or an alternative storage device before it can be used to for installation.

Writing the DUD ISO to the wrong device may result in data loss. Check that you reference the correct device node when you copy the image. Use the lsblk utility to help you to identify the different disks block devices on your system.

To use the driver update disk, issue the dd command line utility to transfer the DUD image to a separate storage device:

sudo dd if=/path/to/DUD.iso of=/dev/sdX
  • /path/to/DUD.iso refers to the full path to the location of the DUD ISO file.
  • /dev/sdX refers to the device node of the storage media that you intend to use for the DUD.

As an alternative, you can transfer the DUD image to a location that is accessible over the network such as a web server or an NFS server.

Источник

Установить oracle на линукс

Perform the following steps to install and configure Oracle Database using RPM packages.

Installing Oracle Database RPM using yum

  1. Log in as root .
  2. 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.
Читайте также:  Linux dlopen undefined reference to

Installing Oracle Database RPM Manually

  1. Log in as root .
  2. Download and install the Oracle Database Preinstallation RPM:
    1. 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:

    1. Log in as root.
    2. 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 на линукс

    Database Installation Guide

    Oracle Database Database Installation Guide, 19c for Linux

    Copyright © 2015, 2023, Oracle and/or its affiliates.

    Primary Authors: Prakash Jashnani, Subhash Chandra

    Contributing Author: Douglas Williams

    Contributors: Ranjit Noronha, Jean-Francois Verrier, Richard Roddy, Rajesh Dasari, Smitha Viswanathan, Neha Avasthy, Sampath Ravindhran, Prasad Bagal, Subhranshu Banerjee, Gerald Venzl, Tammy Bednar, Avi Miller, Jean-Marc Thayer, Alok Sahu, Gavin Bowe, Gia-Khanh Nguyen, Darcy Christensen, Kiran Chamala, Jonathan Creighton, Benoit Dageville, Logeshwaran Rajan, Angad Gokakkar , Anu Natarajan, Girdhari Ghantiyala, Mani Mannampalli, Bernard Clouse, Chandrasekharan Iyer, Anil Nair, Sivaram Soma, Lisa Vaz, Vasu Venkatasubramanian, Sumanta Chatterjee, Margaret Susairaj, Malai Stalin, Markus Michalewicz, Subrahmanyam Kodavaluru, Sudip Datta, Madhu Hunasigi, Jim Erickson, Marcus Fallen, Joseph Francis, Allan Graves, Barbara Glover, Asad Hasan, Thirumaleshwara Hasandka, Putta Ramesh, Sergio Leunissen, Aneesh Khandelwal, Joel Kallman, Eugene Karichkin, Jai Krishnani, Prasad K Kulkarni, Ranjith Kundapur, Balaji Pagadala, Christopher Jones, Tak Wang, Bryn Llewellyn, Saar Maoz, Chao Liang, Gopal Mulagund, Pushkar Punit, Sivaselvam Narayanasamy, Ankur Kemkar, Sue Lee, Rich Long, Ricardo Alonso Gonzalez Acuna, Barb Lundhild, Sangeeth Jose, Rudregowda Mallegowda, Prasad Kuruvadi Nagaraj, Mughees Minhas, Krishna Mohan, Matthew McKerley, John McHugh, Gurudas Pai, Satish Panchumarthy , Rajesh Prasad, Rajendra Pingte, Ramesh Chakravarthula, Srinivas Poovala, David Price, Hanlin Qian, Michael Coulter, Hema Ramamurthy, Sunil Ravindrachar, Mark Richwine, Dipak Saggi, Alan Tam, Ian Cookson, David Schreiner, Ara Shakian, Naveen Ramamurthy, Mohit Singhal, Dharma Sirnapalli, Akshay Shah, James Spiller, Roy Swonger, Binoy Sukumaran, Jagvir Yadav, Ravi Thammaiah, Shekhar Vaggu, Pablo Sainz Albanez, Hector Vieyra, Peter Wahl, John Haxby, Sergiusz Wolicki, Sivakumar Yarlagadda, Nagendra Kumar Ym

    Источник

Оцените статью
Adblock
detector