<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OCI on miti99</title><link>https://miti99.com/en/tags/oci/</link><description>Recent content in OCI on miti99</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 16 Nov 2026 17:39:19 +0700</lastBuildDate><atom:link href="https://miti99.com/en/tags/oci/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Expand a Disk Volume in Oracle Cloud Infrastructure (OCI)</title><link>https://miti99.com/en/post/2024/12/01/</link><pubDate>Sun, 01 Dec 2024 00:00:00 +0700</pubDate><guid>https://miti99.com/en/post/2024/12/01/</guid><description>&lt;p&gt;When running an instance on Oracle Cloud, have you ever chosen a 200GB Boot Volume during setup only to find the OS recognizing just 50GB?&lt;/p&gt;
&lt;p&gt;This happens because the OS hasn&amp;rsquo;t claimed the full volume capacity yet—you need to expand the filesystem to use the full disk space you allocated.&lt;/p&gt;
&lt;h2 id="how-to-do-it"&gt;How to Do It&lt;/h2&gt;&lt;p&gt;Run the following command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo /usr/libexec/oci-growfs -y
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;References:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.oracle.com/en-us/iaas/Content/Block/Tasks/resizingavolume.htm" rel="noopener noreferrer"&gt;https://docs.oracle.com/en-us/iaas/Content/Block/Tasks/resizingavolume.htm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.oracle.com/en-us/iaas/oracle-linux/oci-utils/index.htm#oci-growfs" rel="noopener noreferrer"&gt;https://docs.oracle.com/en-us/iaas/oracle-linux/oci-utils/index.htm#oci-growfs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>How to Disable the Firewall on Ubuntu in Oracle Cloud Infrastructure (OCI)</title><link>https://miti99.com/en/post/2024/09/25/</link><pubDate>Wed, 25 Sep 2024 00:00:00 +0700</pubDate><guid>https://miti99.com/en/post/2024/09/25/</guid><description>&lt;p&gt;When using Ubuntu on Oracle Cloud, you might occasionally run a service only to find it isn&amp;rsquo;t accessible from the internet. This happens because the default firewall configuration blocks certain connections. The following guide will show you how to disable the firewall on Ubuntu in OCI.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The instructions below will disable the firewall completely, which may lead to serious security risks. You should consider configuring appropriate firewall rules instead of turning it off entirely.&lt;/p&gt;
&lt;h2 id="how-to-disable-the-firewall"&gt;How to Disable the Firewall&lt;/h2&gt;&lt;p&gt;The firewall on Ubuntu in OCI uses &lt;code&gt;iptables&lt;/code&gt;. To disable it, run the following commands:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Flush all firewall rules:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo iptables -F
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Explanation&lt;/strong&gt;: The &lt;code&gt;iptables -F&lt;/code&gt; command clears all current rules, allowing all incoming and outgoing connections.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Save the changes:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo netfilter-persistent save
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Explanation&lt;/strong&gt;: This command saves the current (empty) rule set, ensuring that the old firewall rules are not automatically reapplied after a reboot.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;&lt;p&gt;Disabling the firewall on Ubuntu should always be paired with proper network security settings in Oracle Cloud. Make sure your &lt;code&gt;Security Lists&lt;/code&gt; in your &lt;code&gt;VCN&lt;/code&gt; are configured properly.&lt;/p&gt;</description></item></channel></rss>