Professional Documents
Culture Documents
Provision Oracle Linux Server
Provision Oracle Linux Server
Linux Server
To connect a GUI session on our Compute VM Oracle Linux Instance we will require Real VNC Viewer. This task shall take
approximately 10 minutes to complete.
- You will be Prompted for a Passphrase enter a passphrase or hit enter for blank
- You will be Prompted to repeat the Passphrase re-enter passphrase or hit enter for blank
NOTE : If you entered a Passphrase ensure you remember it
- You will be Prompted for path hit enter for default
o Default path is c:\users\username\.ssh\
o 2 files will be created id_rsa (private key) and id_rsa.pub (public key)
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Section 3: Create an Always Free Compute Instance with Oracle Linux 7
This task shall take approximately 10 minutes to complete.
1. Sign into your Oracle Cloud Tenancy
2. Select Create a VM Instance (Always Free)
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
2
The following screen will appear :
a. Ensure Choose an operating system or image source is the default Oracle Linux 7.7
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
3
d. Ensure all other Show Shape, Network and Storage Options settings are default
NOTE : The Availability Domain (AD) may be different from the screen below but ensure the AD showing Always Free is selected.
f. Click Choose Files and browse to public key (C:\users\username\.ssh) you created in Section 2 (.pub) and click Open
g. Click Create
h. It may take a few minutes to provision your Compute Instance. Once provisioned, take note of the public IP address assigned to your
Instance
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
4
i. When completed with Provisioning, you will see your Compute Instance in green (Running)
NOTE : If you need to edit any settings, this can be done by scrolling down and accessing the edit options in the Resources Menu.
Note : You can have multiple Git Bash Terminal windows open
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
5
2. Use the following command to SSH Connect to your Compute VM Instance:
ssh opc@ public IP address (e.g. ssh opc@140.237.54.67)
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
6
3. To install Oracle Java 8, version 1.8.0 Execute the following command
sudo yum install jdk1.8.x86_64
Follow the on-screen instructions to download and install. If prompted to accept download size – type y.
4. To confirm the Java version Execute the following command
java -version
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
7