<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on Luiz Felipe F M Costa</title><link>https://thenets.org/posts/</link><description>Recent content in Blog on Luiz Felipe F M Costa</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Feb 2026 07:44:03 +0000</lastBuildDate><atom:link href="https://thenets.org/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Force HTTPS Over SSH for GitHub</title><link>https://thenets.org/posts/force-https-over-ssh-for-github/</link><pubDate>Mon, 09 Feb 2026 07:44:03 +0000</pubDate><guid>https://thenets.org/posts/force-https-over-ssh-for-github/</guid><description>&lt;p&gt;A quick guide to authenticate with GitHub over HTTPS using the &lt;code&gt;gh&lt;/code&gt; CLI and make Git always use HTTPS, even when remotes are set to SSH.&lt;/p&gt;
&lt;h2 id="authenticate-with-github-cli"&gt;Authenticate with GitHub CLI&lt;/h2&gt;
&lt;p&gt;The easiest and most secure way to authenticate with GitHub over HTTPS is using the official &lt;a href="https://cli.github.com/"&gt;GitHub CLI (&lt;code&gt;gh&lt;/code&gt;)&lt;/a&gt;. No need to manually create or manage personal access tokens.&lt;/p&gt;
&lt;p&gt;Install it and run:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# Perform the initial login
gh auth login
# select `GitHub.com`
# then, select `HTTPS` and follow the instructions in the browser

# Now, update the `~/.gitconfig` to always use `gh` CLI for creds
gh auth setup-git

# Check the `~/.gitconfig`
cat ~/.gitconfig
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;GitHub auth using `gh` CLI&lt;/figcaption&gt;
&lt;p&gt;When prompted, select &lt;strong&gt;GitHub.com&lt;/strong&gt;, then &lt;strong&gt;HTTPS&lt;/strong&gt;, and follow the browser-based login flow. Done — your credentials are now securely stored and Git will use them automatically for any HTTPS request.&lt;/p&gt;</description></item><item><title>Using a YubiKey 5C for SSH and Git Authentication on Linux</title><link>https://thenets.org/posts/using-a-yubikey-5c-for-ssh-and-git-authentication-on-linux/</link><pubDate>Mon, 09 Feb 2026 05:07:37 +0000</pubDate><guid>https://thenets.org/posts/using-a-yubikey-5c-for-ssh-and-git-authentication-on-linux/</guid><description>&lt;p&gt;Your SSH private key sits on your disk, protected by (hopefully) a passphrase. But passphrase or not, it&amp;rsquo;s still a file — and files can be stolen, copied, or exfiltrated by malware. A YubiKey changes the equation entirely: the private key lives on the hardware token and can never be extracted.&lt;/p&gt;
&lt;p&gt;This guide walks through setting up a YubiKey 5C for SSH authentication and Git operations using the FIDO2 &lt;code&gt;ed25519-sk&lt;/code&gt; key type, including commit signing and a practical dual-key setup for when your YubiKey isn&amp;rsquo;t at hand.&lt;/p&gt;</description></item><item><title>Setting Up YubiKey 5C for sudo on Fedora Linux</title><link>https://thenets.org/posts/setting-up-yubikey-5c-for-sudo-on-fedora-linux/</link><pubDate>Mon, 09 Feb 2026 04:08:32 +0000</pubDate><guid>https://thenets.org/posts/setting-up-yubikey-5c-for-sudo-on-fedora-linux/</guid><description>&lt;p&gt;Want to ditch typing your password every time you run &lt;code&gt;sudo&lt;/code&gt;? Here&amp;rsquo;s how to use your YubiKey 5C with Fedora&amp;rsquo;s PAM system for passwordless (or 2FA) sudo authentication using FIDO U2F.&lt;/p&gt;
&lt;h2 id="install-dependencies"&gt;Install Dependencies&lt;/h2&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;sudo dnf install -y pam-u2f pamu2fcfg
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Install FIDO U2F packages&lt;/figcaption&gt;
&lt;h2 id="register-your-yubikey"&gt;Register Your YubiKey&lt;/h2&gt;
&lt;p&gt;Create the config directory and register your key. Touch the YubiKey when it blinks.&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;mkdir -p ~/.config/Yubico
pamu2fcfg &amp;gt; ~/.config/Yubico/u2f_keys

# Touch the YubiKey to confirm
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Generate keys&lt;/figcaption&gt;
&lt;p&gt;To register a backup key, append it:&lt;/p&gt;</description></item><item><title>Easy way of opening and closing ports on iptables</title><link>https://thenets.org/posts/easy-way-of-opening-and-closing-ports-on-iptables/</link><pubDate>Sun, 18 Jan 2026 00:14:25 +0000</pubDate><guid>https://thenets.org/posts/easy-way-of-opening-and-closing-ports-on-iptables/</guid><description>&lt;p&gt;A very common struggle I have in Linux server environments is the usage of iptables. It is a very powerful and performance efficient tool to configure network traffic but it is also a hard tool to use. This post you will find a script to manage your iptables configuration with a similar simplify as the &lt;code&gt;ufw&lt;/code&gt; used to be.&lt;/p&gt;
&lt;h2 id="a-little-bit-of-context"&gt;A little bit of context&lt;/h2&gt;
&lt;p&gt;I have free-tier instances on the Oracle Cloud and looks likes they deliberated decide to replace whatever firewall toolset from the distros by iptables directly. Even from their &lt;a href="https://docs.oracle.com/en-us/iaas/Content/Compute/References/bestpracticescompute.htm#Essentia"&gt;Best Practices documentation&lt;/a&gt; they state the following:&lt;/p&gt;</description></item><item><title>Using Playwright MCP Server with Google Chrome Flatpak on Linux</title><link>https://thenets.org/posts/playwright-mcp-flatpak-linux-new/</link><pubDate>Wed, 24 Sep 2025 04:22:27 +0000</pubDate><guid>https://thenets.org/posts/playwright-mcp-flatpak-linux-new/</guid><description>&lt;p&gt;The Model Context Protocol (MCP) has revolutionized how AI assistants interact with external tools and services. One particularly powerful integration is the &lt;a href="https://github.com/microsoft/playwright-mcp"&gt;Playwright MCP server&lt;/a&gt;, which enables AI to control web browsers for automation tasks. This guide shows you the simplest way to get Playwright MCP working with Google Chrome on Linux using Flatpak.&lt;/p&gt;
&lt;h2 id="the-simple-solution"&gt;The Simple Solution&lt;/h2&gt;
&lt;p&gt;Instead of complex configurations, we&amp;rsquo;ll use a two-step approach:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install Google Chrome from Flathub&lt;/li&gt;
&lt;li&gt;Create a symbolic link that Playwright expects&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="step-1-install-google-chrome-from-flathub"&gt;Step 1: Install Google Chrome from Flathub&lt;/h2&gt;
&lt;p&gt;First, install Google Chrome using Flatpak:&lt;/p&gt;</description></item><item><title>How to Deploy Nginx Proxy Manager on MikroTik RouterOS Using Containers</title><link>https://thenets.org/posts/how-to-deploy-nginx-proxy-manager-on-mikrotik-routeros-using-containers/</link><pubDate>Tue, 26 Aug 2025 10:04:12 +0000</pubDate><guid>https://thenets.org/posts/how-to-deploy-nginx-proxy-manager-on-mikrotik-routeros-using-containers/</guid><description>&lt;p&gt;Use the MikroTik RouterOS device as a reverse proxy server using Nginx Proxy Manager container. This guide walks you through enabling container support on RouterOS v7.4+, setting up external storage to protect your device&amp;rsquo;s flash memory, and deploying a fully functional reverse proxy with SSL certificate management.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Alert: for some reason, the container performance currently is terrible, without a proper solution. During my investigation, the CPU usage for containers is very limited no matter how powerful you router is:\&lt;/p&gt;</description></item><item><title>Automating AppImage Updates with Gear Lever URL Configurations</title><link>https://thenets.org/posts/automating-appimage-updates-with-gear-lever-url-configurations/</link><pubDate>Tue, 26 Aug 2025 03:24:27 +0000</pubDate><guid>https://thenets.org/posts/automating-appimage-updates-with-gear-lever-url-configurations/</guid><description>&lt;p&gt;Managing AppImage updates can be tedious when done manually. &lt;a href="https://github.com/mijorus/gearlever"&gt;Gear Lever&lt;/a&gt; provides custom update URLs for GitHub releases, but finding the right URL pattern requires understanding their wildcard system. This collection provides ready-to-use configurations for popular applications.&lt;/p&gt;
&lt;h2 id="setting-up-custom-update-urls"&gt;Setting Up Custom Update URLs&lt;/h2&gt;
&lt;p&gt;Configure automatic updates in Gear Lever:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Gear Lever and select your AppImage&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Custom Update URL&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;GitHub Releases&lt;/strong&gt; as source&lt;/li&gt;
&lt;li&gt;Enter the URL pattern for your application&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="url-pattern-structure"&gt;URL Pattern Structure&lt;/h2&gt;
&lt;p&gt;Gear Lever uses &lt;code&gt;*&lt;/code&gt; wildcards to match dynamic parts of GitHub release URLs:&lt;/p&gt;</description></item><item><title>How to encode videos for DaVinci Resolve on Linux</title><link>https://thenets.org/posts/how-to-encode-videos-for-davinci-resolve-on-linux/</link><pubDate>Tue, 12 Aug 2025 09:08:06 +0000</pubDate><guid>https://thenets.org/posts/how-to-encode-videos-for-davinci-resolve-on-linux/</guid><description>&lt;p&gt;A common problem if you are starting creating video content is the format issues you will face when moving files from different sources to your video editor. In this blog post, I&amp;rsquo;ll cover how to convert your source files from any format to one you will be able to use on DaVinci Resolve.&lt;/p&gt;
&lt;h2 id="davinci-resolve-on-linux"&gt;DaVinci Resolve on Linux&lt;/h2&gt;
&lt;p&gt;If you want to use DaVinci Resolve on Linux, I recommend you creating an editing rig using a distro from the &lt;a href="https://universal-blue.org"&gt;Universal Blue&lt;/a&gt;. There distros, like Bluefin, Aurora, and even Bazzite can easily install DaVinci Resolve for you.&lt;/p&gt;</description></item><item><title>podman + docker compose and daemon on Linux</title><link>https://thenets.org/posts/podman-docker-compose-and-daemon-on-linux/</link><pubDate>Tue, 10 Jun 2025 17:11:05 +0000</pubDate><guid>https://thenets.org/posts/podman-docker-compose-and-daemon-on-linux/</guid><description>&lt;p&gt;I&amp;rsquo;m setting up my developer machine and this is a common situation I face working on some opensource projects. Podman itself already is a great replacement for all container needs I have but &lt;code&gt;docker compose&lt;/code&gt; still is an important component. In this post, I want to go through the process to setup a Fedora machine using Podman with support for &lt;code&gt;docker compose&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;Some new Linux distro. Even Debian Testing will have the necessary packages. Here, I&amp;rsquo;m using Fedora 42.&lt;/p&gt;</description></item><item><title>How to forward a TCP port using systemd + socat</title><link>https://thenets.org/posts/how-to-forward-a-tcp-port-using-systemd-socat/</link><pubDate>Wed, 04 Jun 2025 05:17:47 +0000</pubDate><guid>https://thenets.org/posts/how-to-forward-a-tcp-port-using-systemd-socat/</guid><description>&lt;p&gt;A common problem I need to solve with my web servers are simple TCP port forwarding. This allows you to redirect an application traffic, from a HTTP server for example, to another port or even server. There are many ways of achieving this goal and this post will guide you to solve this problem using &lt;code&gt;systemd&lt;/code&gt; and &lt;code&gt;socat&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;You need to have a Linux distribution using &lt;code&gt;systemd&lt;/code&gt; and you must have &lt;code&gt;socat&lt;/code&gt; installed.&lt;/p&gt;</description></item><item><title>How to resize Ubuntu server LVM disk to all available disk space</title><link>https://thenets.org/posts/resize-ubuntu-server-lvm-disk-to-all-available-disk-space/</link><pubDate>Tue, 03 Jun 2025 23:06:42 +0000</pubDate><guid>https://thenets.org/posts/resize-ubuntu-server-lvm-disk-to-all-available-disk-space/</guid><description>&lt;p&gt;I need to resize a virtual machine disks multiple times a year. Most of the time, I&amp;rsquo;m lazy enough to just jump into the &lt;a href="https://cockpit-project.org"&gt;Cockpit&lt;/a&gt; web interface and change things there. But in Ubuntu, I need to use command line and I always forget how to resize a Logical Volume Manager (LVM) disk in an Ubuntu server to utilize all available disk space. So, this is my personal notes to remember how to do that next time.&lt;/p&gt;</description></item><item><title>How to install Ollama + Open-WebUI on Fedora/RHEL using podman Quadlets</title><link>https://thenets.org/posts/how-to-install-ollama-open-webui-on-fedora-using-podman-quadlets/</link><pubDate>Wed, 28 May 2025 08:02:31 +0000</pubDate><guid>https://thenets.org/posts/how-to-install-ollama-open-webui-on-fedora-using-podman-quadlets/</guid><description>&lt;p&gt;Ollama is a powerful tool for running large language models locally. This guide walks you through setting up Ollama on Fedora using Podman Quadlets, ensuring it runs as a systemd service with persistent storage and GPU support.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;Make sure you have full GPU support for podman containers:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# This must return something like
# &amp;gt; GPU 0: NVIDIA GeForce RTX 3070 (UUID: GPU-...)
podman run --rm --security-opt=label=disable \
 --device nvidia.com/gpu=all \
 ubi9 \
 nvidia-smi -L
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Check podman GPU support&lt;/figcaption&gt;
&lt;p&gt;If you have a NVIDIA GPU and the command above didn&amp;rsquo;t work, check the following post to fix that:&lt;/p&gt;</description></item><item><title>How to install Syncthing on Fedora/RHEL using podman Quadlets</title><link>https://thenets.org/posts/how-to-install-syncthing-on-fedora/</link><pubDate>Wed, 28 May 2025 00:47:59 +0000</pubDate><guid>https://thenets.org/posts/how-to-install-syncthing-on-fedora/</guid><description>&lt;p&gt;The Syncthing is the best Peer-to-Peer solution I&amp;rsquo;ve ever used. It is flexible, has clients for most platforms, decentralized, and open source. This guide will show you how to install it and use it for your Fedora. I&amp;rsquo;m lazy, so everything will be on top of &lt;code&gt;podman&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="install-podman"&gt;Install podman&lt;/h2&gt;
&lt;p&gt;If you are familiar with &lt;code&gt;docker&lt;/code&gt;, &lt;code&gt;podman&lt;/code&gt; is similar but with a more secure approach out-of-the-box. Let&amp;rsquo;s install it:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;sudo dnf install -y podman
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="create-the-systemd-service"&gt;Create the systemd service&lt;/h2&gt;
&lt;p&gt;Create the config dir:&lt;/p&gt;</description></item><item><title>Backup is not Disaster Recovery</title><link>https://thenets.org/posts/backup-is-not-disaster-recovery/</link><pubDate>Tue, 27 May 2025 13:57:19 +0000</pubDate><guid>https://thenets.org/posts/backup-is-not-disaster-recovery/</guid><description>&lt;p&gt;You probably already heard that RAID is not a backup. When world is ending and everything is burning, we also discover that a backup is not a Disaster Recovery plan. In this blog post I want to discuss why is so important to have an unplugged and reliable Disaster Recovery strategy.&lt;/p&gt;
&lt;h2 id="common-scenario-for-backup-plus-disaster-recovery"&gt;Common scenario for Backup plus Disaster Recovery&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s start talking about the common differences between snapshots, backups, and Disaster Recovery strategies.&lt;/p&gt;</description></item><item><title>Running Vagrant + libvirt on Bluefin or Aurora</title><link>https://thenets.org/posts/running-vagrant-libvirt-on-bluefin-or-aurora/</link><pubDate>Tue, 28 Jan 2025 03:22:43 +0000</pubDate><guid>https://thenets.org/posts/running-vagrant-libvirt-on-bluefin-or-aurora/</guid><description>&lt;p&gt;Vagrant is one of the greatest way to develop solutions using virtual machines, with all the isolation that a container can&amp;rsquo;t provide. Unfortunately, Vagrant doesn&amp;rsquo;t support &lt;code&gt;libvirt&lt;/code&gt; out-of-the-box and the existing plugin must be built using your distro libraries. This post will guide you how to install the &lt;code&gt;libvirt&lt;/code&gt; plugin on Bluefin or Aurora but it should also work on Fedora Silverblue.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m assuming you are running an &lt;a href="https://www.youtube.com/shorts/SoDCrnvKv9A"&gt;ostree-based distro&lt;/a&gt;. It works with a filesystem in the same fashion as containers images, with immutable layers overlaying each other and mount-points to mutable areas of the system.&lt;/p&gt;</description></item><item><title>Don't be a target: Password checking and hash functions</title><link>https://thenets.org/posts/password-checking-and-hash-functions/</link><pubDate>Sat, 14 Sep 2024 08:16:41 +0000</pubDate><guid>https://thenets.org/posts/password-checking-and-hash-functions/</guid><description>&lt;p&gt;Handling with checking passwords is always a critical task and it is important to understand the mechanisms behind of it to create a proper solution. Also, understanding how common attacks are performed will help you to identify bad practices.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;All examples will be written in Python, but the same principals can be applied to any programming language.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="why-you-should-never-store-a-password"&gt;Why you should never store a password?&lt;/h2&gt;
&lt;p&gt;There is an important premise that you should never store a password in a database or any other type of storage. Even a password vault should never be used to store a password used only for authentication.&lt;/p&gt;</description></item><item><title>How to use minikube + qemu2 + ingress-dns on macOS</title><link>https://thenets.org/posts/how-to-use-minikube-qemu2-ingress-dns-on-macos/</link><pubDate>Thu, 29 Feb 2024 20:50:01 +0000</pubDate><guid>https://thenets.org/posts/how-to-use-minikube-qemu2-ingress-dns-on-macos/</guid><description>&lt;p&gt;This is a guide on how to use &lt;code&gt;minikube&lt;/code&gt; and &lt;code&gt;qemu2&lt;/code&gt; on macOS to run Kubernetes locally on your machine. The guide covers the installation of required packages using &lt;code&gt;brew&lt;/code&gt; and provides step-by-step instructions to help you get started. If you are interested in running Kubernetes on your macOS and prefer to use open-source solutions, this guide is for you.&lt;/p&gt;
&lt;p&gt;My personal requirements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install packages using &lt;code&gt;brew&lt;/code&gt;: &lt;a href="https://brew.sh/"&gt;https://brew.sh/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;I don&amp;rsquo;t want to use Docker or Podman&lt;/li&gt;
&lt;li&gt;I use open-source solutions, if possible&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My setup:&lt;/p&gt;</description></item><item><title>How to securely share secrets with podman containers</title><link>https://thenets.org/posts/how-to-securely-share-secrets-with-podman-containers/</link><pubDate>Sat, 03 Jun 2023 08:30:04 +0000</pubDate><guid>https://thenets.org/posts/how-to-securely-share-secrets-with-podman-containers/</guid><description>&lt;p&gt;Podman is a daemon-less, open-source, Linux native tool designed to make it easy to find, run, build, share, and deploy applications. It offers many data isolation options, and in this post, I wanna cover all the options I know to securely share data with a container.&lt;/p&gt;
&lt;h2 id="how-to-be-paranoid-about-security"&gt;How to be paranoid about security&lt;/h2&gt;
&lt;p&gt;Any security measurement should always be based on a multi-layer security system, assuming that any protection can be compromised and another one should exist to block a potential attack. For example, if you want to design a distributed system, you probably want to follow a Zero Trust architecture:&lt;/p&gt;</description></item><item><title>Gimp - the power of the plugins</title><link>https://thenets.org/posts/gimp-the-power-of-plugins/</link><pubDate>Sun, 26 Mar 2023 07:32:09 +0000</pubDate><guid>https://thenets.org/posts/gimp-the-power-of-plugins/</guid><description>&lt;p&gt;GIMP is a free, open-source image editing software that offers a wide range of features. Its plugins extend functionality for color correction, special effects, and image manipulation. I&amp;rsquo;m a long-term Adobe Photoshop user, and I&amp;rsquo;m slowly discovering the Gimp world, how to use its basic features, and its amazing plugins.&lt;/p&gt;
&lt;h2 id="how-to-install-gimp-and-gimp-plugins"&gt;How to install Gimp and Gimp Plugins&lt;/h2&gt;
&lt;p&gt;Based on my experience, the best way to experience the Gimp project and its plugin is by using Flatpaks from Flathub. So, first, remove any package manager-based installation and install the Flatpaks.&lt;/p&gt;</description></item><item><title>Steam Deck tricks</title><link>https://thenets.org/posts/steam-deck-tricks/</link><pubDate>Sun, 26 Mar 2023 05:37:25 +0000</pubDate><guid>https://thenets.org/posts/steam-deck-tricks/</guid><description>&lt;p&gt;The Steam Deck is the portable device of my dreams. It&amp;rsquo;s an impressive Linux computer with great game inputs and impressive game compatibility. It allows me to do whatever I want with its system, and I don&amp;rsquo;t spend so much time with my PC games since I was a kid. In this post, I want to cover some tricks I&amp;rsquo;ve learned during the last few months with my Steam Deck.&lt;/p&gt;</description></item><item><title>Creating presentations with Marp and Draw.io in VSCode</title><link>https://thenets.org/posts/how-to-create-presentions-on-vscode-marp-draw-io/</link><pubDate>Tue, 24 Jan 2023 21:18:29 +0000</pubDate><guid>https://thenets.org/posts/how-to-create-presentions-on-vscode-marp-draw-io/</guid><description>&lt;p&gt;Creating presentations can be a daunting task, but it doesn&amp;rsquo;t have to be. With VSCode, you can make great presentations with the help of Marp and Draw.io. Marp is an open source tool that makes creating presentations easy using markdown, while Draw.io allows you to draw diagrams and insert them into your presentation. We&amp;rsquo;ll go over the basics of creating presentations with Marp and Draw.io in VSCode, so you can make the most of your presentations.&lt;/p&gt;</description></item><item><title>Managing multiple Kubernetes clusters with kubectl</title><link>https://thenets.org/posts/managing-multiples-kubernetes-clusters-with-kubectl/</link><pubDate>Wed, 18 Jan 2023 09:01:08 +0000</pubDate><guid>https://thenets.org/posts/managing-multiples-kubernetes-clusters-with-kubectl/</guid><description>&lt;p&gt;Learn how to use &lt;code&gt;kubectl&lt;/code&gt; CLI to manage multiple Kubernetes clusters. Import new config, add cluster, user, and context. Switch between contexts to manage different clusters.&lt;/p&gt;
&lt;p&gt;Kubernetes is an open-source platform for managing containerized workloads and services, allowing you to easily deploy and run applications in a cloud-native environment. The &lt;code&gt;kubectl&lt;/code&gt; command-line interface (CLI) is a key component of Kubernetes, providing a powerful and flexible way to manage clusters and deploy applications.&lt;/p&gt;</description></item><item><title>Ansible 101 - The basics</title><link>https://thenets.org/posts/ansible-101/</link><pubDate>Mon, 16 Jan 2023 11:49:09 +0000</pubDate><guid>https://thenets.org/posts/ansible-101/</guid><description>&lt;hr&gt;
&lt;p&gt;Ansible is an open-source tool for automating infrastructure and application deployment, using simple YAML language. It&amp;rsquo;s used to manage and automate tasks across multiple servers and devices.&lt;/p&gt;
&lt;p&gt;It uses simple, human-readable language (YAML) to describe tasks and configurations, and can be used to manage and automate the deployment, configuration, and management of various systems and applications. Ansible allows you to automate tasks such as software installation, configuration changes, and service management across a large number of servers and devices with minimal effort. It is often used in DevOps and IT operations to improve efficiency and reduce errors.&lt;/p&gt;</description></item><item><title>How to use NVIDIA GPU on podman (RHEL 9 / Fedora 42)</title><link>https://thenets.org/posts/how-to-use-nvidia-gpu-on-podman-rhel-fedora/</link><pubDate>Wed, 11 Jan 2023 10:19:00 +0000</pubDate><guid>https://thenets.org/posts/how-to-use-nvidia-gpu-on-podman-rhel-fedora/</guid><description>&lt;p&gt;Podman is a container engine for developing, managing, and running containers on your Linux System. With the support for NVIDIA GPUs, you can easily run GPU-accelerated workloads in your containers, making it a great option for machine learning and other high-performance computing tasks.&lt;/p&gt;
&lt;p&gt;In this guide, we will cover the necessary steps to set up your server, including installing the necessary drivers and software, configuring the system to recognize the GPU, and running your first container with GPU support.&lt;/p&gt;</description></item><item><title>How to create a database and user for your new app on PostgreSQL</title><link>https://thenets.org/posts/how-to-create-a-database-and-user-for-your-new-app-on-postgresql/</link><pubDate>Sat, 07 Jan 2023 23:40:21 +0000</pubDate><guid>https://thenets.org/posts/how-to-create-a-database-and-user-for-your-new-app-on-postgresql/</guid><description>&lt;p&gt;Creating a database and user for a single application is a common task for developers and database administrators in small and medium environments. In this tutorial, we will walk through the steps to create a new database and user on a Postgres server using the command line.&lt;/p&gt;
&lt;p&gt;Here are the steps you can follow to create a database and user on Postgres:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Connect to the Postgres server by typing the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# Connect to your PostgreSQL server using the `psql` CLI
psql -h &amp;lt;hostname&amp;gt; -p &amp;lt;port&amp;gt; -U &amp;lt;username&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Replace `hostname` with the name of the server where the Postgres service is running, the `port` if you have a custom one, and `username` with the name of a user who has permission to create databases and users.&lt;/figcaption&gt;
&lt;ol&gt;
&lt;li&gt;Enter the password for the user when prompted.&lt;/li&gt;
&lt;li&gt;Once connected, you can create a new database by typing the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;CREATE DATABASE databasename;
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Replace `databasename` with the desired name for the new database.&lt;/figcaption&gt;
&lt;ol&gt;
&lt;li&gt;To create a new user, type the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;CREATE USER username WITH PASSWORD 'password';
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Replace `username` with the desired name for the new user, and `password` with the desired password for the user.&lt;/figcaption&gt;
&lt;ol&gt;
&lt;li&gt;To grant the new user full privileges on the new database, type the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;GRANT ALL PRIVILEGES ON DATABASE databasename TO username;
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Replace `databasename` with the name of the database, and `username` with the name of the user.&lt;/figcaption&gt;
&lt;ol&gt;
&lt;li&gt;Exit the &lt;code&gt;psql&lt;/code&gt; prompt by typing &lt;code&gt;\q&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You should now have a new database and user on the Postgres server, and the user should have full privileges on the database.&lt;/p&gt;</description></item><item><title>DaVinci Resolve 19 on Fedora 41 (NVIDIA GPU)</title><link>https://thenets.org/posts/davinci-resolve-on-fedora-and-nvidia/</link><pubDate>Sun, 01 Jan 2023 08:12:12 +0000</pubDate><guid>https://thenets.org/posts/davinci-resolve-on-fedora-and-nvidia/</guid><description>&lt;p&gt;(UPDATE for DaVinci Resolve 19 on Fedora 41)&lt;/p&gt;
&lt;p&gt;DaVinci Resolve is a powerful video editing and color grading software that is used by professionals in the film and television industry. It is available for various operating systems, including Linux. In this tutorial, I will show you how to install the NVIDIA drivers and the required tools on Fedora 41 Linux in order to use DaVinci Resolve 19. These steps are important because the NVIDIA drivers requires special packages to provide improved performance and support for hardware-accelerated video decoding and encoding, which is essential for smooth video playback and rendering in DaVinci Resolve.&lt;/p&gt;</description></item><item><title>[WIP] How to create a modern pytest dev environment with vscode</title><link>https://thenets.org/posts/how-to-create-a-modern-pytest-dev-environment-with-vscode/</link><pubDate>Fri, 10 Jun 2022 17:45:48 +0000</pubDate><guid>https://thenets.org/posts/how-to-create-a-modern-pytest-dev-environment-with-vscode/</guid><description>&lt;p&gt;I started in my new position 1 year ago as a Quality Engineer at Red Hat. I was struggling to find a better way to design, create, and run tests, so I decided to create my own setup from scratch. Here you&amp;rsquo;ll check my own development workflow for pytest on Visual Studio Code.&lt;/p&gt;
&lt;p&gt;Before we start, a big thank you to &lt;a href="https://www.linkedin.com/in/lucas-aoki-heredia/"&gt;Lucas Aoki&lt;/a&gt;, who teaches me most of what you&amp;rsquo;ll see in this post.&lt;/p&gt;</description></item><item><title>How to create a service for Fedora/RHEL (systemd)</title><link>https://thenets.org/posts/how-to-create-a-service-for-fedora-rhel/</link><pubDate>Sun, 01 May 2022 05:55:53 +0000</pubDate><guid>https://thenets.org/posts/how-to-create-a-service-for-fedora-rhel/</guid><description>&lt;p&gt;A common task for Linux administrators is to create a background task that must be executed in the background. The most popular service manager in the Linux world is the systemd. This is an example of how to create a new service and use it.&lt;/p&gt;
&lt;p&gt;If you want to learn more about the &lt;code&gt;systemd&lt;/code&gt;, I recommend this video made by &amp;ldquo;DJ Ware&amp;rdquo;:&lt;/p&gt;

&lt;div class="youtube-embed"&gt;
 &lt;iframe
 src="https://www.youtube.com/embed/Fz8Ldw-s8"
 title="YouTube video"
 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
 allowfullscreen
 loading="lazy"
 &gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Fedora/RHEL distro family flavor&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="create-the-background-service-file"&gt;Create the background service file&lt;/h2&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;[Unit]
Description=my-service nginx example

# You may want to start after your network is ready
After=network-online.target

[Service]
ExecStart=/usr/bin/env docker run --name nginx --rm -p 8080:80 docker.io/nginx:alpine
Restart=Always
PIDFile=/tmp/my_service_pid
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;/etc/systemd/system/my-service.service&lt;/figcaption&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# Create the service file
vim /etc/systemd/system/my-service.service

# (if you change an existent file, you must reload the daemon config)
# Reload daemon config
systemctl daemon-reload

# Enable
systemctl enable my-service.service

# Start
systemctl start my-service.service

# (if you need to restart)
# Restart
systemctl restart my-service.service
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;how to create a systemd service&lt;/figcaption&gt;
&lt;h2 id="references"&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/chap-managing_services_with_systemd"&gt;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/chap-managing_services_with_systemd&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>How to commit encrypted files to Git with Mozilla SOPS</title><link>https://thenets.org/posts/how-to-commit-encrypted-files-to-git-with-mozilla-sops/</link><pubDate>Sun, 22 Aug 2021 10:11:09 +0000</pubDate><guid>https://thenets.org/posts/how-to-commit-encrypted-files-to-git-with-mozilla-sops/</guid><description>&lt;p&gt;It&amp;rsquo;s a common scenario where it&amp;rsquo;s needed to share some keys/secrets with other members of the project team and it&amp;rsquo;s also common that those keys are closely attached to some source code. SOPS allows you to do that securely using Git or other VCS.&lt;/p&gt;
&lt;p&gt;A Git repository would be a perfect solution, but Git works in plain text, like any other VCS (Version Control Service) for source code, even when the communication channels and storage system are encrypted. That means, if someone has access to the source code, it&amp;rsquo;ll also have access to all keys inside of the code.&lt;/p&gt;</description></item><item><title>Ansible tricks</title><link>https://thenets.org/posts/ansible-tricks/</link><pubDate>Sat, 31 Jul 2021 09:47:00 +0000</pubDate><guid>https://thenets.org/posts/ansible-tricks/</guid><description>&lt;p&gt;I want to show you some tricks and solutions that I designed along my journey automating stuff with Ansible. To use these tricks doesn&amp;rsquo;t matter if you are new in the Ansible world or already are a power user.&lt;/p&gt;
&lt;h2 id="how-to-learn-ansible"&gt;How to learn Ansible?&lt;/h2&gt;
&lt;p&gt;If you want to learn a lot of stuff from a really competent person, Jeff Geerling has an awesome playlist on his YouTube channel. The &lt;code&gt;geerlingguy&lt;/code&gt; (his GitHub/Twitter name account) was part of the Ansible team and still maintaining many Ansible roles and collections. This is the best source that I can recommend for any beginner and even more advanced users today (2021).&lt;/p&gt;</description></item><item><title>How to create a k3s cluster with Nginx Ingress controller</title><link>https://thenets.org/posts/how-to-create-a-k3s-cluster-with-nginx-ingress-controller/</link><pubDate>Fri, 23 Jul 2021 11:13:00 +0000</pubDate><guid>https://thenets.org/posts/how-to-create-a-k3s-cluster-with-nginx-ingress-controller/</guid><description>&lt;p&gt;One of the easiest ways to install a Kubernetes distro for personal projects is using k3s, but you may not want to use some features built-in, like traefik as the default Ingress controller. Here you will learn how to create a k3s cluster with Nginx as the Ingress controller.&lt;/p&gt;
&lt;h2 id="why-use-k3s-with-nginx-ingress-controller"&gt;Why use k3s with Nginx Ingress controller?&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;k3s&lt;/code&gt; project was created by Rancher Labs (&lt;a href="https://k3s.io/"&gt;https://k3s.io/&lt;/a&gt;) with the goal to be a lightweight Kubernetes distro. It&amp;rsquo;s maybe not the best distro for the production environment, but it fits as a good solution for personal projects. It&amp;rsquo;s also compatible with ARM architecture if you want to run it in a Raspberry Pi, for example.&lt;/p&gt;</description></item><item><title>Using rsync to backup Linux servers</title><link>https://thenets.org/posts/using-rsync-to-backup-linux-servers/</link><pubDate>Mon, 12 Jul 2021 04:02:49 +0000</pubDate><guid>https://thenets.org/posts/using-rsync-to-backup-linux-servers/</guid><description>&lt;p&gt;Imagine that you have some servers running applications and you need to find a way to backup the files and preserve their properties, like the user, group, date, and permissions. How do you do that?&lt;/p&gt;
&lt;p&gt;Does exist many ways to create a backup solution, but here I&amp;rsquo;ll focus on a backup solution to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Copy all files from one Linux server to another Linux.&lt;/li&gt;
&lt;li&gt;Preserve all files properties, including date change and file permissions.&lt;/li&gt;
&lt;li&gt;Allow a file restore simply by rsync the content back to the original server.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;This is not a solution for any kind of backup routine!&lt;/p&gt;</description></item><item><title>How to run Vagrant + VirtualBox on WSL 2 (2021)</title><link>https://thenets.org/posts/how-to-run-vagrant-on-wsl-2/</link><pubDate>Mon, 10 May 2021 14:00:00 +0000</pubDate><guid>https://thenets.org/posts/how-to-run-vagrant-on-wsl-2/</guid><description>&lt;p&gt;HashiCorp Vagrant provides the same easy workflow regardless of your role as a developer, operator, or designer. It leverages a declarative configuration file that describes all your software requirements, packages, operating system configuration, users, and more.&lt;/p&gt;
&lt;p&gt;This tutorial will guide you to install Vagrant on Windows using WSL 2 (Windows Subsystem for Linux) with VirtualBox provider.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;🔴 This is an advanced topic. You should expect frequent changes. If you have encountered an issue, please leave a comment below to help me and the community resolve the issue.&lt;/p&gt;</description></item><item><title>Enforce MFA for IAM users</title><link>https://thenets.org/posts/enforce-mfa-for-iam-users/</link><pubDate>Sun, 02 May 2021 16:15:14 +0000</pubDate><guid>https://thenets.org/posts/enforce-mfa-for-iam-users/</guid><description>&lt;p&gt;It&amp;rsquo;s not easy to protect AWS accounts and one of the most common issues is related to credentials leakage that gives access even to all company&amp;rsquo;s resources. Multi-Factor Authentication (MFA) is one way to drastically mitigate most of those attacks.&lt;/p&gt;
&lt;h2 id="why-use-mfa"&gt;Why use MFA?&lt;/h2&gt;
&lt;p&gt;Do you need some reference for how important it is? Check it out:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Time and time again we see user passwords treated with minimal to no security. They are kept in plaintext, reused again and again by employees, and left to fend for themselves in the form of single-factor authentication. This practice has resulted in billions of dollars stolen and enormous data breaches from which it takes organizations months, sometimes years, to recover. Or even worse, threat actors sell your legitimate credentials over and over, meaning your organization never has time to recover and is constantly on the defense. Sound familiar? If we know the problem, we can begin to work toward the solution.\&lt;/p&gt;</description></item><item><title>About me and my career so far...</title><link>https://thenets.org/posts/about-me-and-my-career-so-far/</link><pubDate>Sun, 08 Nov 2020 19:26:53 +0000</pubDate><guid>https://thenets.org/posts/about-me-and-my-career-so-far/</guid><description>&lt;p&gt;I am a Software Quality Engineer at Red Hat, on the Ansible Automation Platform. The product I&amp;rsquo;m working on empowers multiple industries, like financial, oil, logistics, and even autonomous vehicles.&lt;/p&gt;
&lt;p&gt;I previously worked on projects for multinational companies, fintech, and banks. But everything began with an old and offline computer.&lt;/p&gt;
&lt;h2 id="my-childhood-2005-2008"&gt;My childhood (2005-2008)&lt;/h2&gt;
&lt;p&gt;I was born in 1993 in São Paulo state in Brazil, five years before Google exists. I was a child that enjoyed biking with my few friends, playing video games, breaking my computer, and setting fire to papers and wood. My sister gave me my first computer in 2005, an Acer Aspire (Intel MMX, 64 MB RAM, Windows 98), an old machine for the time being.&lt;br&gt;
I had a friend called Paulinho and we always broke things trying to improve them. One of those &amp;ldquo;improvements&amp;rdquo; was installing Linux Kurumin, a Brazillian Linux distribution based on Debian, and using KDE, as the desktop environment. We had no idea of what we were doing, with no sound, no internet, and no idea of how to install the drivers, soon we rollback to Windows 98 with Chinese drivers for the dial-up internet cards.&lt;br&gt;
Breaking and fixing my computer many times per month was my first experience with the area that would become my career in the future.&lt;br&gt;
Oh, I loved my Super Nintendo.&lt;/p&gt;</description></item><item><title>How to install CKAN 2.9.0 using Docker Compose</title><link>https://thenets.org/posts/install-ckan-using-docker/</link><pubDate>Tue, 18 Aug 2020 05:03:13 +0000</pubDate><guid>https://thenets.org/posts/install-ckan-using-docker/</guid><description>&lt;p&gt;This guide will show you how to install CKAN platform using &lt;code&gt;docker-compose&lt;/code&gt; .&lt;/p&gt;
&lt;h2 id="what-reference-should-i-choose"&gt;What reference should I choose?&lt;/h2&gt;
&lt;p&gt;Does exist many different guides available on internet about CKAN installation and even the official documentation does offers options like &amp;ldquo;from package&amp;rdquo;, &amp;ldquo;from source&amp;rdquo;, and &amp;ldquo;with Docker Compose&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;You can use as reference the original documentation for &lt;code&gt;docker-compose&lt;/code&gt;, but I didn&amp;rsquo;t have a good experience. The application fail without useful log information. But searching on internet I found a project from Open Knowledge Foundation with contributions made by CKAN core developers:&lt;/p&gt;</description></item><item><title>Create a Linux Server for VM and manage through the web with KVM + Kimchi + Wok</title><link>https://thenets.org/posts/create-a-linux-server-for-vm-and-manage-through-web-with-kvm-kimchi-wok/</link><pubDate>Thu, 17 May 2018 21:20:04 +0000</pubDate><guid>https://thenets.org/posts/create-a-linux-server-for-vm-and-manage-through-web-with-kvm-kimchi-wok/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Kimchi is an HTML5 based management tool for KVM. It is designed to make it as easy as possible to get started with KVM and create your first guest. - &lt;a href="https://github.com/kimchi-project/kimchi"&gt;Kimchi project&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In this tutorial, I&amp;rsquo;ll show you how to create a Linux Server to manage VMs (Virtual Machines) through the web.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;About the girl in the cover image, she is using a red hat&amp;hellip; Red Hat&amp;hellip; RedHat&amp;hellip; Do you got it?&lt;/em&gt;&lt;/p&gt;</description></item><item><title>How to tunnel Web Browser using SOCKS5 through SSH</title><link>https://thenets.org/posts/how-to-tunnel-web-browser-using-socks5-through-ssh/</link><pubDate>Tue, 27 Mar 2018 07:40:00 +0000</pubDate><guid>https://thenets.org/posts/how-to-tunnel-web-browser-using-socks5-through-ssh/</guid><description>&lt;p&gt;Let&amp;rsquo;s considering you need to access some websites through an intranet or using some machine&amp;rsquo;s IP you already have SSH credentials. You can use your SSH access to tunnel the trafic between your browser and your host.&lt;/p&gt;
&lt;h2 id="who-can-use-it"&gt;Who can use it?&lt;/h2&gt;
&lt;p&gt;For Linux or Mac you only need to install the &lt;code&gt;ssh&lt;/code&gt;. For example, if you&amp;rsquo;re using Ubuntu you can install from &lt;code&gt;apt install openssh-client&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you have Windows 10 the best option is the WSL (&lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10"&gt;Install the Windows Subsystem for Linux&lt;/a&gt;). Install the Ubuntu or SUSE on Windows and enjoy the same SSH features.&lt;/p&gt;</description></item><item><title>Setup SSH login to don't ask password again</title><link>https://thenets.org/posts/setup-ssh-login-dont-ask-password/</link><pubDate>Tue, 14 Feb 2017 15:07:29 +0000</pubDate><guid>https://thenets.org/posts/setup-ssh-login-dont-ask-password/</guid><description>&lt;p&gt;If you use the SSH a lot of time or want to sync files, probably you need to type your password many times a day. The way to avoid this problem and create a free communication between two Linux computers is to share the public ssh key.&lt;/p&gt;
&lt;p&gt;If you want to learn more about encryption and understand the differences between public and private keys, I recommend you the Teckquickie’s vídeo &amp;ldquo;&lt;a href="https://www.youtube.com/watch?v=dut9EnbFym0"&gt;Encryption as Fast As Possible&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;</description></item><item><title>How to install MySQL and phpMyAdmin with Docker</title><link>https://thenets.org/posts/how-to-install-mysql-and-phpmyadmin-with-docker/</link><pubDate>Fri, 27 Jan 2017 20:29:01 +0000</pubDate><guid>https://thenets.org/posts/how-to-install-mysql-and-phpmyadmin-with-docker/</guid><description>&lt;p&gt;Learn the simplest way to start your MySQL database with Docker with only two commands.&lt;/p&gt;
&lt;p&gt;Docker is a project that automates the deployment of applications inside software containers. These containers will be used to isolate our MySQL server and phpMyAdmin client.&lt;/p&gt;
&lt;h2 id="1-requirements"&gt;1. Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Install Docker - On Windows or Mac, go to: &lt;a href="https://docs.docker.com/engine/installation/"&gt;https://docs.docker.com/engine/installation/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;On Linux, just run on terminal:&lt;br&gt;
&lt;code&gt;curl -sSL https://get.docker.com/ | sh&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="2-create-a-docker-network"&gt;2. Create a Docker network&lt;/h2&gt;
&lt;p&gt;The phpMyAdmin most communicate each other so is necessary create a Docker network and add both into it.&lt;/p&gt;</description></item><item><title>How to install UFW on Fedora 25 (Uncomplicated Firewall)</title><link>https://thenets.org/posts/install-ufw-fedora-24-uncomplicated-firewall/</link><pubDate>Mon, 22 Aug 2016 23:52:53 +0000</pubDate><guid>https://thenets.org/posts/install-ufw-fedora-24-uncomplicated-firewall/</guid><description>&lt;p&gt;The “Uncomplicated Firewall” was designed to be a simple tool to setup iptables and create a full firewall structure with simple commands.&lt;/p&gt;
&lt;p&gt;On this tutorial, learn how to install this powerful tool on your Fedora 25.&lt;/p&gt;
&lt;p&gt;Preparations:&lt;/p&gt;
&lt;p&gt;On these steps, you’ll install a new firewall manager. So it’s important to disable any other firewall you have on your system.&lt;/p&gt;
&lt;p&gt;The following lines will disable the built in Fedora’s firewall and the iptables, if enabled:&lt;/p&gt;</description></item><item><title>CloudFlare Flexible SSL + phpMyAdmin + Linux [Tutorial]</title><link>https://thenets.org/posts/cloudflare-flexible-ssl-phpmyadmin-linux-tutorial/</link><pubDate>Mon, 14 Mar 2016 19:58:53 +0000</pubDate><guid>https://thenets.org/posts/cloudflare-flexible-ssl-phpmyadmin-linux-tutorial/</guid><description>&lt;p&gt;Use a secure connection to your MySQL databases with phpMyAdmin + CloudFlare Flexible SSL.&lt;/p&gt;
&lt;h2 id="0---preparing-your-domain-and-active-cloudflare"&gt;0 - Preparing your domain and active CloudFlare&lt;/h2&gt;
&lt;p&gt;If you need help to setup CloudFlare to your domain, check help area in CloudFlare’s website: [https://support.cloudflare.com/hc/en-us/categories/200275218](https://support.cloudflare.com/hc/en-us/categories/200275218)&lt;br&gt;
If you get any problem, leave a comment below and I’ll try to help best as I can.&lt;/p&gt;
&lt;h2 id="1--hard-hack-to-add-flexible-ssl-support-to-phpmyadmin"&gt;1 – Hard hack to add Flexible SSL support to phpMyAdmin&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;This method will edit the original phpMyAdmin installation files.&lt;/strong&gt; If you update the phpMyAdmin, probably you will need to repeat this method.&lt;/p&gt;</description></item><item><title>Swap - How to create a swap file</title><link>https://thenets.org/posts/swap-how-to-create-a-swap-file/</link><pubDate>Sat, 05 Sep 2015 10:30:28 +0000</pubDate><guid>https://thenets.org/posts/swap-how-to-create-a-swap-file/</guid><description>&lt;p&gt;The swap file is used to “expand” the memory RAM, so increases the capability to execute more software at the same time. In a GNU/Linux, it’s possible to create a dedicated swap partition or use a file.&lt;/p&gt;
&lt;p&gt;Below I’ll show step by step how to create a Swap file in a Linux OS.&lt;/p&gt;
&lt;p&gt;With this feature activated, will be possible to run many applications and keep the unactive process in “stand-by” in HD or SSD while you can play any heavy game or execute an HTTP or FTP service.&lt;/p&gt;</description></item><item><title>How to set a static IP to Ubuntu Server</title><link>https://thenets.org/posts/how-to-setup-a-network-interface-on-linux/</link><pubDate>Sat, 05 Sep 2015 09:37:25 +0000</pubDate><guid>https://thenets.org/posts/how-to-setup-a-network-interface-on-linux/</guid><description>&lt;p&gt;In computing, a network interface is a system’s (software and/or hardware) interface between two pieces of equipment or protocol layers in a computer network.&lt;/p&gt;
&lt;p&gt;A network interface will usually have some form of network address. Below I show how to setup a network interface with IPv4.&lt;/p&gt;
&lt;h2 id="01--getting-superuser-access"&gt;01 – Getting superuser access&lt;/h2&gt;
&lt;p&gt;In Ubuntu:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# sudo su
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;In Debian:&lt;/figcaption&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;&amp;gt; # su –
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="02--edit-interface-settings"&gt;02 – Edit interface settings&lt;/h2&gt;
&lt;p&gt;Edit the interfaces file:&lt;/p&gt;</description></item></channel></rss>