Oracle Linux Lab Basics

28
2
Send lab feedback

Oracle Linux Lab Basics

Note: This lab is for informational purposes only. Review the details below and then return to your original lab.

How to Check Provisioning Status

The free lab desktop environment will display before the instance(s) are provisioned.

Note: Provisioning of an environment can take up to 5 minutes, depending on the resources and provisioning steps needed.

  1. In the desktop, double-click the Luna Lab icon.

    The page opens to display the Luna Lab tab providing the Oracle Cloud Infrastructure credentials and a link to the OCI Console.

  2. Next to the Resources tab, an icon will display if there are resources being provisioned as part of the lab.

    provision_in_progress

    The rotating gear icons indicates provisioning is in progress.

  3. The icon will change from a gear to a check, indicating provisioning is complete.

    provision_complete

How to Copy Public IP Address

Note: Wait for the lab environment to complete provisioning before progressing to this step.

  1. Click the Resources tab in the Luna Lab page.

  2. The Resources page shows the name and public ip address of instances provisioned.

    public_ip_address

  3. To copy the public IP address, position the mouse over the IP address field and then click the copy to clipboard icon.

    copy_ip_address

How to Connect to Oracle Linux Instance

Note: Wait for the lab environment to complete provisioning before progressing to this step.

  1. In the desktop, right-click the desktop and select Open Terminal Here.

  2. Connect to the instance.

    ssh oracle@<IP_ADDRESS_OF_COMPUTE_INSTANCE>

    Where <IP_ADDRESS_OF_COMPUTE_INSTANCE> is the IP address copied from the Resources tab of the Luna Lab page.

  3. Accept the ECDSA key fingerprint by typing yes at the prompt.

  4. You are now connected to an Oracle Linux instance provisioned for the lab.

How to Disable Unsafe Paste Dialog in Terminal

When using the clipboard features of Luna Lab to cut and paste in the terminal, you may get a warning dialog similar to the one shown.

Paste Warning Dialog

  1. From the Terminal, click Edit menu item, and then Preferences.

  2. The Terminal Preferences dialog appears.

  3. At the bottom of the General tab under Clipboard, uncheck the option Show unsafe paste dialog.

    Clipboard Preference

How to Log in to the Oracle Cloud Console

Follow these instructions when the lab requires access to and modification of lab environment resources.

  1. Click the Luna Lab tab in the Luna Lab page.

  2. From the Luna Lab tab, click the OCI Console link below Quick Links.

    OCI Console

    The Identity Cloud Service opens in a new tab prompting to sign in to Oracle Cloud.

  3. Use the Credentials on the Luna Lab tab to copy and paste the Username and Password to the Oracle Cloud Sign In on the Identity Cloud Service tab. This requires 2 steps:

    1. Copy and paste Username:

      username

    2. Copy and paste Password:

      password

    The Oracle Cloud Infrastructure Home page displays.

  4. Click the hamburger icon hamburger to expand the list of menu options.

  5. Select Compute > Instances from the list.

    The Oracle Cloud Infrastructure Instances page displays.

  6. Pick your compartment.

    1. Under the List Scope heading, expand the list of compartments.

    2. Go back to the Luna Lab page and select the Oracle Cloud tab.

    3. Find the Compartment Name in the list of Tenancy Details.

    4. Note the last 4 digits of the compartment name and return to Instances page.

      compartment

    5. Select your compartment from the list. Your compartment can appear anywhere in the list.

      compartment

      Your lab's compute instance(s) appear in the table. You can return to your original lab.

2024-12-21T09:15:16.145Z