Good Contents Are Everywhere, But Here, We Deliver The Best of The Best.Please Hold on!
When you create a database deployment in Oracle Database Cloud Service, a Compute node is created with a virtual machine image installed and the necessary operating system users are created. You can use the opc users to login to the compute node and execute root command by switching to root user. Since you have access to the compute node and root users access you can install the operating system packages based on your business needs.

In this article we will demonstrate how to install operating system packages on a Oracle Cloud Compute Node.

Steps to Install Operating System Packages

  • Login to the Oracle Cloud Compute Node 
Open PuTTY session on your desktop and enter Compute Node IP address

  • On the left pane, expand “SSH” and select “Auth”. On the right pane, click on “Browse” button. Select the Private Key that matches the Public Key for your Deployment. Click “Open”

  • Enter login as “opc”. This will connect you to the compute node without password

  • Switch to root by executing “sudo -s” command. Confirm that you are switched to root by executing “id” command

  • Verify that the packages you want to install already exist or not. Here I am installing, tigervnc, gedit, firefox, desktop and gnome system monitor packages

  • Verify your Operating System version. Here the OS is OEL and version is 6 with update 8

  • Navigate to the yum repository directory and open the public yum repository file

  • In the file look for your operating system version, example ol6_latest and make sure “enabled=1” is set

  • Next look for operating system base update, example ol6_u8_base and make sure “enabled=1” is set

  • Verify the file is updated successfully

  • Install the package using the yum utility. Here I am installing gedit package



Type y and hit return






We can see that the package installation completed successfully



  • Verify that the package is installed using rpm -qa command

  • Let’s install Tigervnc package 




  • Similarly install the required packages and verify that they are installed successfully


Conclusion

In this article we have learned how to install Operating System packages on the Oracle Cloud Compute node. 
0

When you create a database deployment in Oracle Database Cloud Service, the following tasks are completed for you:
  • Compute Node Allocated
  • Storage Allocated
  • Virtual Machine Image Installed
  • Set Keys and Privileges
  • Install and Configure Database
  • Configure Backup
  • Configure Tools
  • Configure Access

Network access to the Compute Node associated with Oracle Database Cloud Service is primarily provided by SSH connections on port 22. By default SSH port 22 is opened to allow access to the tools, utilities and other resources on the Compute Node associated with the Oracle Database Cloud Services. You can use SSH client software such as PuTTY on Windows to establish a secure connection and log in as “opc” or “oracle” user.

In this article we will demonstrate how to connect to Compute Node associated with Oracle Database Cloud Service.

Prerequisites
  • IP address of Compute Node
  • SSH Private Key file that matches the Public Key associated with the deployment
  • PuTTY software


Steps to connect to Oracle Database Cloud Compute Node using PuTTY on Windows Operating System

  • Get the IP address of the Compute node you want to connect from Oracle Database Cloud Service Console. Here my Deployment Service Name is “NSM-DBaaS” and the IP address is 144.21.72.104

  • Open the PuTTY software your desktop or laptop. Start > All Programs > PuTTy (64 bit) > PuTTY

  • Enter the IP address of the Compute Node

  • On the left pane, expand “SSH” and select “Auth”. On the right pane, click on “Browse” button.

  • Select the Private Key that matches the Public Key for your Deployment



  • On the left pane, select “Session” and Click “Open”

  • Click “Yes”

  • Enter login as “opc” user. You will be connected without prompting for the password

  • Switch to the “oracle” user and verify the database status

  • There is one Container Database with1 user Pluggable database and both are in Read Write state.


Conclusion

In this article we have learned how to connected to the Oracle Database Cloud Service Compute Node. By default the SSH port 22 is opened to allow access to the compute node. You will use the IP address of the compute node of your deployment to connect it.


0