<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Teerayut Thongsut on Medium]]></title>
        <description><![CDATA[Stories by Teerayut Thongsut on Medium]]></description>
        <link>https://medium.com/@teerayut.chot?source=rss-4521f662cbfc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*n1C2GtFYiRKK3GJwn6FxfA.jpeg</url>
            <title>Stories by Teerayut Thongsut on Medium</title>
            <link>https://medium.com/@teerayut.chot?source=rss-4521f662cbfc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:35:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@teerayut.chot/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[เก็บ Docker Images แบบ Private ด้วย Oracle Cloud Infrastructure Registry (OCIR)]]></title>
            <link>https://medium.com/mfec/%E0%B9%80%E0%B8%81%E0%B9%87%E0%B8%9A-docker-images-%E0%B9%81%E0%B8%9A%E0%B8%9A-private-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-oracle-cloud-infrastructure-registry-ocir-c48b9501bf82?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c48b9501bf82</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[private-docker-registry]]></category>
            <category><![CDATA[oci]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Tue, 24 Dec 2019 07:05:19 GMT</pubDate>
            <atom:updated>2020-01-08T11:14:07.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/412/0*ZsdfayINuiAN1BcS" /></figure><p>สวัสดีครับ วันนี้เราจะมาพูดถึงตัว Oracle Cloud Infrastructure Registry หรือที่เรียกกันว่า OCIR กันครับ</p><h3>OCIR คืออะไร?</h3><p>OCIR เป็น Docker Registry Service บน Oracle Cloud Infrastructure ที่เราสามารถเก็บ แชร์ และจัดการ Docker Images ใน OCIR นี้ได้</p><p>ซึ่ง Repository บน OCIR จะเป็น private access โดย Default ซึ่งหมายความว่าถ้าเรามี Docker Images ที่ใช้งานภายในทีมของเรา ก็สามารถ push docker images ขึ้นไปเก็บไว้ใน OCIR โดยที่คนภายนอกไม่สามารถ access ได้ หรือเราจะเปิดให้เป็น public ภายหลังก็ได้</p><p>นอกจากนี้ OCIR ยังสามารถทำงานร่วมกันกับ Container Engine for Kubernetes (OKE) บน Oracle Cloud Infrastructure ได้อีกด้วย</p><p>และที่สำคัญ การเก็บ Docker Images ไว้บน OCIR นั้นไม่มีค่าบริการ สามารถเก็บขึ้นไปได้ฟรี โดยเราจะเสียเงินก็ต่อเมื่อเรา Deploy Image ลงบน Kubernetes instance ซึ่งจะเรียกเก็บตามค่าบริการที่ OCI Resource เพื่อนำมา run Kubernetes node นั่นเอง</p><p>เอาล่ะครับ เมื่อเราทำความรู้จักกับ OCIR แล้ว</p><p>ก็ลองมาดูวิธีใช้งานกันครับ</p><p>เริ่มจาก login docker ของเราไปที่</p><pre>docker login &lt;region-code&gt;.ocir.io</pre><p>ซึ่งเราสามารถตรวจสอบ Region code ได้<a href="https://docs.cloud.oracle.com/iaas/Content/Registry/Concepts/registryprerequisites.htm#Availab">ที่นี่</a>ครับ</p><p>โดย User name จะมาจาก format &lt;tenancy-namespace&gt;/&lt;username&gt;</p><p>ส่วน Password จะได้มาจากการ Generate Token ดังนี้ครับ</p><p>เข้าไปที่ Tab Identity &gt; Users และเลือก User ของเราครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rOKCYLt-15LJcKWv.png" /></figure><p>ใน tab ด้านซ้ายให้เลือก Auth Tokens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/0*o-VNuyzua6uz0DzB.png" /></figure><p>หลังจากนั้นให้เราเลือก Generate Token ซึ่งเราจะได้ Token ในการ login มา ให้เก็บ Token ไว้ให้ดีนะครับ เพราะ Token นี้จะไม่แสดงขึ้นมาอีก ถ้าทำหายจะต้อง Generate ใหม่ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0iHrsete3RxdBuu7.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/0*VMrXzn62imkIkhI6.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/0*meQEyanAMXV497gp.jpeg" /></figure><p>พอเรามีข้อมูลครบแล้วก็ login ได้เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*ilUBSMsje7GogNFu5IrEHA.png" /></figure><p>จากนั้นผมจะลองดึง Image hello-world จาก docker hub มาดูครับ</p><p>docker pull karthequian/helloworld:latest</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*f0TwIuYpuWREBTyYzYCNEg.png" /></figure><p>เมื่อเราได้ Image มาแล้ว ผมจะทำการติด tag ให้กับ Image โดยมี format ดังนี้</p><pre>docker tag karthequian/helloworld:latest<br>&lt;region-code&gt;.ocir.io/&lt;tenancy-namespace&gt;/&lt;repo-name&gt;/&lt;image-name&gt;:&lt;tag&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*LIsLED5Z3m03RVXsB-6sdA.png" /></figure><p>เมื่อเราทำการ tag ให้กับ image แล้ว เราลองมาดูกันอีกครั้งด้วยคำสั่ง</p><pre>docker images</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BvFmkXyCktKJrG5LyNO2pw.png" /></figure><p>เมื่อพร้อแล้วก็ push image ของเราขึ้นไปได้เลยครับ</p><pre>docker push<br>&lt;region-code&gt;.ocir.io/&lt;tenancy-namespace&gt;/&lt;repo-name&gt;/&lt;image-name&gt;:&lt;tag&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*rLUW-JtaDEUGGKa2LUkGrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*Qe8wbON6X1sIDkenmURMNQ.png" /></figure><p>เมื่อเสร็จแล้ว เราก็ไปตรวจสอบดูที่หน้า OCIR ใน Oracle CLoud ของเรา</p><p>ก็จะเจอกับ Docker Image ที่เราได้ทำการ Push เข้าไปแล้วครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AH5GUE93fzxMtjbabQ_Wpg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YCatY9N18PcAEMdRiaoN4Q.png" /></figure><p>เป็นยังไงกันบ้างครับ</p><p>ไม่ยากเลยใช่มั้ย</p><p>คราวหน้าจะมีอะไรมาเล่นอีก รอติดตามกันได้เลยครับ</p><p>See ya!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*wZdK2cQN81ELgZUd5Upodw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c48b9501bf82" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/%E0%B9%80%E0%B8%81%E0%B9%87%E0%B8%9A-docker-images-%E0%B9%81%E0%B8%9A%E0%B8%9A-private-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-oracle-cloud-infrastructure-registry-ocir-c48b9501bf82">เก็บ Docker Images แบบ Private ด้วย Oracle Cloud Infrastructure Registry (OCIR)</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[นำข้อมูลเข้าสู่ Autonomous Database จาก Oracle Object Storage]]></title>
            <link>https://medium.com/mfec/%E0%B8%99%E0%B8%B3%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B8%B9%E0%B8%A5%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B8%AA%E0%B8%B9%E0%B9%88-autonomous-database-%E0%B8%88%E0%B8%B2%E0%B8%81-oracle-object-storage-ef36bff83cc1?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef36bff83cc1</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[oracle-autonomous]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[object-storage]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Tue, 24 Dec 2019 04:41:54 GMT</pubDate>
            <atom:updated>2020-01-08T11:17:50.658Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/270/0*-tMQgO8NFIMA2OmP.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/0*4-ZNnXjGkqoJ0VVd.png" /></figure><p>สวัสดีครับ หลังจากที่เราได้ทำการสร้าง Autonomous Database ขึ้นมาใช้งานกันแล้ว วันนี้ผมจะมาแชร์วิธีการนำเข้าข้อมูลจาก source ที่มีการเตรียมอยู่ในรูปแบบที่พร้อมนำเข้าสู่ Database อย่างเช่นพวก csv file กันครับ</p><p>ก่อนอื่น เรามาดูวิธีการนำข้อมูลเข้าจากเครื่อง local ของเรากันก่อนครับ</p><p>เริ่มจาก connect Autonomous Database ของเราผ่าน SQL Developer</p><p>หลังจากนั้นไปที่ Database connection ของเราแล้ว click ขวาที่ Tables และเลือก Import Data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*9Sxbtdn7Pu2_uOZF_gflQA.png" /></figure><p>หลังจากนั้นเลือก Browse… เพื่อหา source file ที่เราต้องการ</p><p>ในส่วนของ Line Terminator ให้เราใส่ค่าที่เป็นตัวขึ้นบรรทัดใหม่ของเรา ซึ่งใน source file ของผมจะใช้ตัว “;” เป็นตัวแบ่งครับ</p><p>เมื่อเราใส่ข้อมูลถูกต้อง จะมี Sample Data preview ให้เราดูด้านล่าง จากนั้นก็ Next เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*oxVA2UTWNkBNqirjqtNNiA.png" /></figure><p>หน้าถัดมาจะมีให้เราเลือก Import Method และใส่ชื่อ Table ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*uv5TLn1VhQT8zKF1JRWn7g.png" /></figure><p>ถัดมาจะเป็นการ filter column ที่เราต้องการจะ import ข้อมูลเข้าไป</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*JPyf2OsMnwNffn6h3LrY7A.png" /></figure><p>ถัดมาจะเป็นการ validate ว่า Data ที่เราจะทำการ import เข้าไปมี Data type ตรงตามที่เราต้องการหรือไม่ เมื่อถูกต้องแล้วก็ Next แล้ว Finish ได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*532zD2oW_i-EpsMPXksqHg.png" /></figure><p>เท่านี้เราก็จะได้ Table ที่มี Data ที่เราต้องการแล้วครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*LzuQu6nePGh3lw5SotO7UA.png" /></figure><p>นอกจากการนำข้อมูลเข้าจากเครื่องของเราแล้ว ยังมีอีกวิธีในการนำเข้าข้อมูลจาก Object storage ที่มีให้บริการบน cloud provider หลายๆเจ้า ซึ่งในตัวอย่างผมจะมาแชร์วิธีการใช้งาน Oracle Object Storage บน Oracle Cloud ให้ดูกันครับ</p><p>ก่อนอื่นเรามาสร้าง Oracle Object Storage เพื่อไว้เก็บ Data กันก่อนครับ</p><p>โดยเข้าไปที่หน้า Home ของ Oracle Cloud แล้วเลือก Object Storage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*2zb9HyOjtH3rBCWuQqI0-g.png" /></figure><p>ตรวจสอบ Region และ compartment ที่เราต้องการสร้าง object storage ให้ถูกต้องแล้วเลือก Create Bucket ได้เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rjm_1fnLttLC_fmBx_fUZQ.png" /></figure><p>ใส่ชื่อของ bucket และอื่นๆตามที่เราต้องการ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*jf0_hzrIPrEdAMtX6G7fdA.png" /></figure><p>เมื่อเรากด Create ก็จะได้ Object Storage มาไว้ใช้งานทันทีครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-dOw8PJ3LfMdclB9f4WmBQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hHlE6NzfzZv6jIchXfwZvw.png" /></figure><p>ในตัวอย่างนี้ผมจะแสดงวิธีการ Upload file ผ่าน GUI ก่อนนะครับ ซึ่งในการใช้งานจริงเราสามารถ Upload ผ่าน API ได้อีกด้วย</p><p>โดยเมื่อเราเข้ามาในหน้า Detail จะมีปุ่มให้เรา Upload Objects</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G7voAtoMsCBVj3KhMchpAw.png" /></figure><p>จากนั้นเลือก file ที่เราต้องการ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*mnkClgYbeBGmzLh2FlOEEw.png" /></figure><p>click upload objects เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*JGEUyw2vHz6rsU6xyC7sVQ.png" /></figure><p>เท่านี้เราก็จะได้ file ไปวางไว้บน Oracle Object Storage แล้วครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4S6PrseMuWwU-vH6Ipj1w.png" /></figure><p>ซึ่งเมื่อเรากด View Object Details ก็จะมี URL ที่ให้เราเข้าถึง file นี้ได้ขึ้นมาให้เห็นครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ALtfMuiNcoViVEsvfZrgpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*L09QwJW-rRCjfRN51c749A.png" /></figure><p>ในขั้นถัดไป เราจะนำข้อมูลที่อยู่ใน Object Storage เข้าสู่ Autonomous Database กันครับ</p><p>ซึ่งก่อนอื่นเราจำเป็นต้องสร้าง Object Store Auth Token กันก่อนครับ</p><p>โดยเริ่มต้นจากการเข้าไปที่ Tab Identity &gt; Users และเลือก User ของเราครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OBK5IN9cmFp_n2ISJXphlQ.png" /></figure><p>ใน tab ด้านซ้ายให้เลือก Auth Tokens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*JH86p6ODiMKrbwII81nVLg.png" /></figure><p>หลังจากนั้นให้เราเลือก Generate Token ซึ่งเราจะได้ Token ในการ access object storage มา ให้เก็บ Token ไว้ให้ดีนะครับ เพราะ Token นี้จะไม่แสดงขึ้นมาอีก ถ้าทำหายจะต้อง Generate ใหม่ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3n_WQgANp3-CL2h1OpIyMQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*C7mMPbB-Xg5nNwh2toWXCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*bl9tm3VN9WqgyTJWa0m5Jw.jpeg" /></figure><p>หลังจากนั้นให้เรากับไปสร้าง cloud credential ใน Autonomous Database ของเรา</p><pre>--Please fill in your OCI Object Store username and auth token below<br>set define off<br>begin<br>  DBMS_CLOUD.create_credential(<br>    credential_name =&gt; &#39;OBJ_STORE_CRED&#39;,<br>    username =&gt; &#39;&lt;Username&gt;&#39;,<br>    password =&gt; &#39;&lt;Auth Token&gt;&#39;<br>  );<br>end;<br>/<br>set define on</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*hCm2cUNtHhyUPUtauxR1JA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*VJz-DvV_4_kYaSy7CPEzaw.png" /></figure><p>เมื่อเราได้ Cloud Credential แล้วก็มาลอง import data จาก object storage กันได้เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nmVl4yyY4GYpyR_fkEh9zQ.png" /></figure><p>โดยในหน้าแรกให้เราเลือก Source เป็น Oracle Cloud Storage</p><p>ในส่วนของ file ให้เรานำ URL ที่ได้มาจากหน้า View Object Details มาใส่</p><p>และเลือก Cloud Credential ที่เราสร้างมาให้ถูกต้องก็จะเห็น Data ที่เราจะ import แล้วครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*vdWLoCwtWJUmOeOpl4BzpA.png" /></figure><p>ถัดมาก็จะเป็นหน้า Import Method ให้เราเลือกเป็น Cloud Load แล้วตั้งชื่อ Table ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*1F9LYoyNF1ZGXSIN-8Ih_w.png" /></figure><p>หลังจากหน้า Column Definition จะมีหน้า Test command ในการ import Data เข้า</p><p>ถ้า Status เป็น Success แปลว่าเรามาถูกทางแล้วครับ Import ได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*p6BFjLTkhUtlQa_ZFEnKjA.png" /></figure><p>เรียบร้อยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*vVCtaTeSRrNOkuPeLwUTtg.png" /></figure><p>หลายคนอาจคิดว่าต้องมานั่ง import ผ่าน SQL Developer ทีละ file มันช้าและเสียเวลา Oracle ก็ได้ provide API ที่มาช่วยในการ import data ซึ่งเราสามารถนำไปผูกกับ scheduler, script หรือ Automation tools อื่นๆได้ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*GEMVQDrgJg1tMhnZLOdfTA.png" /></figure><p>เป็นยังไงกันบ้างครับ</p><p>ไม่ยากเลยใช่มั้ย</p><p>เพียงเท่านี้เราก็จะมีที่เก็บ Data บน cloud ให้เราไว้ใช้งานได้ง่ายๆเลยครับ</p><p>ในส่วนของ Object Storage นี้เราสามารถนำไปประยุกต์ใช้ได้ตามความต้องการเลย</p><p>คราวหน้าจะมีอะไรมาเล่นอีก รอติดตามกันได้เลยครับ</p><p>See ya!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Kb97k-BFL4LpnGM33HsPqA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef36bff83cc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/%E0%B8%99%E0%B8%B3%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B8%B9%E0%B8%A5%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B8%AA%E0%B8%B9%E0%B9%88-autonomous-database-%E0%B8%88%E0%B8%B2%E0%B8%81-oracle-object-storage-ef36bff83cc1">นำข้อมูลเข้าสู่ Autonomous Database จาก Oracle Object Storage</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Oracle Autonomous Linux” Autonomous OS ตัวแรกของโลก]]></title>
            <link>https://medium.com/mfec/oracle-autonomous-linux-autonomous-os-%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B9%81%E0%B8%A3%E0%B8%81%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%82%E0%B8%A5%E0%B8%81-5170052c7cfb?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/5170052c7cfb</guid>
            <category><![CDATA[autonomous]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Fri, 13 Dec 2019 08:08:20 GMT</pubDate>
            <atom:updated>2019-12-16T08:48:01.521Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zKxO7Wbtq9tLlLeqVAcbqA.jpeg" /></figure><p>สวัสดีครับ วันนี้ผมจะมาแนะนำอีกหนึ่ง Service ที่น่าสนใจของ Oracle ที่ได้เปิดตัวมาในปีนี้คือ <strong>“Oracle Autonomous Linux” </strong>นั่นเอง</p><h3>Oracle Autonomous Linux คืออะไร?</h3><p>Oracle Autonomous Linux เป็น Infrastructure as a service (IaaS) ตัวหนึ่งที่ทำงานอยู่บน Oracle Cloud Infrastructure ของ Oracle ซึ่งผู้ใช้งานสามารถสร้างขึ้นมาใช้งานได้ง่ายๆ และมี Machine Learning เข้ามาช่วยบริหารจัดการตัวserver ที่เราสร้างขึ้นมาด้วย</p><p>Oracle Autonomous Linux มีพื้นฐานจากการนำตัว Oracle Enterprise Linux มาเสริมด้วย Machine Learning ของ Oracle ทำให้ตัว Oracle Autonomous Linux มีความสามารถในการจัดการตัวเอง ทำให้ลดแรงงานและค่าใช้จ่ายที่ผู้ใช้ต้องมาคอยดูแลระบบลง โดยตัว Oracle Enterprise Linux เป็น Linux Distro ของ Oracle ที่ทำการเอา kernel ของ Red Hat Enterprise Linux มาพัฒนาต่อเป็นของตนเอง ทำให้เราสามารถนำ program หรือ application ที่ทำงานบน Red Hat ย้ายมาใช้งานบน Oracle Linux ได้เลย</p><p>ซึ่งความสามารถของ Oracle Autonomous Linux ที่เข้ามาช่วยทุ่นแรงของผู้ดูแลระบบ จะมีตั้งแต่การ automated patching, updates, และ tuning ตัว OS โดยที่ user ไม่จำเป็นต้องมาทำเอง โดยการ update และ patching จะเป็นไปตาม image ที่ Oracle จะคอยจัดการให้เรา รวมถึงการ tuning OS configuration ต่างๆด้วย</p><p>ในแง่ความปลอดภัย Oracle Autonomous Linux มีการตรวจสอบและ patching เพื่ออุดช่องโหว่ในด้านความปลอดภัยอยู่ตลอดทุกวัน โดยที่ระบบไม่จำเป็นต้องมี downtime ทำให้ระบบสามารถใช้งานได้อยู่ตลอดเวลา รวมถึงการตรวจสอบการโจมตีช่องโหว่และแจ้งเตือนได้อีกด้วย</p><p>จุดสำคัญที่ Oracle Autonomous Linux ได้เปรียบระบบปฏิบัติการอื่นๆ คงไม่พ้นเรื่องของ<strong> </strong>Availability ซึ่ง Oracle Autonomous Linux สามารถทำการ patch และ update ตัวเองได้แบบไม่มี downtime รวมถึงการช่วยเหลือแบบ Premier Support จาก Oracle โดยไม่มีค่าใช้จ่ายเพิ่มเติม โดยค่าบริการของตัว Oracle Autonomous Linux จะคิดเป็น Subscription service ตาม shape ที่เลือกบน Oracle Cloud นั่นเอง</p><h3><strong>Provisioning!</strong></h3><p>หลังจากที่เราได้ทำความรู้จักกับ Oracle Autonomous Linux กันแล้ว ก็มาลองสร้างตัว Oracle Autonomous Linux Instance กันเลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQdnpht6f1IIGIpSzbPavw.png" /></figure><p>เริ่มต้นด้วยการเข้าไปที่หน้าของ Oracle Cloud เลือก Compute &gt; Instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*xzKX1yglJDWxIcWfVTMJqQ.png" /></figure><p>ตรวจสอบว่าเราอยู่ใน regions และ compartment ที่ถูกต้อง แล้วก็กด Create Instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R4Ps0jgEYMPCoVhwR29F_w.png" /></figure><p>ใส่ชื่อ hostname ของเราแล้วเลือก Change Image Source</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GvGfa40EDv1-ojrhVWfOcA.png" /></figure><p>จะมี popup ขึ้นมา ให้เราเลือก Oracle Images และเลือก Oracle Autonomous Linux</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J8ebUi5sRi9f04wWeGCDzA.png" /></figure><p>หลังจากนั้นก็เลือก shape ของ server ที่เราต้องการใช้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4nm2mCAV4xfjYeobjGLCfg.png" /></figure><p>Configure network ตามวงที่เราต้องการ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WujVla6JOZW82zECdnfILA.png" /></figure><p>Upload public key ที่เราจะใช้ในการ connect เข้าตัว Oracle Autonomous Linux แล้ว create ได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3h2BCHC94JID_Ts_VDVhQ.png" /></figure><p>จะมาถึงหน้าของ Instance detail ซึ่งตอนนี้ขึ้น status เป็น provisioning อยู่</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FknX5GqobG1VM9o1rYyDEA.png" /></figure><p>รอเพียงช่วงมาม่าไม่ทันสุก เราก็ได้ Oracle Autonomous Linux มาใช้แล้วครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*cWtJXYxugt3V6oh7ai71Hg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*MXVes71UrNlPgcdqZv6TZw.png" /></figure><p>ทดลอง connect ผ่าน putty โดยใช้ user opc และ private key ของ key ที่เรา upload ไปตอนสร้าง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*QKO7X1yebmpWvgemu7rUnA.png" /></figure><p>เรียบร้อย! เท่านี้เราก็ได้ Oracle Autonomous Linux มาใช้งานแล้ว</p><p>ไม่ยากเลยใช่มั้ยครับ</p><p>คราวหน้าจะมีอะไรมาเล่นให้ดูกันอีก รอติดตามกันได้เลยครับ</p><p>See ya!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*YpfPZ-0gKLO3NfZzYe27Sg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5170052c7cfb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/oracle-autonomous-linux-autonomous-os-%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B9%81%E0%B8%A3%E0%B8%81%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%82%E0%B8%A5%E0%B8%81-5170052c7cfb">“Oracle Autonomous Linux” Autonomous OS ตัวแรกของโลก</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[มาเริ่มต้นสร้าง Autonomous Data Warehouse (ADW) กันเถอะ!]]></title>
            <link>https://medium.com/mfec/%E0%B8%A1%E0%B8%B2%E0%B9%80%E0%B8%A3%E0%B8%B4%E0%B9%88%E0%B8%A1%E0%B8%95%E0%B9%89%E0%B8%99%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87-autonomous-data-warehouse-adw-%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0-3f0bb394e019?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f0bb394e019</guid>
            <category><![CDATA[autonomous-data-warehouse]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[autonomous-database]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Wed, 27 Nov 2019 16:49:49 GMT</pubDate>
            <atom:updated>2019-12-02T07:10:04.062Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/315/0*K4xxxXUfQBmahQsp.png" /></figure><p>หลังจากที่ผมได้เคยพูดถึง Autonomous Database มาใน <a href="https://medium.com/mfec/%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-autonomous-database-%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86-%E0%B8%9A%E0%B8%99-oracle-cloud-free-tier-780f4892b80b">ทดลองใช้งาน Autonomous Database ง่ายๆ บน Oracle Cloud Free Tier</a></p><p>วันนี้ผมจะมาแชร์วิธีสร้าง Autonomous Data Warehouse ให้ทุกคนได้ดู ในแบบฉบับมือใหม่ ใครๆก็ทำได้</p><p>มาดูกันเลยครับ</p><p>ก่อนอื่น เราต้องมี Oracle Cloud Account ก่อน ซึ่งสามารถเข้าไปสมัครได้ที่ <a href="https://cloud.oracle.com/">cloud.oracle.com</a> ซึ่งเราจะได้ free trial credit มา SGD 400 ให้เราได้ลองเล่นในเวลา 30 วันครับ ซึ่งถ้าหลังจาก 30 หรือ credit หมดแล้ว ใครอยากจะใช้ต่อก็สามารถ upgrade account เพื่อใช้งานและคิดเงินต่อไปได้ครับ</p><p>เมื่อเราทำการสมัครเรียบร้อย จะสามารถ login เข้ามาเห็นหน้า home แบบนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BX7l570PlLkjX-mGTq4ihw.png" /></figure><p>เรามาเริ่มกันแบบเร็วๆด้วยการเลือกที่ menu ด้านซ้ายบน และเลือก Autonomous Data Warehouse</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hF6iY6MDk7WZTrtRsRFEmg.png" /></figure><p>เมื่อเข้ามาแล้วจะเป็นหน้าตาแบบนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OnXDIGm-3CHt2zjQbj10lg.png" /></figure><p>ให้เราตรวจสอบว่า Compartment ที่เราจะสร้างอยู่ถูกที่หรือไม่ ซึ่งในที่นี้ผมจะสร้างไว้ที่ root compartment และเลือก workload type เป็น Data Warehouse และอีกส่วนที่สำคัญคือ Regions ที่อยู่ด้านขวาบน</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*Y38Mp4FYUHZEPRb1i7LL_w.png" /><figcaption>Home Region จะมาจากตอนที่เราสมัคร Cloud Account</figcaption></figure><p>สำหรับผู้ที่ต้องการจะทดสอบ features ใหม่ๆแบบสุดๆ ผมแนะนำให้เลือก region ที่อยู่ฝั่ง North America ครับ ซึ่งผมอยากจะเลือก Region ที่เป็น Phoenix ซึ่ง ตอนนี้ ผมมีแค่ Home Region ที่เป็น Ashburn เท่านั้น</p><p>ผมก็จะทำการเพิ่ม region เข้าไปโดยการเลือก Manage Regions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VuNkv7QSIsAgoeRArpJphw.png" /></figure><p>หลังจากนั้นก็หา region ที่ต้องการแล้วกด Subscribe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-01wvQRY55xwcXrquuAnA.png" /></figure><p>เท่านี้เราก็จะสามารถ Provisioning Service บน region ที่ต้องการได้แล้ว</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*tOOChiwgTHdvjuNfLsaG9w.png" /></figure><p>เมื่อเลือก region แล้วเราก็เริ่มทำการสร้าง ADW โดยเลือกที่ Create Autonomous Database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cavFZE1EvRaQhu_6HxIOrw.png" /></figure><p>จากนั้นจะมีข้อมูลให้เราใส่โดยเริ่มต้นจาก compartment, Display name และ Database name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m7Xqmo7EuxMuWT78JOQi9g.png" /></figure><p>เลือก Workload Type เป็น Data Warehouse</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ke03rD_7rs5otyTk7IK7DA.png" /></figure><p>จากนั้นเลือกว่า เราจะใช้ OCPU และ Storage เท่าไหร่ ซึ่งหากเราเรือกใช้ Always Free service จะถูกบังคับให้ใช้ 1 OCPU และ Storage 20GB แต่ Always Free จะมีข้อดีคือเราจะสามารถใช้ได้โดยไม่มีวันหมดอายุ และฟรีตลอดชีพ</p><p>ในกล่อง check box ด้านล่างเราสามารถเลือกได้ว่าจะ enable auto scaling หรือเปล่า ซึ่งถ้าเรา enable auto scaling ตัว ADW ของเราจะสามารถ scale up ไปได้ถึง 3เท่าของ OCPU เท่าเราได้เลือกไว้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-FtUgb-lZbDsU_8Ax5QaA.png" /></figure><p>ในปัจจุบัน ADW นั้นทำงานอยู่บน Oracle Database 18c แต่ถ้าเราอยากลองเล่นที่ version 19c ก็สามารถเลือกได้ โดยมีเงื่อนไขว่า instance นี้จะถูก terminate ลงหลังจากหมด preview period</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6Ese8sdR2jE3_VF6SoJ7w.png" /></figure><p>ในส่วนต่อไปจะให้เรา create password ของ user admin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*am0QBgeOw-3ez5hWzNTfoQ.png" /></figure><p>โดย default ตัว ADW service จะ allow ทุก IP ให้สามารถ access เข้าไปได้ แต่ถ้าเราต้องการสร้าง Access control list ก็สามารถสร้างจากตรงนี้ได้เลย หรือเอาไว้ค่อยไปสร้างทีหลังก็ได้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJ9Lln6eHpKeP-JzheXMLQ.png" /></figure><p>หลังจากให้นั้นเลือกว license type ว่าจะใช้ BYOL จาก on-primes license หรือจะเป็น cloud subscription license แล้วก็กดปุ่ม Create Autonomous Database ได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JvuLD5nUIzM_WUEDzYCbtw.png" /></figure><p>เมื่อเรา Create Autonomous Database แล้วจะเจอหน้า service ซึ่ง status ตอนนี้เป็น provisioning อยู่</p><p>ตอนนี้ใครคอแห้ง อนุญาตให้ลุกไปชงกาแฟมากินก่อนได้ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2clXnEPUjHoP1U_7rtrQQ.png" /></figure><p>รอเพียงอึดใจเดียว เราก็ได้ Autonomous Data Warehouse มาใช้แล้ว</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KwCSgxV2rPFRaLlvK8A_kQ.png" /></figure><p>เมื่อ service available ขั้นตอนต่อไปคือการ connect เข้าไปที่ ADW ของเราโดยเลือกที่ปุ่ม DB Connection</p><p>จะมีหน้าต่างขึ้นมาให้เราเลือก Download Wallet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*tZW2RRTv49poO6qlE4xZUw.png" /></figure><p>หลังจากนั้นจะให้เรา create wallet password แล้วเราจะได้ wallet เป็น zip file มา</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*rdk7pJfKUy28xDlnTDVKPg.png" /></figure><p>เมื่อได้ wallet มาแล้วก็ลองมา connect ด้วย Oracle SQL Developer กันดูเลยครับ</p><p>โดยเลือก Connection Type เป็น Cloud Wallet หลังจากนั้นก็ Browse ไปหา wallet ที่เรา download มาไว้ก่อนหน้านี้</p><p>หลังจากนั้นก็เลือก service ซึ่งจะมีให้เราเลือกเป็น high, medium และ low ซึ่งทั้ง 3 service มีการทำเรื่อง resource management ซึ่งเป็นการจำกัดการใช้ resource ของ ADW ได้ตามความสำคัญ</p><p>เมื่อใส่ user password แล้ว test connection เรียบร้อย ก็สามารถ Connect ได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*OrM4-RMzPPzBtaUly8u_RQ.png" /></figure><p>เรียบร้อย!! เท่านี้เราก็สามารถใช้งาน Autonomous Data Warehouse ได้แล้ว</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4CB913wVJ_UuXDW4tCEesA.png" /></figure><p>เป็นยังไงกันบ้างครับกับการสร้าง ADW</p><p>ไม่ยากเลยใช่มั้ย</p><p>คราวหน้าจะมาลองเล่นอะไรบนนี้ รอติดตามกันได้เลยครับ</p><p>See ya!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*y2WrBlnJ7DMqfD7j7gHycQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f0bb394e019" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/%E0%B8%A1%E0%B8%B2%E0%B9%80%E0%B8%A3%E0%B8%B4%E0%B9%88%E0%B8%A1%E0%B8%95%E0%B9%89%E0%B8%99%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87-autonomous-data-warehouse-adw-%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%96%E0%B8%AD%E0%B8%B0-3f0bb394e019">มาเริ่มต้นสร้าง Autonomous Data Warehouse (ADW) กันเถอะ!</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Oracle Database แบบรวดเร็วพร้อมใช้งานบน Docker]]></title>
            <link>https://medium.com/mfec/install-oracle-database-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%A3%E0%B8%A7%E0%B8%94%E0%B9%80%E0%B8%A3%E0%B9%87%E0%B8%A7%E0%B8%9E%E0%B8%A3%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%9A%E0%B8%99-docker-66827b46048a?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/66827b46048a</guid>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Wed, 27 Nov 2019 08:51:03 GMT</pubDate>
            <atom:updated>2019-12-02T07:21:36.718Z</atom:updated>
            <content:encoded><![CDATA[<h3>คุณกำลังประสบปัญหาการเตรียม environment สำหรับ Oracle Database เพื่อนำมาเทสอยู่ใช่มั้ย!?</h3><p>กว่าจะเตรียม VM, install OS, install Database ก็หมดเวลาไปค่อนวันแล้ว</p><p>วันนี้เราจะมาแชร์วิธีการ Install Oracle Database แบบง่ายๆเร็วๆบน Docker ให้ทุกคนเอาไปเล่นได้แบบทันใจ ไปลุยกันเลย!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*76BLzQhFKsywrztd5GKaYw.png" /></figure><p><strong>ขั้นตอนการ Install Oracle Database บน Docker</strong></p><ol><li>ไปที่ <a href="https://github.com/oracle/docker-images">https://github.com/oracle/docker-images</a> เพื่อ Download Oracle Docker Build file มาก่อน</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwunHL8qwOd3M_Z0mOIzWA.png" /></figure><p>2. ไปที่ <a href="https://www.oracle.com/database/technologies/oracle-database-software-downloads.html">https://www.oracle.com/database/technologies/oracle-database-software-downloads.html</a> เพื่อ Download Oracle Database Software ซึ่งในที่นี้ผมจะทำการ install Oracle Database version 12.2.0.1 ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*biLgMa4WEqKlajD15Uwfzw.png" /></figure><p>3. เมื่อเราได้ <strong>file docker-images-master.zip</strong> และ <strong>linux64_12201_database.zip</strong> มาแล้วก็ทำการ unzip docker-images-master.zip และ copy file linux64_12201_database.zip ไปวางไว้ใน <strong>docker-images-master/OracleDatabase/SingleInstance/dockerfiles/12.2.0.1</strong> เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Saodl5YCgdAHmfnMvraqJg.png" /></figure><p>4. ทำการ build image ด้วย script docker-images-master/OracleDatabase/SingleInstance/dockerfiles/buildDockerImage.sh โดยเราสามารถกำหนด option ในการ build ได้ ซึ่งสามารถเชค option ได้ด้วย command ./buildDockerImage.sh -h</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*8nM-39dIXd9Z48ERJEzwqA.png" /></figure><p>ซึ่ง option ที่ผมใช้คือ<strong> ./buildDockerImage.sh -v 12.2.0.1 -e</strong> เพื่อ install Oracle Database version 12.2.0.1 Enterprise Edition</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*Jl3eRQoMD62gL6SoDb39Ug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIw-h-ZfD2evpj-ZmyacQg.png" /><figcaption>message เมื่อ build เสร็จ</figcaption></figure><p>5. เมื่อทำการ build image เสร็จ ให้ทำการตรวจสอบด้วย command <strong>docker images</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*px1utzYLWgwMNy-IQojmJA.png" /></figure><p>6. ทำการสร้าง container ด้วย command ด้านล่างนี้</p><p>docker run — name <em>&lt;Container name&gt;</em>\<br>-p 1521:<em>&lt;database port&gt;</em> -p 5500:<em>&lt;em express port&gt;</em>\<br>-e ORACLE_SID=<em>&lt;DB name&gt;</em>\<br>-e ORACLE_PDB=<em>&lt;PDB name&gt;</em>\<br>-e ORACLE_PWD=<em>&lt;sys password&gt;</em>\<br>-e ORACLE_CHARACTERSET=<em>&lt;character set&gt;</em>\<br>oracle/database:12.2.0.1-ee</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*XBieFPXIbPZDsNARJ1E4Wg.png" /></figure><p>7. ใช้เวลาซักพักนึงจนแสดงข้อความ</p><p>##################<br>DATABASE IS READY TO USE!<br>##################</p><p>ก็แปลว่าตอนนี้ Database พร้อมใช้งานแล้ว!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r-8vepaiicAM5Ne3JHALLQ.png" /></figure><p>เรามาลองใช้งาน Database ของเรากันเลยดีกว่า</p><p>สำหรับผู้ที่เคยใช้งาน Oracle Database บน linux อยู่แล้ว เราสามารถเข้าไปที่ os ได้ง่ายๆด้วย command</p><p><strong>$ docker exec -ti <em>&lt;Container name&gt;</em> /bin/bash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*s74--kMU2EQfzIjPomp5jg.png" /></figure><p>ลองเข้าหน้า EM express</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSZZu8NwTL_OTXifGIpEqQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wc5daO6IgkSnVHU_Ay_GTg.png" /></figure><p>ลอง connect ด้วย SQL developper</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wTojutMkVJPGjmt8ozYkuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wbRWaoSDbgKBaYOsaM9kdg.png" /></figure><p>ไม่ยากเลยใช่มั้ยครับ แค่นี้ทุกคนก็สามารถมี Oracle Database ไว้เล่นง่ายๆในเครื่องกันแล้ว</p><p>ขอให้สนุกกับ Oracle Database นะครับ</p><p>See ya!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*q3LS-z4Lt5vPBH4bST4UnQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66827b46048a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/install-oracle-database-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%A3%E0%B8%A7%E0%B8%94%E0%B9%80%E0%B8%A3%E0%B9%87%E0%B8%A7%E0%B8%9E%E0%B8%A3%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%9A%E0%B8%99-docker-66827b46048a">Install Oracle Database แบบรวดเร็วพร้อมใช้งานบน Docker</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ทดลองใช้งาน Autonomous Database ง่ายๆ บน Oracle Cloud Free Tier]]></title>
            <link>https://medium.com/mfec/%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-autonomous-database-%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86-%E0%B8%9A%E0%B8%99-oracle-cloud-free-tier-780f4892b80b?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/780f4892b80b</guid>
            <category><![CDATA[autonomous-database]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-autonomous]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Thu, 10 Oct 2019 07:40:43 GMT</pubDate>
            <atom:updated>2019-10-10T07:40:43.704Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*Or6waxzZcWGfBkPkeV7ZWQ.png" /></figure><h3>Autonomous Database คืออะไร?</h3><p>Autonomous Database เป็น database cloud service ที่อยู่บน Oracle Cloud ซึ่งมีจุดเด่นต่างจาก Database service ที่ทำงานอยู่บน Cloud provider เจ้าอื่นๆคือ Autonomous Database มีการใช้ Machine Learning ที่มาช่วยลดงานของเราในการดูแลจัดการ Database ทั้งในส่วนการทำ Performance Tuning, Security, Backup, Patching รวมถึงงานที่เป็น Routine management อื่นๆ ที่ปกติต้องใช้ DBA ดูแล</p><p>พูดง่ายๆคือเป็น Database ที่ทำงานได้เอง ช่วยลดงาน routine ของ DBA ลงทำให้มีเวลาไป Focus ในส่วนอื่นๆมากขึ้น เรียกได้ว่าถ้านี่เป็นรถยนต์ Oracle Autonomous ก็เป็น Tesla ในโลก Database เลย</p><p>โดย Keys Concept หลักของ Autonomous Database คือ</p><p><strong>Self-Driving</strong> : Oracle Autonomous Database มี Machine Learning ที่ช่วยจัดการ Database infrastructure, monitoring และ tuning ทำให้ลดงานตรงนี้ให้กับ admin ได้ และแอบบอกไว้อีกอย่างคือ Machine Learning ของ Oracle Autonomous Database เนี่ย tuning เก่งมากๆเลยแหละ</p><p><strong>Self-Securing</strong> : Oracle Autonomous Database จะใช้ Feature ของ Oracle Security มาช่วยป้องกันการโจมตีทั้งจากภายในและภายนอก โดยที่ไม่ต้องมา Implement เองภายหลัง</p><p><strong>Self-Repairing</strong> : Oracle Autonomous Database มีความสามารถที่จะป้องกัน downtime ทั้งหมดได้ รวมทั้งการ maintenance และ patching ที่ทำให้เองโดยไม่มี downtime ด้วย</p><p>ของดีแบบนี้ อยากลองใช้แล้วใช่มั้ยครับ งั้นมาลองเล่นกันเลยบน Oracle Cloud Free Tier</p><h3>Oracle Cloud Free Tier</h3><p>Oracle Cloud Free Tier เป็น service บน Oracle Public Cloud ที่ให้เปิดลองใช้บริการบน Oracle Cloud ได้โดยไม่เสียค่าบริการ ซึ่ง Oracle Cloud Free Tier แบ่งเป็นสองส่วนคือ</p><p><strong>Always Free </strong>: ในส่วนนี้ Oracle เปิดให้ใช้บริการบน Oracle Cloud ได้ฟรีตลอดชีพ ซึ่งบริการที่อยู่ในส่วนของ Always Free มีดังนี้</p><blockquote>2 Autonomous Databases Each 1 OCPU and 20GB storage</blockquote><blockquote>2 virtual machines with 1/8 OCPU and 1 GB memory each.</blockquote><blockquote>2 Block Volumes, 100 GB total.10 GB Object Storage.10 GB Archive Storage.</blockquote><blockquote>Load Balancer, Monitoring, Notifications and Outbound Data Transfer</blockquote><p>และอีกส่วนที่ให้ได้ลองใช้คือ</p><p><strong>30-day Free Trial </strong>: ในส่วนนี้เราจะสามารถทดลองใช้ service อื่นๆทั้งหมดบน Oracle Public Cloud ได้โดยจะมี credit ให้เล่นฟรี US$300 ซึ่งจะต้องใช้ภายใน 30 วัน ถ้าลองแล้วถูกใจก็สามารถต่ออายุ subscription ใช้งานจริงต่อได้เลย</p><p>สำหรับคนที่สนใจอยากเล่นแล้ว เข้าไปสมัครแล้วลองเล่นที่ <a href="https://www.oracle.com/cloud/free/?source=:ow:o:h:nav:0916G2CPanel&amp;intcmp=:ow:o:h:nav:0916G2CPanel">Oracle Cloud Free Tier </a>ได้เลยครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*rYV4TAgkGOaK6I0MEqdNXw.jpeg" /><figcaption>Writer By Mr.Teerayut Thongsut — MFEC PEOPLE</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=780f4892b80b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/%E0%B8%97%E0%B8%94%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-autonomous-database-%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86-%E0%B8%9A%E0%B8%99-oracle-cloud-free-tier-780f4892b80b">ทดลองใช้งาน Autonomous Database ง่ายๆ บน Oracle Cloud Free Tier</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 เหตุผล ที่ต้อง Upgrade ไปสู่ Oracle Database 19c]]></title>
            <link>https://medium.com/mfec/5-%E0%B9%80%E0%B8%AB%E0%B8%95%E0%B8%B8%E0%B8%9C%E0%B8%A5-%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%95%E0%B9%89%E0%B8%AD%E0%B8%87-upgrade-%E0%B9%84%E0%B8%9B%E0%B8%AA%E0%B8%B9%E0%B9%88-oracle-database-19c-4fd573b57fe7?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fd573b57fe7</guid>
            <category><![CDATA[oracle-database-19c]]></category>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Tue, 20 Aug 2019 13:15:56 GMT</pubDate>
            <atom:updated>2019-10-10T07:41:19.181Z</atom:updated>
            <content:encoded><![CDATA[<p>“ของเก่าก็ใช้ได้อยู่ ทำไมต้อง Upgrade ด้วย”</p><p>หลายคนอาจเจอคำถามนี้ เมื่อมีความคิดจะ Upgrade Database ไปสู่ Version ใหม่</p><p>ของใหม่ ยังไงก็ดีกว่า!! เรามาดูกันดีกว่าว่า ทำไมถึงต้อง Upgrade ไป Oracle Database 19c</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*Y3a-ZXG0Bpja7bhZ5Ifc4g.png" /></figure><ol><li>Long Term Support</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1OJj8nb1HIXjDckYfZ3TQ.png" /><figcaption>Database Release Roadmap ( Updated on 01-Aug-2019)</figcaption></figure><p>จาก Roadmap ของทาง Oracle จะเห็นว่า version อื่นๆก่อนหน้านี้จะเลิก Support ในปี 2021 นี้ แต่ Oracle Database 19c จะ Support ถึงปี 2026 กันเลยที่เดียว (ซึ่งอาจมีการขยายเวลาเพิ่มขึ้นอีกภายหลัง)</p><p>2. Container Database Architecture</p><p>Move on!! หมดเวลาของ non-CDB แล้ว!!</p><p>Oracle ได้เปิดตัว CDB Architecture หรือที่เราเรียกกันว่า Multitenant มาครั้งแรกใน Oracle Database 12c Release 1 ตั้งแต่ปี 2014</p><p>5 ปีที่ผ่านมา Oracle ได้พัฒนา feature ใหม่ๆบน Multitenant ขึ้นมาให้ใช้งาน รวมถึงปรับปรุงแก้ไขข้อบกพร่องต่างๆ ในการใช้งาน</p><p>แต่ถึงอย่างนั้น Oracle ก็ยังยอมให้ใช้ non-CDB architecture อยู่สำหรับผู้ไม่ต้องการใช้ Multitenant อยู่</p><p>แต่ใน version 19c และหลังจากนี้ Oracle จะยกเลิก non-CDB architecture และหยุดพัฒนา feature บน non-CDB architecture</p><p>และในปัจจุบัน คุณจะใช้ Multitenant Database ที่สมบูรณ์ที่สุดของ Oracle ได้บน Oracle Database 19c นั่นเอง (พูดอย่างกับโฆษณา iPhone)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xJTdaVrewUjicSBcJolUTg.png" /><figcaption>อ้างอิงจาก Official Database Upgrade Guide จาก Oracle</figcaption></figure><p>3. Security</p><p>ทุกๆ ไตรมาส Oracle จะมีการออก patch ใหม่มาเพื่อ fix bugs และเพื่ออุดช่องโหว่ต่างๆ ซึ่งการที่ Upgrade เป็น Oracle Database 19c ซึ่งเป็นล่าสุด จึงเป็นการอุดช่องโหว่ต่างๆที่พบใน version ก่อนหน้า และยังปรับปรุงให้มีประสิทธิภาพที่ดีกว่าทุก version ที่ผ่านมาอีกด้วย</p><p>4. New Feature</p><p>ใน version 19c Oracle ได้ออก feature ใหม่หลายๆตัวมาให้เราได้ใช้งานกัน ยกตัวอย่างเช่น Active Data Guard DML Redirection (Read mostly standby database), Automatic Indexing, Sharding Database เป็นต้น</p><p>5. Ready to Cloud</p><p>ด้วยคุณสมบัติของ Multitenant Database ทำให้เราสามารถย้าย Database ขึ้นไปบน Oracle Public Cloud หรือย้ายไปสู่ Oracle Autonomous Database ได้อย่างง่ายดาย!!</p><p>สำหรับใครที่ยังไม่ได้มองดูเรื่องการ Upgrade ผมว่าตอนนี้ควรเริ่มที่จะเตรียมตัว ศึกษา และทดสอบ version ใหม่ได้แล้วนะครับ ก่อนที่ Database ที่ใช้อยู่จะเลิก support ในไม่ช้านี้</p><p>ส่วนเรื่อง Feature ใหม่ๆที่น่าสนใจบน Oracle Database 19c มีอะไรบ้าง ไว้คราวหน้าจะมาเล่าสู่กันฟังนะครับ :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*on-f_9lIrUWNV131OQivlQ.jpeg" /><figcaption>Writer By Mr.Teerayut Thongsut — MFEC PEOPLE</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fd573b57fe7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/5-%E0%B9%80%E0%B8%AB%E0%B8%95%E0%B8%B8%E0%B8%9C%E0%B8%A5-%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%95%E0%B9%89%E0%B8%AD%E0%B8%87-upgrade-%E0%B9%84%E0%B8%9B%E0%B8%AA%E0%B8%B9%E0%B9%88-oracle-database-19c-4fd573b57fe7">5 เหตุผล ที่ต้อง Upgrade ไปสู่ Oracle Database 19c</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Database 19c? Upgrade เลยดีมั้ย? ทำไม version มาไกลจัง?]]></title>
            <link>https://medium.com/mfec/oracle-database-19c-upgrade-%E0%B9%80%E0%B8%A5%E0%B8%A2%E0%B8%94%E0%B8%B5%E0%B8%A1%E0%B8%B1%E0%B9%89%E0%B8%A2-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%A1-version-%E0%B8%A1%E0%B8%B2%E0%B9%84%E0%B8%81%E0%B8%A5%E0%B8%88%E0%B8%B1%E0%B8%87-966cd5347140?source=rss-4521f662cbfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/966cd5347140</guid>
            <category><![CDATA[mfec-technology]]></category>
            <category><![CDATA[oracle-database-19c]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Teerayut Thongsut]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 04:53:29 GMT</pubDate>
            <atom:updated>2019-10-10T07:41:04.207Z</atom:updated>
            <content:encoded><![CDATA[<p>หลายคนที่ใช้งาน และสนใจใน Oracle database อาจได้เห็นข่าวผ่านตาจากทาง Oracle ว่าในปีนี้ (2019) ได้มีการเปิดตัว Oracle Database 19c ออกมา</p><p>ทำไมเวอร์ชั่นใหม่มาไวจัง ? ตอนนี้ยังใช้ 11g อยู่เลย ควรอัพเกรดไปเวอร์ชั่นไหนดี? ทำไม 12c แล้วข้ามไป 18c หรือ 19c เลย 13–17 หายไปไหน?</p><p>ผมจะมาอธิบายให้ฟังครับ</p><p>เราอาจจะคุ้นเคยกับการนับ version ของ Oracle database ในรูปแบบเก่ากันอยู่ เช่น 11.2.0.4 หมายถึง Oracle Database Major model 11g Release 2 Patch set 4 หรือ 12.1.0.2 ซึ่งหมายถึง Oracle Database Major model 12c Release 1 Patch set 2</p><p>อ้าว! อย่างนี้ก็มี Major Model ออกมาถึงตัวที่ 19 แล้วอย่างนั้นสิ?</p><p>ความจริงแล้วก็คือหลังจาก Oracle 12c Release 2 (12.2.0.1) เป็นต้นมา Oracle ได้เปลี่ยนวิธีการนับ version ของ Oracle database มาเป็นรูปแบบของ Annual Release Model คือนับตามปีเช่น 18c คือ Database ที่ออกมาในปี 2018 และ 19c คือ Database ที่ออกมาในปี 2019 นั่นเอง</p><p>แล้ว Major Model ของ 18c และ 19c คืออะไร?</p><p>แท้จริงแล้ว 18c และ 19c คือ Oracle Database 12c Release 2 ที่มี Patch set ออกมาในปี 2018 และ 2019 เรียกได้ว่า 18c คือ 12.2.0.2 และ 19c คือ 12.2.0.3 นั่นเอง</p><p>อย่างนี้ควร Upgrade ของเก่าไปที่ version ไหนดี?</p><p>ก่อนอื่นเรามาดู Database Release Roadmap จากทาง Oracle กันก่อนครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1OJj8nb1HIXjDckYfZ3TQ.png" /><figcaption>Database Release Roadmap ( Updated on 01-Aug-2019)</figcaption></figure><p>จะเห็นได้ว่า 19c เป็น version ที่ Oracle จะ Support ไปยาวที่สุดในตอนนี้ คือถึงปี 2023 และ Extended Support ถึงปี 2026</p><p>ซึ่งตอนนี้ Oracle ได้เปลี่ยนเป้าหมายจาก 18c มาเป็น 19c และได้บอกว่า 19c Database จะเป็น Long Term Support Release (เหมือนอย่างที่เห็นว่า 11.2.0.4 มีการ Support ที่นานและยังขยายเวลาต่อเนื่องมาหลายครั้งแล้ว) ดังนั้น ถ้าหากว่ามีแพลนที่จะ Upgrade Version ของ Oracle Database แนะนำให้ไปที่ 19c เลยครับ</p><p>ยาวแน่นอน ฟันธง!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*bxJ8wZ0BrbTGW3xzfatKAA.jpeg" /><figcaption>Writer By Mr.Teerayut Thongsut— MFEC PEOPLE</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=966cd5347140" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mfec/oracle-database-19c-upgrade-%E0%B9%80%E0%B8%A5%E0%B8%A2%E0%B8%94%E0%B8%B5%E0%B8%A1%E0%B8%B1%E0%B9%89%E0%B8%A2-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%A1-version-%E0%B8%A1%E0%B8%B2%E0%B9%84%E0%B8%81%E0%B8%A5%E0%B8%88%E0%B8%B1%E0%B8%87-966cd5347140">Oracle Database 19c? Upgrade เลยดีมั้ย? ทำไม version มาไกลจัง?</a> was originally published in <a href="https://medium.com/mfec">MFEC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>