2020. 5. 19. · We can use the OCI cli to retrieve the details needed by terraform, but since there is no direct command to fetch information about a Marketplace listing we are going to use the ‘raw-request’ functionality that the cli provides as a fallback to access the OCI API when needed for advanced use cases.
2020. 5. 20. · As part of a recent project, I installed the Oracle Cloud command line utilities (oci) on the following Linux systems: Ubuntu Server 20.04 LTS; Oracle Linux 7.5; Installing on Ubuntu. Because the plan was to install oci on a few systems, I wanted the ability to simply copy-and-paste a command line, or ssh with the command and let it run.
This workshop will walk you through installation and configuration of the CLI, along with the execution of several create, read, and terminate commands. Upon completion of this lab you should have a good understanding of how to use the OCICLI to automate common tasks in OCI. Prereq Workshop prerequisites:
Shell scripts to stop all Autonomous Databases, DB Systems, and Compute Instances using OCI CLI. Wittten by Sinan Petrus, Solution Engineer from Oracle Working with Puppet and OCI:
2018. 5. 9. · Thank you! Also works with instantclient_19_6 on php7.4. But, in this case, specify sudo pecl install oci8-2.2.0.If you've messed up a bit, and you're receiving pecl/oci8 is already installed and is the same as the released version 2.2.0, try to issue a sudo pecl uninstall oci8-2.2.0, immediately followed by the install verb. – Fabien Haddadi
Versions of the OCICLI released before August 1st 2021, (version 2.x.x), will continue to work with Python versions 2.7 by setting the environment variable OCI_CLI_ALLOW_PYTHON2 to True. Newer versions of Python may not be immediately supported. The CLI might work on unlisted operating systems, but we do not test them for compatibility.