Blog posts

Set up software RAID on Linux using mdadm

by Gergő Fándly on 2024-11-28

Recently, I decided to get a big upgrade for my home NAS, so I had to set up a RAID array once again. Since I’m not doing this on a daily basis, I tend to forget the commands, so I have a document with all the instructions. I think that it might be helpful for some of you, so I polished it up a bit.

I’m going to cover the following aspects of the process:

  • choosing the drives
  • choosing and setting up the HBA
  • choosing a software RAID solution
  • and finally setting up the array itself

Set up a VPS for home or small business usage

by Gergő Fándly on 2024-11-22

Setting up a VPS and installing your own services on it can be a viable alternative to paying for subscription-based services. I’ve been operating my self-hosted services for about 10 years now. First I had all of them running on a Raspberry PI B+ (the first generation), but after some time I switched to a VPS which has been running for about 6 years now, without any major modification except for software updates.

How to completely configure your Mikrotik router - part 1

by Gergő Fándly on 2024-09-04

Whether you’re managing the network infrastructure for a small business, a large corporation, or simply your own home, a MikroTik router is a great choice. Their routers are very capable and offer a great price-to-performance ratio.

Even their most basic 25$ router comes with a full RouterOS (MikroTik’s router operating system) license and allows you to modify every aspect of your configuration. On the downside, you can modify every aspect of your configuration, which can be overwhelming, especially if you’re only familiar with the simple interface of most home or small business routers.

In this series, I’m going to walk you through every step of the configuration process, including setting up your WAN connection, configuring IPv6, setting up VLANs, setting up VPN access, and configuring a secure firewall. This guide requires no preliminary knowledge, but some basic understanding of networking is beneficial.

In this part, we’re going to do the basic configuration, set up a simple network, and configure the firewall.

The complete guide to build and deploy your React Native application using GitHub Actions

by Gergő Fándly on 2024-08-27

So you’ve been working on your shiny new React Native app for months, and now you’re ready to deploy it and share it with the public. You could do this manually for every release, but you’ve decided to do it the smart way and use a CI/CD pipeline to automate this tedious process.

In this guide I’m going to walk you through every aspect of creating an automated build pipeline using GitHub Actions both for Android and iOS, as well as generating the required signing certificates. The commands I’ll be using are executed on Linux, but they should work on MacOS as well without any changes. For Windows I’d recommend WSL.

figure

Create code signing certificates for React Native

by Gergő Fándly on 2024-08-26

When you’re building a React Native application for iOS or Android, you need to sign your app with a code signing certificate. This is a requirement for both platforms, and without it, you won’t be able to distribute your app to the App Store or Google Play.

In this guide I’m going to show you how you can obtain these code signing certificates for both platforms.