<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Cesar Gimenes</title><link>https://crg.eti.br/tags/linux/</link><description>Recent content in Linux on Cesar Gimenes</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>crg@crg.eti.br (Cesar Gimenes)</managingEditor><webMaster>crg@crg.eti.br (Cesar Gimenes)</webMaster><lastBuildDate>Sat, 09 Mar 2024 11:45:51 -0300</lastBuildDate><atom:link href="https://crg.eti.br/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploying Applications Using curl</title><link>https://crg.eti.br/pub/deploy_de_aplicacoes_usando_curl/</link><pubDate>Sat, 09 Mar 2024 11:45:51 -0300</pubDate><author>crg@crg.eti.br (Cesar Gimenes)</author><guid>https://crg.eti.br/pub/deploy_de_aplicacoes_usando_curl/</guid><description>&lt;p>Small teams face several challenges when distributing binaries these days. If you simply put an application up for download on a website, search tools will immediately flag your site as suspicious content. Browsers show the user a scary warning, and there is no way to remove it, even with a signed binary. The warning only goes away once enough users have downloaded your binary without reporting problems.&lt;/p>
&lt;p>Letting the user download the binary from some already well-known site, even GitHub, isn&amp;rsquo;t ideal, especially for closed-source applications.&lt;/p></description></item><item><title>Make Your Linux Less Secure and Slightly Faster</title><link>https://crg.eti.br/pub/linux-mais-rapido-menos-seguro/</link><pubDate>Sun, 26 Jun 2022 17:07:57 -0300</pubDate><author>crg@crg.eti.br (Cesar Gimenes)</author><guid>https://crg.eti.br/pub/linux-mais-rapido-menos-seguro/</guid><description>&lt;p>First, of course, don&amp;rsquo;t hold me responsible for what you do to your system — the responsibility is entirely yours.&lt;/p>
&lt;p>There are several processing strategies that, despite producing a substantial performance gain, ended up introducing security flaws. What I did was take two machines from my cluster and configure the &lt;em>Linux kernel&lt;/em> not to disable those features.&lt;/p>
&lt;p>In my case, since I use Debian, I edited the file &lt;code>/etc/default/grub&lt;/code> and added &lt;code>mitigations=off&lt;/code> at the end of the &lt;code>GRUB_CMDLINE_LINUX_DEFAULT&lt;/code> variable.&lt;/p></description></item><item><title>auto-cpufreq: dynamically adjusting CPU frequency</title><link>https://crg.eti.br/pub/auto-cpufreq/</link><pubDate>Thu, 03 Jun 2021 21:24:42 -0300</pubDate><author>crg@crg.eti.br (Cesar Gimenes)</author><guid>https://crg.eti.br/pub/auto-cpufreq/</guid><description>&lt;p>&lt;a href="https://github.com/AdnanHodzic/auto-cpufreq">auto-cpufreq&lt;/a> optimizes CPU frequency and reacts quite fast. It&amp;rsquo;s great for stretching battery life on a Linux laptop.&lt;/p>
&lt;p>In my case, I use it to keep my small home server at a milder temperature, and in practice I haven&amp;rsquo;t noticed any real impact. There&amp;rsquo;s a bit of latency when the machine is &amp;ldquo;cold&amp;rdquo; and I suddenly start some heavy process, like opening an SSH+mosh+zsh session.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>git clone https://github.com/AdnanHodzic/auto-cpufreq.git
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6639ba">cd&lt;/span> auto-cpufreq
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo ./auto-cpufreq-installer
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Track CPU core frequency and temperature with the following command&lt;/p></description></item></channel></rss>