-
Compress and Extract Files Using the tar Command on Linux
Compress and Extract Files Using the tar Command on Linux Compress Exclude Extract Related Links Compress an Entire Directory or a Single File -c: Create an archive -z: Compress the archive with gzip -v: Verbose mode. Display progress in the terminal -f: Allows you to specify the filename of the archive. Exclude Directories and Files…
-
Move Files If They Exist Using Bash and Cron
Move Files If Exist Using Bash and Cron Script Cron
-
Auto Update Raspberry Pi Using a Script and Cron
Auto Update Raspberry Pi Using a Script and Cron Create Script Adjust Permission to Allow Execution Create a Log Directory This is optional but highly recommend as all the console output will be piped into this area. Makes it very easy to troubleshoot if anything goes wrong. Set Up Cron In order to redirect STDERR…
-
What is taking up space on Raspberry Pi
What is taking up space on Raspberry Pi. Recently tried to write to text file. Received disk is full error. Used this tool to find and fix the issue. Visualize used space on Raspberry Pi NCDU Related Links NCDU Drill down more Related What is Filling up my Disk Space Set Static IP Address on…
-
VPN Only UFW Setup
VPN Only UFW Setup Information Required Disbale IPv6 Disable IPv6 in UFW Allow LAN Traffic (Optional) Make UFW Deny by Default Allow Connection to VPN Server Force Outbound traffic through VPN Interface Allow Inbount traffic through VPN (Optional) Enable UFW Troubleshooting Related Information Required VPN Server IP Address (Pre Resolved if it is a URL)…
-
Enable Two Factor Authentication on Raspberry Pi
Prerequsites SSH is enabled Setup Update Enabling Challenge Response You can press [Ctrl + W] to enter into search mode. Then type “Challenge” [Enter] ChangeFrom:ChallengeResponseAuthentication noTo:ChallengeResponseAuthentication yes [Ctrl + X] [y] Install Two Factor App on Phone andOPT is recommended. It is Open Source. There is no phone number requirement. Install Google Authenticator PAM module…
-
New Raspberry Pi Desktop Setup
Booting for the first time from a desktop/full image obtained from the official Raspberry Pi website. You will find yourself on the desktop with the “Welcome to Raspberry Pi” wizard open. Change Password Set Host Name Time Zone Language Set Country WiFi Network Disable Bluetooth Update Reboot Enable SSH Enable VNC Enable Camera Setup VPN…
-
VNC Access to Raspberry Pi from Ubuntu
VNC Access to Raspberry Pi from Ubuntu. Ubuntun comes with Remmina a VNC/RDP/SSH access client. However when trying to access a Raspberry over VNC you get a Problem Solution Related Links Problem Remmina gives you an error. unknown authentication scheme from server from VNC server: 13 5, 6, 130, 192 Solution Download the Real VNC…
-
Sample Crontab Tasks
Sample Crontab Tasks Running as root Running as normal user Examples Where are they kept Related Links Running as root Running as normal user Examples At reboot wait 60 seconds then restart the Murmur service Where are they kept pi root Related ~/.ssh/config Essentials Linux Users Linux Groups Mumble Client Essentials chmod Essentials How to…
-
dd Essentials
Basic Command Show Status 6246367232 bytes (6.2 GB, 5.8 GiB) copied, 318 s, 19.7 MB/s Size bs bs=BYTES read and write up to BYTES bytes at a time (default: 512); N and BYTES may be followed by the following multiplicative suffixes: c =1, w =2, b =512, kB =1000, K =1024, MB =10001000, M =10241024,…
-
Install PowerShell Core on Raspberry Pi OS
Install PowerShell Core on Raspberry Pi OS Related Links To find the latest version of PowerShell Core go to https://github.com/PowerShell/PowerShellPlatform = Raspbian (Arm) 32-bit -x = Extract -f = File -v = Verbose Optional Related AWS Tools for PowerShell Configure Windows to be Managed via Ansible Check for Pending Reboot on Windows Extend Volume in…
-
LUKS: Linux Unified Key Setup Essentials
Encrypt Disk Change Hard Disk Password Ubuntu 20.04 Related Links Encrypt Disk Setup Encrypted Disk Change Hard Disk Password Ubuntu 20.04 Click on the LUKs partition Click on the two cogs>Change Passphrase. Change Passphrase Related Open Media Vault – Set Up LUKS Encrypted VOlume Using Plugin Setup Encrypted Disk on Raspberry Pi Links https://en.wikipedia.org/wiki/Linux_Unified_Key_Setup
-
Create VirtualBox VM from command line
This will be a walk-through of installing Ubuntu 22.04 on VirtualBox using the command line. List Available Guest OS Create VM Inspect VM Add CPU RAM and Video RAM Configuring Virtual Network Adapter Create Virtual Hard Disk Delete Virtual Hard Disk Add Storage Controller Attach Virtual Hard Disk Add IDE Controller Attach ISO VirtualBox-Remote-Display-Protocol Start…