techbits.io

techbits

53 posts

Proxmox: iSCSI LUN as Shared Storage
#proxmox #iscsi #virtualisation

Proxmox: iSCSI LUN as Shared Storage

While checking out an ASUSTOR NAS (the Lockerstor 6 Gen2), I tested various configurations of storage and storage types. As part of that, I set up…

Create iSCSI Targets on an ASUSTOR NAS
#asustor #nas #iscsi

Create iSCSI Targets on an ASUSTOR NAS

While checking out an ASUSTOR NAS (the Lockerstor 6 Gen2), I tested various configurations of storage and storage types. As part of that, I set up…

How to run iperf3 on an Asustor NAS
#nas #asustor #networking

How to run iperf3 on an Asustor NAS

Whether you're writing a review of a NAS, are trying to troubleshoot your NAS read/write speeds, or are just plain showing off, it seems that…

Basic systemctl commands
#linux

Basic systemctl commands

Systemctl is a command line utility that is used to manage services on Linux systems, and if you don't regularly manage Linux systems, you might find…

Open Core Legacy Patcher: Upgrading to Sonoma
#macos

Open Core Legacy Patcher: Upgrading to Sonoma

This post details the process of upgrading a Mac running MacOS 13 Ventura with Open Core Legacy Patcher to MacOS 14 Sonoma.

Sending Proxmox VE 8 Syslogs to a Log Aggregator
#proxmox #debian #linux

Sending Proxmox VE 8 Syslogs to a Log Aggregator

A Log Aggregator or Log Management system allows you to delve into system and software logs for many machines, or create alerts for particular issues…

How to enable OMV-Extras on Open Media Vault
#omv #debian #linux

How to enable OMV-Extras on Open Media Vault

While testing out OMV on a variety of hardware, I was looking to install the plugin (to decrease the wear of the USB onto which I'd installed OMV -…

Redirect traffic with Cloudflare (Page Rules vs Redirect Rules)
#cloudflare #mastodon

Redirect traffic with Cloudflare (Page Rules vs Redirect Rules)

I wrote a few posts (and scripts) last year focused on Mastodon, how to install it, and various surrounding ideas, which were all based on what I'd…

Remove Snipping Tool as default Windows Screenshot Tool
#windows

Remove Snipping Tool as default Windows Screenshot Tool

Snipping Tool isn't a bad utility, but Windows' obnoxious behaviour when it comes to remapping shortcuts can make using an alternative tricky.

Review: Swissbit pSLC Industrial Flash Drive [U-56n]
#reviews #home-lab #data-storage

Review: Swissbit pSLC Industrial Flash Drive [U-56n]

The U-56n from Swissbit utilises pSLC technology for industrial applications, but this medium offers home-labbers/tech enthusiasts a level of reliability not available in general-purpose flash storage.

Install Home Assistant on Proxmox
#home-assistant #proxmox #linux

Install Home Assistant on Proxmox

This post will show you how to get Home Assistant OS running as a VM on a Proxmox VE host in just a couple of minutes.

Allow ICMP Pings through the UDM-Pro's Firewall
#networking #cuckoo-broadband #ubiquiti

Allow ICMP Pings through the UDM-Pro's Firewall

Set an Internet Local firewall rule on your UDM-Pro (or similar UniFi device) to be able to ping your IP from outside of your network.

Set Static IPs on the UDM-Pro
#networking #ubiquiti #cuckoo-broadband

Set Static IPs on the UDM-Pro

This guide will show you how to add one or multiple static IPs to your Ubiquiti UDM-Pro (or other compatible UniFi product).

Review: SwitchBot Blind Tilt
#smart-home #switchbot #reviews

Review: SwitchBot Blind Tilt

The Blind Tilt is a retrofit blind controller from SwitchBot that fits in well with their products, but security issues may leave you tilted.

Setup SwitchBot Blind Tilt with Home Assistant
#home-assistant #smart-home #switchbot

Setup SwitchBot Blind Tilt with Home Assistant

This post will show you how to add a SwitchBot Blind Tilt to Home Assistant, as well as how to fix the blind cover behaviour.

Getting Started with SwitchBot Blind Tilt and Hub Mini
#smart-home #iot #switchbot

Getting Started with SwitchBot Blind Tilt and Hub Mini

This post will take you through the process of setting up the SwitchBot Blind Tilt and how you can start controlling your devices from the cloud.

Add Bluetooth Proxies to Home Assistant
#home-assistant #esphome

Add Bluetooth Proxies to Home Assistant

This guide will show you the simple steps needed to turn your ESP32 into a Bluetooth proxy ready to add Bluetooth devices to Home Assistant.

Mastodon v4.0.0 Upgrade [v4.0.2]
#mastodon

Mastodon v4.0.0 Upgrade [v4.0.2]

What's new in Mastodon v4.0.0, and how do you upgrade? Read on for the headline features and to see how to get started with Mastodon v4.0.0.

Free S3 Egress: Serve Backblaze B2 via Cloudflare
#cloudflare #backblaze #s3

Free S3 Egress: Serve Backblaze B2 via Cloudflare

This guide will show you how to serve content from a Backblaze B2 (S3) bucket via Cloudflare's global CDN using free accounts from both providers

Using Backblaze B2 (S3) Storage with Mastodon
#mastodon #backblaze

Using Backblaze B2 (S3) Storage with Mastodon

This guide will show you how to add Mastodon content to a Backblaze B2 (S3) storage bucket, and in the process, reduce your server load!

Upgrade Ubuntu to 22.04
#ubuntu #linux

Upgrade Ubuntu to 22.04

This guide will show you how to upgrade from one version of Ubuntu to the next (20.04 to 22.04, in this example). TL;DR: run 'do-release-upgrade'

Using Vultr Object (S3) Storage with Mastodon
#mastodon #vultr

Using Vultr Object (S3) Storage with Mastodon

This guide will show you how to utilise Vultr Object (S3) Storage with your Mastodon instance to save your local server resources.

How to Delete the Mastodon PostgreSQL Database
#mastodon #postgresql #databases

How to Delete the Mastodon PostgreSQL Database

Bit of a strange title, I know. Usually it would be someone with nefarious intent trying to delete your database... why would you want to do it?

Migrate UniFi Cloudkey & USG to UDM-Pro
#ubiquiti #networking

Migrate UniFi Cloudkey & USG to UDM-Pro

In this post, I'll show you how I migrated from the UniFi controller & USG to the UniFi Dream Machine Pro + 10G SFP for faster than 1Gig internet

Adding a members-only contact form with Ghost
#ghost-tag

Adding a members-only contact form with Ghost

Here's how I created a members-only contact form with Ghost that effectively eliminates spam messages while improving the user experience.

Change the IP address of a Proxmox host
#linux #proxmox

Change the IP address of a Proxmox host

Why even visit? Here's a one-liner: sed -i 's/oldip/newip/g' /etc/network/interfaces /etc/hosts && systemctl restart networking - You're welcome!

Review: AOne Zigbee Smart UK Double Socket
#smart-home #home-assistant #zigbee

Review: AOne Zigbee Smart UK Double Socket

The AOne Smart Double Socket is a Zigbee 13a UK outlet with power monitoring as its headline act. Will the AOne shine, or will it fizzle out?

How to setup the Glow Display IHD/CAD (MQTT/Home Assistant)
#home-assistant #smart-home #energy-monitoring

How to setup the Glow Display IHD/CAD (MQTT/Home Assistant)

This guide will show you how to setup the Hildebrand Glow SMETS1/2 monitor with MQTT and how to enable it with Home Assistant's Energy Dashboard.

Add Windows Server Core to existing Active Directory Domain
#active-directory #windows-server #windows

Add Windows Server Core to existing Active Directory Domain

This guide will show you how to add a new domain controller to an existing Windows Active Directory Domain on a Server Core 2022 system.

Create a new Active Directory Domain on Windows Server Core
#active-directory #windows-server #windows

Create a new Active Directory Domain on Windows Server Core

Want to create a Windows Active Directory Domain (and Forest) on a Windows Server Core system? This guide will teach you how!

The NetBIOS name is already in use?
#active-directory #windows-server #windows

The NetBIOS name is already in use?

If you're creating a new domain and see 'The NetBIOS name is already in use', the server sees something with the same name. Here's how to fix it.

Ghost: Redirect www to non-www to fix SEO issues
#ghost-tag #nginx

Ghost: Redirect www to non-www to fix SEO issues

Learn how to forward all www requests to the non-www version of your Ghost site, thereby fixing SEO issues and ensuring any old links work.

Speed up your Ghost site with Varnish Cache and Webhooks
#ghost-tag #linux

Speed up your Ghost site with Varnish Cache and Webhooks

This guide will show you how to speed up your Ghost CMS site for visitors by utilising Varnish Cache, and how to clear the cache using webhooks.

Serve Images, Static File from a Different Domain for Ghost CMS
#ghost-tag #seo #nginx

Serve Images, Static File from a Different Domain for Ghost CMS

Speed up the your Ghost website loading time, as well as increasing your SEO by loading static content from a separate domain or sub-domain.

techbits.io has a new look!
#news

techbits.io has a new look!

techbits.io has had a complete overhaul and has returned to its spiritual home: Ghost.

Review: ClickSmart+ Zigbee UK Double Socket
#smart-home #home-assistant #zigbee

Review: ClickSmart+ Zigbee UK Double Socket

The ClickSmart+ Zigbee Double Socket is a low cost smart socket for the UK market. Will it spark my curiosity, or will it fall short?

Prevent accidental downtime with Molly-Guard
#linux #sysadmin

Prevent accidental downtime with Molly-Guard

Molly-Guard is a utility for Debian/Ubuntu systems that will prevent accidental remote shutdowns or reboots. This overview will explain how to get it up and running.

Creating redirects for your Ghost site
#ghost-tag

Creating redirects for your Ghost site

However many times I tell myself not to create page slugs that include information that I may want to change down the line, I find myself doing it…

Deploy Ghost Themes with Github Actions
#ghost-tag #github

Deploy Ghost Themes with Github Actions

The workflow for deploying theme changes to a Ghost site can seem a bit convoluted at first glace, especially to those who are used to directly…

UniFi Controller: Add & Fix Devices
#networking #ubiquiti

UniFi Controller: Add & Fix Devices

Ubiquiti UniFi access points and gateways are great pieces of kit, and very reliable! But it can be frustrating when the lose connection to the controller. Read on to see how you can fix those issues!

CSS: Set background image opacity without affecting text
#css

CSS: Set background image opacity without affecting text

You can't change the opacity of a background image without affecting the opacity of the whole object, but the workaround is simpler than you think!…

Hide the Recycle Bin in Windows 11
#windows

Hide the Recycle Bin in Windows 11

Perhaps you've just upgraded to Windows 11, you've chosen a nice new wallpaper, and you have a clear screen, apart from the pesky recycle bin in the corner. Well, hiding that trash can is very simple!

Map a network drive on Windows Server Core
#windows-server #windows

Map a network drive on Windows Server Core

Using Server Core and realised you can't go into Windows Explorer to map a drive? Here's how to map drives on Windows Server Core.

CSS: How to override styles with !important
#css

CSS: How to override styles with !important

A website can have one, or it can have many Cascading Style Sheets. If you're building using a framework that has its own set of CSS, you're more…

Create redirects using Cloudflare Page Rules for Free
#cloudflare

Create redirects using Cloudflare Page Rules for Free

Create HTTP 301 and HTTP 302 redirects using Page Rules for free with Cloudflare.

How to compile NGINX and ModSecurity on Ubuntu Server
#linux #security #nginx

How to compile NGINX and ModSecurity on Ubuntu Server

ModSecurity is an open-source web application firewall, and although it was originally developed for Apache, it can now sit in front of NGINX and even IIS web servers.

Install Raspberry Pi OS and connect to Wi-Fi without a monitor
#raspberry-pi

Install Raspberry Pi OS and connect to Wi-Fi without a monitor

Don't have a screen/keyboard handy to set up a Raspberry Pi? This quick guide will show you how to setup your RPi without a monitor or keyboard.

Stop needrestart prompting for kernel reboots
#linux

Stop needrestart prompting for kernel reboots

When creating a system from a clean image using a build script, it can get really annoying if one bit of software blocks the rest of the script from…

Autologin and continue running a script in Linux
#linux #scripting

Autologin and continue running a script in Linux

I'm going to prefix this whole post with: Computers/servers automatically logging in is bad security practice. Certain situations may require this…

Create macOS Terminal aliases
#macos #scripting

Create macOS Terminal aliases

Aliases in the Terminal are shortcuts to run commands which you might find yourself using a lot, or they could be longer commands that you use infrequently but are more likely to get wrong. Aliases can even be used to override default commands!

Python: Create config files with configparser
#python

Python: Create config files with configparser

Configparser is a simple, built-in way to start using config files in your Python scripts and programs.

The simple way to add a Config File to your Bash Scripts
#bash #scripting

The simple way to add a Config File to your Bash Scripts

Source lets you add external files/code into your scripts, but is also a convenient way of adding config files, providing you are aware of the risks.

How to fix Xbox One multiplayer & chat NAT issues
#xbox #networking

How to fix Xbox One multiplayer & chat NAT issues

NAT issues can be the bane of any Xbox gamer's evening, preventing online gameplay, joining of parties, and even stopping multiple Xboxes from playing on the same network. Fortunately, there are a few simple things you can do to try to fix it.