Установка oracle 10g на centos 6.2 x64

Post Installation

Edit the «/etc/oratab» file setting the restart flag for each instance to ‘Y’.

cdb1:/u01/app/oracle/product/19.0.0/db_1:Y

Enable Oracle Managed Files (OMF) and make sure the PDB starts when the instance starts.

sqlplus / as sysdba <<EOF
alter system set db_create_file_dest='${DATA_DIR}';
alter pluggable database ${PDB_NAME} save state;
exit;
EOF

For more information see:

  • Oracle Database 19c : Installation Guide for Linux
  • Automating Database Startup and Shutdown on Linux
  • Oracle Universal Installations (OUI) Silent Installations
  • Database Configuration Assistant (DBCA) : Creating Databases in Silent Mode

Hope this helps. Regards Tim…

Instant Client Downloads for Microsoft Windows (x64) 64-bit

See the Instant Client Home Page for more information about Instant Client.

The installation instructions are at the foot of the page.

Oracle Client-to-Oracle Database version interoperability is detailed in Doc ID 207303.1. For example, applications using Oracle Call Interface 19 can connect to Oracle Database 11.2 or later. Some tools may have other restrictions.

Version 19.6.0.0.0

Base — one of these packages is required

(81,309,989 bytes) (cksum — 1766760038)

Smaller version of the Basic package, with only English error messages and Unicode, ASCII, and Western European character set support

(41,054,484 bytes) (cksum — 1309185732)

Tools — optional packages

(973,244 bytes) (cksum — 1878978971)

(1,062,449 bytes) (cksum — 3996783831)

Development and Runtime — optional packages

Additional header files and an example makefile for developing Oracle applications with Instant Client

(1,846,081 bytes) (cksum — 1474011525)

(1,586,258 bytes) (cksum — 6064617)

(853,978 bytes) (cksum — 2863866786)

Precompiler Package Precompiler Downloads Additional files for Pro*C and Pro*COBOL

Update

  • Нативная поддержка работы со слабоструктурированными JSON-данными;
  • Поддержка длинных наименований для объектов БД, таких как таблицы, функции, пакеты и т.д. Те, кто в теме знают, что до, по моему, 12c Release 1 существовало ограничение в 30 символов, что порой вызывало сложности именования;
  • Advanced Index Compression;
  • Новый пакет ;
  • PL/SQL-функции, определенные в выражении SQL WITH;
  • PL/SQL-Specific типы данных теперь разрешены к использованию через PL/SQL-to-SQL-интерфейс;
  • PTF или Polymorphic Table Functions, позволяющие регулировать формат вывода в рантайме;
  • Qualified Expressions, или по-другому конструкторы для всех типов коллекций в PL/SQL;
  • Private Temporary Tables, существующие только в рамках текущей сессии.

И это далеко не всё, а только то, что радует лично меня и чем я обязательно воспользуюсь. Полный список изменений можно посмотреть в официальной документации:

  • Oracle Database 12c New Features
  • Oracle Database 18c New Features

Operating System Installations

These articles provide a pictorial guide for performing an installation of Oracle linux.

  • Oracle Enterprise Linux 4.5
  • Oracle Enterprise Linux 5
  • Oracle Linux 6 Installation
  • Oracle Linux 7 Installation
  • Oracle Linux 8 Installation

These articles provide a pictorial guide for performing an installation of RHEL.

  • Red Hat Enterprise Linux 2.1 and CentOS 2 Installation
  • Red Hat Enterprise Linux 3 and CentOS 3 Installation
  • Red Hat Enterprise Linux 4 and CentOS 4 Installation
  • Red Hat Enterprise Linux 5 and CentOS 5 Installation

These articles provide a pictorial guide for performing an installation of Fedora.

  • Fedora Core 6 (FC6) Installation
  • Fedora 7 (F7) Installation
  • Fedora 8 (F8) Installation
  • Fedora 9 (F9) Installation
  • Fedora 10 (F10) Installation
  • Fedora 11 (F11) Installation
  • Fedora 12 (F12) Installation
  • Fedora 13 (F13) Installation
  • Fedora 14 (F14) Installation
  • Fedora 15 (F15) Installation
  • Fedora 16 (F16) Installation
  • Fedora 17 (F17) Installation
  • Fedora 18 (F18) Installation
  • Fedora 19 (F19) Installation
  • Fedora 20 (F20) Installation
  • Fedora 21 (F21) Installation
  • Fedora 22 (F22) Installation
  • Fedora 23 (F23) Installation
  • Fedora 24 (F24) Installation
  • Fedora 25 (F25) Installation
  • Fedora 26 (F26) Installation
  • Fedora 27 (F27) Installation
  • Fedora 28 (F28) Installation
  • Fedora 29 (F29) Installation
  • Fedora 30 (F30) Installation
  • Fedora 31 (F31) Installation
  • Fedora 32 (F32) Installation

Here are some miscellaneous installation articles.

  • Oracle VM (2.2) Installation
  • Oracle VM (3.0) Installation
  • SUSE Linux 10.1 Installation
  • Ubuntu 6.10 Installation
  • VMware ESX Server 3 Installation
  • Solaris 10 (x86-32) Installation

1 Reviewing Information About This Guide

This guide describes how to complete a default installation of Oracle Database Client on a system that does not have any Oracle software installed on it. It describes how to install one of the following installation types:

  • Administrator: Enables applications to connect to an Oracle Database instance on the local system or on a remote system. It also provides tools that enable you to administer Oracle Database.

  • Runtime: Enables applications to connect to an Oracle Database instance on the local system or on a remote system.

  • Instant Client: Enables you to install only the shared libraries required by Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), Pro*C, or Java database connectivity (JDBC) OCI applications. This installation type requires much less disk space as compared to the other Oracle Database Client installation types.

See Also:

Oracle Call Interface Programmer’s Guide for more information about Instant Client

This guide does not describe how to install the Custom installation type.

Where to Get Additional Installation Information

For more detailed information about installing Oracle Database Client, refer to Oracle Database Client Installation Guide for Linux.

12 Additional Information

This section contains information about the following:

Product Licenses

You are welcome to install and evaluate the products included in this media pack for 30 days under the terms of the Trial License Agreement. However, you must purchase a program license if you want to continue using any product after the 30 day evaluation period. See the following section for information about purchasing program licenses.

Purchasing Licenses and Version Updates

You can purchase program licenses and updated versions of Oracle products from the Oracle Store website:

Contacting Oracle Support Services

If you have purchased Oracle Product Support, you can call Oracle Support Services for assistance 24 hours a day, seven days a week. For information about purchasing Oracle Product Support or contacting Oracle Support Services, go to the Oracle Support Services website:

Locating Product Documentation

Product documentation includes information about configuring, using, or administering Oracle products on any platform. The product documentation for Oracle Database products is available in both HTML and PDF formats online:

История выпусков

Oracle Linux Release Architectures RHEL base Oracle Linux release date RHEL release date Days after RHEL release
4.5 i386, x86-64 4.5 2007-05-01
4.6 i386, x86-64 4.6 2007-12-10 2007-11-16 24
4.7 i386, x86-64 4.7 2008-08-05 2008-07-24 12
4.8 i386, x86-64 4.8 2009-05-26 2009-05-18 8
4.9 i386, x86-64 4.9 2011-02-16
5.0 i386, x86-64 5 2007-06-26 2007-03-14 104
5.1 i386, x86-64 5.1 2007-11-26 2007-11-07 19
5.2 i386, x86-64 5.2 2008-06-02 2008-05-21 12
5.3 i386, x86-64 5.3 2009-01-28 2009-01-20 8
5.4 i386, x86-64, ia64 5.4 2009-09-09 2009-09-02 7
5.5 i386, x86-64, ia64 5.5 2010-04-07 2010-03-31 7
5.6 i386, x86-64, ia64 5.6 2011-01-22 2011-01-13 9
5.7 i386, x86-64, ia64 5.7 2011-08-16 2011-07-21 26
5.8 i386, x86-64, ia64 5.8 2012-03-02 2012-02-21 10
5.9 i386, x86-64, ia64 5.9 2013-01-16 2013-01-07 9
5.10 i386, x86-64, ia64 5.10 2013-10-08 2013-10-01 7
5.11 i386, x86-64, ia64 5.11 2014-09-23 2014-09-16 7
6.0 i386, x86-64 6 2011-02-11 2010-11-10 93
6.1 i386, x86-64 6.1 2011-06-01 2011-05-19 13
6.2 i386, x86-64 6.2 2011-12-15 2011-12-06 9
6.3 i386, x86-64 6.3 2012-06-28 2012-06-21 7
6.4 i386, x86-64 6.4 2013-02-28 2013-02-21 7
6.5 i386, x86-64 6.5 2013-11-12 2013-11-21 6
6.6 i386, x86-64 6.6 2014-10-21 2014-10-14 7
6.7 i386, x86-64 6.7 2015-07-31 2015-07-22 9
SPARC 2017-03-31 618
6.8 i386, x86-64 6.8 2016-05-16 2016-05-10 6
6.9 i386, x86-64 6.9 2017-03-28 2017-03-21 7
7.0 x86-64 7.0 2014-06-10 43
7.1 x86-64 7.1 2015-03-12 2015-03-05 7
7.2 x86-64 7.2 2015-11-19 6
7.3 x86-64 7.3 2016-11-10 2016-11-03 6
7.4 x86-64 7.4 2017-08-08 2017-07-31 8
7.5 x86-64 7.5 2018-04-17 2018-04-10 7

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:

  1. Install Oracle Linux.

  2. 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.

  3. 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.

  4. Create role-allocated groups and users with identical names and ID numbers on each cluster candidate node.

  5. Complete network interface configuration for each cluster node candidate.

  6. Complete system configuration for shared storage access as required for each standard or Hub Node cluster candidate.

Для работы клиента требуются DLL

Путем долгих мучений мной было выяснено, что для того чтобы клиент заработал в системе должны присутствовать следующие DLL библиотеки (которых обычно нет):

  • bcrypt.dll
  • ieshims.dll (в принципе работает и без нее на Win7)
  • mfc71.dll
  • msvcr71.dll
  • ncrypt.dll
  • wer.dll

Где их взять ответит гугль, скачиваем, распаковываем в C:\Windows\System32 (можно ребутнуться для профилактики).

Если требуется работа приложений через ODBC драйвер

Распаковываем instantclient-odbc-win32-10.2.0.4.zip в нужное место, в моем случае это C:\Program Files\Oracle\instantclient_10_2 и запускаем оттуда odbc_install.exe

После всех этих операций у большинства все начинает работать, надеюсь и вам это поможет

Если требуется работа x32 приложений через ODBC в Windows x64

Вот тут начинается самая хитрость, тк в панели управления в источниках данных ODBC нет драйвера Oracle! Поэтому нужно запустить управление ODBC x32, который, на удивление, расположен в C:\Windows\SysWoW64 (см. KB 942976 от M$). Для этого нужно выполнить команду:

И в открывшемся окне будет доступна возможность создать DSN с драйвером Oracle.

источник

Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

DISPLAY=<machine-name>:0.0; export DISPLAY

Switch to the directory, unzip the software directly into this path and start the Oracle Universal Installer (OUI) by issuing one of the following commands in the directory. The interactive mode will display GUI installer screens to allow user input, while the silent mode will install the software without displaying any screens, as all required options are already specified on the command line.

# Unzip software.
cd $ORACLE_HOME
unzip -oq /path/to/software/LINUX.X64_193000_db_home.zip

# Interactive mode.
./runInstaller

# Silent mode.
./runInstaller -ignorePrereq -waitforcompletion -silent                        \
    -responseFile ${ORACLE_HOME}/install/response/db_install.rsp               \
    oracle.install.option=INSTALL_DB_SWONLY                                    \
    ORACLE_HOSTNAME=${ORACLE_HOSTNAME}                                         \
    UNIX_GROUP_NAME=oinstall                                                   \
    INVENTORY_LOCATION=${ORA_INVENTORY}                                        \
    SELECTED_LANGUAGES=en,en_GB                                                \
    ORACLE_HOME=${ORACLE_HOME}                                                 \
    ORACLE_BASE=${ORACLE_BASE}                                                 \
    oracle.install.db.InstallEdition=EE                                        \
    oracle.install.db.OSDBA_GROUP=dba                                          \
    oracle.install.db.OSBACKUPDBA_GROUP=dba                                    \
    oracle.install.db.OSDGDBA_GROUP=dba                                        \
    oracle.install.db.OSKMDBA_GROUP=dba                                        \
    oracle.install.db.OSRACDBA_GROUP=dba                                       \
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false                                 \
    DECLINE_SECURITY_UPDATES=true

Run the root scripts when prompted.

As a root user, execute the following script(s):
        1. /u01/app/oraInventory/orainstRoot.sh
        2. /u01/app/oracle/product/19.0.0/dbhome_1/root.sh

You can read more about silent installations here.

You are now ready to create a database.

Пост инсталляционный этап

После завершения процесса установки Oracle нам нужно выполнить несколько настрое для автозапуска базы.

1. Для автоматического запуска и остановки СУБД Oracle и слушателя Listener вместе со стартом и завершением операционной системы нам нужно отредактировать файл /etc/oratab под пользователем root:

ORCL:/u01/app/oracle/product/11.1.0/db_1:YourDB

Вместо YourDB используйте имя Вашей базы данных

2. Под пользователем root создадим новый файл автозапуска «oracle» (сценарий инициализации для запуска и завершения работы базы данных) в каталоге /etc/init.d/ со следующим содержимым:

#!/bin/bash
#
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
#
# chkconfig: 35 80 30
# description: Oracle Database startup script

# Source function library.

. /etc/rc.d/init.d/functions

ORACLE_OWNER=”oracle”
ORACLE_HOME=”/u01/app/oracle/product/11.1.0/db_1″

case “” in
start)
echo -n $ “Starting Oracle DB:”
su – $ ORACLE_OWNER -c “$ ORACLE_HOME/bin/dbstart $ ORACLE_HOME”
echo “OK”
;;
stop)
echo -n $ “Stopping Oracle DB:”
su – $ ORACLE_OWNER -c “$ ORACLE_HOME/bin/dbshut $ ORACLE_HOME”
echo “OK”
;;
*)
echo $ “Usage: {start|stop}”
esac
Execute (as root) following commands (First script change the permissions, second script is configuring execution for specific runlevels):
chmod 750 /etc/init.d/oracle
chkconfig –add oracle –level 0356
Auto Startup and Shutdown of Enterprise Manager Database Control
As root user create new file “oraemctl” (init script for startup and shutdown EM DB Console) in /etc/init.d/ directory with following content:
#!/bin/bash
#
# oraemctl Starting and stopping Oracle Enterprise Manager Database Control.
# Script is valid for 10g and 11g versions.
#
# chkconfig: 35 80 30
# description: Enterprise Manager DB Control startup script

# Source function library.

. /etc/rc.d/init.d/functions

ORACLE_OWNER=”oracle”
ORACLE_HOME=”/u01/app/oracle/product/11.1.0″

case “” in
start)
echo -n $ “Starting Oracle EM DB Console:”
su – $ ORACLE_OWNER -c “$ ORACLE_HOME/bin/emctl start dbconsole”
echo “OK”
;;
stop)
echo -n $ “Stopping Oracle EM DB Console:”
su – $ ORACLE_OWNER -c “$ ORACLE_HOME/bin/emctl stop dbconsole”
echo “OK”
;;
*)
echo $ “Usage: {start|stop}”
esac

Выполним под root-ом следующие команды (первый скрипт меняет разрешения, второй скрипт настраивает исполнение для определенных уровней выполнения):

chmod 750 /etc/init.d/oraemctl
chkconfig –add oraemctl –level 0356

3. Вы можете использовать rlwrap для удобной работы с утилитой sqlplus и adrci. После того, как скачаете RPM-пакет (дистрибутив) , выполните следующие команды:

su -
# rpm -ivh rlwrap-0.24-rh.i386.rpm
# exit
echo “alias sqlplus=’rlwrap sqlplus’” >> /home/oracle/.bash_profile
echo “alias adrci=’rlwrap adrci’” >> /home/oracle/.bash_profile
. /home/oracle/.bash_profile

Ву-аля! Установка Oracle на линукс завершена! Теперь мы можем пользоваться самой популярной, надежной и производительной базой данных в Мире и воплощать свои самые дерзкие идеи в качестве архитекторов, разработчиков, программистов и администраторов БД!

Вас заинтересует / Intresting for you:

Oracle и непроцедурный доступ … 6818 просмотров Antoni Tue, 21 Nov 2017, 13:32:50

Видеокурс по администрированию… 7267 просмотров Илья Дергунов Mon, 14 May 2018, 05:08:47

Отмена сессий в Oracle (ALTER … 6298 просмотров Stepan Ushakov Thu, 01 Nov 2018, 18:04:59

Работа с запросами Approximate… 1064 просмотров Андрей Васенин Mon, 29 Oct 2018, 06:40:46

Author: Дэн

Другие статьи автора:

Установка Oracle Client

Чтобы установить программное обеспечение Oracle Client, выполните следующие действия.

  1. Вставьте компакт-диск Oracle Database 11g Client в привод или запустите сценарий runInstaller из промежуточного каталога.
  2. Выберите пункт меню Install/Deinstall Products (Установка и удаление программных компонентов) и щелкните на кнопке Next (Далее).
  3. Откроется Welcome (Приветствие). Щелкните на кнопке Next.
  4. На странице Specify File Locations (Укажите расположение файлов) примите заданный по умолчанию каталог файлов или введите имя и путь домашнего каталога Oracle. Щелкните на кнопке Next.
  5. На экране Select Installation Type (Выберите тип инсталляции) можно выбрать один из четырех вариантов — Instant Client, Administrator, Runtime или Custom. Выберите из списка опцию Runtime Installation (Установка компонентов времени выполнения) и щелкните на кнопке Next.
  6. Просмотрите компоненты, которые будут инсталлированы в процессе этого типа установки и щелкните на кнопке Install (Установить).
  7. После завершения установки программного обеспечения Oracle Client откроется помощник Oracle Net Configuration Assistant. Выберите опцию No, I Will Create Service Names Myself (Нет, я создам имена служб самостоятельно) и щелкните на кнопке Next.
  8. В поле Database SID (Системный идентификатор базы данных) введите имя базы данных и щелкните на кнопке Next.
  9. В качестве протокола выберите TCP и щелкните на кнопке Next.
  10. В поле Host Name (Имя хоста) введите имя сервера своего хоста и выберите стандартный порт. Щелкните на кнопке Next.
  11. Щелкните на кнопке Yes (Да), чтобы протестировать возможность подключения, а затем щелкните на кнопке Next.
  12. После отображения сообщения Connecting . . . Test Successful (Подключение . . . Тестирование выполнено успешно) щелкните на кнопке Next.
  13. Отвечая на вопрос о том, нужно ли конфигурировать другую службу, выберите опцию No (Нет). Щелкните на кнопке Next.
  14. Подтвердите завершение настройки имени сетевой службы, щелкнув на кнопке Next.
  15. Щелкните на кнопках Finish (Готово) и Exit (Выход).

Совет. При наличии нескольких установок Oracle на ПК система может содержать также несколько файлов tnsnames.ora. Пользователь может оказаться не в состоянии подключиться к новой базе данных после добавления информации о конфигурации сети в файл tnsnames.ora, если используется не этот файл. Убедитесь, что в пути ПО Oracle Client указан нужный файл tnsnames.ora.

Использование переменной среды TWO_TASK

Использование имени можно обойти, устанавливая переменную среды TWO_TASK (в системе UNIX/Linux) или переменную среды LOCAL (в системе Windows).

Переменная TWO_TASK указывает строку подключения для подключения к удаленному компьютеру. Программа SQL*Plus проверит значение переменной среды TWO_TASK и автоматически добавит его в строку подключения, как показано в следующем примере: 

$ export TWO_TASK=mydb

Как только переменная среды TWO_TASK установлена, к базе данных mydb можно подключаться следующим образом:

$ sqlplus scott/tiger

Обратите внимание, что применять спецификацию sqlplus scott/tiger@mydb не пришлось, поскольку используется переменная TWO_TASK. На сервере Windows следующие команды эквивалентны установке переменной среды TWO_TASK: 

На сервере Windows следующие команды эквивалентны установке переменной среды TWO_TASK: 

$ SET LOCAL=
$ sqlplus scott/tiger

Методы и стратегии управления … 971 просмотров Antoniy Tue, 21 Nov 2017, 13:28:39

Фиксация и откат транзакций в … 2941 просмотров Antoniy Tue, 21 Nov 2017, 13:18:46

Служба Oracle MetaLink 2510 просмотров Administrator Tue, 21 Nov 2017, 13:27:29

Оптимизация запросов Oracle ти… 5616 просмотров Antoni23 Tue, 21 Nov 2017, 13:32:12

Author: Александров Попков

Другие статьи автора:

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 .

Complete the following task to register your system with Ksplice

  1. Check for your kernel distribution at the following URL:

  2. Log in as root.

  3. 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:

    # export http_proxy=http://proxy.example.com:port
    # export https_proxy=http://proxy.example.com:port
    
  4. Download the Ksplice Uptrack repository RPM package:

  5. Run the following commands:

    rpm -i ksplice-uptrack-release.noarch.rpm
    yum -y install uptrack
    

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

1 Reviewing Information About This Guide

This guide describes how to install Oracle Database by using the default installation options.

Tasks Described in This Guide

The procedures in this guide describe how to:

  • Configure your system to support Oracle Database

  • Install Oracle Database on a local file system by using the Typical Installation option

  • Configure a general-purpose Oracle Database installation that uses the local file system for database file storage

Results of a Successful Installation

After you successfully install Oracle Database:

  • The database that you created and the default Oracle Net listener process run on the system.

  • Oracle Enterprise Manager Database Control run on the system and can be accessed by using a web browser.

Tasks Not Described in This Guide

This guide covers the Typical Installation scenario and does not describe how to complete the following tasks:

  • Using the Advanced Installation option to install the software

  • Installing the software on a system that has an existing Oracle software installation

  • Installing Oracle Clusterware and Oracle Real Application Clusters on a cluster

  • Enabling core file creation

  • Verifying UDP and TCP kernel parameters

  • Using alternative storage options such as Oracle Automatic Storage Management

  • Installing and configuring Oracle Grid Infrastructure

Where to Get Additional Installation Information

For more information about installing Oracle Database, including information about the tasks not described in this guide, refer to one of the following guides:

  • If you want to install the software on a single system, then refer to Oracle Database Installation Guide for Linux.

  • If you want to install Oracle Grid Infrastructure for a standalone server, then refer to the «» chapter in Oracle Database Installation Guide for Linux.

  • If you want to perform an Oracle Real Application Clusters installation, then refer to Oracle Grid Infrastructure Installation Guide for Linux and Oracle Real Application Clusters Installation Guide for Linux and UNIX. These guides describe how to install Oracle Clusterware and Oracle Real Application Clusters. Oracle Clusterware is a prerequisite for Oracle Real Application Clusters installations.

Docker/Container Articles

You can find my Dockerfiles on GitHub here.

Docker : An Oracle DBA’s Guide to Docker —
This article gives a basic introduction to some Docker concepts, focusing on those areas that are likely to interest Oracle DBAs.

Docker : Install Docker on Oracle Linux 7 (OL7) —
This article demonstrates how to install Docker on Oracle Linux 7 (OL7) using a BTRFS file system.

Docker : Install Docker on Oracle Linux 8 (OL8) —
This article demonstrates how to install Docker on Oracle Linux 8 (OL8).

Docker : Host File System Permissions for Container Persistent Host Volumes —
How do you make sure a non-root user has access to the host volumes accessed by a container? Here’s one method.

Docker : Quick Example with MySQL —
This article provides a simple example of using existing Docker images to create a new Docker container. In this case it is a MySQL image, but the process is similar for other images.

Docker : Writing Your First Dockerfile —
This article covers some of the basics of writing and using a Dockerfile with worked examples.

Docker : Dockerfile Tips — Build in Stages —
When you are learning to write Dockerfiles, or developing a complex new build, you may find it easier to take a staged approach to the build process.

Docker : Oracle Database on Docker —
This article describes a simple build for running an Oracle database on Docker.

Docker : Upgrade an Oracle Database on Docker —
This article discusses the issues related to upgrading an Oracle Database running on a Docker container.

Docker : Oracle REST Data Services (ORDS) on Docker —
This article describes a simple build for running Oracle REST Data Services (ORDS) on Docker.

Docker : Clean Up Unwanted Containers, Images, Volumes and Networks —
It’s easy for Docker to consume large amounts of space holding objects you are no longer using. This article shows how to identify and clean up unused containers, images, volumes and networks.

Docker : Docker Compose — Defining Multi-Container Applications —
This article describes how to use Docker Compose to create multi-container applications.

Docker : Docker Swarm — Defining Clustered Multi-Container Applications —
This article describes how to use Docker Swarm to create clustered multi-container applications.

Docker : Portainer — A Web-Based Management Interface for Docker —
This articles explains how Portainer can be used to manage a local Docker environment.

Docker : Quick Tips —
This article lists some quick tips that will help when learning Docker.

Docker and Oracle Databases : Finding the Sweet Spot —
A blog post discussing the issues related to running Oracle databases in Docker.

AWX Installation on Oracle Linux 7 (OL7) Using the Docker-Compose Method —
This article describes how to install AWX, the upstream project for Ansible Tower, on Oracle Linux 7 (OL7) using the Docker-Compose method.

Docker : Using a Local Docker Registry —
This article demonstrates how to use a local Docker registry based on the Docker «registry» image.

Kata Containers : Running Containers Inside Lightweight Virtual Machines on Oracle Linux 7 (OL7) —
This article describes how to configure Kata Containers on Oracle Linux 7 (OL7), allowing you to run containers inside lightweight virtual machines (VMs).

Podman : Install Podman on Oracle Linux 8 (OL8) —
We can think of Podman as a replacement for Docker, with an almost identical syntax. This article demonstrates how to install Podman on Oracle Linux 8 (OL8).

Podman : A Basic Example of Using Podman With Dockerfiles (Oracle Database and ORDS) on Oracle Linux 8 (OL8) —
This articles shows how to use Podman with existing Dockerfiles as a replacement for Docker.

Podman : Generate and Play Kubernetes YAML Files —
Podman can generate Kubernetes YAML files from existing pod definitions, and use the generated YAML files to fire up new pods.

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:

  1. Install Oracle Linux

  2. 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

  3. 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.

  4. Create role-allocated groups and users with identical names and ID numbers

  5. Complete network interface configuration for each cluster node candidate

  6. Complete system configuration for shared storage access as required for each standard or Core node cluster candidate.

Oracle OpenStack для Oracle Linux

24 сентября 2014 года Oracle объявила Oracle OpenStack для дистрибутива Oracle Linux, который позволяет пользователям управлять Oracle Linux и Oracle VM через OpenStack в производственных средах. Основанный на выпуске OpenStack Icehouse, Oracle OpenStack для Oracle Linux -это программный продукт для управления облаком, который предоставляет решение корпоративного типа для развертывания и управления IT-средой. Продукт поддерживает гибкость OpenStack, позволяющ потребителям раскрыть различные конфигурации, и интегрировать с различными поставщиками програмного обеспечения и оборудования. Oracle OpenStack для Oracle Linux доступен для бесплатного скачивания. Его можно бесплатно загрузить с веб-страницы Oracle. Поддерживаемые сервисы OpenStack в версии 1 включают Nova, Keystone, Cinder, Glance, Neutron, Horizon и Swift. По данным Oracle поддержка для Oracle OpenStack для Oracleи ОС Linux входит в состав Oracle Premier Support for Oracle Linux, и систем. .

Установка Oracle Java на Ubuntu

Как я уже сказал выше, для установки oracle java необходимо скачать бинарники. Причем, сделать это так, как я недавно описывал в статье про не получится. Без авторизации ссылки не доступны. Так что необходимо зарегистрироваться на сайте и скачать бинарники себе на компьютер. Я покажу как это сделать на примере Oracle Java 8. Идем на страницу загрузки, авторизовываемся и скачиваем jre-8u211-linux-x64.tar.gz.

Не забудьте отметить флажок напротив Accept License Agreement. После загрузки любым удобным для вас способом скопируйте файл на целевой сервер, куда будем устанавливать Java 8. Я для этого использую scp. Копирую файл в домашнюю директорию /root. Создаем директорию для java и распаковываем туда бинарники.

# mkdir /usr/lib/jvm
# tar -zxf /root/jre-8u211-linux-x64.tar.gz -C /usr/lib/jvm

Java машина должна расположиться в директории /usr/lib/jvm/jre1.8.0_211. Теперь нам необходимо создать символьные ссылки на установленную версию java. Делаем это с помощью update-alternatives.

# update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.8.0_211/bin/java" 1500
# update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jre1.8.0_211/bin/javaws" 1500

Зададим переменную JAVA_HOME, которую используют некоторые приложения. Для этого добавляем в файл /etc/environment следующую строку.

JAVA_HOME="/usr/lib/jvm/jre1.8.0_211"

Сохраняем его и применяем изменение.

# source /etc/environment

Теперь проверим, что у нас получилось.

# java -version
# echo $JAVA_HOME

Все нормально. В случае, если необходимо обновить или установить другую версию Java, то все проделывается точно так же, только в конце указываются ссылки на новую директорию с Java.

Если вам необходимо установить Oracle SDK, то делаете все то же самое, только бинарники скачиваете по другой ссылке — Java SE Development Kit.

В принципе, на этом с установкой Oracle Java на Ubuntu все. В общем случае выполнено все необходимое. Но я в процессе компиляции одного приложения столкнулся с одной ошибкой. Расскажу вам, как ее решил.

Could not find tools.jar

Приложение использовало систему автоматической сборки gradle, которая прекращала сборку с ошибкой.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar. Please check that /usr/lib/jvm/jre1.8.0_211 contains a valid JDK installation.

Я долго гуглил решение. В общем случае оно состоит в том, что нужно тем или иным образом явно указать путь к tools.jar, но у меня этого файла вообще не было в системе и я не знал, где его взять. Я вообще не разбираюсь в теме с явой, первый раз собирал приложение сам. Вышел из положения в итоге следующим образом. Я установил openjdk-8-jdk следующей командой.

# apt install openjdk-8-jdk

Она установилась в директорию /usr/lib/jvm/java-8-openjdk-amd64. Там в директории libs лежал файл tools.jar. Я просто скопировал его в /usr/lib/jvm/jre1.8.0_211/lib, где установлена oracle java. После этого сборка прошла без ошибок.

Уже после написания статьи понял, что мне нужно было установить не Oracle JRE, а JDK, тогда бы все сразу собралось без ошибок. Надеюсь эта информация будет полезна тем, кто будет искать решение похожей проблемы. Она возникла из-за недопонимания различий между JRE и JDK.

Заключение

Перед установкой Oracle Java не забывайте, что теперь ее нельзя просто так использовать в коммерческой среде. Придется платить, если нужна лицензионная чистота. Думаю, что в ближайшее время все проекты постараются отладить свою работу под бесплатным OpenJDK. Число клиентов Oracle JRE явно убавится в разы.

Для меня остается не понятен момент с работой Java на Windows. Она требуется для кучи всевозможных сервисов и оборудования. По идее, теперь за ее использование нужно платить. Как быть со всякими старыми железками, к которым обновлений уже не будет? Что думаете по этому поводу?

Онлайн курсы по Mikrotik

Если у вас есть желание научиться работать с роутерами микротик и стать специалистом в этой области, рекомендую пройти курсы по программе, основанной на информации из официального курса MikroTik Certified Network Associate. Помимо официальной программы, в курсах будут лабораторные работы, в которых вы на практике сможете проверить и закрепить полученные знания. Все подробности на сайте .

Стоимость обучения весьма демократична, хорошая возможность получить новые знания в актуальной на сегодняшний день предметной области. Особенности курсов:

  • Знания, ориентированные на практику;
  • Реальные ситуации и задачи;
  • Лучшее из международных программ.
Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector