{"id":3293,"date":"2018-02-28T08:42:22","date_gmt":"2018-02-28T11:42:22","guid":{"rendered":"http:\/\/www.dbarj.com.br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/"},"modified":"2018-02-28T08:42:22","modified_gmt":"2018-02-28T11:42:22","slug":"creating-oracle-18c-database-in-oci-classic","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/","title":{"rendered":"Creating Oracle 18c Database in OCI Classic"},"content":{"rendered":"<p>In this article, I will show you in details how to create the new released 18c Oracle Database on <strong>Oracle Cloud Infrastructure Classic<\/strong>.<\/p>\n<h3>1. Creating Trial Account<\/h3>\n<p>Go to <a href=\"http:\/\/cloud.oracle.com\" target=\"_blank\" rel=\"noopener\">cloud.oracle.com<\/a> and click on right up corner in &#8220;<strong>Try for Free<\/strong>&#8220;. In the new opened page, click on &#8220;<strong>Create a Free Account<\/strong>&#8220;.<\/p>\n<p>In this page you need to fill all your personal information, including credit card and accept the terms and conditions. Don&#8217;t worry about inserting your credit card there, you won&#8217;t be charged unless you explicit upgrade your account later. Some very small fees (like US$ 1) will be done and refunded just to check if the credit card is valid.<\/p>\n<p>After you fill all the form and press &#8220;<strong>Complete<\/strong>&#8220;, some minutes later you will receive an email with your credits, username, temporary password and cloud account name:<\/p>\n<p id=\"LIGoxAd\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3111 size-large\" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png\" alt=\"\" width=\"520\" height=\"420\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-300x242.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-768x620.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a.png 1400w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p>In Brazil we receive 900 BRL (our currency) in credits.<\/p>\n<p>Now log in your cloud clicking on &#8220;<strong>Get Started with\u00a0<span class=\"il\">Oracle<\/span>\u00a0<span class=\"il\">Cloud<\/span><\/strong>&#8221; in the email you received. Change your temporary password, and now is time to play. =]<\/p>\n<h3>2. Getting PSM<\/h3>\n<p>When your account is all set, let&#8217;s start the pre-reqs to create the 18c DB instance.<\/p>\n<p id=\"uucjOLP\"><img loading=\"lazy\" decoding=\"async\" width=\"2846\" height=\"1306\" class=\"alignnone size-full wp-image-3118 \" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956dc005205.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956dc005205.png 2846w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956dc005205-300x138.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956dc005205-768x352.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956dc005205-1024x470.png 1024w\" sizes=\"auto, (max-width: 2846px) 100vw, 2846px\" \/><\/p>\n<p>Click on <strong>Create Instance<\/strong>\u00a0in your main dashboard. Then go to <strong>All Services<\/strong> tab and search for &#8220;<strong>database<\/strong>&#8220;.<\/p>\n<p>Click <strong>Create<\/strong> for <span style=\"text-decoration: underline;\">normal<\/span> Database, not OCI (normal means Classic in this context). After you are redirected to a new window, click in <strong>Custom<\/strong> to personalize your DB.<\/p>\n<p>Note that on the time I&#8217;m writing this article (Feb\/2018), there is still no option to create a 18c via cloud interface:<\/p>\n<p id=\"sYhgcTW\"><img loading=\"lazy\" decoding=\"async\" width=\"2042\" height=\"968\" class=\"alignnone size-full wp-image-3119 \" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956e4748495.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956e4748495.png 2042w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956e4748495-300x142.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956e4748495-768x364.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956e4748495-1024x485.png 1024w\" sizes=\"auto, (max-width: 2042px) 100vw, 2042px\" \/><\/p>\n<p>So we need to use another approach, like REST calls or PSM. For this article we are using PSM which is easier to use. The official doc for it is described at:<\/p>\n<p><a href=\"https:\/\/docs.oracle.com\/en\/cloud\/paas\/java-cloud\/pscli\/abouit-paas-service-manager-command-line-interface.html\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.oracle.com\/en\/cloud\/paas\/java-cloud\/pscli\/abouit-paas-service-manager-command-line-interface.html<\/a><\/p>\n<p>To download the PSM tool, click on the\u00a0<strong>Downloading the Command Line Interface<\/strong>\u00a0link in above URL and follow the instructions. In my case, I used REST API to get it:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[root@myserver ~]# curl -X GET -u myemail@gmail.com:MyPass.123 \\\r\n-H X-ID-TENANT-NAME:idcs-172740ebxxxxxxxxxxxxxxxxxxxxxxx \\\r\nhttps:\/\/psm.us.oraclecloud.com\/paas\/core\/api\/v1.1\/cli\/idcs-172740ebxxxxxxxxxxxxxxxxxxxxxxx\/client \\\r\n-o psmcli.zip\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 80689    0 80689    0     0  45046      0 --:--:--  0:00:01 --:--:-- 45052\r\n[root@myserver ~]# ls -lah psmcli.zip \r\n-rw-r--r--. 1 root root 79K Feb 27 17:21 psmcli.zip\r\n[root@myserver ~]#\r\n<\/pre>\n<p>You need to have curl, and also your password may not have special characters that can be misinterpreted by your shell (like $). To find out what your <strong>identity domain name\u00a0<\/strong>is, just open your\u00a0<strong>Oracle Identity Cloud Service<\/strong> in your Dashboard and check your\u00a0<strong>Identity Service<\/strong> Id. It starts with &#8220;<strong>idcs-<\/strong>&#8220;:<\/p>\n<p id=\"LCdRHzO\"><img loading=\"lazy\" decoding=\"async\" width=\"2494\" height=\"1304\" class=\"alignnone size-full wp-image-3117 \" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956ceaa6bf3.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956ceaa6bf3.png 2494w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956ceaa6bf3-300x157.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956ceaa6bf3-768x402.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a956ceaa6bf3-1024x535.png 1024w\" sizes=\"auto, (max-width: 2494px) 100vw, 2494px\" \/><\/p>\n<p>With PSM downloaded, next step is to install and configure it.<\/p>\n<p>I won&#8217;t go into details about the pre-reqs for installing it, like python3 requirement. If you don&#8217;t have it in your system, I recommend to download, configure, make and install it. Don&#8217;t forget openssl-devel package dependency to avoid problems with pip3. Take a look in this articles if you need help with python3:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.tecmint.com\/install-python-in-linux\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com\/install-python-in-linux\/<\/a><\/li>\n<li><a href=\"https:\/\/stackoverflow.com\/questions\/41489439\/pip3-installs-inside-virtual-environment-with-python3-6-failing-due-to-ssl-modul\" target=\"_blank\" rel=\"noopener\">https:\/\/stackoverflow.com\/questions\/41489439\/pip3-installs-inside-virtual-environment-with-python3-6-failing-due-to-ssl-modul<\/a><\/li>\n<\/ul>\n<p>Installing PSM:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@myserver ~]# pip3 install -U psmcli.zip\r\nProcessing .\/psmcli.zip\r\nCollecting requests&lt;=2.8.1,&gt;=2.7.0 (from psmcli==1.1.20)\r\n  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)\r\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 501kB 493kB\/s \r\nCollecting keyring&lt;=5.6,&gt;=5.4 (from psmcli==1.1.20)\r\n  Downloading keyring-5.6.tar.gz (69kB)\r\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 71kB 4.0MB\/s \r\nCollecting colorama==0.3.3 (from psmcli==1.1.20)\r\n  Downloading colorama-0.3.3.tar.gz\r\nCollecting PyYAML==3.11 (from psmcli==1.1.20)\r\n  Downloading PyYAML-3.11.zip (371kB)\r\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378kB 581kB\/s \r\nInstalling collected packages: requests, keyring, colorama, PyYAML, psmcli\r\n  Running setup.py install for keyring ... done\r\n  Running setup.py install for colorama ... done\r\n  Running setup.py install for PyYAML ... done\r\n  Running setup.py install for psmcli ... done\r\nSuccessfully installed PyYAML-3.11 colorama-0.3.3 keyring-5.6 psmcli-1.1.20 requests-2.8.1\r\n[root@myserver ~]#<\/pre>\n<p>Now we need to do a one-time setup to be able to call the API:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@myserver ~]$ psm setup\r\nUsername: myemail@gmail.com\r\nPassword: \r\nRetype Password: \r\nIdentity domain: idcs-172740ebxxxxxxxxxxxxxxxxxxxxxxxx\r\nRegion [us]: \r\nOutput format [short]: \r\nUse OAuth? [n]: \r\n----------------------------------------------------\r\n'psm setup' was successful. Available services are:\r\n\r\n  o ADWC : Oracle Autonomous Data Warehouse Cloud\r\n  o ADWCP : Oracle Autonomous Data Warehouse Cloud Platform\r\n  o ANALYTICS : Oracle Analytics Cloud\r\n  o APICS : Oracle API Platform Cloud Service\r\n  o APICatalog : Oracle API Catalog Service\r\n  o APISearch : Oracle APICatalog Elasticsearch Service\r\n  o BDCSCE : Oracle Big Data Cloud\r\n  o BOTSCFG : Oracle Bots Configuration Service\r\n  o BOTSCON : Oracle Bots Connector Service\r\n  o BOTSINT : Oracle Bots Intent Service\r\n  o BOTSMGM : Oracle Bots Management API Service\r\n  o BOTSPIP : Oracle Bots Pipeline Service\r\n  o BigDataAppliance : Oracle Big Data Cloud Service\r\n  o CONTAINER : Oracle Container Cloud Service\r\n  o CXAANA : Oracle CxA Analytics Service \r\n  o CXACFG : Oracle CxA Configuration Service \r\n  o CXACOL : Oracle CxA Collector Service \r\n  o CXAPOD : Oracle CxA Pod Cloud Service \r\n  o ContainerRegistry : Oracle Container Registry Service\r\n  o DHCS : Oracle Data Hub Cloud Service\r\n  o IDCS : Oracle Identity Cloud Service\r\n  o IDCSControlPlane : Oracle Identity Cloud Service\r\n  o IOTAssetMon : Oracle IoT Asset Monitoring Cloud Service\r\n  o IOTConnectedWrker : Oracle IoT Connected Worker Cloud Service\r\n  o IOTEnterpriseApps : Oracle Internet of Things Cloud - Enterprise\r\n  o IOTFleetMon : Oracle IoT Fleet Monitoring Cloud Service\r\n  o IOTProdMonitoring : Oracle IoT Production Monitoring Cloud Service\r\n  o IOTSvcAsset : Oracle IoT Asset Monitoring CX Cloud Service\r\n  o IntegrationCloud : Oracle Integration Cloud\r\n  o jcs : Oracle Java Cloud Service\r\n  o MobileCCC : Oracle Mobile Custom Code Container\r\n  o MobileCorePOD : Oracle Mobile Core POD\r\n  o MySQLCS : Oracle MySQL Cloud Service\r\n  o OAICS : Oracle Adaptive Intelligence Applications Offers Cloud Service\r\n  o OEHCS : Oracle Event Hub Cloud Service\r\n  o OEHPCS : Oracle Event Hub Cloud Service - Dedicated\r\n  o OMCE : Oracle Mobile Cloud Metering Service\r\n  o OMCEXTERNAL : Oracle Management Cloud Service\r\n  o OMCP : Oracle Management Cloud Platform Service\r\n  o SOA : Oracle SOA Cloud Service\r\n  o VisualBuilder : Oracle Visual Builder Cloud Service\r\n  o accs : Oracle Application Container Cloud Service\r\n  o caching : Oracle Application Cache\r\n  o containerPod : Oracle Container Cluster Service\r\n  o dbcs : Oracle Database Cloud Service\r\n  o dics : Oracle Data Integration Platform Cloud Service\r\n  o ggcs : Oracle GoldenGate Cloud Service\r\n  o stack : Oracle Cloud Stack Manager\r\n----------------------------------------------------\r\n[oracle@myserver ~]$<\/pre>\n<p>Finally, let&#8217;s proceed with the instance creation.<\/p>\n<h3>3. Creating DB 18c instance<\/h3>\n<p>So first of all let&#8217;s check the syntax of the &#8220;<strong>create-service<\/strong>&#8221; command for dbcs in PSM:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@myserver ~]$ psm dbcs create-service help\r\n\r\nDESCRIPTION\r\n  Create an Oracle Database Cloud Service instance\r\n\r\nSYNOPSIS\r\n  psm dbcs create-service [parameters]\r\n       -c, --config-payload &lt;value&gt;\r\n       [-of, --output-format &lt;value&gt;]\r\n       [-wc, --wait-until-complete &lt;value&gt;]\r\n\r\nAVAILABLE PARAMETERS\r\n  -c, --config-payload    (file)  \r\n       Path to JSON file containing Oracle Database Cloud Service provisioning\r\n       configuration parameters\r\n\r\n  -of, --output-format    (string)  \r\n       Desired output format. Valid values are [short, json, html]\r\n\r\n  -wc, --wait-until-complete  (boolean)  \r\n       Wait until the command is complete. Valid values are [true, false]. Default is\r\n       false.\r\n\r\nEXAMPLES\r\n  psm dbcs create-service -c \/home\/templates\/create-dbcs-service.json\r\n\r\n[oracle@myserver ~]$<\/pre>\n<p>So basically, by what we can see above, we pass a <strong>JSON<\/strong> file as parameter and have it created. For more information about this JSON full available syntax, check this doc:<\/p>\n<p><a href=\"https:\/\/docs.oracle.com\/en\/cloud\/paas\/database-dbaas-cloud\/csdbr\/op-paas-service-dbcs-api-v1.1-instances-%7BidentityDomainId%7D-post.html\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.oracle.com\/en\/cloud\/paas\/database-dbaas-cloud\/csdbr\/op-paas-service-dbcs-api-v1.1-instances-%7BidentityDomainId%7D-post.html<\/a><\/p>\n<p>I&#8217;m configuring a very simple database for study only, so my file is as below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@myserver ~]$ cat db18c.json\r\n{\r\n  \"description\": \"Example 18c instance\",\r\n  \"edition\": \"EE\",\r\n  \"level\": \"PAAS\",\r\n  \"serviceName\": \"db18c-ee-si\",\r\n  \"shape\": \"oc3\",\r\n  \"subscriptionType\": \"HOURLY\",\r\n  \"version\": \"18.0.0.0\",\r\n  \"vmPublicKeyText\": \"ssh-rsa AAAAB3Nz....BNssKoejUo0eSQ== rodrigo.jorge\",\r\n  \"parameters\": [\r\n    {\r\n      \"type\": \"db\",\r\n      \"usableStorage\": \"15\",\r\n      \"adminPassword\": \"Welcome_1\",\r\n      \"sid\": \"orcl\",\r\n      \"pdbName\": \"pdb01\",\r\n      \"failoverDatabase\": \"no\",\r\n      \"backupDestination\": \"NONE\"\r\n    }\r\n  ]\r\n}<\/pre>\n<p>Add <em><strong>&#8220;isBYOL&#8221;: true<\/strong><\/em>\u00a0in case you already have license for it and wants the &#8220;Bring Your Licence&#8221; option. This will make the credits to last longer.<\/p>\n<p>And after it&#8217;s ready, let&#8217;s request the instance creation:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@myserver ~]$ psm dbcs create-service -c db18c.json\r\nJob ID : 22033121\r\n[oracle@myserver ~]$<\/pre>\n<p>Good! Now we wait until the creation finishes. You can monitor the creation status through the DBCS panel. To access it, in <strong>Dashboard<\/strong>\u00a0page, click on left upper menu, wait until <strong>Services<\/strong> option become available and then click on <strong>Database<\/strong>.<\/p>\n<p id=\"LhvFRbb\"><img loading=\"lazy\" decoding=\"async\" width=\"2182\" height=\"1122\" class=\"alignnone size-full wp-image-3132 \" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95d2fb98f83.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95d2fb98f83.png 2182w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95d2fb98f83-300x154.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95d2fb98f83-768x395.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95d2fb98f83-1024x527.png 1024w\" sizes=\"auto, (max-width: 2182px) 100vw, 2182px\" \/><\/p>\n<p>When it gets ready, open it to check the IP and connect using SSH:<\/p>\n<p id=\"LcQqvsh\"><img loading=\"lazy\" decoding=\"async\" width=\"2098\" height=\"1132\" class=\"alignnone size-full wp-image-3134 \" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95ff22ca15c.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95ff22ca15c.png 2098w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95ff22ca15c-300x162.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95ff22ca15c-768x414.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a95ff22ca15c-1024x553.png 1024w\" sizes=\"auto, (max-width: 2098px) 100vw, 2098px\" \/><\/p>\n<p>Now connect to the machine via SSH and check your brand new database:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@myserver ~]$ ssh opc@129.X.X.X\r\nEnter passphrase for key '\/home\/oracle\/.ssh\/id_rsa':\r\n[opc@db18c-ee-si ~]$ sudo su - oracle\r\n[oracle@db18c-ee-si ~]$ ps -fu oracle | grep pmon\r\noracle    9404  9339  0 01:03 pts\/0    00:00:00 grep pmon\r\noracle   12470     1  0 Feb27 ?        00:00:00 ora_pmon_orcl\r\n[oracle@db18c-ee-si ~]$ . oraenv\r\nORACLE_SID = [orcl] ?\r\nThe Oracle base remains unchanged with value \/u01\/app\/oracle\r\n[oracle@db18c-ee-si ~]$ sqlplus \/ as sysdba\r\n\r\nSQL*Plus: Release 18.0.0.0.0 Production on Wed Feb 28 01:03:51 2018\r\nVersion 18.1.0.0.0\r\n\r\nCopyright (c) 1982, 2017, Oracle.  All rights reserved.\r\n\r\n\r\nConnected to:\r\nOracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production\r\nVersion 18.1.0.0.0\r\n\r\nSQL&gt; show pdbs\r\n\r\n    CON_ID CON_NAME\t\t\t  OPEN MODE  RESTRICTED\r\n---------- ------------------------------ ---------- ----------\r\n\t 2 PDB$SEED\t\t\t  READ ONLY  NO\r\n\t 4 PDB01\t\t\t  READ WRITE NO\r\nSQL&gt;<\/pre>\n<p>Credits:<\/p>\n<ul>\n<li>Martin Berger, at <a href=\"https:\/\/www.martinberger.com\/?p=4652\" target=\"_blank\" rel=\"noopener\">https:\/\/www.martinberger.com\/?p=4652<\/a>\u00a0which gave me the idea of using PSM instead of pure REST.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #008000;\"><strong>Happy 18c playing.<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<b>Have you enjoyed? Please leave a comment or give a \ud83d\udc4d!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-3293 jlk' href='javascript:void(0)' data-task='like' data-post_id='3293' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-3293 lc'>0<\/span><\/a><\/div><\/div> <div class='status-3293 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>In this article, I will show you in details how to create the new released 18c Oracle Database on Oracle Cloud Infrastructure Classic. 1. Creating Trial Account Go to cloud.oracle.com and click on right up corner in &#8220;Try for Free&#8220;. In the new opened page, click on &#8220;Create a Free Account&#8220;. In this page you &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/\">Continue lendo<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,2],"tags":[],"class_list":["post-3293","post","type-post","status-publish","format-standard","hentry","category-oracle-cloud","category-database","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating Oracle 18c Database in OCI Classic - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"In this article I show in details how to create the new released 18c Oracle Database on Oracle Cloud Infrastructure Classic.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"Creating Oracle 18c Database in OCI Classic\",\"datePublished\":\"2018-02-28T11:42:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/\"},\"wordCount\":717,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/img_5a9561e35eb6a-1024x827.png\",\"articleSection\":[\"Oracle Cloud\",\"Oracle Database General\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/\",\"name\":\"Creating Oracle 18c Database in OCI Classic - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/img_5a9561e35eb6a-1024x827.png\",\"datePublished\":\"2018-02-28T11:42:22+00:00\",\"description\":\"In this article I show in details how to create the new released 18c Oracle Database on Oracle Cloud Infrastructure Classic.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/img_5a9561e35eb6a-1024x827.png\",\"contentUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/img_5a9561e35eb6a-1024x827.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2018\\\/02\\\/creating-oracle-18c-database-in-oci-classic\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Oracle 18c Database in OCI Classic\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Oracle 18c Database in OCI Classic - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"In this article I show in details how to create the new released 18c Oracle Database on Oracle Cloud Infrastructure Classic.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/","twitter_misc":{"Escrito por":"DBA RJ","Est. tempo de leitura":"7 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"Creating Oracle 18c Database in OCI Classic","datePublished":"2018-02-28T11:42:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/"},"wordCount":717,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"image":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png","articleSection":["Oracle Cloud","Oracle Database General"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/","url":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/","name":"Creating Oracle 18c Database in OCI Classic - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#primaryimage"},"image":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png","datePublished":"2018-02-28T11:42:22+00:00","description":"In this article I show in details how to create the new released 18c Oracle Database on Oracle Cloud Infrastructure Classic.","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#primaryimage","url":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png","contentUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/02\/img_5a9561e35eb6a-1024x827.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2018\/02\/creating-oracle-18c-database-in-oci-classic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/pt-br\/"},{"@type":"ListItem","position":2,"name":"Creating Oracle 18c Database in OCI Classic"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website","url":"https:\/\/www.dbarj.com.br\/pt-br\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/3293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/comments?post=3293"}],"version-history":[{"count":0,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/3293\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/media?parent=3293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/categories?post=3293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/tags?post=3293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}