- Installation Guide
- Running the Installation in the Console Mode
- Starting the Console Installer Using Windows
- Starting the Console Installer Using UNIX
- Installers With Filenames Ending in .bin
- Installers With Filenames Ending in .jar
- Install Oracle Enterprise Repository Using Console Mode
- Quickstart
- Installing the CLI
- Oracle Linux 8
- Oracle Linux 7
- Mac OS X
- Windows
- Linux and Unix
- Verifying the OCI CLI Installation
- Installation Script Prompts
- Setting up the Config File
- Use the Setup Dialog
- Manual Setup
- Oracle linux console install
- Background
- What Do You Need?
- Install the cockpit package
- Enable and start the Cockpit service
- Configure Firewall Rules (Optional)
- Logging into Cockpit
- Next Tutorials
- Want to Learn More?
Installation Guide
Running the Installation in the Console Mode
The section describes how to run the installation program in the console mode:
Starting the Console Installer Using Windows
Use the following steps to install Oracle Enterprise Repository using console mode:
- Perform the pre-installation tasks as described in Starting the Installation Program on Windows Platforms
- Install Oracle Enterprise Repository Using Console Mode.
Starting the Console Installer Using UNIX
This section describes the installation using the console mode on the UNIX platforms. Following sections describe the installation using:
Installers With Filenames Ending in .bin
Using the following steps to install Oracle Enterprise Repository using an installer with filename ending in .bin :
- Complete the pre-installation tasks for installers with filename ending in .bin , see Using Installers with Filenames Ending in .bin.
- Install Oracle Enterprise Repository Using Console Mode.
Note: | Skip step 11 and step 12, choosing the shortcut location applies only to Windows systems. |
Installers With Filenames Ending in .jar
Using the following steps to install Oracle Enterprise Repository using an installer with filename ending in .jar:
- Complete the pre-installation tasks for installers with filename ending in .jar , see Using Installers with Filenames Ending in .jar.
- Install Oracle Enterprise Repository Using Console Mode.
Note: | Skip step 11 and step 12, choosing the shortcut location applies only to Windows systems. |
Install Oracle Enterprise Repository Using Console Mode
Caution: | Before running the installer, follow the preparation guidelines in Preparing for Your Installation, especially the Database Installation Procedures for your DBMS. |
To complete the console-mode installation process, respond to the prompts in each section by entering the number associated with your choice or by pressing Enter to accept the default. To exit the installation process, enter exit (or x , for short) in response to any prompt. To review or change your selection, enter previous (or p , for short) at the prompt. To proceed to the following prompt, enter Next (or n , for short).
For Information on how to start the installation in the console mode, see Starting the Installation in Console Mode. When you start the installation in the console mode you will see a welcome screen as in Listing 5-1.
Источник
Quickstart
Installing the CLI
Oracle Linux 8
If you’re using Oracle Linux 8, you can use dnf to install the CLI.
Note
We strongly recommend running sudo dnf update regularly to ensure your system is up-to-date by installing available updated RPMs.
To use dnf to install the CLI:
The CLI will be installed to the Python site packages:
Documentation and examples will be installed in the /usr/share/doc/python36-oci-cli- / directory.
To uninstall the CLI:
Oracle Linux 7
If you’re using Oracle Linux 7, you can use yum to install the CLI.
To use yum to install the CLI:
The CLI will be installed to the Python site packages:
Documentation and examples will be installed in the /usr/share/doc/python36-oci-cli- / directory.
To uninstall the CLI:
Mac OS X
You can use Homebrew to install, upgrade, and uninstall the CLI on Mac OS.
To install the CLI on Mac OS X with Homebrew:
To upgrade your CLI install on Mac OS X using Homebrew:
To uninstall the CLI on Mac OS X using Homebrew:
Windows
- Open the PowerShell console using the Run as Administrator option.
The installer enables auto-complete by installing and running a script. To allow this script to run, you must enable the RemoteSigned execution policy.
To configure the remote execution policy for PowerShell, run the following command.
Linux and Unix
Note
The installer script automatically installs the CLI and its dependencies, Python and virtualenv. Before running the installer, be sure you meet the requirements.
Note
Oracle Linux 8 and Oracle Linux Cloud Developer 7 have the CLI pre-installed.
- Open a terminal.
- To run the installer script, run the following command:
Note
To run a ‘silent’ install that accepts all default values with no prompts, use the —accept-all-defaults parameter.
Verifying the OCI CLI Installation
- From a command prompt, run the following command:
Installation Script Prompts
The installation script prompts you for the following information.
- If you do not have a compatible version of Python installed:
- Windows and Linux: You are prompted to provide a location for installing the binaries and executables. The script will install Python for you.
- MacOS: You are notified that your version of Python is incompatible. You must upgrade before you can proceed with the installation. The script will not install Python for you.
- When prompted to upgrade the CLI to the newest version, respond with Y to overwrite an existing installation.
- When prompted to update your PATH, respond with Y to be able to invoke the CLI without providing the full path to the executable. This will add oci.exe to your PATH.
Setting up the Config File
Before using the CLI, you must create a config file that contains the required credentials for working with Oracle Cloud Infrastructure . You can create this file using a setup dialog or manually using a text editor.
Use the Setup Dialog
To have the CLI walk you through the first-time setup process, use the oci setup config command. The command prompts you for the information required for the config file and the API public/private keys. The setup dialog generates an API key pair and creates the config file.
For more information about how to find the required information, see:
Manual Setup
If you want to set up the API public/private keys yourself and write your own config file, see SDK and Tool Configuration.
Tip
Use the oci setup keys command to generate a key pair to include in the config file.
Источник
Oracle linux console install
This tutorial shows you how to install and set up the Cockpit web console on an Oracle Linux 8 system to enable you to perform basic system configuration and administration by using a web-based user interface.
Background
Oracle Linux 8 includes a web console you can use for system administration. The web console is called Cockpit. For non-minimal installations, Cockpit is automatically installed, although not automatically enabled. Cockpit provides a web browser interface for performing system configuration and administration tasks, either locally or remotely on multiple servers. These tasks include system resource monitoring and log review, network and firewall configuration, and package management and updates. Cockpit uses the same APIs to access system services, so any changes you make using operating system command line tools are updated in real time in Cockpit.
Note that Cockpit is also available for Oracle Linux 7, but the instructions provided here are aimed at Oracle Linux 8 users.
What Do You Need?
- A system with Oracle Linux 8 installed
Install the cockpit package
On Oracle 8 systems with non-minimal installations, the cockpit package is included by default. Otherwise, you would need to manually install Cockpit. In either case, running the following command ensures that the package is installed and is up to date.
Enable and start the Cockpit service
To enable and start the Cockpit service, so that you can start accessing it immediately and so that it starts automatically after a reboot, run the following command:
The service starts and runs a web server that listens on TCP port 9090 by default. You can check the status of the service by running:
Configure Firewall Rules (Optional)
If you are using a custom firewall profile, or an Oracle Cloud Infrastructure instance, open the firewall port for the web console (9090).
To enable the firewall port for the cockpit service and reload the default firewall service on Oracle Linux, run:
Logging into Cockpit
Cockpit serves both HTTP and HTTPS requests on port 9090. By default, Cockpit creates self-signed certificates that are used to facilitate HTTPS. If you use the self-signed certificate, when you go to the web console, the browser displays a security exception warning. To avoid having to grant a security exception, install a certificate signed by a certificate authority (CA) in the /etc/cockpit/ws-certs.d directory. The last file (in alphabetical order) with a .cert extension is used.
Cockpit uses a PAM stack located at /etc/pam.d/cockpit to handle authentication of users. Authentication with PAM allows you to log in with a username and password of any system account that has administrator privileges.
To log into Cockpit:
In a web browser, go to the Cockpit web console using the hostname or IP address of the system at port 9090 using HTTPS. For example:
If you are logging in on the local host, you can use:
If you are not using a signed security certificate, a warning that the connection is not private is displayed. To continue, add an exception for the site in the browser.
Log into Cockpit using a system user account. If the user account has sudo privileges, you can run privileged tasks in the web console. To enable running sudo commands, check the Reuse my password for privileged tasks option. Click Log In. The Cockpit dashboard is displayed.
Description of the illustration [cockpit_login_screen.png]
To connect to a remote Oracle Linux server running Cockpit, use the Connect to field in Other Options and enter the URL for the remote host.
Next Tutorials
Oracle Linux: Use Cockpit to Configure System Settings and View System Information
Want to Learn More?
Oracle Linux: Install Cockpit Web Console on Oracle Linux
Copyright © 2020, OracleВ and/orВ itsВ affiliates.В
This tutorial describes how to install and set up the Cockpit web console on Oracle Linux
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are «commercial computer software» or «commercial computer software documentation» pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.
Источник