Tag: linux

  • Error wiping old drive in Proxmox

    When I popped in an NVME drive and freshly installed Proxmox to it, I assumed I’d just be able to wipe the SDD that had previously been the boot drive to set it up as a ZFS pool. However, when I tried to do the wipe, I was greeted with the error: I assume this…

  • Bloody VIM

    Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X. vim.org You will encounter vi/vim as the incomprehensible text editor that pops up by default when you need to edit something in…

  • Finding the host IP from inside a Docker container

    Having successfully set up and tested my node.js api handling app behind nginx on a development VM in the homelab, I decided to move it to my VPS so I could start using it for real. I had a bit of trouble finding the nginx.conf files on the VPS, until I remembered I was running…

  • nginx in Front of a node.js app

    NGINX is a great webserver and reverse proxy – as in it can hand off requests to other web-servers. That’s the situation I want to have set up on my VPS. I want NGINX to handle incoming requests – some of them will just be sorted out by returning static HTML, others (like the weather…

  • ZFS Basics on Proxmox

    I’m a keen listener of the 2.5 Admins podcast in which there’s frequent enumeration of the advantages of ZFS as a file system. So much so, that I’ve had occasional twinges or regret about the money I spent on the Synology – although it has been boringly reliable and does everything I need. Proxmox has…

  • Outside Temperature From an API in a Shell Script

    I’m interested in collecting some internal temperature data from my servers to look at the effect of adding an NMVe drive. Last week we had a couple of warm days immediately followed by a couple of cool ones. I imagine a 20° ambient temperature change could effect the server temperatures, so I thought it would…

  • Git/GutHub – macOS – marking file as executable

    I’m working on the world’s shortest shell script – it’s called by cron to pull down a JSON weather report to a text file using curl so I can expose it on an Nginx endpoint. The purpose is to allow me to hammer that weather API from multiple machines I control without violating the TOS…

  • Linux Shell Script for Temperature Logging

    A potential solution to my concern about the either perfect, or nearly dead, SSD would be to add a NVMe disk to the M.2 slot in the HP Elitedesk 800 G2’s. I’d use those to boot from and run Proxmox, then the existing SSD’s on each node in the cluster would just be part of…

  • Why use ‘./’ in front of filenames?

    In Linux (and MS-DOS I guess) the period signifies the current directory, so if I have a file in the current directory called test.txt, I can refer to it as test.txt or ./test.txt I mostly see this in references to files in HTML and have often wondered why. Here it is being used in a…

  • Mounting NFS shares into LXC containers

    I’m playing with Syncthing with the idea that it might be a good replacement for Dropbox. There wasn’t a Docker container listed in the install options, so I thought this might be a good app to run in an LXC. I’m going to use a share from the NAS, and I’m assuming I’ll need it…