Menu ☰
Oracle Cloud (DBaaS): How to access Oracle Cloud Instance in GUI Mode

How to access Oracle Cloud Instance in GUI Mode

By Joel Peréz   & Skant Gupta

This article is brought by en.enmotech.com

 

In this article we will show you how to access oracle cloud instance in GUI mode.

 

Create the new Cloud Database Service

a) Login to your Oracle cloud services account, go to the “Oracle Database Cloud Service” page and create a new service.

  • • For Service Name, select PREMISE.
  • • From the Service Level list, select Oracle Database Cloud Service.
  • • From the Metering Frequency list, select whatever frequency is appropriate for your environment.
  • • From the Software Release list, select Oracle Database 11g Release2.
  • • From the Software Edition list, select Enterprise Edition.
  • • From the Database Type list, select Single Instance.

 

Then click Next to continue.

1.JPG

Figure1. Creating a new service (Cloud-Mig12c)

 

b) In the Service Details screen, do the following:

  • • For DB Name (SID), enter ORCL.
  • • Set an administrative password of your choice and confirm the password (this will be your sys password).
  • • For Usable Database Storage (GB), enter 25.
  • • From the Compute Shape list, select OC3 -1 OCPU, 7.5GB RAM (this is the bare minimum required).
  • • For SSH Public Key, enter rsa-key-20170111.pub.

 

Then click Next to continue.

2.JPG

Figure 2. Specifying the service details

 

c) Finally, review the configuration and click Create to create your cloud database.

3.JPG

Figure 3. Creating the cloud database instance

 

c) After a few minutes, the cloud database instance has been created successfully.

4.JPG

Figure 4. The cloud database has been created

 

d) Click the service name (PREMISE) to open the main page of the database.

5.JPG

Figure 5. Main page of the cloud database

 

Connect the Cloud Database

1. Open the instance of the PuTTY executable and connect to the machine using SSH public key.

6.jpg

Figure 6. Connecting to machine using PuTTY

 

Login to Putty with OPC user

 

1. Login with OPC user and sudo to root

Using username “opc”.

Authenticating with public key “rsa-key-20170425”

Passphrase for key “rsa-key-20170425”:

[opc@PREMISE ~]$ sudo su

[root@PREMISE opc]#

 

2. Installing RPM with YUM

  • • yum groupinstall “X Windows System”
  • • yum groupinstall “X Window System” -y
  • • yum groupinstall “Desktop” -y
  • • yum groupinstall “Desktop Platform” -y
  • • yum groupinstall “General Purpose Desktop” -y
  • • yum groupinstall “Graphical Administrator Tools” -y
  • • yum groupinstall “Graphical Adminstration Tools” -y
  • • yum groupinstall “Graphical Administration Tools” -y
  • • yum install tigervnc-server
  • • yum install tigervnc-server -y
  • • yum install gnome-panel -y
  • • yum install firefox–y

 

2. Installing RPM with YUM

[root@PREMISE opc]# yum groupinstall “X Windows System”

[root@PREMISE opc]# yum groupinstall “X Window System” -y

[root@PREMISE opc]# yum groupinstall “Desktop” -y

[root@PREMISE opc]# yum groupinstall “Desktop Platform” -y

[root@PREMISE opc]# yum groupinstall “General Purpose Desktop” -y

[root@PREMISE opc]# yum groupinstall “Graphical Administrator Tools” -y

[root@PREMISE opc]# yum groupinstall “Graphical Adminstration Tools” -y

[root@PREMISE opc]# yum groupinstall “Graphical Administration Tools” -y

[root@PREMISE opc]# yum install tigervnc-server

[root@PREMISE opc]# yum install tigervnc-server -y

[root@PREMISE opc]# yum install gnome-panel -y

[root@PREMISE opc]# yum install firefox -y

[root@PREMISE opc]#

 

3. Creating the password for VNCServer.

[root@PREMISE opc]# vncserver :1 -depth 16 -alwaysshared -geometry 1600×720 -s off

You will require a password to access your desktops.

Password:

Verify:

xauth:  file /root/.Xauthority does not exist

New ‘PREMISE:1 (root)’ desktop is PREMISE:1

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/PREMISE:1.log

[root@PREMISE opc]#

 

Creating Tunnels with PuTTY

1. Open the PuTTY executable and click on Tunnels.

For Source port,enter6905.

For Destination,enter141.144.32.52:5901.

 

Then Click on Add.

7.JPG

Figure 7. Connecting to PuTTY

 

2. Click on Open

8.JPG

Figure 8. Add tunnels

 

Connecting with VncServer

Create New Connection in VNCServer.

9.jpg

Figure 9. New connection in Vncserver

 

2. Create New Connection in VNCServer.

For VNC Serverenterlocalhost:6905.

For Encryption, select Prefer off.

10.jpg

Figure 10. entering details

 

3. Connect in VNCServer.

11.jpg

Figure 11. Connect to vnc server

 

4. Enter the Password and then click on OK.

12.jpg

Figure 12.password window

 

5. Now we are able to GUI Mode.

13.JPG

Figure 13. GUI Mode of VNC

 

Conclusion

So now you know that it is very easy to access GUI Mode in Cloud Instance.

Well.. Until here, this article. We hope it can be useful for making grow your knowledge about Oracle Database Cloud.

 

If you want to be updated with all our articles send us the Invitation or Follow us:

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

or Join our LinkedIn group: Oracle Cloud DBaaS

 

Author Bios:

 

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events  like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

 

Skant Gupta is an Oracle Certified Cloud Professional in Oracle Database 12c, an Oracle Certified Expert in Oracle Real Application Clusters (Oracle RAC) in Oracle Database 11g and 12c, and an Oracle Exadata Certified and an Oracle Certified Professional in Oracle Database 10g, 11g, and 12c. He works at Vodafone Technology in the UK and formerly worked as a senior DBA at Etisalat in Dubai. He has six years of experience with various Oracle technologies, focusing mainly on Cloud, database, and high availability solutions, Oracle WebLogic Suite, Oracle Exadata and Oracle GoldenGate. He has presented at several Oracle user groups worldwide, most recently in the US, the United Arab Emirates, and the India. Skant website link: oracle-help.co

 

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *