19 Mar 2025

JBT Server Updates

Announcing an upgraded web server platform I have recently moved to the latest Ubuntu LTS release for this web server. Ubuntu 24.04 nginx version: nginx/1.24.0 Composer version 2.8.6 2025-02-25 13:03:50 PHP version 8.3.6 (php8.3-fpm) ...

13 Nov 2019

Mount a USB or non-local drive in WSL

This applies to USB storage & remote drives Drives formatted as FAT or NTFS can be mounted in WSL. Assuming the drive appears in Windows as E:\ then The commands below are typed into the WSL cli. Create a mount location in WSL # mkdir /mnt/e Mount the drive in WSL: mount -t drvfs e: /mnt/e...

08 Nov 2019

root access to [WSL] Windows Subsystem for Linux

Firstly - set the default user to be "root" like this: At at CMD prompt with Administrator rights: C:\WINDOWS\system32>ubuntu config --default-user root Then open WSL and run: # passwd defaultuser To set the password for your preferred user (in example: "defaultuser") Then, At at CMD prompt with Administrator rights: C:\WINDOWS\system32>ubuntu config --default-user defau...

30 May 2019

Using DD to burn an iso image to USB Drive

OK here's an easy way to burn a USB Key (Bootable) from iso image. First, find out what the USB Key is appearing as in a list of your drives by executing fdisk -l. In this case, mine is an old 1GB USB Drive: /dev/sdb donmc@T510:~$ sudo fdisk -l Disk /dev/sdb: 984 MiB, 1031798784 bytes, 2015232 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512...

11 Nov 2017

Bind Mounts in Proxmox

This is a very useful feature for access to the host file system from an LXC Container: From: https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points Bind Mount Points Bind mounts allow you to access arbitrary directories from your Proxmox VE host inside a container. Some potential use cases are: Accessing your home directory in the guest Accessing an USB device directory in the gue...

07 Oct 2017

Leave a long running process from ssh...

root@XXX4:~# nohup rsync -av --delete /home/xxxxxx.us/DATA/ root@192.168.0.9:/mnt/USB_2TB_DRIVE/Backups-XXXXXX/DATA/ & [1] 6288 root@XXX4:~# nohup: ignoring input and appending output to 'nohup.out' root@XXX4:~# "tail -f nohup.out" when you get back......

18 Jun 2016

Removing dead tracks from itunes

This was very useful for a corrupted song db in itunes: You can use a playlist to collect dead tracks. Create new regular playlist – Playlist1 Select whole library and drag to Playlist1 Create new Smart Playlist with the rule: Playlist is not Playlist1 Live updating checked – after you run it, uncheck live updating or you may not be able to delete tracks. This playlist should contain all t...

03 Jan 2015

disable password authentication for sshd

This is considered good practice for any linux platform that has publicly addressable interfaces... Of course you will need to setup PKI public/private keys for any secure login. I am not suggesting that you turn off authentication entirely ! I had a VPS linux host out there untended for a while, and the hackers find it irresistible - there were 11,000+ authentication failures in the logs. T...

Subscribe to