Hero Image

Mike Tobias

Probably Security Stuff

    M2 Air Monitor Limitations

    2022-12-30
    general-tech

    While I use a MacBook Pro for work, I use an M2 MacBook Air for personal projects around the house. I have used a Plugable Thunderbolt dock for the past few years to run the display for my gaming PC, work Mac, and any other system I may have sitting around. The monitor I use is a Samsung CRG9 49" "super" ultra wide. This size monitor is quite nice for a single monitor setup and allows me to have a good spread of windows throughout the day.


    Grav Tag Filters

    2022-12-18
    grav

    Grav CMS! It is what is powering this site! As I work my way through understanding more about Grav, I hope to document some of the issues and fun things I run into.

    Today's adventure is related to the Taxonomy List plugin, a nice plugin that allows custom tags to be applied to pages.

    List of tags

    The Taxonomy List plugin allows you to specify a page route to your blog, which defaults to /blog. I was finding that even though the plugin was enabled, the link to the filter didn't seem to be working. My blog URL is https://mktbs.net/blog but I was finding that any link from the Popular Tags was linking to https://mktbs.net/tag:homelab, somewhere, the /blog URI was missing.


    Linux Shell SSH/No Root One-Liner

    2022-12-18
    homelab snippets

    Having a scripts for repeatable system administration saves times and reduces human errors. The following lines can be used in shell scripts (I tend to use bash) or in the cloud-init data of a cloud provider. I tend to have this script and the public key of an SSH key in a public Git repo that I just clone into a new VPS and execute. This should work on modern Debian and Red Hat Linux variants such as Ubuntu 22.02 and CentOS (RIP).


    Grav CMS

    2022-11-04
    homelab

    For the past few years I've been running my (mostly) inactive website via Gitlab pages, serving statically generated pages from Hugo. Static site generators like Hugo and Jekyll take markdown, join it with some images and CSS, convert it all to html, and there you have a website which can be served from just about anywhere. Small file sizes and no "moving parts" can result in a much faster and "secure" website. Of course there will always be security issues with the host, but you aren't serving content out of a database.

    While this process worked for a while, especially since I don't put out much content, I wanted something a bit more interactive, not something as indepth as a Wordpress, but something a bit more involved. While I can deal with CSS, I don't want to. Enter Grav. Grav is a CMS like, Wordpress, but unlike Wordpress does't rely on a database component. All flat files.


    Moving to Proxmox

    2022-05-06
    homelab proxmox

    Virtualization is an important tool for a homelab, large or small. For many years I ran some iteration of VMWare, normally ESXi with vCenter. Last year I switched everything from VMWare to Proxmox, a "free" hypervisor platform. In 2022 there are quite a few homelab hypervisor platforms that we could take advantage of.

    Hypervisor Options

    Homelabbers have plenty of options when it comes to running a hypervisor at home. If you are just getting started you might investigate something free like Oracle's Virtual Box, Microsoft's Hyper-V, or VMWare's Workstation Player. These products are often referred to as Type 2 hypervisors, or hypervisors that virtualize on top of an operating system. These products work well as they allow you to just install the hypervisor directly on your existing operating system, the cost to get started is quite low, if it isn't for you or you feel that you want to move onto more advanced hypervisors, worst case you just uninstall the hypervisor (or in the case of Hyper-V, just turn off the Windows feature).

    Hypervisors like VMWare's ESXi and Proxmox Virtual Environment are known as Type 1 hypervisors, or hypervisors that are installed on bare metal. The benefit of Type 1 hypervisors is that they are more performant, designed to run as servers, and include more enterprise-like features.