Advanced Search
Search Results
189 total results found
MySQL - my.cnf Tweaking
performance_schema = ON tmpdir = /run/mariadb thread_cache_size = 4 table_open_cache = 16384 table_definition_cache = 8384 sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION query_cache_type = 0 query_cache_size = 0 que...
MongoDB - Installation on RedHat 9
Step 1: Configure the MongoDB Repository Create a new repository file named /etc/yum.repos.d/mongodb-org-7.0.repo using your preferred text editor (like vi or nano), or by using the cat command as shown below. This example uses version 7.0; you can check the ...
Redis - Installation on RedHat 9
Install the Latest Version using the Remi Repository For the latest stable version of Redis, you can use the Remi repository, which provides more recent packages for RHEL derivatives. Install the Remi repository configuration package: sudo ...
SQLLite - Installation on RedHat 9
Installation Steps Install the SQLite package: Run the following command in your terminal to install the main SQLite package. Install sudo dnf install sqlite The system will prompt you to confirm the installation. Type y and press Enter to ...
TrueNAS - Bash Colors
Change the colors of the shell do the following steps: Step 1: Change the shell on the user in Credentials/Users and then Edit the user you are using to log in and change the following. Step 2: Edit the .bashrc file and replace/add the following: alias ...
Event Viwer - Look at a Machine Restart
Key Event IDs for Reboot Analysis 1074 (Planned): Indicates a user or application initiated a restart or shutdown. It shows who did it and why. 41 (Unexpected): The system rebooted without a clean shutdown, often due to power failure or a system crash. 60...
Visual Studio - Publish to Linux and Restart Service
To stop and restart a Linux service automatically when publishing from Visual Studio to a local folder, you must modify your Publish Profile (.pubxml) to include post-publish commands. Since Visual Studio runs on Windows, these commands typically trigger a scr...
Command - Cmnd_Alias
What is Cmnd_Alias? Cmnd_Alias (Command Alias) is a feature in /etc/sudoers (and files in /etc/sudoers.d/) that lets you group multiple commands under a single, easy-to-read name. Instead of repeating long command paths many times, you define the group once ...
.gitignore - .gitIgnore File for Docker Compose Files
Use Case TrueNAS shared SMB with a folder dedicated to yaml files. This is it to be used if you have a SMB drive and point Visual Code or Code Server to all of your docker folders. The .gitignore file setup # Ignore everything by default * # Allow dir...
Bash - Add Symbolic Links Subdirectories
To efficiently add these symbolic links to all subdirectories that are missing them, you can use a find loop. This command will check each subdirectory and only create the link if a file or link named .env or .secret doesn't already exist. The Command Run th...
Visual Studio Code - Git Create new repo in on-prem Azure Devops
Create a new repo in the web portal and push code This is the standard approach for managing new code in Azure DevOps. Navigate to your project: Open the web portal for your Azure DevOps Server and select your project. Go to Repos: In the left-hand navi...
Pi-Hole - Add DNS to your Pi-Hole from Active Directory LDAPS
This pulls DNS node names from Active Directory over LDAPS, resolves A records against the AD DNS server (dig), imports into Pi-hole's custom.list, and restarts DNS. Make sure you have the ROOT cert on the pi-hole side: Certificate Trust Issue (by far the #1...
Raspberry Pi - Bash Colors
Check you shell to be default to bash if not already: Here's how to set Bash as your default login shell on Debian / Raspberry Pi OS: Step1. Check current shell Run this first to see what you're currently using: echo $SHELL Step2. Set Bash as default shel...
RustDesk - pfSense and and HAProxy
You can configure self-hosted RustDesk (hbbs ID/rendezvous server + hbbr relay server) behind your pfSense + HAProxy Docker setup using hostname.domain.com as the external ID server address. However, there are important caveats due to how RustDesk works. Impo...
Raspberry Pi - Zero 2 W RTSP Server
Introduction While setting up my smart home I was looking into creating a cost effective NVR that would allow for a high degree of privacy and control. The choice of NVR software fell on the excellent Frigate NVR, it integrates well with Home Assistant and su...