<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ramenaru's Blog</title><link>https://blog.ramenaru.com/</link><description>Recent content on ramenaru's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.ramenaru.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Someone Turned My VPS Into A Crypto Miner (And How I Fixed It)</title><link>https://blog.ramenaru.com/2025/06/someone-turned-my-vps-into-a-crypto-miner-and-how-i-fixed-it/</link><pubDate>Mon, 09 Jun 2025 00:00:00 +0000</pubDate><guid>https://blog.ramenaru.com/2025/06/someone-turned-my-vps-into-a-crypto-miner-and-how-i-fixed-it/</guid><description>&lt;h2 id="it-started-with-a-slow-app"&gt;It started with a slow app&lt;/h2&gt;
&lt;p&gt;I was just chilling, working on something else, when a friend messaged me:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Hey, your app is super slow. Like, really slow. Is something wrong?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;I didn&amp;rsquo;t think much of it at first. Maybe a database query was acting up. Maybe there was a memory leak. Normal stuff.&lt;/p&gt;
&lt;p&gt;Then I checked my VPS dashboard.&lt;/p&gt;
&lt;p&gt;CPU usage: 95%.&lt;/p&gt;
&lt;p&gt;For the past few days.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s not normal. My little 2GB droplet usually sits at 5-10% CPU running a few Node.js apps and some databases. 95% means something is working really hard.&lt;/p&gt;</description></item><item><title>Easy Install With Arch Install</title><link>https://blog.ramenaru.com/2025/01/easy-install-with-arch-install/</link><pubDate>Wed, 15 Jan 2025 00:00:00 +0000</pubDate><guid>https://blog.ramenaru.com/2025/01/easy-install-with-arch-install/</guid><description>&lt;h2 id="quick-way-use-archinstall-script"&gt;Quick Way: Use &lt;code&gt;archinstall&lt;/code&gt; Script&lt;/h2&gt;
&lt;h3 id="1-download--boot-arch-iso"&gt;1. Download &amp;amp; Boot Arch ISO&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Download from: &lt;a href="https://archlinux.org/download/"&gt;https://archlinux.org/download/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create bootable USB:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Linux/macOS&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dd &lt;span style="color:#66d9ef"&gt;if&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;archlinux.iso of&lt;span style="color:#f92672"&gt;=&lt;/span&gt;/dev/sdX bs&lt;span style="color:#f92672"&gt;=&lt;/span&gt;4M status&lt;span style="color:#f92672"&gt;=&lt;/span&gt;progress
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;or you can use &lt;a href="https://rufus.ie/en/"&gt;rufus&lt;/a&gt; -&amp;gt; if you&amp;rsquo;re windows user&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Boot from USB, select &amp;ldquo;Arch Linux install medium&amp;rdquo;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2-run-the-guided-installer"&gt;2. Run the Guided Installer&lt;/h3&gt;
&lt;p&gt;Once booted into live environment:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# 1. Connect to internet (if wireless)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;iwctl &lt;span style="color:#75715e"&gt;# For WiFi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;station wlan0 connect SSID
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# 2. Update system clock&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;timedatectl set-ntp true
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# 3. Start the installer&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;archinstall
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="3-archinstall-guided-setup"&gt;3. &lt;code&gt;archinstall&lt;/code&gt; Guided Setup&lt;/h3&gt;
&lt;p&gt;Follow these steps in the interactive menu:&lt;/p&gt;</description></item></channel></rss>