<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Operating System &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/operating-system/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Wed, 19 Apr 2023 14:10:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>Operating System &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Mac: Managing Startup/Shutdown Schedules on macOS Ventura</title>
		<link>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/</link>
					<comments>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Wed, 19 Apr 2023 14:09:56 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[power management]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=2291</guid>

					<description><![CDATA[<p>PROBLEM Since upgrading to macOS Ventura, managing custom startup/shutdown schedules directly from the GUI (via Energy Saver) is no longer possible. SOLUTION While this feature is not accessible from the GUI anymore, it can still be accomplished using pmset command. To list all the existing schedules: By default, it is empty. To schedule a daily [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/">Mac: Managing Startup/Shutdown Schedules on macOS Ventura</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">PROBLEM</h2>



<p>Since upgrading to macOS Ventura, managing custom startup/shutdown schedules directly from the GUI (via Energy Saver) is no longer possible.</p>



<h2 class="wp-block-heading">SOLUTION</h2>



<p>While this feature is not accessible from the GUI anymore, it can still be accomplished using <strong>pmset</strong> command.</p>



<p>To list all the existing schedules:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
pmset -g sched
</pre></div>


<p>By default, it is empty.</p>



<p>To schedule a daily shutdown at 11 PM:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo pmset repeat shutdown MTWRFSU 23:00:00
</pre></div>


<p>While you can achieve a similar outcome by creating a cron job with <strong>shutdown -h now</strong>, you can pull off various power management actions using <strong>pmset</strong>, such as shutting down the machine when the UPS emergency is reached or control when the disk/screen should wake up or sleep. </p>



<p>To configure the machine to shut down at 11 PM daily and power on  at 1 AM Sunday:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo pmset repeat shutdown MTWRFSU 23:00:00 wakeorpoweron S 1:00:00
</pre></div>


<p>To show the new schedules:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&gt; pmset -g sched                                                                                                
Repeating power events:
  wakepoweron at 1:00AM Saturday
  shutdown at 11:00PM every day
</pre></div>


<p>If you are as forgetful as me, the above command ensures the machine doesn&#8217;t run constantly, and it wakes up at 1 AM every Sunday to perform the Time Machine backup to another server.</p>



<p>To learn more, <a href="http://x-man-page://pmset" data-type="URL" data-id="x-man-page://pmset">view <strong>pmset</strong> manual</a>.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/">Mac: Managing Startup/Shutdown Schedules on macOS Ventura</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2023/04/19/mac-managing-startup-shutdown-schedules-on-macos-ventura/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2291</post-id>	</item>
		<item>
		<title>Wildcard Subdomains in /etc/hosts</title>
		<link>https://myshittycode.com/2022/03/29/wildcard-subdomains-in-etc-hosts/</link>
					<comments>https://myshittycode.com/2022/03/29/wildcard-subdomains-in-etc-hosts/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Tue, 29 Mar 2022 20:09:10 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[resolver]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=1409</guid>

					<description><![CDATA[<p>This post illustrates how you use a DNS forwarder to manage wildcard subdomains so that you don&#8217;t have to explicitly list each subdomain in /etc/host file. PROBLEM When trying to map multiple subdomains (ex: a.localhost, b.localhost, c.localhost, d.localhost) to the same IP, it is not possible to do the following in /etc/hosts: Rather, each subdomain [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2022/03/29/wildcard-subdomains-in-etc-hosts/">Wildcard Subdomains in /etc/hosts</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post illustrates how you use a DNS forwarder to manage wildcard subdomains so that you don&#8217;t have to explicitly list each subdomain in <strong>/etc/host</strong> file.</p>



<h2 class="wp-block-heading">PROBLEM</h2>



<p>When trying to map multiple subdomains (ex: a.localhost, b.localhost, c.localhost, d.localhost) to the same IP, it is not possible to do the following in <strong>/etc/hosts</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
# /etc/hosts

1.2.3.4 *.localhost
</pre></div>


<p>Rather, each subdomain has to be explicitly defined:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
# /etc/hosts

1.2.3.4 a.localhost b.localhost c.localhost d.localhost
</pre></div>


<p>It requires you to babysit and manage these wildcard subdomains over time, but you do have a good job security.</p>



<h2 class="wp-block-heading">SOLUTION</h2>



<h3 class="wp-block-heading">Configuration</h3>



<p>Install a DNS forwarder using <a href="https://brew.sh/" target="_blank" rel="noopener">Homebrew</a>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
brew install dnsmasq
</pre></div>


<p>Create a configuration to map the wildcard subdomains to the same IP.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo bash -c \
  &#039;echo &quot;address=/localhost/1.2.3.4&quot; &gt; /usr/local/etc/dnsmasq.d/localhost.conf&#039;
</pre></div>


<p>Restart the service.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo brew services restart dnsmasq
</pre></div>


<p>Create <strong>/etc/resolver</strong> directory.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo mkdir -p /etc/resolver
</pre></div>


<p>Create a custom DNS resolver where the file name is the domain name.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo bash -c \
  &#039;echo &quot;nameserver 127.0.0.1&quot; &gt; /etc/resolver/localhost&#039;
</pre></div>


<h3 class="wp-block-heading">Verification</h3>



<p>Flush the DNS cache first.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo killall -HUP mDNSResponder
</pre></div>


<p>Verify that ping command on each subdomain resolves to the correct IP.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
$ ping -c 1 a.localhost
PING a.localhost (1.2.3.4): 56 data bytes

$ ping -c 1 b.localhost
PING b.localhost (1.2.3.4): 56 data bytes

$ ping -c 1 a.b.c.localhost
PING a.b.c.localhost (1.2.3.4): 56 data bytes
</pre></div><p>The post <a rel="nofollow" href="https://myshittycode.com/2022/03/29/wildcard-subdomains-in-etc-hosts/">Wildcard Subdomains in /etc/hosts</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2022/03/29/wildcard-subdomains-in-etc-hosts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1409</post-id>	</item>
		<item>
		<title>Chromebook: Using Logitech Unifying Receiver</title>
		<link>https://myshittycode.com/2021/08/03/chromebook-using-logitech-unifying-receiver/</link>
					<comments>https://myshittycode.com/2021/08/03/chromebook-using-logitech-unifying-receiver/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 13:53:47 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[ChromeOS]]></category>
		<category><![CDATA[Logitech]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=1254</guid>

					<description><![CDATA[<p>PROBLEM If you have a decent Logitech keyboard/mouse, chances are you might also have a Logitech Unifying Receiver, which is a small USB dongle that allows multiple Logitech devices to be connected to a single computer. This is useful if your institution disables the Bluetooth connectivity on the institution-managed Chromebook. However, if your institution also [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2021/08/03/chromebook-using-logitech-unifying-receiver/">Chromebook: Using Logitech Unifying Receiver</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">PROBLEM</h2>



<p>If you have a decent Logitech keyboard/mouse, chances are you might also have a Logitech Unifying Receiver, which is a small USB dongle that allows multiple Logitech devices to be connected to a single computer. This is useful if your institution disables the Bluetooth connectivity on the institution-managed Chromebook. However, if your institution also prevents you from installing <a rel="noreferrer noopener" href="https://chrome.google.com/webstore/detail/logitech-unifying-for-chr/agpmgihmmmfkbhckmciedmhincdggomo?hl=en" target="_blank">Logitech Unifying for Chrome extension</a>, how can you still get this to work on your Chromebook without thinking about quitting your job?</p>



<h2 class="wp-block-heading">SOLUTION</h2>



<p>The trick here is to use your Mac/Windows computer to get the devices added to the Logitech Unifying Receiver first before transferring the USB receiver to your Chromebook.</p>



<p>Attach the Logitech Unifying Receiver to your Mac/Windows computer. If your modern computer only has USB-C ports, use a &#8220;USB-C to USB&#8221; adapter.</p>



<p>Install <a href="https://www.logitech.com/en-us/product/options" target="_blank" rel="noreferrer noopener">Logitech Options</a>.</p>



<p>From Logitech Options, add the keyboard/mouse as Unifying devices by clicking on the <strong>ADD UNIFYING DEVICE</strong> button.</p>



<figure class="wp-block-image size-large"><a href="https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1.png?x45560"><img fetchpriority="high" decoding="async" width="1934" height="1256" src="https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1.png?x45560" alt="" class="wp-image-1258" srcset="https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1.png 1934w, https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1-300x195.png 300w, https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1-1024x665.png 1024w, https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1-768x499.png 768w, https://myshittycode.com/wp-content/uploads/2021/08/screen-shot-2021-08-03-at-8.04.46-am-1-1536x998.png 1536w" sizes="(max-width: 1934px) 100vw, 1934px" /></a></figure>



<p>Once added, attach the USB receiver to your Chromebook.</p>



<p>Note: If your keyboard/mouse has the multi-device switch, you can use the same set of devices on both Mac/Windows computer and Chromebook. In this case, you may configure Switch #1 using Bluetooth (for Mac/Windows computer) and Switch #2 using Logitech Unifying Receiver (for Chromebook).</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2021/08/03/chromebook-using-logitech-unifying-receiver/">Chromebook: Using Logitech Unifying Receiver</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2021/08/03/chromebook-using-logitech-unifying-receiver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1254</post-id>	</item>
		<item>
		<title>macOS Big Sur: Poor Screen Quality When Connecting to Old Monitor via HDMI</title>
		<link>https://myshittycode.com/2021/03/09/macos-big-sur-poor-screen-quality-when-connecting-to-old-monitor-via-hdmi/</link>
					<comments>https://myshittycode.com/2021/03/09/macos-big-sur-poor-screen-quality-when-connecting-to-old-monitor-via-hdmi/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Wed, 10 Mar 2021 02:58:06 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[edid]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[MacOS]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=1196</guid>

					<description><![CDATA[<p>PROBLEM You have a shiny Mac laptop running macOS Big Sur. This laptop is connected to an old external monitor via HDMI. The screen quality looks pixelated and fuzzy. Running font smoothing (as below) doesn&#8217;t fix the problem: You are poor enough to buy a new 4K monitor. SOLUTION The usage of HDMI seems to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2021/03/09/macos-big-sur-poor-screen-quality-when-connecting-to-old-monitor-via-hdmi/">macOS Big Sur: Poor Screen Quality When Connecting to Old Monitor via HDMI</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">PROBLEM</h2>



<p>You have a shiny Mac laptop running macOS Big Sur. This laptop is connected to an old external monitor via HDMI. The screen quality looks pixelated and fuzzy.</p>



<p>Running font smoothing (as below) doesn&#8217;t fix the problem:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
defaults -currentHost write -g AppleFontSmoothing -int 3
</pre></div>


<p>You are poor enough to buy a new 4K monitor.</p>



<h2 class="wp-block-heading">SOLUTION</h2>



<p>The usage of HDMI seems to fool macOS Big Sur, thinking your old monitor is a glorious new TV. This causes macOS to use YPbPr instead of RGB mode.</p>



<p>The fix is to perform Extended Display Identification Data (EDID) override to force macOS to use RGB mode.</p>



<p>Some instructions on the web are inaccurate. There&#8217;s no need to reboot into Recovery Mode to disable System Integrity Protection (SIP) via <b>csrutil</b> first.</p>



<p>Instead, run the following command:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo mkdir -p /Library/Displays/Contents/Resources/Overrides
cd /Library/Displays/Contents/Resources/Overrides
sudo curl -O https://gist.githubusercontent.com/ejdyksen/8302862/raw/patch-edid.rb
sudo ruby patch-edid.rb
</pre></div>


<p>Reboot the laptop.</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2021/03/09/macos-big-sur-poor-screen-quality-when-connecting-to-old-monitor-via-hdmi/">macOS Big Sur: Poor Screen Quality When Connecting to Old Monitor via HDMI</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2021/03/09/macos-big-sur-poor-screen-quality-when-connecting-to-old-monitor-via-hdmi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1196</post-id>	</item>
		<item>
		<title>RPM: Performing Offline Installation</title>
		<link>https://myshittycode.com/2020/07/04/rpm-performing-offline-installation/</link>
					<comments>https://myshittycode.com/2020/07/04/rpm-performing-offline-installation/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Sun, 05 Jul 2020 00:34:40 +0000</pubDate>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">http://myshittycode.com/?p=1177</guid>

					<description><![CDATA[<p>PROBLEM To perform an offline (or airgapped) installation, sometimes it&#8217;s not sufficient to download just the needed RPM package. In most cases, this package requires a list of dependencies to be installed too. For example, Nginx requires at least 20 different packages in order for its installation to be successful:- SOLUTION The first step to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2020/07/04/rpm-performing-offline-installation/">RPM: Performing Offline Installation</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">PROBLEM</h2>



<p>To perform an offline (or airgapped) installation, sometimes it&#8217;s not sufficient to download just the needed RPM package. In most cases, this package requires a list of dependencies to be installed too.</p>



<p>For example, <b>Nginx</b> requires at least 20 different packages in order for its installation to be successful:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
$ sudo yum deplist nginx
package: nginx.x86_64 1:1.16.1-1.el7
  dependency: /bin/sh
   provider: bash.x86_64 4.2.46-34.el7
  dependency: libc.so.6(GLIBC_2.17)(64bit)
   provider: glibc.x86_64 2.17-307.el7.1
  dependency: libcrypt.so.1()(64bit)
   provider: glibc.x86_64 2.17-307.el7.1
  ...
  ...
  ...
  dependency: system-logos
   provider: redhat-logos.noarch 70.7.0-1.el7
  dependency: systemd
   provider: systemd.x86_64 219-73.el7_8.8
</pre></div>


<h2 class="wp-block-heading">SOLUTION</h2>



<p>The first step to spin up an instance using the same Linux distro/version and this instance must have internet access.</p>



<p>Download the following yum plugin that allows the package(s) to be downloaded without installing them:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo yum install yum-plugin-downloadonly
</pre></div>


<p>Download the needed package (in this case, <b>Nginx</b>) and its dependencies into a directory:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo yum install --downloadonly --downloaddir=/tmp/nginx nginx
</pre></div>


<p>To inspect what&#8217;s being downloaded:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
$ ls -a /tmp/nginx | sort
.
..
dejavu-fonts-common-2.33-6.el7.noarch.rpm
dejavu-sans-fonts-2.33-6.el7.noarch.rpm
fontconfig-2.13.0-4.3.el7.x86_64.rpm
fontpackages-filesystem-1.44-8.el7.noarch.rpm
gd-2.0.35-26.el7.x86_64.rpm
gperftools-libs-2.6.1-1.el7.x86_64.rpm
libjpeg-turbo-1.2.90-8.el7.x86_64.rpm
libX11-1.6.7-2.el7.x86_64.rpm
libX11-common-1.6.7-2.el7.noarch.rpm
libXau-1.0.8-2.1.el7.x86_64.rpm
libxcb-1.13-1.el7.x86_64.rpm
libXpm-3.5.12-1.el7.x86_64.rpm
nginx-1.16.1-1.el7.x86_64.rpm
nginx-all-modules-1.16.1-1.el7.noarch.rpm
nginx-filesystem-1.16.1-1.el7.noarch.rpm
nginx-mod-http-image-filter-1.16.1-1.el7.x86_64.rpm
nginx-mod-http-perl-1.16.1-1.el7.x86_64.rpm
nginx-mod-http-xslt-filter-1.16.1-1.el7.x86_64.rpm
nginx-mod-mail-1.16.1-1.el7.x86_64.rpm
nginx-mod-stream-1.16.1-1.el7.x86_64.rpm
redhat-indexhtml-7-13.el7.noarch.rpm
</pre></div>


<p>Now, this directory can be safely compressed into a tarball to be copied to the target instance without internet access.</p>



<p>After extracting the tarball in the target instance, it&#8217;s time to install the package:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo yum -y --disablerepo=* localinstall /tmp/nginx/*.rpm
</pre></div>


<p>This command is smart enough to figure out all the dependencies within the directory and install them in the proper order.</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2020/07/04/rpm-performing-offline-installation/">RPM: Performing Offline Installation</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2020/07/04/rpm-performing-offline-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1177</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Disk

Served from: myshittycode.com @ 2026-02-19 03:58:41 by W3 Total Cache
-->