IT Tips

Access

Blog History

Unifi cli commands for UDM / USG

UDM CLI COMMAND TO CHECK CONNECTIONS Unifi uses Strongswan for its IPSec VPN tunnels https://www.strongswan.org/ So check the documentation https://docs.strongswan.org/docs/5.9/swanctl/swanctl.html Check all IPSec Tunnels ipsec statusall To restart ipsec ipsec restart...

read more

Virtualize Disks with Disk2VHD

To do a physical to virtual https://learn.microsoft.com/en-us/sysinternals/downloads/disk2vhd You can choose either to create in VHDX or VHD To convert VHDX to VHD If you create the disk in VHDX format and want to run it in Virtual Box you will need to convert it to...

read more

CakePHP 4 – Logging to Syslog

The documentation at https://book.cakephp.org/4/en/core-libraries/logging.html#logging-to-syslog recommends logging to Syslog in production by adding the following snippet to config/bootstrap.php Log::setConfig('default', [ 'engine' => 'Syslog' ]); If you add a prefix...

read more

blobfuse2 Setup

BlobFuse2 is a Microsoft maintained utility to mount a remote Azure Storage Account Blob Container or folder into the Linux file system and then interact with it as if it was local. You need some directories to serve as a cache and mount point. You could put them...

read more