Walkthroughs, tutorials, and scripting, focused on OpenBSD development.

TigerVNC Setup on CentOS 7

By Finde Labs |  May 22, 2019  | linux, tigervnc, vnc, centos

This walkthrough will show you how to create a VNC service on a linux server, configure a window manager to spawn, and establish a reverse tunnel for connection security. I have chosen to utilize tigervnc as the VNC service, as this is a standard VNC package that ships with RHEL/CentOS currently.

Continue Reading...

Recursive grep'ing with bash

By Finde Labs |  May 8, 2019  | openbsd, scripting, bash

How many times have grep’d a file, and then piped the output in order to grep again, and then piped that again to grep? Sometimes when I am search a file, I could end up piping maybe a dozen times while searching the file. Just for fun, I wanted to write a recursive grep program, rgrep in rust. However, as a first step, I figured I could write it in bash first.

Continue Reading...

OpenBSD 6.5 tmux updates

By Finde Labs |  Apr 27, 2019  | openbsd, tmux

As you may know, OpenBSD recently released version 6.5. With this new release, came a updated version of tmux, which has implemented a number of configuration changes that may require an updated tmux.conf. While -current has had these updates for awhile, I had simply ignore tmux’s warnings. However, since updating my systems to 6.5, I was finally complied and updated my conf.

Continue Reading...

My First Simple Rust Program

By Finde Labs |  Apr 9, 2019  | openbsd, rust, scripting

Following up on my previous posting about the programming language rust, I figured I may as well release the code I have written so far. It’s really been a fun journey, and I don’t claim at all to be a rust expert by any means, but here you go.

Continue Reading...

Using Rust on OpenBSD

By Finde Labs |  Apr 8, 2019  | openbsd, rust

Recently, I started using a new language on the block: go. However, I found myself quickly reading about other new languages that have showed up recently within the last few years.

One such language was rust.

Continue Reading...

NFS Client Tuning on Linux

By Finde Labs |  Mar 25, 2019  | linux, nfs, scripting, tuning

In some of my previous posts, I spent some time attempting to squeeze out the best NFS performance as possible from OpenBSD. This time, I wanted to run a similar test, but on Linux and see if the same findings were applicable.

I found the results rather interesting, as they show that Linux is capable of faster transfer speeds than OpenBSD, with much less work. Of course, this doesn’t make me dislike OpenBSD any less (obviously), as the OS is still capable of fast transfers, and I am not building any supercomputers at my home.

Continue Reading...

OpenBSD NFS Performance Tuning - Part 3

By Finde Labs |  Mar 25, 2019  | scripting, openbsd, tuning, nfs

My original nfstest script on OpenBSD was tweaked for use on Linux recently. While modifying the script, I realized that there were some shortcomings to my original script.

Rsync was the original transfer method; however, after some testing and research, I realized that this method may have a little more overhead than originally realized.

Continue Reading...

Enabling RSS Feeds in Hugo

By Finde Labs |  Mar 17, 2019  | openbsd, hugo, webhosting, rss

At the behest of a fellow admin, who apparently digests solely rss feeds, and not content directly, my project this weekend became one to enable rss feeds within hugo.

Due to the relative simplicity of hugo, I figured that this task should be rather easy. Luckily, it was so.

Continue Reading...

OpenBSD NFS Performance Tuning - Part 2

By Finde Labs |  Mar 15, 2019  | scripting, openbsd, tuning, nfs

Part two NFS performance tuning. I have some new data to publish. I reran the full NFS test, this time with the script transferring three files, with one sync and unmount in between the three transfers. I saw more interesting behavior that is worth noting, as well as publishing the script used to compile these logs.

Continue Reading...