Practices for Lab VM Setup ( Unravel OCI Part 1 - Post 1)

Practices for lab VM Setup, for doing practices as given in further Blog Posts


1. You need to have a Linux machine to create ssh keys or use PuttyGen to create the ssh keypair. Keep in mind the practices in future books on rest API , CLI , Terraform, Storage Gateway etc. you will need a Linux Instance (supported version).

2. I have created a Oracle Linux VM that meets all these. Kindly download the Oracle Linux VM available at www.tisyasolutions.com/oci-vm and is about 8GB in size.  On visiting the url you will see the image as shown below



3. Click on Download to download the VM Image.

4. Hereafter this downloaded file is referred to as the VM Image.

5. You need to download and install VirtualBox from www.virtualbox.org . This book assumes you are using VirtualBox 6.0.4. Though the features may get added in future releases, the core features should be similar to the version used here.



6. Once you have installed VirtualBox, you can set preferences as to where you want your VMs to store their files. This is to be specified based on the Disk Space you have on your computer. You will need about 8 GB of Space to import the VM Image for this course. To set the preference, click on Preferences (icon) in VirtualBox



7. In the General Tab of the Preferences screen, choose the Directory in which you want to create the VM related files.



8. Once you have chosen the directory, you can click Ok to close the Preferences screen.

9. Now that you have set your preference, you can import the downloaded VM Image using the Import button(icon) available in VirtualBox.



10. On clicking on the Import Button, you will get a pop up in which you need to specify the location of the VM Image that you want to import.



11. Click on the Folder Option available at the end of the Text Box and Navigate to the directory where you downloaded the VM Image and click on the VM Image.




12. Click Open. In the resulting screen click Next




13. The next screen should look like the below screenshot



14. If you don’t see the Guest OS Type as Oracle (64-bit), just check in the BIOS of your computer if VT is Enabled for the CPU. Only with VT enabled,  64 Bit OS will be supported in VirtualBox. You need to shut down and boot your computer and use the F2/F8 key to get to the BIOS option. The Function Key can vary from computer to computer, you need to look into the option when the computer boots up for you.

15. It is also required that no other Hypervisor / Docker based software is enabled on your Computer, you need to disable it so that Virtual Box can use the Virtualization features of your computer.

16. Click on Import, it will take a few of minutes to complete the import

17 Once the VM Image is imported, the VM is available and listed in VirtualBox as an entry below the Tools Menu as shown below



18. Click on the VM and Click on the Start Button (with Arrow, displayed on the top) in VirtualBox window.

19. The VM boots up and prompts you to enter the username and password to login, the credential is

Username – oracle
Password - oracle

20. Enter the credentials and login to the Linux VM.

21. To facilitate ease of use, you can do all the practices with the OCI Web Console within the Linux VM using the Firefox browser, so that you don’t need to transfer the files between your VM and Laptop. Wherever possible it will be mentioned whether you can do the practice on your laptop/computer O/S browser or in the VM Firefox Browser.

22. You need to ensure your Linux VM has internet Access. To do that, click on the Firefox browser as shown below (Applications -> Firefox)



23. Enter a website and check you are able to access the internet. I have used the example of www.oracle.com



24. You may have to enter proxy setting in Firefox if you are behind a proxy server. If required specify it by clicking the 3 line menu on the Top Right in your Firefox browser, click on Preferences




25. In the preferences tab, click on Advanced as shown below



26. In the Advanced Tab, click on Network



27. Click on Settings for Connection.




28. In the Settings page, specify the proxy settings as required on your network to access the internet.

29. Verify from the browser if you are able to access the internet.

30. Once you have internet access in your VM, you can proceed to the next practice.


This post is an excerpt from my book Unravel OCI - Part 1 available at https://www.amazon.com/dp/B07MHBZKCH

Comments

Popular posts from this blog

Create a Free Cloud Account with Oracle Cloud ( Unravel OCI Part 1 - Post 3)