CIFS Shares on Proxmox and LXC
This guide provides clear steps on how to mount a CIFS (Common Internet File System) share directly to a Proxmox host and then make that share accessible within an LXC (Linux Container) on the same host. 1. Mount the CIFS Share to the Proxmox Host Mount the network share to
Linux Login Notification
The following steps will create a script that will run anytime a user profile is loaded/logged in. The script will send a notification to a webhook. Create the script file sudo nano /usr/local/bin/login_webhook.sh Save the following script #!/bin/bash # URL of the webhook WEBHOOK_
Python Notes
Virtual Environments Create a Python virtual environment in the current directory on a Linux system python3 -m venv env To enter the environment from the directory source env/bin/activate To exit the environment deactivate
Postfix Configuration - Custom Mail Route
If running Postfix in a container the commands below can be used to configure a custom mail route for a domain. This will allow the Postfix server to delivery emails for the configured domain to a specific MTA/mail server instead of using the domains MX record. 1. Access the
Docker Management Notes
View container logs docker logs -f container_id_or_name Delete container logs sudo truncate -s 0 /var/lib/docker/containers/container_id/container_id-json.log docker restart container_id_or_name Connect to container cmdline docker exec -it CONTAINERNAME bash
Ubuntu Wake On Lan Setup
Assuming you have enabled Wake On Lan (WoL) from your bios the guide below by Techno Tim shows all the steps to enable WoL on various systems. On Ubuntu Server be sure to follow the steps listed in the "Using Netplan" section. For Ubuntu Desktop the steps vary
Zimaboard Ubuntu Server Network Timeout at Boot
Resolve "A start job is running for Wait For Network to be Configured" on Ubuntu Server 22.04.3 LTS
Cloudflare Tunnels on Raspberry Pi
I've recently been testing Cloudflare's free tunneling/access/zero trust solution to avoid have to open ports on my home network to access a couple of resources. The setup process was fairly straightforward, the "trickiest" part was pulling the correct version for the Raspberry
Update Certificate Permissions with PowerShell
In a recently encountered an issue with certificates that were imported on several servers, but unfortunately, the proper permissions were not applied to them. Rather than tediously opening each certificate and updating permissions manually, we decided to leverage the power of PowerShell to automate the process. With just a few
Compare All Properties of an Object
As Exchange Online administrators, my team and I frequently utilized Microsoft's Hybrid Configuration Wizard. However, we discovered that the wizard occasionally altered our customized settings, which was quite frustrating. To mitigate this issue, we developed a process of storing configurations by running specific commands and then manually comparing
Importing Certificates with PowerShell
If you find yourself updating certificates on Windows Servers often this method might help speed things up. Without PowerShell you would typically need to manually copy the new certificate to all of your servers then install them individually. Using PowerShell, we can copy the certificate to a collection of servers