-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dding file Co-authored-by: [email protected] <>
- Loading branch information
Showing
965 changed files
with
4,524 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"quiz": { | ||
"sport": { | ||
"q1": { | ||
"question": "Which one is correct team name in NBA?", | ||
"options": [ | ||
"New York Bulls", | ||
"Los Angeles Kings", | ||
"Golden State Warriros", | ||
"Huston Rocket" | ||
], | ||
"answer": "Huston Rocket" | ||
} | ||
}, | ||
"maths": { | ||
"q1": { | ||
"question": "5 + 7 = ?", | ||
"options": [ | ||
"10", | ||
"11", | ||
"12", | ||
"13" | ||
], | ||
"answer": "12" | ||
}, | ||
"q2": { | ||
"question": "12 - 8 = ?", | ||
"options": [ | ||
"1", | ||
"2", | ||
"3", | ||
"4" | ||
], | ||
"answer": "4" | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# Title of the Lab | ||
|
||
## Introduction | ||
|
||
*Describe the lab in one or two sentences, for example:* This lab walks you through the steps to ... | ||
|
||
Estimated Time: -- minutes | ||
|
||
### About <Product/Technology> (Optional) | ||
Enter background information here about the technology/feature or product used in this lab - no need to repeat what you covered in the introduction. Keep this section fairly concise. If you find yourself needing more than two sections/paragraphs, please utilize the "Learn More" section. | ||
|
||
### Objectives | ||
|
||
*List objectives for this lab using the format below* | ||
|
||
In this lab, you will: | ||
* Objective 1 | ||
* Objective 2 | ||
* Objective 3 | ||
|
||
### Prerequisites (Optional) | ||
|
||
*List the prerequisites for this lab using the format below. Fill in whatever knowledge, accounts, etc. is needed to complete the lab. Do NOT list each previous lab as a prerequisite.* | ||
|
||
This lab assumes you have: | ||
* An Oracle Cloud account | ||
* All previous labs successfully completed | ||
|
||
|
||
*This is the "fold" - below items are collapsed by default* | ||
|
||
## Task 1: Concise Task Description | ||
|
||
(optional) Task 1 opening paragraph. | ||
|
||
1. Step 1 | ||
|
||
![Image alt text](images/sample1.png) | ||
|
||
> **Note:** Use this format for notes, hints, and tips. Only use one "Note" at a time in a step. | ||
|
||
2. Step 2 | ||
|
||
![Image alt text](images/sample1.png) | ||
|
||
4. Example with inline navigation icon ![Image alt text](images/sample2.png) click **Navigation**. | ||
|
||
5. Example with bold **text**. | ||
|
||
If you add another paragraph, add 3 spaces before the line. | ||
|
||
## Task 2: Concise Task Description | ||
|
||
1. Step 1 - tables sample | ||
|
||
Use tables sparingly: | ||
|
||
| Column 1 | Column 2 | Column 3 | | ||
| --- | --- | --- | | ||
| 1 | Some text or a link | More text | | ||
| 2 |Some text or a link | More text | | ||
| 3 | Some text or a link | More text | | ||
|
||
2. You can also include bulleted lists - make sure to indent 4 spaces: | ||
|
||
- List item 1 | ||
- List item 2 | ||
|
||
3. Code examples | ||
|
||
``` | ||
Adding code examples | ||
Indentation is important for the code example to appear inside the step | ||
Multiple lines of code | ||
<copy>Enclose the text you want to copy in <copy></copy>.</copy> | ||
``` | ||
4. Code examples that include variables | ||
``` | ||
<copy>ssh -i <ssh-key-file></copy> | ||
``` | ||
|
||
## Learn More | ||
|
||
*(optional - include links to docs, white papers, blogs, etc)* | ||
|
||
* [URL text 1](http://docs.oracle.com) | ||
* [URL text 2](http://docs.oracle.com) | ||
|
||
## Acknowledgements | ||
* **Author** - <Name, Title, Group> | ||
* **Contributors** - <Name, Group> -- optional | ||
* **Last Updated By/Date** - <Name, Month Year> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
# Instantiate an instance of a compute machine using a custom image | ||
|
||
|
||
This lab walks you through the steps to instantiate an instance of a compute machine using a custom image provided so that you can set up Oracle Enterprise Command Center Framework | ||
|
||
|
||
|
||
Estimated Time: 20 minutes | ||
|
||
### Objectives | ||
In this lab, you will: | ||
* Instantiate an instance of a compute machine using a custom image | ||
|
||
|
||
### Prerequisites | ||
|
||
This lab assumes you have: | ||
* An Oracle Cloud account | ||
* All previous labs successfully completed | ||
|
||
## | ||
|
||
## Task 1: Instantiate an of a compute machine using a custom image | ||
|
||
1. Login to Oracle cloud https://cloud.oracle.com with your account details in order to create an instance from custom image | ||
|
||
2. Click on the side navigation panel on the left and click on "Compute" | ||
|
||
![Image alt text](images/lab1-1.png) | ||
3. After clicking on "Compute" click on "Custom Images" | ||
![Image alt text](images/lab1-task1-customimage.png) | ||
4. Click on the "Import image" button | ||
![Image alt text](images/fr1.png) | ||
|
||
5. Click on the radio button "Import from an Object Storage URL" and Copy/Paste the below URL | ||
``` | ||
<copy>https://objectstorage.us-ashburn-1.oraclecloud.com/p/yosUTDYrAet0jPePAHnzUxwzDLIKB7ny9fdEKlxGaxuhe[…]G9MgT0CosrB/n/idsjdgcr3efb/b/ECCBucket/o/ECCHOL</copy> | ||
``` | ||
6. Click on "Import image" | ||
![Image alt text](images/fr4.png) | ||
7. You should see the image importing as in the below screen | ||
![Image alt text](images/fr6.png) | ||
9. Click on the image, you should see it is importing | ||
![Image alt text](images/fr7.png) | ||
10. When the image loads, you will see the below screen (The colour changes to green) | ||
![Image alt text](images/fr8.png) | ||
11. Click on "Create instance" | ||
![Image alt text](images/lab1-4.png) | ||
12. Name your instance as "ecchol1" | ||
![Image alt text](images/lab1-5.png) | ||
13. Click on "Edit" in the Image and Shape section, and then Edit the Image shape | ||
![Image alt text](images/lab1-6.png) | ||
![Image alt text](images/lab1-7.png) | ||
14. From "Shape series" either select "Intel" or "AMD" processor and select the checkbox to modify the OCPUs and memory | ||
![Image alt text](images/lab1-8.png) | ||
``` | ||
Shape name for AMD: VM.Standard.E4.Flex | ||
Shape name for Intel: VM.Standard3.Flex | ||
Select Core: 2 and Memory (GB): 16 | ||
``` | ||
![Image alt text](images/lab1-9.png) | ||
15. For the purpose of this demo select "Intel" as processor in Shape series. <n>Following is an example: | ||
``` | ||
Shape: VM.Standard3.Flex, | ||
OCPU count: 2, | ||
Network bandwidth (Gbps): 2, | ||
Memory (GB): 16 and | ||
Local disk: Block storage only | ||
``` | ||
16. Click on "Select Shape" | ||
![Image alt text](images/imageshape.png) | ||
17. Click on "Edit" in the Networking section | ||
![Image alt text](images/lab1-10.png) | ||
18. Select Create the option "Create a new virtual cloud network(VCN)" | ||
![Image alt text](images/networking.png) | ||
For more information please refer [Set up VCN] (https://github.com/oracle-livelabs/apex/blob/c717ad669a90218e2f18290d7ab2d850ae9134a3/forms-to-apex-migration-dbcs/setup-vcn/setup-vcn.md) | ||
19. Save respective private and public key as a backup, so that you can establish an ssh connection to the instance. This is an optional step, only required if you want to connect via ssh | ||
![Image alt text](images/lab1-11.png) | ||
20. Click on "Create" to create the instance | ||
21. You will see the below screen when this step is successful | ||
![Image alt text](images/lab1-task1-instancecreated.png) | ||
22. Copy the Public IP address shown | ||
![Image alt text](images/lab1-12.png) | ||
23. Navigate from the side navigation panel, to "Networking", to "Virtual Cloud Network" | ||
![Image alt text](images/lab1-task1-networkingpath.png) | ||
24. Click on the VCN you just created | ||
![Image alt text](images/lab1VCN.png) | ||
25. Click on the subnet | ||
![Image alt text](images/lab1task1subnet.png) | ||
26. Click on the security list | ||
![Image alt text](images/labfileingressrule.png) | ||
27. Create an ingress rule for port 6080 to whitelist it in the subnet created in VCN. To do that click on "Add ingress rule" | ||
![Image alt text](images/labfileingressrule2.png) | ||
28. In Destination port add 6080, in Source CIDR add 0.0.0.0/0 and click on "Add Ingress rules" | ||
![Image alt text](images/whitelisting.png) | ||
29. Once the instance is up and running you can access livelabs(VNC) via the following URL | ||
<b>Note:</b> Replace {PUBLICIP} with the Public IP of the instance you copied before | ||
``` | ||
<copy>http://{PUBLICIP}:6080/vnc.html?password=LiveLabs.Rocks_99&resize=scale&quality=9&autoconnect=true&reconnect=true</copy> | ||
``` | ||
``` | ||
<copy>Example: http://150.166.145.18:6080/vnc.html?password=LiveLabs.Rocks_99&resize=scale&quality=9&autoconnect=true&reconnect=true</copy> | ||
``` | ||
30. You should see the below screen when you access the URL above: | ||
![Image alt text](images/env.png) | ||
## Task 2: Validate instance | ||
Open the respective VNC URL from your local system browser (replace PUBLICIP with the Public IP of the instance you copied before) | ||
<pre><button class="copy-button" title="Copy text to clipboard">Copy</button><code class="hljs apache"><span class="copy-code"><span class="hljs-attribute">http://{PUBLICIP}:6080/vnc.html?password=LiveLabs.Rocks_99&resize=scale&quality=9&autoconnect=true&reconnect=true | ||
</span></code></pre></li> | ||
Within the browser, navigate to chrome and from the address bar go to http://apps.example.com:8000 and verify: | ||
* If EBS homepage is displayed | ||
* Login with following credentials: | ||
<pre><span class="hljs-attribute">Username= SYSADMIN | ||
Password= welcome1 | ||
</span></code></pre></li> | ||
* Ensure if the responsibility tree is up | ||
![Image alt text](images/instanceverification1.png) | ||
![Image alt text](images/instanceverification2.png) | ||
<b>Note:</b> If you are not able to type in VNC, then please hit the command key | ||
## Task 3: Validate if EBS run edition can be sourced | ||
<n>To Source EBS edition</n> | ||
* Type the following command (Case is important) in the command prompt : | ||
<pre><button class="copy-button" title="Copy text to clipboard">Copy</button><code class="hljs apache"><span class="copy-code"><span class="hljs-attribute">source /u01/install/APPS/EBSapps.env run | ||
</span></code></pre></li> | ||
In the image below, the terminal shows how you source the running EBS edition on the terminal. | ||
![Image alt text](images/validateterminal1.png) | ||
## Optional Task: Access instance via SSH | ||
Apart from accessing via VNC you can access the instance from your own machine via SSH | ||
* Using the private key you previously saved, run the following command in the command prompt to access the instance. Also use the saved Public IP address in the placeholder | ||
<pre><button class="copy-button" title="Copy text to clipboard">Copy</button><code class="hljs apache"><span class="copy-code"><span class="hljs-attribute">ssh -i privatekey opc@{PUBLICIP} | ||
</span></code></pre></li> | ||
## Optional Task: Correct mistakes if made during instance creation | ||
<b>Note</b>: If you have made a mistake whilst creating the instance, you can edit via configuration details. | ||
Example: If you have set Memory as 8gb instead of 16gb then you should go to the instance page | ||
![Image alt text](images/editshape1.png) | ||
* Click on edit and change the configuration accordingly | ||
![Image alt text](images/editshape2.png) | ||
## Learn More | ||
* [Enterprise Command Centres- User Guide](https://docs.oracle.com/cd/E26401_01/doc.122/e22956/T27641T671922.htm) | ||
* [Enterprise Command Centres- Administration Guide](https://docs.oracle.com/cd/E26401_01/doc.122/f34732/toc.htm) | ||
* [Enterprise Command Centres- Extending Guide](https://docs.oracle.com/cd/E26401_01/doc.122/f21671/T673609T673618.htm) | ||
* [Enterprise Command Centres- Installation Guide](https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=264801675930013&id=2495053.1&_afrWindowMode=0&_adf.ctrl-state=1c6rxqpyoj_102) | ||
* [Enterprise Command Centres- Direct from Development videos](https://learn.oracle.com/ols/course/ebs-enterprise-command-centers-direct-from-development/50662/60350) | ||
* [Enterprise Command Centres for E-Business Suite- Technical details and Implementation](https://mylearn.oracle.com/ou/component/-/117416) | ||
## Acknowledgements | ||
* **Author** - Muhannad Obeidat, VP | ||
* **Contributors** - Muhannad Obeidat, Nashwa Ghazaly, Mikhail Ibraheem, Rahul Burnwal, Manikanta Kumar and Mohammed Khan | ||
* **Last Updated By/Date** - Mohammed Khan, August 2023 | ||
Oops, something went wrong.