<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Jamison Johnson</title>
    <description>IT Portfolio</description>
    <link>https://jamisonjcjohnson.github.io/</link>
    <atom:link href="https://jamisonjcjohnson.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Mon, 28 Sep 2026 14:15:49 -0400</pubDate>
    <lastBuildDate>Mon, 28 Sep 2026 14:15:49 -0400</lastBuildDate>
    <generator>Jekyll v4.2.2</generator>
    
      <item>
        <title>Pocket AI Recorder Review</title>
        <description>&lt;p&gt;Pocket is a small dedicated AI recorder that attaches magnetically to the back of a compatible phone or can be carried separately. A single button starts and stops recording, allowing you to capture conversations without opening an application or interrupting the discussion.&lt;/p&gt;

&lt;p&gt;After recording, Pocket synchronizes the audio to its companion software and creates searchable transcripts, summaries, action items, and other AI-generated notes. Pocket currently supports iPhone, Android, Windows, macOS, and web access.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review the Pocket AI recorder, its companion applications, free and Pro features, and whether it is worth buying!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#pocket-hardware&quot; id=&quot;markdown-toc-pocket-hardware&quot;&gt;Pocket Hardware&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recording-meetings-and-conversations&quot; id=&quot;markdown-toc-recording-meetings-and-conversations&quot;&gt;Recording Meetings and Conversations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#phone-call-recording&quot; id=&quot;markdown-toc-phone-call-recording&quot;&gt;Phone Call Recording&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pocket-companion-apps&quot; id=&quot;markdown-toc-pocket-companion-apps&quot;&gt;Pocket Companion Apps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#synchronizing-recordings&quot; id=&quot;markdown-toc-synchronizing-recordings&quot;&gt;Synchronizing Recordings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ai-notes-and-summaries&quot; id=&quot;markdown-toc-ai-notes-and-summaries&quot;&gt;AI Notes and Summaries&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#free-plan&quot; id=&quot;markdown-toc-free-plan&quot;&gt;Free Plan&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pocket-pro&quot; id=&quot;markdown-toc-pocket-pro&quot;&gt;Pocket Pro&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#free-vs-pro&quot; id=&quot;markdown-toc-free-vs-pro&quot;&gt;Free vs. Pro&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#find-pocket&quot; id=&quot;markdown-toc-find-pocket&quot;&gt;Find Pocket&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#privacy-and-storage&quot; id=&quot;markdown-toc-privacy-and-storage&quot;&gt;Privacy and Storage&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#is-pocket-worth-it&quot; id=&quot;markdown-toc-is-pocket-worth-it&quot;&gt;Is Pocket Worth It?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pocket-hardware&quot;&gt;Pocket Hardware&lt;/h2&gt;

&lt;p&gt;Pocket is designed to be small enough to keep attached to a phone or carry throughout the day.&lt;/p&gt;

&lt;p&gt;Current hardware features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;64GB of onboard storage&lt;/li&gt;
  &lt;li&gt;Two microphones for in-person recording&lt;/li&gt;
  &lt;li&gt;A contact microphone for phone calls&lt;/li&gt;
  &lt;li&gt;MagSafe compatibility&lt;/li&gt;
  &lt;li&gt;Approximately four days of typical battery life&lt;/li&gt;
  &lt;li&gt;USB-C charging and data transfer&lt;/li&gt;
  &lt;li&gt;Offline recording&lt;/li&gt;
  &lt;li&gt;Recording range of up to approximately 15 meters under suitable conditions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pocket records directly to its internal storage, so your phone does not need to remain connected while recording. The audio can be synchronized later when you reconnect to the Pocket application.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recording-meetings-and-conversations&quot;&gt;Recording Meetings and Conversations&lt;/h2&gt;

&lt;p&gt;Using Pocket is intentionally simple.&lt;/p&gt;

&lt;p&gt;Press the side button to begin recording and press it again when finished. A light and vibration provide confirmation that recording has started.&lt;/p&gt;

&lt;p&gt;This is one of the biggest advantages of dedicated AI recording hardware.&lt;/p&gt;

&lt;p&gt;Instead of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Unlocking your phone&lt;/li&gt;
  &lt;li&gt;Finding a recording application&lt;/li&gt;
  &lt;li&gt;Starting a voice memo&lt;/li&gt;
  &lt;li&gt;Leaving the phone sitting on a table&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;you can simply press one button and continue the conversation.&lt;/p&gt;

&lt;p&gt;Pocket is especially useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Meetings&lt;/li&gt;
  &lt;li&gt;Interviews&lt;/li&gt;
  &lt;li&gt;Client discussions&lt;/li&gt;
  &lt;li&gt;Brainstorming&lt;/li&gt;
  &lt;li&gt;Personal notes&lt;/li&gt;
  &lt;li&gt;Lectures&lt;/li&gt;
  &lt;li&gt;Phone calls&lt;/li&gt;
  &lt;li&gt;Follow-up tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Always obtain appropriate consent before recording conversations and follow the recording laws and policies that apply to your location and organization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;phone-call-recording&quot;&gt;Phone Call Recording&lt;/h2&gt;

&lt;p&gt;Pocket includes a contact microphone designed to capture phone calls when the recorder is attached to the back of your phone.&lt;/p&gt;

&lt;p&gt;This provides an advantage over many traditional voice recorders because the device can be used for both:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;In-person conversations&lt;/li&gt;
  &lt;li&gt;Phone conversations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The same recording can then be processed into a transcript, summary, and action items.&lt;/p&gt;

&lt;p&gt;Call-recording quality can vary depending on the phone, case, speaker volume, and how securely Pocket is positioned against the device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pocket-companion-apps&quot;&gt;Pocket Companion Apps&lt;/h2&gt;

&lt;p&gt;Pocket is no longer limited to a mobile application.&lt;/p&gt;

&lt;p&gt;The platform currently supports:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;iPhone&lt;/li&gt;
  &lt;li&gt;Android&lt;/li&gt;
  &lt;li&gt;macOS&lt;/li&gt;
  &lt;li&gt;Windows&lt;/li&gt;
  &lt;li&gt;Web access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The desktop application is particularly useful for people who spend most of the workday at a computer.&lt;/p&gt;

&lt;p&gt;Pocket can also record online meetings such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Zoom&lt;/li&gt;
  &lt;li&gt;Microsoft Teams&lt;/li&gt;
  &lt;li&gt;Google Meet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;through its desktop software on Windows and macOS.&lt;/p&gt;

&lt;p&gt;This makes Pocket more useful as an overall meeting companion rather than only a physical recorder.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;synchronizing-recordings&quot;&gt;Synchronizing Recordings&lt;/h2&gt;

&lt;p&gt;Pocket provides several ways to transfer recordings.&lt;/p&gt;

&lt;p&gt;You can synchronize using:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Bluetooth&lt;/li&gt;
  &lt;li&gt;Wi-Fi&lt;/li&gt;
  &lt;li&gt;USB-C&lt;/li&gt;
  &lt;li&gt;Pocket Web Sync&lt;/li&gt;
  &lt;li&gt;Pocket Desktop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bluetooth works well for normal short recordings.&lt;/p&gt;

&lt;p&gt;For longer meetings, Wi-Fi synchronization can transfer recordings considerably faster. USB-C Web Sync is useful for large amounts of audio or when you want to transfer recordings directly to a computer.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ai-notes-and-summaries&quot;&gt;AI Notes and Summaries&lt;/h2&gt;

&lt;p&gt;After a recording is synchronized, Pocket can generate:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Full transcription&lt;/li&gt;
  &lt;li&gt;Meeting summaries&lt;/li&gt;
  &lt;li&gt;Action items&lt;/li&gt;
  &lt;li&gt;To-do items&lt;/li&gt;
  &lt;li&gt;Mind maps&lt;/li&gt;
  &lt;li&gt;Searchable notes&lt;/li&gt;
  &lt;li&gt;Speaker information&lt;/li&gt;
  &lt;li&gt;Follow-up information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pocket supports more than 120 languages and can use multiple AI models for processing conversations.&lt;/p&gt;

&lt;p&gt;One of the most useful features is being able to focus on the conversation instead of trying to write everything down.&lt;/p&gt;

&lt;p&gt;You can review the transcript afterward and concentrate on the decisions, tasks, and details that actually mattered.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;free-plan&quot;&gt;Free Plan&lt;/h2&gt;

&lt;p&gt;Pocket’s free tier is one of the biggest reasons the device stands out.&lt;/p&gt;

&lt;p&gt;As of August 2026, Pocket advertises:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Unlimited recording&lt;/li&gt;
  &lt;li&gt;Unlimited transcription&lt;/li&gt;
  &lt;li&gt;Unlimited summaries&lt;/li&gt;
  &lt;li&gt;No transcription-minute cap&lt;/li&gt;
  &lt;li&gt;No mandatory subscription&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The current free plan retains conversation history for &lt;strong&gt;14 days&lt;/strong&gt;, so important recordings should be exported or otherwise retained if you do not subscribe to Pro.&lt;/p&gt;

&lt;p&gt;This is significantly different from AI recorders that provide only a few hundred free transcription minutes each month.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pocket-pro&quot;&gt;Pocket Pro&lt;/h2&gt;

&lt;p&gt;Pocket Pro adds more advanced AI and long-term organization features.&lt;/p&gt;

&lt;p&gt;Current Pro features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Unlimited summaries saved permanently&lt;/li&gt;
  &lt;li&gt;Higher-accuracy transcription&lt;/li&gt;
  &lt;li&gt;Automatic speaker-name detection&lt;/li&gt;
  &lt;li&gt;Unlimited Ask Pocket&lt;/li&gt;
  &lt;li&gt;Access to more capable AI models&lt;/li&gt;
  &lt;li&gt;Custom summary templates&lt;/li&gt;
  &lt;li&gt;Summary regeneration&lt;/li&gt;
  &lt;li&gt;Unlimited to-do items&lt;/li&gt;
  &lt;li&gt;Advanced integrations&lt;/li&gt;
  &lt;li&gt;File attachments&lt;/li&gt;
  &lt;li&gt;Mind map export&lt;/li&gt;
  &lt;li&gt;Additional export formats&lt;/li&gt;
  &lt;li&gt;Raw audio downloads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At the time of this review, Pocket advertises Pro at &lt;strong&gt;$199 per year&lt;/strong&gt;, equivalent to approximately $16.59 per month when billed annually. Pricing can change, so check the &lt;a href=&quot;https://heypocket.com/&quot;&gt;Pocket website&lt;/a&gt; before subscribing.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;free-vs-pro&quot;&gt;Free vs. Pro&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;Free&lt;/th&gt;
      &lt;th&gt;Pro&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Recording&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Transcription&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;AI summaries&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Conversation history&lt;/td&gt;
      &lt;td&gt;14 days&lt;/td&gt;
      &lt;td&gt;Long-term&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Highest-accuracy transcription&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Advanced AI models&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Ask Pocket&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Unlimited&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Speaker-name detection&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Custom templates&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Advanced exports&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Audio downloads&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Advanced integrations&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;For many users, the free plan may be enough.&lt;/p&gt;

&lt;p&gt;The biggest reason to purchase Pro is not additional recording minutes. It is the more advanced AI processing, integrations, exports, and long-term history.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;find-pocket&quot;&gt;Find Pocket&lt;/h2&gt;

&lt;p&gt;Because Pocket is small, losing it is a legitimate concern.&lt;/p&gt;

&lt;p&gt;Pocket added a &lt;strong&gt;Find Pocket&lt;/strong&gt; feature in 2026.&lt;/p&gt;

&lt;p&gt;Open:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settings &amp;gt; Find Pocket&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The feature can provide:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The last known location on a map&lt;/li&gt;
  &lt;li&gt;Bluetooth proximity guidance when nearby&lt;/li&gt;
  &lt;li&gt;Separation notifications when you leave Pocket behind&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a welcome addition for a device that can easily disappear into a bag, vehicle, office, or couch.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;privacy-and-storage&quot;&gt;Privacy and Storage&lt;/h2&gt;

&lt;p&gt;Pocket stores recordings on its 64GB internal storage and can synchronize them with Pocket’s cloud services.&lt;/p&gt;

&lt;p&gt;During setup, Pocket also provides a local-only storage option for users who do not want cloud synchronization.&lt;/p&gt;

&lt;p&gt;Because recordings may contain sensitive conversations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enable strong account security.&lt;/li&gt;
  &lt;li&gt;Keep the Pocket application updated.&lt;/li&gt;
  &lt;li&gt;Review cloud-storage settings.&lt;/li&gt;
  &lt;li&gt;Delete recordings that are no longer needed.&lt;/li&gt;
  &lt;li&gt;Be cautious with confidential business conversations.&lt;/li&gt;
  &lt;li&gt;Follow organizational recording policies.&lt;/li&gt;
  &lt;li&gt;Obtain consent before recording other people.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For particularly sensitive environments, review Pocket’s current privacy and data-processing policies before deploying the device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Pocket’s biggest advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Unlimited transcription on the free tier&lt;/li&gt;
  &lt;li&gt;No mandatory subscription&lt;/li&gt;
  &lt;li&gt;One-button recording&lt;/li&gt;
  &lt;li&gt;Phone-call and in-person recording&lt;/li&gt;
  &lt;li&gt;64GB internal storage&lt;/li&gt;
  &lt;li&gt;Offline recording&lt;/li&gt;
  &lt;li&gt;Multi-day battery life&lt;/li&gt;
  &lt;li&gt;Mobile, desktop, and web applications&lt;/li&gt;
  &lt;li&gt;Windows and macOS support&lt;/li&gt;
  &lt;li&gt;Meeting summaries and action items&lt;/li&gt;
  &lt;li&gt;Find Pocket functionality&lt;/li&gt;
  &lt;li&gt;Multiple synchronization methods&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The unlimited free transcription is especially attractive compared with competitors that impose relatively small monthly minute limits.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;Pocket still has a few drawbacks:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The free plan retains only 14 days of conversation history.&lt;/li&gt;
  &lt;li&gt;Advanced AI features require Pro.&lt;/li&gt;
  &lt;li&gt;Pro is relatively expensive at approximately $199 per year.&lt;/li&gt;
  &lt;li&gt;Transcription accuracy depends on recording quality.&lt;/li&gt;
  &lt;li&gt;Background noise and distance can affect results.&lt;/li&gt;
  &lt;li&gt;Cloud AI processing may not be appropriate for every organization.&lt;/li&gt;
  &lt;li&gt;The small device can be easy to misplace.&lt;/li&gt;
  &lt;li&gt;Dedicated hardware is unnecessary for people who rarely record conversations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The value depends heavily on how frequently you attend meetings or need to capture conversations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;is-pocket-worth-it&quot;&gt;Is Pocket Worth It?&lt;/h2&gt;

&lt;p&gt;For someone who regularly participates in meetings, phone calls, interviews, or detailed conversations, &lt;strong&gt;Pocket is one of the more interesting AI recorders available&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The biggest advantage is its free core experience.&lt;/p&gt;

&lt;p&gt;Many competing devices provide good hardware but make the recorder significantly less useful without a recurring subscription. Pocket’s unlimited transcription allows you to continue using the core recording and note-taking functionality without paying every month.&lt;/p&gt;

&lt;p&gt;I would start with the free plan.&lt;/p&gt;

&lt;p&gt;Use Pocket for several weeks and determine whether you actually need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Permanent conversation history&lt;/li&gt;
  &lt;li&gt;More powerful AI models&lt;/li&gt;
  &lt;li&gt;Advanced exports&lt;/li&gt;
  &lt;li&gt;Speaker identification&lt;/li&gt;
  &lt;li&gt;Custom templates&lt;/li&gt;
  &lt;li&gt;Deeper integrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If those features become important, Pro is available. If not, the hardware remains useful without it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pocket combines simple hardware with a surprisingly capable AI companion platform.&lt;/p&gt;

&lt;p&gt;The ability to press one button, record an entire conversation, and later receive a transcript, summary, action items, and searchable notes makes it useful for anyone who spends a significant amount of time in meetings or on calls.&lt;/p&gt;

&lt;p&gt;The strongest selling point is the unlimited transcription included with the free plan. While Pocket Pro adds valuable advanced features, the device does not become useless if you decide not to maintain another subscription.&lt;/p&gt;

&lt;p&gt;For that reason, Pocket is particularly compelling for users who want an AI recorder but are tired of paying recurring fees simply to transcribe their own recordings.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Pocket is more than a traditional digital voice recorder. Its hardware captures conversations while its companion software turns those recordings into organized and searchable information.&lt;/p&gt;

&lt;p&gt;With support for in-person meetings, phone calls, desktop meetings, mobile devices, Windows, macOS, and web access, Pocket can fit into a wide range of workflows.&lt;/p&gt;

&lt;p&gt;The optional Pro subscription provides more advanced AI capabilities, but the unlimited free transcription makes the core device useful on its own. For frequent meetings and phone calls, Pocket is an excellent AI note-taking companion.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://heypocket.com/&quot;&gt;Pocket Official Website&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.heypocketai.com/docs&quot;&gt;Pocket Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.heypocketai.com/docs/getting-started/download-app&quot;&gt;Download the Pocket App&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.heypocketai.com/docs/features/device/pocket-web-sync&quot;&gt;Pocket Web Sync&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/pocket-ai-personal-assistant/id6746845735&quot;&gt;Pocket App for iPhone&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.heypocket.app&quot;&gt;Pocket App for Android&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 12 Sep 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/reviews/pocket-ai-recorder/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/reviews/pocket-ai-recorder/</guid>
        
        <category>pocket-ai</category>
        
        <category>ai</category>
        
        <category>voice-recorder</category>
        
        <category>transcription</category>
        
        <category>productivity</category>
        
        
        <category>Other</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>BlueStacks Air on Mac Review and Setup</title>
        <description>&lt;p&gt;BlueStacks Air provides an Android environment that runs directly on modern Apple Silicon Macs. It allows Mac users to install Android applications, access Google Play, play Android games, and use applications that may not have native macOS versions.&lt;/p&gt;

&lt;p&gt;One particularly useful example is running Android-only companion applications, such as TiviMate Companion, when you own Google TV devices but do not have an Android phone or tablet.&lt;/p&gt;

&lt;p&gt;In this blog post, we will install and configure BlueStacks Air on a Mac and review whether it is a useful Android emulator!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#system-requirements&quot; id=&quot;markdown-toc-system-requirements&quot;&gt;System Requirements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-bluestacks-air&quot; id=&quot;markdown-toc-install-bluestacks-air&quot;&gt;Install BlueStacks Air&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sign-in-to-google-play&quot; id=&quot;markdown-toc-sign-in-to-google-play&quot;&gt;Sign In to Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-configuration&quot; id=&quot;markdown-toc-recommended-configuration&quot;&gt;Recommended Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-settings&quot; id=&quot;markdown-toc-performance-settings&quot;&gt;Performance Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#display-settings&quot; id=&quot;markdown-toc-display-settings&quot;&gt;Display Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-android-apps&quot; id=&quot;markdown-toc-install-android-apps&quot;&gt;Install Android Apps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-files-between-android-and-mac&quot; id=&quot;markdown-toc-transfer-files-between-android-and-mac&quot;&gt;Transfer Files Between Android and Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#multiple-android-instances&quot; id=&quot;markdown-toc-multiple-android-instances&quot;&gt;Multiple Android Instances&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#useful-example-tivimate-companion&quot; id=&quot;markdown-toc-useful-example-tivimate-companion&quot;&gt;Useful Example: TiviMate Companion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-considerations&quot; id=&quot;markdown-toc-security-considerations&quot;&gt;Security Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;system-requirements&quot;&gt;System Requirements&lt;/h2&gt;

&lt;p&gt;BlueStacks Air is designed for Apple Silicon Macs.&lt;/p&gt;

&lt;p&gt;The official requirements include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;macOS 11 Big Sur or newer&lt;/li&gt;
  &lt;li&gt;Apple Silicon processor&lt;/li&gt;
  &lt;li&gt;At least 8GB of RAM&lt;/li&gt;
  &lt;li&gt;16GB of RAM recommended&lt;/li&gt;
  &lt;li&gt;At least 12GB of available storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before installing, confirm your Mac information from:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Apple Menu &amp;gt; About This Mac&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Intel-based Mac owners should verify compatibility before installing because the current BlueStacks Air release is focused on Apple Silicon.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-bluestacks-air&quot;&gt;Install BlueStacks Air&lt;/h2&gt;

&lt;p&gt;Download BlueStacks Air from the &lt;a href=&quot;https://www.bluestacks.com/mac&quot;&gt;official BlueStacks Mac page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;After downloading:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the downloaded &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pkg&lt;/code&gt; installer.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Continue&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Follow the macOS installation prompts.&lt;/li&gt;
  &lt;li&gt;Launch &lt;strong&gt;BlueStacks Air&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Allow any required macOS permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Depending on how you use BlueStacks, macOS may request permissions such as Accessibility access for keyboard, mouse, or game-control functionality.&lt;/p&gt;

&lt;p&gt;Only enable permissions required for the features you intend to use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sign-in-to-google-play&quot;&gt;Sign In to Google Play&lt;/h2&gt;

&lt;p&gt;To install normal Android applications:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Launch BlueStacks Air.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;System Apps&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Google Play Store&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Sign in&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Enter your Google account.&lt;/li&gt;
  &lt;li&gt;Complete two-factor authentication if enabled.&lt;/li&gt;
  &lt;li&gt;Accept the Google Play terms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once signed in, BlueStacks behaves much like an Android tablet for application installation.&lt;/p&gt;

&lt;p&gt;You can search Google Play and install applications normally.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-configuration&quot;&gt;Recommended Configuration&lt;/h2&gt;

&lt;p&gt;Open BlueStacks settings using the gear icon.&lt;/p&gt;

&lt;p&gt;The primary areas are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Performance&lt;/li&gt;
  &lt;li&gt;Display&lt;/li&gt;
  &lt;li&gt;Graphics&lt;/li&gt;
  &lt;li&gt;Preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For normal Android applications, you usually do not need to allocate excessive resources.&lt;/p&gt;

&lt;p&gt;A reasonable starting point on a Mac with 16GB or more of RAM is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;4 CPU cores&lt;/li&gt;
  &lt;li&gt;4GB RAM&lt;/li&gt;
  &lt;li&gt;Balanced performance&lt;/li&gt;
  &lt;li&gt;1920×1080 resolution&lt;/li&gt;
  &lt;li&gt;240 DPI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For demanding games, additional RAM or CPU resources may improve performance.&lt;/p&gt;

&lt;p&gt;Avoid assigning all available Mac resources to BlueStacks. macOS still needs sufficient CPU and memory for normal operation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-settings&quot;&gt;Performance Settings&lt;/h2&gt;

&lt;p&gt;Under &lt;strong&gt;Settings &amp;gt; Performance&lt;/strong&gt;, BlueStacks allows you to adjust:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;CPU allocation&lt;/li&gt;
  &lt;li&gt;Memory allocation&lt;/li&gt;
  &lt;li&gt;Performance mode&lt;/li&gt;
  &lt;li&gt;Frame-rate options&lt;/li&gt;
  &lt;li&gt;FPS display&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use &lt;strong&gt;Balanced&lt;/strong&gt; mode for normal Android applications.&lt;/p&gt;

&lt;p&gt;Use &lt;strong&gt;High Performance&lt;/strong&gt; when running demanding games or applications and your Mac has sufficient resources.&lt;/p&gt;

&lt;p&gt;If BlueStacks becomes sluggish, increasing the RAM allocation may help. If macOS itself becomes slow, reduce the resources allocated to BlueStacks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;display-settings&quot;&gt;Display Settings&lt;/h2&gt;

&lt;p&gt;Under &lt;strong&gt;Settings &amp;gt; Display&lt;/strong&gt;, you can adjust:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Screen resolution&lt;/li&gt;
  &lt;li&gt;Orientation&lt;/li&gt;
  &lt;li&gt;Pixel density&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Higher resolutions provide a sharper Android interface but require more system resources.&lt;/p&gt;

&lt;p&gt;For normal applications, Full HD resolution provides a good balance between image quality and performance.&lt;/p&gt;

&lt;p&gt;If an Android application appears unusually small or large, adjusting the DPI may improve the interface.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-android-apps&quot;&gt;Install Android Apps&lt;/h2&gt;

&lt;p&gt;The easiest method is through Google Play.&lt;/p&gt;

&lt;p&gt;Open:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Apps &amp;gt; Google Play Store&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Search for the application and select &lt;strong&gt;Install&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is useful for Android-only applications such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;TiviMate Companion&lt;/li&gt;
  &lt;li&gt;Mobile utilities&lt;/li&gt;
  &lt;li&gt;Android games&lt;/li&gt;
  &lt;li&gt;Device-management applications&lt;/li&gt;
  &lt;li&gt;Testing applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not every Android application will work perfectly in an emulator. Some applications may block emulators or depend on hardware that BlueStacks cannot emulate.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-files-between-android-and-mac&quot;&gt;Transfer Files Between Android and Mac&lt;/h2&gt;

&lt;p&gt;BlueStacks Air includes a Media Manager for transferring files between macOS and the Android environment.&lt;/p&gt;

&lt;p&gt;Open:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Apps &amp;gt; Media Manager&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To copy a file from your Mac:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select &lt;strong&gt;Import From Mac&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Browse to the file.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Open&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also drag files directly into Media Manager.&lt;/p&gt;

&lt;p&gt;To copy a file back to macOS:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the file in Media Manager.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Export to Mac&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose the destination.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Images&lt;/li&gt;
  &lt;li&gt;Videos&lt;/li&gt;
  &lt;li&gt;Audio&lt;/li&gt;
  &lt;li&gt;Downloads&lt;/li&gt;
  &lt;li&gt;Application-generated files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;multiple-android-instances&quot;&gt;Multiple Android Instances&lt;/h2&gt;

&lt;p&gt;BlueStacks Air includes a Multi-instance Manager.&lt;/p&gt;

&lt;p&gt;This allows you to create separate Android environments with different:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Google accounts&lt;/li&gt;
  &lt;li&gt;Applications&lt;/li&gt;
  &lt;li&gt;CPU allocations&lt;/li&gt;
  &lt;li&gt;Memory settings&lt;/li&gt;
  &lt;li&gt;Resolutions&lt;/li&gt;
  &lt;li&gt;DPI settings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can create either:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A &lt;strong&gt;Fresh instance&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;strong&gt;Clone instance&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A cloned instance copies the applications and settings from an existing environment.&lt;/p&gt;

&lt;p&gt;Multiple instances are useful for testing or maintaining separate Android configurations, but each running instance consumes additional Mac resources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;useful-example-tivimate-companion&quot;&gt;Useful Example: TiviMate Companion&lt;/h2&gt;

&lt;p&gt;One of the reasons I use BlueStacks Air is to access Android applications that otherwise are not available on macOS.&lt;/p&gt;

&lt;p&gt;TiviMate Companion is a good example.&lt;/p&gt;

&lt;p&gt;A Mac user can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install BlueStacks Air.&lt;/li&gt;
  &lt;li&gt;Sign in to Google Play.&lt;/li&gt;
  &lt;li&gt;Install TiviMate Companion.&lt;/li&gt;
  &lt;li&gt;Create or access a TiviMate account.&lt;/li&gt;
  &lt;li&gt;Purchase or manage TiviMate Premium.&lt;/li&gt;
  &lt;li&gt;Manage activated Google TV devices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once the Android-only task is complete, TiviMate itself continues running normally on the Google TV or onn streaming device.&lt;/p&gt;

&lt;p&gt;BlueStacks does not need to remain running.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;For normal applications, BlueStacks Air performs very well on Apple Silicon.&lt;/p&gt;

&lt;p&gt;Applications launch quickly, navigation is smooth, and Google Play integration makes the environment feel similar to using a physical Android tablet.&lt;/p&gt;

&lt;p&gt;More demanding games will depend heavily on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mac model&lt;/li&gt;
  &lt;li&gt;Available RAM&lt;/li&gt;
  &lt;li&gt;CPU allocation&lt;/li&gt;
  &lt;li&gt;Graphics settings&lt;/li&gt;
  &lt;li&gt;Resolution&lt;/li&gt;
  &lt;li&gt;Application compatibility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BlueStacks continues to receive performance and compatibility updates, so keeping the application current is recommended.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;BlueStacks Air provides several useful advantages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Free to use&lt;/li&gt;
  &lt;li&gt;Designed for Apple Silicon&lt;/li&gt;
  &lt;li&gt;Access to Google Play&lt;/li&gt;
  &lt;li&gt;Runs Android-only applications&lt;/li&gt;
  &lt;li&gt;Adjustable CPU and RAM&lt;/li&gt;
  &lt;li&gt;Multiple Android instances&lt;/li&gt;
  &lt;li&gt;File transfers between Android and Mac&lt;/li&gt;
  &lt;li&gt;Keyboard and trackpad support&lt;/li&gt;
  &lt;li&gt;Gamepad support&lt;/li&gt;
  &lt;li&gt;Good performance on modern Macs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ability to run a single Android-only utility without buying another device is particularly valuable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;There are also some limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Requires Apple Silicon&lt;/li&gt;
  &lt;li&gt;Uses substantial RAM when running&lt;/li&gt;
  &lt;li&gt;Some Android apps detect and block emulators&lt;/li&gt;
  &lt;li&gt;Not every application is compatible&lt;/li&gt;
  &lt;li&gt;High-performance games can use considerable CPU and battery&lt;/li&gt;
  &lt;li&gt;Google account authentication occurs inside the emulator&lt;/li&gt;
  &lt;li&gt;Some hardware-specific Android applications will not work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BlueStacks is best treated as an additional Android environment rather than a complete replacement for a physical Android device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-considerations&quot;&gt;Security Considerations&lt;/h2&gt;

&lt;p&gt;Because BlueStacks can contain your Google account and Android applications:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Download BlueStacks only from the official website.&lt;/li&gt;
  &lt;li&gt;Enable two-factor authentication on your Google account.&lt;/li&gt;
  &lt;li&gt;Keep BlueStacks updated.&lt;/li&gt;
  &lt;li&gt;Avoid installing APK files from unknown sources.&lt;/li&gt;
  &lt;li&gt;Review Android application permissions.&lt;/li&gt;
  &lt;li&gt;Remove unused Google accounts.&lt;/li&gt;
  &lt;li&gt;Do not store unnecessary sensitive information inside the emulator.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If BlueStacks is only being used temporarily for a specific application, you can also remove the Google account afterward.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;BlueStacks Air is an excellent option for Apple Silicon Mac users who occasionally need access to Android.&lt;/p&gt;

&lt;p&gt;Its Google Play integration, strong Apple Silicon performance, adjustable resources, file-transfer capabilities, and Multi-instance Manager make it useful for much more than gaming.&lt;/p&gt;

&lt;p&gt;For my use case, its biggest advantage is straightforward: &lt;strong&gt;it eliminates the need to own an Android phone just to access Android-only applications.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;BlueStacks Air provides one of the easiest ways to run Android applications on an Apple Silicon Mac.&lt;/p&gt;

&lt;p&gt;Installation is straightforward, Google Play works much like it does on a physical Android device, and the available performance settings provide enough flexibility for everything from simple utility applications to Android gaming.&lt;/p&gt;

&lt;p&gt;Mac users who occasionally encounter Android-only applications should consider keeping BlueStacks Air available as a useful compatibility tool.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.bluestacks.com/mac&quot;&gt;BlueStacks Air for Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.bluestacks.com/hc/en-us/articles/32272913555597-System-specifications-for-installing-BlueStacks-Air&quot;&gt;BlueStacks Air System Requirements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.bluestacks.com/hc/en-us/articles/32272893259533-How-to-use-the-Settings-Menu-on-BlueStacks-Air&quot;&gt;BlueStacks Air Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.bluestacks.com/hc/en-us/articles/34711762593037-How-to-create-and-manage-instances-using-the-Multi-instance-Manager-on-BlueStacks-Air&quot;&gt;BlueStacks Air Multi-instance Manager&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.bluestacks.com/hc/en-us/articles/33603404995725-How-to-transfer-files-using-the-Media-Manager-on-BlueStacks-Air&quot;&gt;BlueStacks Air Media Manager&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.bluestacks.com/hc/en-us/articles/32646860057357-Release-Notes-BlueStacks-Air&quot;&gt;BlueStacks Air Release Notes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 05 Sep 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/reviews/bluestacks-air-mac-setup/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/reviews/bluestacks-air-mac-setup/</guid>
        
        <category>bluestacks</category>
        
        <category>android</category>
        
        <category>macos</category>
        
        <category>apple-silicon</category>
        
        <category>emulator</category>
        
        
        <category>macOS</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>TiviMate Free vs. Premium</title>
        <description>&lt;p&gt;TiviMate is a media player designed specifically for televisions running Android TV or Google TV. It provides a traditional cable-style interface for playlists, live channels, television guides, movies, and shows.&lt;/p&gt;

&lt;p&gt;The application works particularly well on devices such as the &lt;strong&gt;onn 4K Pro&lt;/strong&gt;, Google TV Streamer, NVIDIA Shield, and other Android TV devices.&lt;/p&gt;

&lt;p&gt;The free version is useful for testing TiviMate, but Premium unlocks most of the features that make the application stand out.&lt;/p&gt;

&lt;p&gt;In this blog post, we will compare TiviMate Free and Premium and determine whether the upgrade is worth it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-tivimate&quot; id=&quot;markdown-toc-what-is-tivimate&quot;&gt;What Is TiviMate?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#free-vs-premium&quot; id=&quot;markdown-toc-free-vs-premium&quot;&gt;Free vs. Premium&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#multiple-playlists&quot; id=&quot;markdown-toc-multiple-playlists&quot;&gt;Multiple Playlists&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recording&quot; id=&quot;markdown-toc-recording&quot;&gt;Recording&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#catch-up&quot; id=&quot;markdown-toc-catch-up&quot;&gt;Catch-Up&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#multiview&quot; id=&quot;markdown-toc-multiview&quot;&gt;Multiview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#customization&quot; id=&quot;markdown-toc-customization&quot;&gt;Customization&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#backup-and-restore&quot; id=&quot;markdown-toc-backup-and-restore&quot;&gt;Backup and Restore&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#parental-controls&quot; id=&quot;markdown-toc-parental-controls&quot;&gt;Parental Controls&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#premium-purchase-options&quot; id=&quot;markdown-toc-premium-purchase-options&quot;&gt;Premium Purchase Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-premium-on-multiple-tvs&quot; id=&quot;markdown-toc-using-premium-on-multiple-tvs&quot;&gt;Using Premium on Multiple TVs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#apple-users&quot; id=&quot;markdown-toc-apple-users&quot;&gt;Apple Users&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#is-premium-worth-it&quot; id=&quot;markdown-toc-is-premium-worth-it&quot;&gt;Is Premium Worth It?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-tivimate&quot;&gt;What Is TiviMate?&lt;/h2&gt;

&lt;p&gt;TiviMate is a &lt;strong&gt;media player only&lt;/strong&gt;. It does not provide television channels, movies, sports, or streaming subscriptions.&lt;/p&gt;

&lt;p&gt;You must supply your own legitimate playlist or service.&lt;/p&gt;

&lt;p&gt;TiviMate supports common playlist formats including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;M3U&lt;/li&gt;
  &lt;li&gt;Xtream Codes&lt;/li&gt;
  &lt;li&gt;Stalker Portal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once configured, TiviMate presents the content through a polished television interface with an electronic program guide, favorites, search, and other viewing controls.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;free-vs-premium&quot;&gt;Free vs. Premium&lt;/h2&gt;

&lt;p&gt;The free version provides basic functionality and is useful for determining whether TiviMate works well with your device and playlist.&lt;/p&gt;

&lt;p&gt;Premium unlocks the advanced features.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;Free&lt;/th&gt;
      &lt;th&gt;Premium&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Basic playlist playback&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;TV Guide / EPG&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Multiple playlists&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Favorites management&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Recording&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Catch-up&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Multiview&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Parental controls&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Backup and restore&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Advanced customization&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Auto Frame Rate&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Custom channel/group organization&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;For casual testing, Free is sufficient.&lt;/p&gt;

&lt;p&gt;For regular daily use, Premium provides a much better experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;multiple-playlists&quot;&gt;Multiple Playlists&lt;/h2&gt;

&lt;p&gt;One of the biggest Premium advantages is the ability to manage multiple playlists.&lt;/p&gt;

&lt;p&gt;This is useful if you have separate legitimate sources for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Live television&lt;/li&gt;
  &lt;li&gt;Local channels&lt;/li&gt;
  &lt;li&gt;Specialty content&lt;/li&gt;
  &lt;li&gt;Personal media&lt;/li&gt;
  &lt;li&gt;Different households or locations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;TiviMate can combine and organize these sources inside the same interface rather than requiring a separate player for each one.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recording&quot;&gt;Recording&lt;/h2&gt;

&lt;p&gt;Premium enables TiviMate’s recording functionality.&lt;/p&gt;

&lt;p&gt;Recordings can be stored on compatible:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Internal storage&lt;/li&gt;
  &lt;li&gt;USB storage&lt;/li&gt;
  &lt;li&gt;Network storage&lt;/li&gt;
  &lt;li&gt;SMB network shares&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This can turn a device such as an onn 4K Pro into a basic DVR-style system.&lt;/p&gt;

&lt;p&gt;Recording reliability still depends on the quality of the source stream, available storage, network connection, and the number of simultaneous streams permitted by the service.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;catch-up&quot;&gt;Catch-Up&lt;/h2&gt;

&lt;p&gt;Catch-up allows you to watch previously aired programs when the underlying playlist or service supports that capability.&lt;/p&gt;

&lt;p&gt;Instead of manually searching for a replay, available past programming can be accessed through the TiviMate television guide.&lt;/p&gt;

&lt;p&gt;The source itself must provide catch-up data. Purchasing TiviMate Premium does not automatically add catch-up programming.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;multiview&quot;&gt;Multiview&lt;/h2&gt;

&lt;p&gt;Premium also includes &lt;strong&gt;Multiview&lt;/strong&gt;, which allows multiple channels to appear on the screen at the same time.&lt;/p&gt;

&lt;p&gt;This can be useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sports&lt;/li&gt;
  &lt;li&gt;News&lt;/li&gt;
  &lt;li&gt;Multiple live events&lt;/li&gt;
  &lt;li&gt;Monitoring several channels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Performance depends on the streaming device and the number of simultaneous connections your source permits.&lt;/p&gt;

&lt;p&gt;More powerful devices generally handle Multiview better.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;customization&quot;&gt;Customization&lt;/h2&gt;

&lt;p&gt;Premium unlocks much more control over the TiviMate interface.&lt;/p&gt;

&lt;p&gt;You can customize areas such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Channel groups&lt;/li&gt;
  &lt;li&gt;Channel ordering&lt;/li&gt;
  &lt;li&gt;Favorites&lt;/li&gt;
  &lt;li&gt;TV Guide appearance&lt;/li&gt;
  &lt;li&gt;Panel transparency&lt;/li&gt;
  &lt;li&gt;Logos&lt;/li&gt;
  &lt;li&gt;EPG behavior&lt;/li&gt;
  &lt;li&gt;Playback settings&lt;/li&gt;
  &lt;li&gt;Channel names&lt;/li&gt;
  &lt;li&gt;Group names&lt;/li&gt;
  &lt;li&gt;Remote-control actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This customization is a major reason TiviMate feels more like a traditional cable or satellite television interface than a basic playlist player.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;backup-and-restore&quot;&gt;Backup and Restore&lt;/h2&gt;

&lt;p&gt;Premium also includes configuration backup and restore.&lt;/p&gt;

&lt;p&gt;This is extremely useful after spending time organizing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Favorites&lt;/li&gt;
  &lt;li&gt;Channel groups&lt;/li&gt;
  &lt;li&gt;EPG settings&lt;/li&gt;
  &lt;li&gt;Appearance&lt;/li&gt;
  &lt;li&gt;Remote-control settings&lt;/li&gt;
  &lt;li&gt;Playback options&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can create a backup from:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settings &amp;gt; General &amp;gt; Backup data&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;On another TiviMate device, restore it through:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settings &amp;gt; General &amp;gt; Restore data&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is particularly useful when replacing an older streaming device or configuring multiple onn Google TV boxes.&lt;/p&gt;

&lt;p&gt;Keep the backup file somewhere outside the streaming device so it is not lost during a factory reset or hardware failure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;parental-controls&quot;&gt;Parental Controls&lt;/h2&gt;

&lt;p&gt;Premium includes parental controls that can be used to restrict access to selected content or application areas.&lt;/p&gt;

&lt;p&gt;This is useful on shared family streaming devices where children also have access to TiviMate.&lt;/p&gt;

&lt;p&gt;Use a PIN that children cannot easily guess and keep the code somewhere secure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;premium-purchase-options&quot;&gt;Premium Purchase Options&lt;/h2&gt;

&lt;p&gt;TiviMate currently provides:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Auto-renewing subscription options&lt;/li&gt;
  &lt;li&gt;A one-time lifetime purchase&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lifetime option requires one payment and does not automatically renew.&lt;/p&gt;

&lt;p&gt;Pricing can vary by country, platform, and purchase method, so check the current price directly in TiviMate or through the official TiviMate website before purchasing.&lt;/p&gt;

&lt;p&gt;If you expect to use TiviMate for several years, the lifetime option may provide better long-term value than repeatedly renewing an annual subscription.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-premium-on-multiple-tvs&quot;&gt;Using Premium on Multiple TVs&lt;/h2&gt;

&lt;p&gt;A Premium account can be used to activate multiple supported devices according to the device limit associated with the license.&lt;/p&gt;

&lt;p&gt;This makes Premium particularly useful in a home with several Google TV devices.&lt;/p&gt;

&lt;p&gt;For example, you could use TiviMate on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Living room onn 4K Pro&lt;/li&gt;
  &lt;li&gt;Bedroom onn 4K&lt;/li&gt;
  &lt;li&gt;Basement Google TV&lt;/li&gt;
  &lt;li&gt;Office Android TV device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The TiviMate Companion application can also be used to manage activated devices when necessary.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;apple-users&quot;&gt;Apple Users&lt;/h2&gt;

&lt;p&gt;TiviMate itself is designed for Android TV-style devices rather than iPhones, iPads, or Apple TV.&lt;/p&gt;

&lt;p&gt;Apple users who have a Google TV device but do not own an Android phone may encounter an additional challenge when purchasing or managing Premium.&lt;/p&gt;

&lt;p&gt;One workaround is to install &lt;strong&gt;BlueStacks on a Mac&lt;/strong&gt;, open Google Play inside the Android emulator, and install TiviMate Companion.&lt;/p&gt;

&lt;p&gt;I cover that process separately in the guide:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Purchase TiviMate Premium on a Mac&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;is-premium-worth-it&quot;&gt;Is Premium Worth It?&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Yes, if TiviMate is going to be your primary television player.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The free version is best treated as a way to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Test your playlist.&lt;/li&gt;
  &lt;li&gt;Confirm device compatibility.&lt;/li&gt;
  &lt;li&gt;Evaluate the interface.&lt;/li&gt;
  &lt;li&gt;Check playback quality.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Premium turns TiviMate into a much more complete television platform.&lt;/p&gt;

&lt;p&gt;The most valuable Premium features are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Multiple playlists&lt;/li&gt;
  &lt;li&gt;Recording&lt;/li&gt;
  &lt;li&gt;Catch-up&lt;/li&gt;
  &lt;li&gt;Multiview&lt;/li&gt;
  &lt;li&gt;Backup and restore&lt;/li&gt;
  &lt;li&gt;Parental controls&lt;/li&gt;
  &lt;li&gt;Advanced customization&lt;/li&gt;
  &lt;li&gt;Better channel and group management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you only occasionally open a single playlist, Free may be enough.&lt;/p&gt;

&lt;p&gt;If you use TiviMate every day, Premium is worth considering.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Free: 7/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Premium: 9.5/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The free version works well as an introduction but leaves many of TiviMate’s best features unavailable.&lt;/p&gt;

&lt;p&gt;Premium is where the application really shines. On an affordable Google TV device such as the onn 4K Pro, TiviMate Premium provides a polished television interface, strong customization, recording capabilities, multiple playlists, and convenient backup and restore.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;TiviMate Free is a good way to test the application before spending money, but Premium provides the experience most regular users will want.&lt;/p&gt;

&lt;p&gt;Features such as recording, catch-up, multiple playlists, multiview, parental controls, advanced customization, and configuration backup make Premium considerably more capable.&lt;/p&gt;

&lt;p&gt;Remember that TiviMate is only a media player. Purchasing Premium unlocks application features but does not provide channels, movies, sports, or any other media content.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://tivimate.com/&quot;&gt;TiviMate Official Website&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=ar.tvplayer.tv&quot;&gt;TiviMate IPTV Player on Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=ar.tvplayer.companion&quot;&gt;TiviMate Companion on Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://tivimate.com/terms-of-use&quot;&gt;TiviMate Terms of Use&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 29 Aug 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/reviews/tivimate-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/reviews/tivimate-review/</guid>
        
        <category>tivimate</category>
        
        <category>google-tv</category>
        
        <category>onn</category>
        
        <category>android-tv</category>
        
        
        <category>Other</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Monet Launcher Review: Free vs. Premium</title>
        <description>&lt;p&gt;The default Google TV interface works well, but it dedicates a significant amount of screen space to recommendations, featured content, and promotional material.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monet Launcher&lt;/strong&gt; replaces that interface with a cleaner home screen focused on your applications, wallpapers, widgets, and preferred content. It works on Google TV and Android TV devices, including Walmart’s onn streaming devices.&lt;/p&gt;

&lt;p&gt;The free version is already surprisingly capable, while Premium primarily unlocks additional customization for users who want more control over how their TV looks and behaves.&lt;/p&gt;

&lt;p&gt;In this blog post, we will compare the free and Premium versions of Monet Launcher, review its features and customization options, and determine whether it is a good alternative launcher for Google TV devices such as the onn 4K Pro.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-monet-launcher&quot; id=&quot;markdown-toc-what-is-monet-launcher&quot;&gt;What Is Monet Launcher?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-it-on-an-onn-streaming-device&quot; id=&quot;markdown-toc-why-use-it-on-an-onn-streaming-device&quot;&gt;Why Use It on an onn Streaming Device?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monet-free&quot; id=&quot;markdown-toc-monet-free&quot;&gt;Monet Free&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monet-premium&quot; id=&quot;markdown-toc-monet-premium&quot;&gt;Monet Premium&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#free-vs-premium&quot; id=&quot;markdown-toc-free-vs-premium&quot;&gt;Free vs. Premium&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#premium-pricing&quot; id=&quot;markdown-toc-premium-pricing&quot;&gt;Premium Pricing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#setting-monet-as-your-home-screen&quot; id=&quot;markdown-toc-setting-monet-as-your-home-screen&quot;&gt;Setting Monet as Your Home Screen&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#customization&quot; id=&quot;markdown-toc-customization&quot;&gt;Customization&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#backup-and-restore-monet-to-another-tv&quot; id=&quot;markdown-toc-backup-and-restore-monet-to-another-tv&quot;&gt;Backup and Restore Monet to Another TV&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#create-a-setup-code&quot; id=&quot;markdown-toc-create-a-setup-code&quot;&gt;Create a Setup Code&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#restore-the-setup-on-the-new-tv&quot; id=&quot;markdown-toc-restore-the-setup-on-the-new-tv&quot;&gt;Restore the Setup on the New TV&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#wallpaper-consideration&quot; id=&quot;markdown-toc-wallpaper-consideration&quot;&gt;Wallpaper Consideration&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#traditional-backup-and-restore&quot; id=&quot;markdown-toc-traditional-backup-and-restore&quot;&gt;Traditional Backup and Restore&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#privacy&quot; id=&quot;markdown-toc-privacy&quot;&gt;Privacy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#is-premium-worth-it&quot; id=&quot;markdown-toc-is-premium-worth-it&quot;&gt;Is Premium Worth It?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-monet-launcher&quot;&gt;What Is Monet Launcher?&lt;/h2&gt;

&lt;p&gt;Monet Launcher is an alternative home-screen application for Android TV and Google TV.&lt;/p&gt;

&lt;p&gt;Instead of the standard Google TV interface, Monet can provide:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A cleaner application-focused home screen&lt;/li&gt;
  &lt;li&gt;No advertisements or sponsored rows&lt;/li&gt;
  &lt;li&gt;Material You styling&lt;/li&gt;
  &lt;li&gt;Dynamic colors based on the wallpaper&lt;/li&gt;
  &lt;li&gt;Custom application rows&lt;/li&gt;
  &lt;li&gt;Continue Watching integration&lt;/li&gt;
  &lt;li&gt;Widgets&lt;/li&gt;
  &lt;li&gt;Live wallpapers&lt;/li&gt;
  &lt;li&gt;Application folders&lt;/li&gt;
  &lt;li&gt;Hidden applications&lt;/li&gt;
  &lt;li&gt;A favorites dock&lt;/li&gt;
  &lt;li&gt;Screensaver options&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is designed specifically for televisions and works well with a remote and D-pad.&lt;/p&gt;

&lt;p&gt;The launcher officially supports Android TV 8.0 and newer, including devices such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;onn 4K and 4K Pro&lt;/li&gt;
  &lt;li&gt;Google TV Streamer&lt;/li&gt;
  &lt;li&gt;Chromecast with Google TV&lt;/li&gt;
  &lt;li&gt;NVIDIA Shield&lt;/li&gt;
  &lt;li&gt;Xiaomi Mi Box&lt;/li&gt;
  &lt;li&gt;Sony Google TV&lt;/li&gt;
  &lt;li&gt;TCL Google TV&lt;/li&gt;
  &lt;li&gt;Hisense Google TV&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-it-on-an-onn-streaming-device&quot;&gt;Why Use It on an onn Streaming Device?&lt;/h2&gt;

&lt;p&gt;The onn streaming devices provide excellent hardware for the price, but they still use Google’s standard Google TV home screen.&lt;/p&gt;

&lt;p&gt;Installing Monet allows you to keep the benefits of the onn device while replacing the home screen with something much simpler.&lt;/p&gt;

&lt;p&gt;Instead of turning on the TV and seeing large content recommendations, you can create a home screen centered around applications such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;TiviMate&lt;/li&gt;
  &lt;li&gt;Plex&lt;/li&gt;
  &lt;li&gt;Jellyfin&lt;/li&gt;
  &lt;li&gt;YouTube&lt;/li&gt;
  &lt;li&gt;Netflix&lt;/li&gt;
  &lt;li&gt;Disney+&lt;/li&gt;
  &lt;li&gt;Prime Video&lt;/li&gt;
  &lt;li&gt;Spotify&lt;/li&gt;
  &lt;li&gt;Kodi&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes an onn 4K or 4K Pro feel considerably more personalized.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monet-free&quot;&gt;Monet Free&lt;/h2&gt;

&lt;p&gt;The free version is more than a basic trial.&lt;/p&gt;

&lt;p&gt;Core functionality includes an ad-free launcher, Material You styling, dynamic colors, application organization, widgets, and many of the features necessary to replace the normal Google TV home screen.&lt;/p&gt;

&lt;p&gt;The launcher also includes live weather and ambient wallpaper options, including scenes that can react to local weather and time of day.&lt;/p&gt;

&lt;p&gt;Other available functionality includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Continue Watching integration&lt;/li&gt;
  &lt;li&gt;Live TV and HDMI rows on compatible devices&lt;/li&gt;
  &lt;li&gt;Application folders&lt;/li&gt;
  &lt;li&gt;Hidden applications&lt;/li&gt;
  &lt;li&gt;Adjustable application grids&lt;/li&gt;
  &lt;li&gt;Clock and date widgets&lt;/li&gt;
  &lt;li&gt;Weather information&lt;/li&gt;
  &lt;li&gt;Network and Bluetooth status&lt;/li&gt;
  &lt;li&gt;Now Playing controls&lt;/li&gt;
  &lt;li&gt;Light and dark themes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No mandatory Monet account&lt;/li&gt;
  &lt;li&gt;No advertising&lt;/li&gt;
  &lt;li&gt;No sponsored content&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For someone who simply wants to remove the clutter from Google TV, the &lt;strong&gt;free version may be all that is necessary&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monet-premium&quot;&gt;Monet Premium&lt;/h2&gt;

&lt;p&gt;Premium is intended more for users who want to extensively customize the launcher.&lt;/p&gt;

&lt;p&gt;The developer describes Premium as unlocking the advanced customization features available within Monet.&lt;/p&gt;

&lt;p&gt;Depending on the current version, these can include additional control over areas such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Wallpapers and backgrounds&lt;/li&gt;
  &lt;li&gt;Colors and themes&lt;/li&gt;
  &lt;li&gt;Application appearance&lt;/li&gt;
  &lt;li&gt;Custom rows&lt;/li&gt;
  &lt;li&gt;Icons and tile styles&lt;/li&gt;
  &lt;li&gt;Screensaver customization&lt;/li&gt;
  &lt;li&gt;Profiles&lt;/li&gt;
  &lt;li&gt;Layout options&lt;/li&gt;
  &lt;li&gt;Advanced launcher behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Monet is also being actively developed, so new customization options are being added frequently.&lt;/p&gt;

&lt;p&gt;Because the feature set changes fairly quickly, check:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monet &amp;gt; Settings &amp;gt; Premium&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;before purchasing to see exactly which options are currently included with Premium.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;free-vs-premium&quot;&gt;Free vs. Premium&lt;/h2&gt;

&lt;p&gt;For most users, the decision is fairly simple.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;Free&lt;/th&gt;
      &lt;th&gt;Premium&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Replace Google TV home screen&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Ad-free interface&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Material You design&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Application organization&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Widgets&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Live weather features&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Basic customization&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Advanced customization&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Additional appearance controls&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;One-time purchase&lt;/td&gt;
      &lt;td&gt;N/A&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The important point is that &lt;strong&gt;Premium is not required to make Monet useful&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The free version provides the primary benefit: replacing Google’s increasingly busy home screen with something cleaner.&lt;/p&gt;

&lt;p&gt;Premium is mainly for users who enjoy customizing every aspect of their interface.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;premium-pricing&quot;&gt;Premium Pricing&lt;/h2&gt;

&lt;p&gt;Premium uses a &lt;strong&gt;one-time purchase&lt;/strong&gt; rather than a recurring subscription.&lt;/p&gt;

&lt;p&gt;The developer also provides a direct licensing option for sideloaded installations.&lt;/p&gt;

&lt;p&gt;At the time of this review, the direct Premium license is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;$4.99 one time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One direct license can currently activate up to &lt;strong&gt;five televisions&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Google Play pricing may vary depending on your country and account.&lt;/p&gt;

&lt;p&gt;For only a few dollars, Premium is reasonably priced compared with many applications that require monthly or yearly subscriptions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;setting-monet-as-your-home-screen&quot;&gt;Setting Monet as Your Home Screen&lt;/h2&gt;

&lt;p&gt;Install Monet directly from the Google Play Store on the onn device.&lt;/p&gt;

&lt;p&gt;Search for:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monet Launcher - Android TV&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After installation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open Monet.&lt;/li&gt;
  &lt;li&gt;Complete the initial setup.&lt;/li&gt;
  &lt;li&gt;Choose your wallpaper and layout.&lt;/li&gt;
  &lt;li&gt;Select your favorite applications.&lt;/li&gt;
  &lt;li&gt;Configure the desired rows.&lt;/li&gt;
  &lt;li&gt;Enable the appropriate launcher or accessibility options when prompted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Monet includes an optional Accessibility Service that can help it remain in the foreground when you press the &lt;strong&gt;Home&lt;/strong&gt; button or wake the device from standby.&lt;/p&gt;

&lt;p&gt;The service is optional and is specifically used for launcher behavior.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;customization&quot;&gt;Customization&lt;/h2&gt;

&lt;p&gt;Customization is where Monet really stands out.&lt;/p&gt;

&lt;p&gt;You can adjust areas such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Wallpaper&lt;/li&gt;
  &lt;li&gt;Accent colors&lt;/li&gt;
  &lt;li&gt;App rows&lt;/li&gt;
  &lt;li&gt;Favorites&lt;/li&gt;
  &lt;li&gt;Grid size&lt;/li&gt;
  &lt;li&gt;App labels&lt;/li&gt;
  &lt;li&gt;Tile size&lt;/li&gt;
  &lt;li&gt;Icon appearance&lt;/li&gt;
  &lt;li&gt;Widgets&lt;/li&gt;
  &lt;li&gt;Status information&lt;/li&gt;
  &lt;li&gt;Screensavers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Custom wallpapers can include images and videos, while Monet also supports several built-in and online wallpaper sources.&lt;/p&gt;

&lt;p&gt;The interface can therefore range from extremely minimal to something much more visually detailed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;backup-and-restore-monet-to-another-tv&quot;&gt;Backup and Restore Monet to Another TV&lt;/h2&gt;

&lt;p&gt;One of Monet Launcher’s most useful features is the ability to transfer your configuration to another Google TV or Android TV device.&lt;/p&gt;

&lt;p&gt;This is especially convenient when setting up multiple onn streaming devices because you do not have to manually recreate your app rows, layout, colors, widgets, and other launcher settings.&lt;/p&gt;

&lt;h3 id=&quot;create-a-setup-code&quot;&gt;Create a Setup Code&lt;/h3&gt;

&lt;p&gt;On the TV that is already configured:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Monet Launcher&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Setup code&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Generate or display the setup code.&lt;/li&gt;
  &lt;li&gt;Write down or photograph the code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A Monet setup code may look similar to:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;MONET-XXXXX-XXXXX-XXXXX
XXXXX-XXXXX-XXXXX-XXXXX
XXXXX-XXXXX-XXXXX-XXXXX
XXXXX-XXXXX-XXXXX-XXXXX
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The Setup Code feature was introduced in Monet 1.0.62 and is designed to share the launcher configuration as a short offline code.&lt;/p&gt;

&lt;h3 id=&quot;restore-the-setup-on-the-new-tv&quot;&gt;Restore the Setup on the New TV&lt;/h3&gt;

&lt;p&gt;Install Monet Launcher on the new Google TV device and then:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Monet Launcher&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Setup code&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose the option to import or restore a setup.&lt;/li&gt;
  &lt;li&gt;Enter the code generated by the original TV.&lt;/li&gt;
  &lt;li&gt;Confirm the import.&lt;/li&gt;
  &lt;li&gt;Allow Monet to apply the configuration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The new device should now use the same general Monet layout and settings as the original TV.&lt;/p&gt;

&lt;p&gt;This makes it easy to configure one onn streaming device exactly how you want it and then reuse that configuration on additional TVs.&lt;/p&gt;

&lt;h3 id=&quot;wallpaper-consideration&quot;&gt;Wallpaper Consideration&lt;/h3&gt;

&lt;p&gt;The Setup Code does &lt;strong&gt;not&lt;/strong&gt; include the actual wallpaper file.&lt;/p&gt;

&lt;p&gt;If you are using a custom image, GIF, or video wallpaper, transfer that file separately to the new device and select it again after restoring the setup.&lt;/p&gt;

&lt;p&gt;For built-in Monet wallpapers, simply select the same wallpaper on the new TV if necessary.&lt;/p&gt;

&lt;h3 id=&quot;traditional-backup-and-restore&quot;&gt;Traditional Backup and Restore&lt;/h3&gt;

&lt;p&gt;Monet also supports traditional configuration backups in addition to Setup Codes. Current versions can back up and restore settings even on devices without a separate file manager.&lt;/p&gt;

&lt;p&gt;A traditional backup is useful when you want to keep a recoverable copy of your configuration, while the &lt;strong&gt;Setup Code is generally the easiest option for copying the same launcher configuration to another TV&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;privacy&quot;&gt;Privacy&lt;/h2&gt;

&lt;p&gt;Another advantage is Monet’s privacy-focused design.&lt;/p&gt;

&lt;p&gt;The launcher advertises:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No ads&lt;/li&gt;
  &lt;li&gt;No sponsored rows&lt;/li&gt;
  &lt;li&gt;No mandatory account&lt;/li&gt;
  &lt;li&gt;No traditional advertising tracking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Google Play listing states that data is not shared with third parties, although the Play Store disclosure currently indicates that device or other IDs may be collected.&lt;/p&gt;

&lt;p&gt;Review the current &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.klevico.monet&quot;&gt;Google Play listing&lt;/a&gt; if privacy is a primary concern.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Monet’s strongest advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Clean Google TV replacement&lt;/li&gt;
  &lt;li&gt;Free version is genuinely useful&lt;/li&gt;
  &lt;li&gt;No advertising&lt;/li&gt;
  &lt;li&gt;Material You design&lt;/li&gt;
  &lt;li&gt;Excellent customization&lt;/li&gt;
  &lt;li&gt;Great fit for onn streaming devices&lt;/li&gt;
  &lt;li&gt;Live wallpapers&lt;/li&gt;
  &lt;li&gt;Widgets&lt;/li&gt;
  &lt;li&gt;Continue Watching integration&lt;/li&gt;
  &lt;li&gt;Active development&lt;/li&gt;
  &lt;li&gt;One-time Premium purchase&lt;/li&gt;
  &lt;li&gt;No subscription required&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;There are a few considerations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Some Google TV devices make replacing the stock launcher more difficult than others.&lt;/li&gt;
  &lt;li&gt;Continue Watching support depends on what information individual streaming applications expose.&lt;/li&gt;
  &lt;li&gt;Certain advanced settings require Premium.&lt;/li&gt;
  &lt;li&gt;Features are changing quickly as the application develops.&lt;/li&gt;
  &lt;li&gt;Heavy customization can take some time to configure.&lt;/li&gt;
  &lt;li&gt;A major Google TV update could affect third-party launcher behavior.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For these reasons, I recommend configuring Monet gradually rather than changing every setting immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;is-premium-worth-it&quot;&gt;Is Premium Worth It?&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For most users, start with the free version.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The free edition already solves the biggest Google TV problem: the cluttered home screen.&lt;/p&gt;

&lt;p&gt;Use it for a while and determine whether you actually want the additional customization.&lt;/p&gt;

&lt;p&gt;Premium makes sense if you:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Regularly customize your home screen.&lt;/li&gt;
  &lt;li&gt;Want more control over wallpapers and appearance.&lt;/li&gt;
  &lt;li&gt;Have multiple Google TV devices.&lt;/li&gt;
  &lt;li&gt;Want access to the complete feature set.&lt;/li&gt;
  &lt;li&gt;Want to support continued development.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At approximately $5 as a one-time purchase, Premium is inexpensive enough that it becomes an easy upgrade if Monet becomes your permanent launcher.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Monet is one of the better alternative launchers available for Google TV.&lt;/p&gt;

&lt;p&gt;It looks modern, runs well on devices such as the onn 4K Pro, removes much of the clutter from the stock Google TV interface, and provides enough functionality in the free version that there is no pressure to immediately upgrade.&lt;/p&gt;

&lt;p&gt;Premium adds additional customization without requiring another recurring subscription.&lt;/p&gt;

&lt;p&gt;For anyone setting up an onn Google TV device and looking for a cleaner home screen, Monet Launcher is definitely worth trying.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Google TV provides an excellent application ecosystem, but its default home screen is increasingly focused on recommendations and promoted content.&lt;/p&gt;

&lt;p&gt;Monet Launcher keeps the Google TV platform while replacing the home screen with a cleaner and much more customizable interface.&lt;/p&gt;

&lt;p&gt;Start with the free version. If you enjoy the launcher and want greater control over its appearance and behavior, the inexpensive one-time Premium upgrade is worth considering.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.klevico.monet&quot;&gt;Monet Launcher on Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/Klevico/Monet-Launcher&quot;&gt;Monet Launcher Official APK Repository&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://tv.google/&quot;&gt;Google TV&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.walmart.com/browse/electronics/onn-streaming-devices/3944_1229875_4536&quot;&gt;Walmart onn Streaming Devices&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 22 Aug 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/reviews/monet-launcher-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/reviews/monet-launcher-review/</guid>
        
        <category>monet-launcher</category>
        
        <category>google-tv</category>
        
        <category>onn</category>
        
        <category>android-tv</category>
        
        
        <category>Other</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Purchase TiviMate Premium on a Mac</title>
        <description>&lt;p&gt;TiviMate Premium unlocks additional features in the TiviMate IPTV Player, including favorites management, recording, multiple playlists, catch-up, multiview, and other advanced options.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;TiviMate Companion&lt;/strong&gt; application is available through Google Play and is specifically designed to activate Premium and manage activated devices. Mac users who do not have an Android phone or tablet can use an Android emulator such as BlueStacks to access the Companion app instead.&lt;/p&gt;

&lt;p&gt;In this blog post, we will use BlueStacks on a Mac to install TiviMate Companion, purchase Premium, and activate it on compatible TV devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#install-bluestacks&quot; id=&quot;markdown-toc-install-bluestacks&quot;&gt;Install BlueStacks&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sign-in-to-google-play&quot; id=&quot;markdown-toc-sign-in-to-google-play&quot;&gt;Sign In to Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-tivimate-companion&quot; id=&quot;markdown-toc-install-tivimate-companion&quot;&gt;Install TiviMate Companion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#create-your-tivimate-account&quot; id=&quot;markdown-toc-create-your-tivimate-account&quot;&gt;Create Your TiviMate Account&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#purchase-tivimate-premium&quot; id=&quot;markdown-toc-purchase-tivimate-premium&quot;&gt;Purchase TiviMate Premium&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#activate-premium-on-google-tv&quot; id=&quot;markdown-toc-activate-premium-on-google-tv&quot;&gt;Activate Premium on Google TV&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#manage-activated-devices&quot; id=&quot;markdown-toc-manage-activated-devices&quot;&gt;Manage Activated Devices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting&quot; id=&quot;markdown-toc-troubleshooting&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-bluestacks&quot;&gt;Install BlueStacks&lt;/h2&gt;

&lt;p&gt;Download and install the current Mac version of &lt;a href=&quot;https://www.bluestacks.com/mac&quot;&gt;BlueStacks&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;BlueStacks currently provides &lt;strong&gt;BlueStacks Air&lt;/strong&gt; for macOS and continues to publish current releases for the platform.&lt;/p&gt;

&lt;p&gt;BlueStacks officially documents BlueStacks Air for Apple Silicon Macs, so Intel Mac users should verify current compatibility before using this method.&lt;/p&gt;

&lt;p&gt;After installation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open BlueStacks.&lt;/li&gt;
  &lt;li&gt;Complete the initial setup.&lt;/li&gt;
  &lt;li&gt;Open the Google Play Store or available Android app store interface.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sign-in-to-google-play&quot;&gt;Sign In to Google Play&lt;/h2&gt;

&lt;p&gt;Sign in using your Google account.&lt;/p&gt;

&lt;p&gt;You may be prompted to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enter your Gmail address.&lt;/li&gt;
  &lt;li&gt;Enter your Google password.&lt;/li&gt;
  &lt;li&gt;Complete two-factor authentication.&lt;/li&gt;
  &lt;li&gt;Accept Google Play terms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BlueStacks specifically documents TiviMate Companion as an application that can be installed on a PC or Mac after signing in to Google Play.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-tivimate-companion&quot;&gt;Install TiviMate Companion&lt;/h2&gt;

&lt;p&gt;Search Google Play for:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TiviMate Companion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Confirm that the application is published by:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Armobsoft FZE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Install the application and launch it from BlueStacks.&lt;/p&gt;

&lt;p&gt;The Companion app is not an IPTV player. Its purpose is to unlock TiviMate Premium and manage activated devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;create-your-tivimate-account&quot;&gt;Create Your TiviMate Account&lt;/h2&gt;

&lt;p&gt;Open TiviMate Companion and create a TiviMate account if you do not already have one.&lt;/p&gt;

&lt;p&gt;Keep track of the:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Email address&lt;/li&gt;
  &lt;li&gt;Password&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These credentials are different from the Google account used for Google Play. The TiviMate account is what you will later use to activate Premium on your streaming devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;purchase-tivimate-premium&quot;&gt;Purchase TiviMate Premium&lt;/h2&gt;

&lt;p&gt;Inside TiviMate Companion:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the option to purchase or unlock Premium.&lt;/li&gt;
  &lt;li&gt;Choose the available subscription or lifetime purchase option.&lt;/li&gt;
  &lt;li&gt;Complete the purchase through Google Play.&lt;/li&gt;
  &lt;li&gt;Confirm that Premium is associated with your TiviMate account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;TiviMate currently offers both recurring subscription options and a one-time lifetime purchase.&lt;/p&gt;

&lt;p&gt;Remember that TiviMate Premium unlocks features in the player only. It does &lt;strong&gt;NOT&lt;/strong&gt; include television channels, streaming services, or media content.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;activate-premium-on-google-tv&quot;&gt;Activate Premium on Google TV&lt;/h2&gt;

&lt;p&gt;After purchasing Premium:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Turn on the Google TV or Android TV device.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;TiviMate&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Unlock Premium&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Sign in with the TiviMate account created earlier.&lt;/li&gt;
  &lt;li&gt;Select or register the device when prompted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Premium should now be activated on that device.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Repeat the process on additional supported devices associated with your TiviMate account.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;manage-activated-devices&quot;&gt;Manage Activated Devices&lt;/h2&gt;

&lt;p&gt;TiviMate Companion can also be used to manage the devices associated with your Premium account.&lt;/p&gt;

&lt;p&gt;This is useful when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Replacing a streaming device.&lt;/li&gt;
  &lt;li&gt;Resetting a Google TV device.&lt;/li&gt;
  &lt;li&gt;Removing an old Fire TV or Android TV device.&lt;/li&gt;
  &lt;li&gt;Moving Premium access to a new device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open TiviMate Companion in BlueStacks whenever you need to review or manage your activations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;

&lt;p&gt;If TiviMate Companion does not appear in Google Play:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Update BlueStacks.&lt;/li&gt;
  &lt;li&gt;Restart the emulator.&lt;/li&gt;
  &lt;li&gt;Confirm that Google Play is signed in.&lt;/li&gt;
  &lt;li&gt;Search specifically for &lt;strong&gt;TiviMate Companion by Armobsoft FZE&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Verify that your Mac meets BlueStacks requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If Premium does not activate on the TV:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that you are using the same TiviMate account.&lt;/li&gt;
  &lt;li&gt;Verify that the purchase completed successfully.&lt;/li&gt;
  &lt;li&gt;Restart TiviMate.&lt;/li&gt;
  &lt;li&gt;Confirm that an available device activation remains.&lt;/li&gt;
  &lt;li&gt;Remove an unused device through TiviMate Companion if necessary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Mac users do not need to purchase an Android phone simply to manage TiviMate Premium. BlueStacks provides an Android environment that can run the TiviMate Companion application and access Google Play directly from macOS.&lt;/p&gt;

&lt;p&gt;Once Premium has been purchased, the BlueStacks installation is primarily needed for account and device management. TiviMate itself continues to run directly on the Google TV, Android TV, or other compatible streaming device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://tivimate.com/&quot;&gt;TiviMate Official Website&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=ar.tvplayer.companion&quot;&gt;TiviMate Companion on Google Play&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.bluestacks.com/mac&quot;&gt;BlueStacks for Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.bluestacks.com/apps/tools/tivimate-companion-on-pc.html&quot;&gt;BlueStacks TiviMate Companion Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 15 Aug 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/tivimate-premium-mac/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/tivimate-premium-mac/</guid>
        
        <category>tivimate</category>
        
        <category>bluestacks</category>
        
        <category>google-tv</category>
        
        <category>macos</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>onn 4K Pro Streaming Device Review</title>
        <description>&lt;p&gt;Walmart’s &lt;strong&gt;onn 4K Pro Streaming Device&lt;/strong&gt; provides many of the features found in substantially more expensive streaming boxes while remaining relatively affordable.&lt;/p&gt;

&lt;p&gt;The 2026 model runs Google TV with Gemini and includes 32GB of storage, 3GB of RAM, Wi-Fi 6, Ethernet, Dolby Vision, Dolby Atmos, and a backlit voice remote with a remote-finder feature.&lt;/p&gt;

&lt;p&gt;At approximately $60, it sits at the top of Walmart’s onn streaming lineup but remains considerably less expensive than many premium streaming devices.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review the onn 4K Pro Streaming Device and discuss why finding one in stock can sometimes be the hardest part.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#google-tv-interface&quot; id=&quot;markdown-toc-google-tv-interface&quot;&gt;Google TV Interface&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#remote-control&quot; id=&quot;markdown-toc-remote-control&quot;&gt;Remote Control&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ethernet-and-wi-fi-6&quot; id=&quot;markdown-toc-ethernet-and-wi-fi-6&quot;&gt;Ethernet and Wi-Fi 6&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#onn-4k-pro-vs-4k-plus&quot; id=&quot;markdown-toc-onn-4k-pro-vs-4k-plus&quot;&gt;onn 4K Pro vs. 4K Plus&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-biggest-problem-finding-one&quot; id=&quot;markdown-toc-the-biggest-problem-finding-one&quot;&gt;The Biggest Problem: Finding One&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#check-multiple-walmart-stores&quot; id=&quot;markdown-toc-check-multiple-walmart-stores&quot;&gt;Check Multiple Walmart Stores&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pricing&quot; id=&quot;markdown-toc-pricing&quot;&gt;Pricing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disadvantages&quot; id=&quot;markdown-toc-disadvantages&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-should-buy-it&quot; id=&quot;markdown-toc-who-should-buy-it&quot;&gt;Who Should Buy It?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;The 2026 onn 4K Pro includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;4K Ultra HD output&lt;/li&gt;
  &lt;li&gt;Google TV with Gemini&lt;/li&gt;
  &lt;li&gt;Dolby Vision&lt;/li&gt;
  &lt;li&gt;Dolby Atmos&lt;/li&gt;
  &lt;li&gt;32GB of internal storage&lt;/li&gt;
  &lt;li&gt;3GB of RAM&lt;/li&gt;
  &lt;li&gt;Wi-Fi 6&lt;/li&gt;
  &lt;li&gt;Ethernet connectivity&lt;/li&gt;
  &lt;li&gt;Google Cast&lt;/li&gt;
  &lt;li&gt;Backlit voice remote&lt;/li&gt;
  &lt;li&gt;Find My Remote functionality&lt;/li&gt;
  &lt;li&gt;Hands-free voice control&lt;/li&gt;
  &lt;li&gt;Google Play Store access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The additional storage is particularly useful compared with inexpensive streaming sticks that provide only 8GB or 16GB.&lt;/p&gt;

&lt;p&gt;More storage means more room for streaming applications, utilities, games, IPTV applications, and other Google TV software.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;google-tv-interface&quot;&gt;Google TV Interface&lt;/h2&gt;

&lt;p&gt;One of the strongest reasons to choose an onn device is Google TV.&lt;/p&gt;

&lt;p&gt;Google TV provides access to applications such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Netflix&lt;/li&gt;
  &lt;li&gt;YouTube&lt;/li&gt;
  &lt;li&gt;Disney+&lt;/li&gt;
  &lt;li&gt;Hulu&lt;/li&gt;
  &lt;li&gt;Prime Video&lt;/li&gt;
  &lt;li&gt;Max&lt;/li&gt;
  &lt;li&gt;Plex&lt;/li&gt;
  &lt;li&gt;Kodi&lt;/li&gt;
  &lt;li&gt;TiviMate&lt;/li&gt;
  &lt;li&gt;VLC&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications can be installed directly from the Google Play Store.&lt;/p&gt;

&lt;p&gt;Google TV also combines content recommendations from supported streaming services onto the home screen.&lt;/p&gt;

&lt;p&gt;Users who prefer a simpler interface can customize the home screen, rearrange applications, reduce recommendations, and configure an apps-focused layout.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;The 3GB of RAM provides enough memory for smooth everyday navigation and app switching.&lt;/p&gt;

&lt;p&gt;For normal streaming use, the device handles:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;4K streaming&lt;/li&gt;
  &lt;li&gt;IPTV applications&lt;/li&gt;
  &lt;li&gt;Plex&lt;/li&gt;
  &lt;li&gt;YouTube&lt;/li&gt;
  &lt;li&gt;Live television&lt;/li&gt;
  &lt;li&gt;Local media playback&lt;/li&gt;
  &lt;li&gt;Multiple installed applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 32GB of storage is one of the Pro model’s biggest advantages.&lt;/p&gt;

&lt;p&gt;It provides considerably more breathing room for applications than many budget streaming devices and reduces the constant storage-management problems common with 8GB devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;remote-control&quot;&gt;Remote Control&lt;/h2&gt;

&lt;p&gt;The included remote is another highlight.&lt;/p&gt;

&lt;p&gt;Features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Voice control&lt;/li&gt;
  &lt;li&gt;Backlit buttons&lt;/li&gt;
  &lt;li&gt;Dedicated streaming-service buttons&lt;/li&gt;
  &lt;li&gt;Programmable controls&lt;/li&gt;
  &lt;li&gt;Find My Remote&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The remote finder is particularly useful. Instead of searching couches and furniture for a missing remote, the device can trigger an audible alert from the remote.&lt;/p&gt;

&lt;p&gt;This sounds like a minor feature until you actually need it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ethernet-and-wi-fi-6&quot;&gt;Ethernet and Wi-Fi 6&lt;/h2&gt;

&lt;p&gt;The Pro model includes both Wi-Fi 6 and an Ethernet port.&lt;/p&gt;

&lt;p&gt;Wi-Fi is sufficient for most installations, but Ethernet is valuable when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Streaming high-bitrate 4K content&lt;/li&gt;
  &lt;li&gt;Using IPTV&lt;/li&gt;
  &lt;li&gt;Playing media from a local Plex server&lt;/li&gt;
  &lt;li&gt;Wi-Fi coverage is inconsistent&lt;/li&gt;
  &lt;li&gt;The streaming device is installed near a network switch&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Having Ethernet built into the device eliminates the need for a separate USB Ethernet adapter.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;onn-4k-pro-vs-4k-plus&quot;&gt;onn 4K Pro vs. 4K Plus&lt;/h2&gt;

&lt;p&gt;Walmart also sells the onn 4K Plus.&lt;/p&gt;

&lt;p&gt;The 4K Plus provides:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;16GB of storage&lt;/li&gt;
  &lt;li&gt;2GB of RAM&lt;/li&gt;
  &lt;li&gt;Dolby Vision&lt;/li&gt;
  &lt;li&gt;Dolby Atmos&lt;/li&gt;
  &lt;li&gt;Wi-Fi 6&lt;/li&gt;
  &lt;li&gt;Google TV&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Pro increases this to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;32GB of storage&lt;/li&gt;
  &lt;li&gt;3GB of RAM&lt;/li&gt;
  &lt;li&gt;Ethernet&lt;/li&gt;
  &lt;li&gt;Backlit remote&lt;/li&gt;
  &lt;li&gt;Remote finder&lt;/li&gt;
  &lt;li&gt;Hands-free voice features&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the price difference is reasonable, I prefer the &lt;strong&gt;4K Pro&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The additional storage, memory, Ethernet port, and better remote make it a more complete long-term streaming device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-biggest-problem-finding-one&quot;&gt;The Biggest Problem: Finding One&lt;/h2&gt;

&lt;p&gt;As of &lt;strong&gt;August 2026&lt;/strong&gt;, one of the biggest disadvantages of the onn 4K Pro is simply finding one.&lt;/p&gt;

&lt;p&gt;Walmart’s onn streaming devices have had unusually inconsistent availability.&lt;/p&gt;

&lt;p&gt;You may see:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Out of stock online&lt;/li&gt;
  &lt;li&gt;Shipping unavailable&lt;/li&gt;
  &lt;li&gt;Pickup unavailable&lt;/li&gt;
  &lt;li&gt;One Walmart showing stock while another does not&lt;/li&gt;
  &lt;li&gt;Devices appearing in stores before the website reflects the inventory&lt;/li&gt;
  &lt;li&gt;Small quantities disappearing quickly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Walmart also does not always launch onn streaming hardware through a traditional nationwide release. New units have historically appeared gradually as distribution centers send inventory to individual stores.&lt;/p&gt;

&lt;p&gt;Because of this, checking only Walmart.com may not tell the entire story.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;check-multiple-walmart-stores&quot;&gt;Check Multiple Walmart Stores&lt;/h2&gt;

&lt;p&gt;If Walmart’s website says the onn 4K Pro is unavailable, it may be worth checking nearby stores manually.&lt;/p&gt;

&lt;p&gt;Try:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Changing the selected Walmart store in the app.&lt;/li&gt;
  &lt;li&gt;Searching stores within a larger radius.&lt;/li&gt;
  &lt;li&gt;Checking same-day pickup availability.&lt;/li&gt;
  &lt;li&gt;Calling the electronics department.&lt;/li&gt;
  &lt;li&gt;Visiting nearby Walmart locations.&lt;/li&gt;
  &lt;li&gt;Checking the streaming-device shelves in person.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In some cases, inventory may be available at a physical store even when finding it online is difficult.&lt;/p&gt;

&lt;p&gt;If you are already near several Walmart stores, browsing the electronics section can sometimes be more successful than repeatedly refreshing the website.&lt;/p&gt;

&lt;p&gt;Availability changes frequently, so this is particularly important when the Pro model has just been restocked.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pricing&quot;&gt;Pricing&lt;/h2&gt;

&lt;p&gt;The 2026 onn 4K Pro has a retail price of approximately:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;$59.98&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The onn 4K Plus is approximately:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;$49.98&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The standard 2026 onn 4K device is approximately:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;$39.98&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Prices and availability can change, so verify the current listing directly with Walmart before purchasing.&lt;/p&gt;

&lt;p&gt;At $60, the Pro is no longer the extraordinarily cheap device earlier onn boxes were, but the hardware still provides strong value.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;The biggest advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Excellent value&lt;/li&gt;
  &lt;li&gt;32GB of storage&lt;/li&gt;
  &lt;li&gt;3GB of RAM&lt;/li&gt;
  &lt;li&gt;Google TV&lt;/li&gt;
  &lt;li&gt;Google Play Store&lt;/li&gt;
  &lt;li&gt;Dolby Vision&lt;/li&gt;
  &lt;li&gt;Dolby Atmos&lt;/li&gt;
  &lt;li&gt;Ethernet&lt;/li&gt;
  &lt;li&gt;Wi-Fi 6&lt;/li&gt;
  &lt;li&gt;Backlit remote&lt;/li&gt;
  &lt;li&gt;Remote finder&lt;/li&gt;
  &lt;li&gt;Easy application installation&lt;/li&gt;
  &lt;li&gt;Good IPTV and Plex device&lt;/li&gt;
  &lt;li&gt;Much less expensive than many premium streaming boxes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disadvantages&quot;&gt;Disadvantages&lt;/h2&gt;

&lt;p&gt;The main disadvantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Difficult and inconsistent availability&lt;/li&gt;
  &lt;li&gt;Walmart-exclusive distribution&lt;/li&gt;
  &lt;li&gt;Price has increased compared with previous onn devices&lt;/li&gt;
  &lt;li&gt;Availability can vary significantly between stores&lt;/li&gt;
  &lt;li&gt;Not as powerful as high-end devices such as the NVIDIA Shield&lt;/li&gt;
  &lt;li&gt;32-bit software limitations may affect certain specialized applications&lt;/li&gt;
  &lt;li&gt;Walmart’s product rollout and inventory can be confusing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most users, availability is currently a bigger concern than performance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;who-should-buy-it&quot;&gt;Who Should Buy It?&lt;/h2&gt;

&lt;p&gt;The onn 4K Pro is a strong option for anyone who wants:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Google TV without spending $100 or more.&lt;/li&gt;
  &lt;li&gt;Plenty of application storage.&lt;/li&gt;
  &lt;li&gt;IPTV applications such as TiviMate.&lt;/li&gt;
  &lt;li&gt;Plex or other local media applications.&lt;/li&gt;
  &lt;li&gt;Ethernet connectivity.&lt;/li&gt;
  &lt;li&gt;Dolby Vision and Dolby Atmos.&lt;/li&gt;
  &lt;li&gt;A better remote than most inexpensive streaming sticks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is also an excellent replacement for older Chromecast with Google TV hardware.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The onn 4K Pro is one of the better-value Google TV streaming devices available.&lt;/p&gt;

&lt;p&gt;The combination of 32GB of storage, 3GB of RAM, Ethernet, Wi-Fi 6, Dolby Vision, Dolby Atmos, Google TV, and an excellent remote makes it difficult to beat at approximately $60.&lt;/p&gt;

&lt;p&gt;The primary frustration is availability. As of August 2026, finding one can require checking Walmart regularly, changing your selected store, expanding your search radius, or physically visiting nearby Walmart locations.&lt;/p&gt;

&lt;p&gt;If you can find one at the normal retail price, the onn 4K Pro is an easy recommendation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The 2026 onn 4K Pro proves that a capable Google TV streaming device does not need to cost $100 or $200.&lt;/p&gt;

&lt;p&gt;It provides the features most users actually need, including fast 4K streaming, ample storage, Ethernet, Wi-Fi 6, Google Play applications, Dolby Vision, Dolby Atmos, and a very good remote.&lt;/p&gt;

&lt;p&gt;Finding one may require more effort than purchasing a Roku or Fire TV device, but the combination of price and functionality makes the search worthwhile.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.walmart.com/ip/4K-PRO-STREAMING/18382213962&quot;&gt;Walmart onn 4K Pro Streaming Device&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.walmart.com/ip/ONN-4K-PLUS/15557424949&quot;&gt;Walmart onn 4K Plus Streaming Device&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://tv.google/&quot;&gt;Google TV&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/googletv/&quot;&gt;Google TV Help&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 08 Aug 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/reviews/onn-pro-streaming-device/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/reviews/onn-pro-streaming-device/</guid>
        
        <category>onn</category>
        
        <category>google-tv</category>
        
        <category>streaming</category>
        
        <category>walmart</category>
        
        <category>android-tv</category>
        
        
        <category>Other</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>DigitalLearn.org Review</title>
        <description>&lt;p&gt;DigitalLearn.org is a free online learning platform operated by the Public Library Association. It is designed to help people become more comfortable using computers, mobile devices, websites, email, and other everyday technologies.&lt;/p&gt;

&lt;p&gt;Unlike platforms focused on programming or advanced technical certifications, DigitalLearn.org concentrates on practical digital skills. Its short lessons are especially useful for adults, seniors, job seekers, and anyone who has limited experience using technology.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review DigitalLearn.org and determine whether it is a good learning platform for people who want to improve their digital literacy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-digitallearnorg&quot; id=&quot;markdown-toc-what-is-digitallearnorg&quot;&gt;What Is DigitalLearn.org?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-is-digitallearnorg-for&quot; id=&quot;markdown-toc-who-is-digitallearnorg-for&quot;&gt;Who Is DigitalLearn.org For?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#learning-experience&quot; id=&quot;markdown-toc-learning-experience&quot;&gt;Learning Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#updated-website-design&quot; id=&quot;markdown-toc-updated-website-design&quot;&gt;Updated Website Design&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#does-an-account-need-to-be-created&quot; id=&quot;markdown-toc-does-an-account-need-to-be-created&quot;&gt;Does an Account Need to Be Created?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#english-and-spanish-courses&quot; id=&quot;markdown-toc-english-and-spanish-courses&quot;&gt;English and Spanish Courses&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#online-safety-lessons&quot; id=&quot;markdown-toc-online-safety-lessons&quot;&gt;Online Safety Lessons&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#job-and-productivity-skills&quot; id=&quot;markdown-toc-job-and-productivity-skills&quot;&gt;Job and Productivity Skills&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#resources-for-libraries-and-trainers&quot; id=&quot;markdown-toc-resources-for-libraries-and-trainers&quot;&gt;Resources for Libraries and Trainers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-way-to-use-digitallearnorg&quot; id=&quot;markdown-toc-best-way-to-use-digitallearnorg&quot;&gt;Best Way to Use DigitalLearn.org&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-digitallearnorg&quot;&gt;What Is DigitalLearn.org?&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org provides self-paced courses covering basic computer and Internet skills.&lt;/p&gt;

&lt;p&gt;Topics include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Using a Windows or Mac computer&lt;/li&gt;
  &lt;li&gt;Navigating websites&lt;/li&gt;
  &lt;li&gt;Searching the Internet&lt;/li&gt;
  &lt;li&gt;Creating and using email&lt;/li&gt;
  &lt;li&gt;Managing online accounts and passwords&lt;/li&gt;
  &lt;li&gt;Recognizing online fraud and scams&lt;/li&gt;
  &lt;li&gt;Using Android and iOS mobile devices&lt;/li&gt;
  &lt;li&gt;Participating in video conferences&lt;/li&gt;
  &lt;li&gt;Using Microsoft Word and Excel&lt;/li&gt;
  &lt;li&gt;Creating resumes&lt;/li&gt;
  &lt;li&gt;Searching and applying for jobs&lt;/li&gt;
  &lt;li&gt;Accessing telehealth services&lt;/li&gt;
  &lt;li&gt;Using cloud storage&lt;/li&gt;
  &lt;li&gt;Understanding QR codes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The courses are available through the &lt;a href=&quot;https://www.digitallearn.org/&quot;&gt;DigitalLearn.org website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;who-is-digitallearnorg-for&quot;&gt;Who Is DigitalLearn.org For?&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org is best suited for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Adults learning to use computers&lt;/li&gt;
  &lt;li&gt;Seniors becoming more comfortable with technology&lt;/li&gt;
  &lt;li&gt;Job seekers developing workplace computer skills&lt;/li&gt;
  &lt;li&gt;People using email or the Internet for the first time&lt;/li&gt;
  &lt;li&gt;Library patrons attending digital literacy workshops&lt;/li&gt;
  &lt;li&gt;English or Spanish-speaking learners&lt;/li&gt;
  &lt;li&gt;Anyone who needs help with common online tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Older children and teenagers may also find some courses useful, particularly lessons about online safety, passwords, scams, and basic productivity tools.&lt;/p&gt;

&lt;p&gt;However, the platform is primarily focused on practical digital literacy rather than entertainment, coding, or school-based computer science.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;learning-experience&quot;&gt;Learning Experience&lt;/h2&gt;

&lt;p&gt;The courses are divided into short lessons that learners can complete at their own pace.&lt;/p&gt;

&lt;p&gt;Each course clearly displays information such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Difficulty level&lt;/li&gt;
  &lt;li&gt;Estimated completion time&lt;/li&gt;
  &lt;li&gt;Number of lessons&lt;/li&gt;
  &lt;li&gt;Course category&lt;/li&gt;
  &lt;li&gt;Learning objectives&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many lessons include narration, demonstrations, captions, and straightforward explanations.&lt;/p&gt;

&lt;p&gt;Examples of beginner courses include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Getting Started on a Computer&lt;/li&gt;
  &lt;li&gt;Navigating a Website&lt;/li&gt;
  &lt;li&gt;Intro to Email&lt;/li&gt;
  &lt;li&gt;Using a PC with Windows 11&lt;/li&gt;
  &lt;li&gt;Using a Mobile Device&lt;/li&gt;
  &lt;li&gt;Accounts and Passwords&lt;/li&gt;
  &lt;li&gt;Online Frauds and Scams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The short format makes the platform less intimidating for learners who may not be comfortable completing a long online course.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;updated-website-design&quot;&gt;Updated Website Design&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org received a major redesign in 2026.&lt;/p&gt;

&lt;p&gt;The updated website includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mobile-friendly navigation&lt;/li&gt;
  &lt;li&gt;Larger and more readable text&lt;/li&gt;
  &lt;li&gt;Improved search&lt;/li&gt;
  &lt;li&gt;Clear separation between courses and individual lessons&lt;/li&gt;
  &lt;li&gt;Keyboard navigation&lt;/li&gt;
  &lt;li&gt;Screen-reader support&lt;/li&gt;
  &lt;li&gt;Adjustable text sizing&lt;/li&gt;
  &lt;li&gt;Captions for video content&lt;/li&gt;
  &lt;li&gt;Optional account-based progress tracking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mobile-first design is particularly helpful for learners who use a smartphone as their primary Internet device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;does-an-account-need-to-be-created&quot;&gt;Does an Account Need to Be Created?&lt;/h2&gt;

&lt;p&gt;Most areas of DigitalLearn.org can be viewed without registering.&lt;/p&gt;

&lt;p&gt;Creating an account can provide additional benefits such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Saving course progress&lt;/li&gt;
  &lt;li&gt;Creating a personalized course list&lt;/li&gt;
  &lt;li&gt;Returning to unfinished lessons&lt;/li&gt;
  &lt;li&gt;Tracking completed courses&lt;/li&gt;
  &lt;li&gt;Receiving completion certificates where available&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users who only want to review a single lesson may not need an account.&lt;/p&gt;

&lt;p&gt;According to the &lt;a href=&quot;https://www.digitallearn.org/privacy-policy&quot;&gt;DigitalLearn.org Privacy Policy&lt;/a&gt;, account registration may require a name and email address. The website also uses analytics to understand how visitors use the platform.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;english-and-spanish-courses&quot;&gt;English and Spanish Courses&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org provides courses and training materials in both English and Spanish.&lt;/p&gt;

&lt;p&gt;This makes the platform useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Bilingual households&lt;/li&gt;
  &lt;li&gt;English-language learners&lt;/li&gt;
  &lt;li&gt;Spanish-speaking community members&lt;/li&gt;
  &lt;li&gt;Libraries serving multilingual communities&lt;/li&gt;
  &lt;li&gt;Trainers conducting bilingual workshops&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not every older course or training resource may be available in both languages, but many of the primary digital literacy courses include Spanish versions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;online-safety-lessons&quot;&gt;Online Safety Lessons&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org includes several useful courses related to online security.&lt;/p&gt;

&lt;p&gt;Topics include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Creating safer passwords&lt;/li&gt;
  &lt;li&gt;Managing online accounts&lt;/li&gt;
  &lt;li&gt;Understanding Internet privacy&lt;/li&gt;
  &lt;li&gt;Recognizing online scams&lt;/li&gt;
  &lt;li&gt;Identifying fraudulent messages&lt;/li&gt;
  &lt;li&gt;Using QR codes safely&lt;/li&gt;
  &lt;li&gt;Protecting personal information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The online fraud and scam lessons are particularly valuable for older adults and new Internet users who may be unfamiliar with phishing, impersonation, and other common attacks.&lt;/p&gt;

&lt;p&gt;These lessons provide a good starting point, although learners should continue following current security guidance because online scams change frequently.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;job-and-productivity-skills&quot;&gt;Job and Productivity Skills&lt;/h2&gt;

&lt;p&gt;The platform also includes practical employment and workplace lessons.&lt;/p&gt;

&lt;p&gt;Available topics include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Creating a resume&lt;/li&gt;
  &lt;li&gt;Searching for jobs online&lt;/li&gt;
  &lt;li&gt;Completing online applications&lt;/li&gt;
  &lt;li&gt;Preparing for interviews&lt;/li&gt;
  &lt;li&gt;Using Microsoft Word&lt;/li&gt;
  &lt;li&gt;Creating a basic Excel budget&lt;/li&gt;
  &lt;li&gt;Using cloud storage&lt;/li&gt;
  &lt;li&gt;Working with online documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These courses will not replace advanced Microsoft Office training, but they can help beginners gain enough confidence to complete common employment-related tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;resources-for-libraries-and-trainers&quot;&gt;Resources for Libraries and Trainers&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org is closely connected with public libraries.&lt;/p&gt;

&lt;p&gt;The separate &lt;a href=&quot;https://training.digitallearn.org/&quot;&gt;DigitalLearn Training website&lt;/a&gt; provides materials that libraries, volunteers, and instructors can use to conduct classes.&lt;/p&gt;

&lt;p&gt;Resources may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Instructor presentations&lt;/li&gt;
  &lt;li&gt;Facilitator guides&lt;/li&gt;
  &lt;li&gt;Lesson scripts&lt;/li&gt;
  &lt;li&gt;Learner handouts&lt;/li&gt;
  &lt;li&gt;Activity sheets&lt;/li&gt;
  &lt;li&gt;Certificates&lt;/li&gt;
  &lt;li&gt;Course-planning templates&lt;/li&gt;
  &lt;li&gt;English and Spanish materials&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes DigitalLearn.org more than an individual learning website. It can also serve as the foundation for in-person computer classes and one-on-one technology assistance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org provides several important benefits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Courses are free.&lt;/li&gt;
  &lt;li&gt;No previous technology experience is required.&lt;/li&gt;
  &lt;li&gt;Lessons are short and beginner-friendly.&lt;/li&gt;
  &lt;li&gt;Many courses are available in English and Spanish.&lt;/li&gt;
  &lt;li&gt;The website works on computers and mobile devices.&lt;/li&gt;
  &lt;li&gt;An account is optional for many activities.&lt;/li&gt;
  &lt;li&gt;Online safety and scam-awareness topics are included.&lt;/li&gt;
  &lt;li&gt;Job and productivity courses teach practical skills.&lt;/li&gt;
  &lt;li&gt;Accessibility features support more learners.&lt;/li&gt;
  &lt;li&gt;Libraries can download instructor and classroom materials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform focuses on tasks that learners are likely to use in everyday life.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org also has some limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Most courses remain introductory.&lt;/li&gt;
  &lt;li&gt;Advanced computer users may find the lessons too basic.&lt;/li&gt;
  &lt;li&gt;Some software-specific courses can become outdated as applications change.&lt;/li&gt;
  &lt;li&gt;The course library is smaller than major commercial learning platforms.&lt;/li&gt;
  &lt;li&gt;There are limited advanced technical or certification courses.&lt;/li&gt;
  &lt;li&gt;Learners may still need in-person help with difficult tasks.&lt;/li&gt;
  &lt;li&gt;Completing a lesson does not guarantee that the learner can perform the task independently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform works best when learners practice each skill outside the lesson rather than only watching the course.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-way-to-use-digitallearnorg&quot;&gt;Best Way to Use DigitalLearn.org&lt;/h2&gt;

&lt;p&gt;A beginner can get started by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Taking the &lt;strong&gt;Getting Started on a Computer&lt;/strong&gt; course.&lt;/li&gt;
  &lt;li&gt;Learning how to use a mouse and keyboard.&lt;/li&gt;
  &lt;li&gt;Completing the website navigation and Internet search lessons.&lt;/li&gt;
  &lt;li&gt;Moving into email and account-management courses.&lt;/li&gt;
  &lt;li&gt;Reviewing password, privacy, and scam-awareness lessons.&lt;/li&gt;
  &lt;li&gt;Selecting job, productivity, or mobile-device courses based on personal needs.&lt;/li&gt;
  &lt;li&gt;Practicing each task on an actual computer or mobile device.&lt;/li&gt;
  &lt;li&gt;Visiting a local library when additional assistance is needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learners should complete only a few lessons at a time and practice the skills before moving to the next topic.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DigitalLearn.org is an excellent free resource for people who need help developing basic digital skills.&lt;/p&gt;

&lt;p&gt;Its greatest strengths are its beginner-friendly language, short lessons, practical topics, mobile accessibility, bilingual content, and connection with public libraries.&lt;/p&gt;

&lt;p&gt;The platform is not intended for advanced technical training. However, for adults, seniors, job seekers, and new computer users, it provides a strong and approachable starting point.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;DigitalLearn.org provides practical digital literacy training without requiring a paid subscription or previous computer experience.&lt;/p&gt;

&lt;p&gt;Its courses cover many of the tasks people need for everyday life, including email, online searches, mobile devices, job applications, document creation, telehealth, password safety, and scam awareness.&lt;/p&gt;

&lt;p&gt;The platform is particularly valuable when combined with practice, family assistance, or digital literacy support from a local public library.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.digitallearn.org/&quot;&gt;DigitalLearn.org&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.digitallearn.org/courses&quot;&gt;DigitalLearn.org Courses&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://training.digitallearn.org/&quot;&gt;DigitalLearn Training Resources&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.ala.org/pla/initiatives/digitalliteracy&quot;&gt;Public Library Association Digital Literacy Resources&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.digitallearn.org/privacy-policy&quot;&gt;DigitalLearn.org Privacy Policy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.digitallearn.org/terms-of-use&quot;&gt;DigitalLearn.org Terms of Use&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 01 Aug 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/digitallearn-org-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/digitallearn-org-review/</guid>
        
        <category>computer-skills</category>
        
        <category>online-learning</category>
        
        <category>technology</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Code.org Review for Kids</title>
        <description>&lt;p&gt;Code.org is a nonprofit educational platform that helps children learn computer science through interactive lessons, puzzles, games, and creative projects.&lt;/p&gt;

&lt;p&gt;The platform provides courses for students from kindergarten through high school. Younger children can begin with visual block-based programming, while older students can explore web development, applications, artificial intelligence, Python, Java, and more advanced computer science concepts.&lt;/p&gt;

&lt;p&gt;Many activities can be completed without creating an account, although an account is required to save lesson progress and projects.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review Code.org and determine whether it is a good learning platform for kids.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-codeorg&quot; id=&quot;markdown-toc-what-is-codeorg&quot;&gt;What Is Code.org?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#courses-by-age&quot; id=&quot;markdown-toc-courses-by-age&quot;&gt;Courses by Age&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#elementary-school&quot; id=&quot;markdown-toc-elementary-school&quot;&gt;Elementary School&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#middle-school&quot; id=&quot;markdown-toc-middle-school&quot;&gt;Middle School&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#high-school&quot; id=&quot;markdown-toc-high-school&quot;&gt;High School&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#learning-experience&quot; id=&quot;markdown-toc-learning-experience&quot;&gt;Learning Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#hour-of-code-activities&quot; id=&quot;markdown-toc-hour-of-code-activities&quot;&gt;Hour of Code Activities&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#does-a-child-need-an-account&quot; id=&quot;markdown-toc-does-a-child-need-an-account&quot;&gt;Does a Child Need an Account?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#parent-involvement&quot; id=&quot;markdown-toc-parent-involvement&quot;&gt;Parent Involvement&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#privacy-considerations&quot; id=&quot;markdown-toc-privacy-considerations&quot;&gt;Privacy Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-way-to-get-started&quot; id=&quot;markdown-toc-best-way-to-get-started&quot;&gt;Best Way to Get Started&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overall-rating&quot; id=&quot;markdown-toc-overall-rating&quot;&gt;Overall Rating&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-codeorg&quot;&gt;What Is Code.org?&lt;/h2&gt;

&lt;p&gt;Code.org is an online computer science learning platform designed for students, teachers, and schools.&lt;/p&gt;

&lt;p&gt;Children can use it to learn concepts such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sequences&lt;/li&gt;
  &lt;li&gt;Events&lt;/li&gt;
  &lt;li&gt;Loops&lt;/li&gt;
  &lt;li&gt;Conditionals&lt;/li&gt;
  &lt;li&gt;Variables&lt;/li&gt;
  &lt;li&gt;Functions&lt;/li&gt;
  &lt;li&gt;Algorithms&lt;/li&gt;
  &lt;li&gt;Debugging&lt;/li&gt;
  &lt;li&gt;Web development&lt;/li&gt;
  &lt;li&gt;Application design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lessons combine short explanations with interactive challenges. Instead of only watching videos, students must arrange instructions, solve problems, and create working projects.&lt;/p&gt;

&lt;p&gt;The platform is available through the &lt;a href=&quot;https://code.org/&quot;&gt;Code.org website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;courses-by-age&quot;&gt;Courses by Age&lt;/h2&gt;

&lt;p&gt;Code.org provides learning options for several age groups.&lt;/p&gt;

&lt;h3 id=&quot;elementary-school&quot;&gt;Elementary School&lt;/h3&gt;

&lt;p&gt;The Computer Science Fundamentals curriculum is intended for students in kindergarten through fifth grade.&lt;/p&gt;

&lt;p&gt;Younger students can use picture-based instructions and block coding to complete activities involving:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mazes&lt;/li&gt;
  &lt;li&gt;Stories&lt;/li&gt;
  &lt;li&gt;Animations&lt;/li&gt;
  &lt;li&gt;Games&lt;/li&gt;
  &lt;li&gt;Music&lt;/li&gt;
  &lt;li&gt;Art&lt;/li&gt;
  &lt;li&gt;Familiar characters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href=&quot;https://studio.code.org/courses/pre-express-2025&quot;&gt;Pre-reader Express course&lt;/a&gt; is a useful starting point for children who are still learning to read.&lt;/p&gt;

&lt;p&gt;Older elementary students can use the &lt;a href=&quot;https://studio.code.org/courses/express-2025&quot;&gt;Express course&lt;/a&gt; for a faster introduction to core programming concepts.&lt;/p&gt;

&lt;h3 id=&quot;middle-school&quot;&gt;Middle School&lt;/h3&gt;

&lt;p&gt;Middle school students can progress into more detailed projects involving:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Websites&lt;/li&gt;
  &lt;li&gt;Games&lt;/li&gt;
  &lt;li&gt;Animations&lt;/li&gt;
  &lt;li&gt;Interactive applications&lt;/li&gt;
  &lt;li&gt;Physical computing&lt;/li&gt;
  &lt;li&gt;Artificial intelligence&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Computer Science Discoveries is designed for students in approximately grades 6 through 10 and introduces several areas of computer science.&lt;/p&gt;

&lt;h3 id=&quot;high-school&quot;&gt;High School&lt;/h3&gt;

&lt;p&gt;High school offerings include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Computer Science Principles&lt;/li&gt;
  &lt;li&gt;Computer Science A&lt;/li&gt;
  &lt;li&gt;Web development&lt;/li&gt;
  &lt;li&gt;Python&lt;/li&gt;
  &lt;li&gt;Java&lt;/li&gt;
  &lt;li&gt;Artificial intelligence&lt;/li&gt;
  &lt;li&gt;Cybersecurity concepts&lt;/li&gt;
  &lt;li&gt;Data and application design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These courses provide a stronger transition from visual block programming into text-based programming and formal computer science.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;learning-experience&quot;&gt;Learning Experience&lt;/h2&gt;

&lt;p&gt;Code.org introduces programming through short, guided activities.&lt;/p&gt;

&lt;p&gt;Students are normally shown a goal and must arrange blocks or write instructions that solve the problem. The platform provides immediate feedback when the solution is incorrect.&lt;/p&gt;

&lt;p&gt;Activities may involve:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Moving a character through a maze&lt;/li&gt;
  &lt;li&gt;Drawing a pattern&lt;/li&gt;
  &lt;li&gt;Creating an animation&lt;/li&gt;
  &lt;li&gt;Programming a game&lt;/li&gt;
  &lt;li&gt;Designing an application&lt;/li&gt;
  &lt;li&gt;Mixing music&lt;/li&gt;
  &lt;li&gt;Building a basic website&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The gradual progression helps children learn through experimentation instead of expecting them to understand every concept before they begin.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;hour-of-code-activities&quot;&gt;Hour of Code Activities&lt;/h2&gt;

&lt;p&gt;The Hour of Code collection provides short activities that can usually be completed in approximately one class period.&lt;/p&gt;

&lt;p&gt;These activities are useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Introducing a child to coding&lt;/li&gt;
  &lt;li&gt;Testing whether the child enjoys programming&lt;/li&gt;
  &lt;li&gt;School computer science events&lt;/li&gt;
  &lt;li&gt;Summer learning&lt;/li&gt;
  &lt;li&gt;Weekend activities&lt;/li&gt;
  &lt;li&gt;Coding clubs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many activities use themes and characters that children already recognize, which can make the first experience more engaging.&lt;/p&gt;

&lt;p&gt;The full collection is available from the &lt;a href=&quot;https://code.org/learn&quot;&gt;Hour of Code activities page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;does-a-child-need-an-account&quot;&gt;Does a Child Need an Account?&lt;/h2&gt;

&lt;p&gt;Many Code.org activities can be opened without an account.&lt;/p&gt;

&lt;p&gt;However, without an account:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Lesson progress is not saved.&lt;/li&gt;
  &lt;li&gt;Projects may not remain available.&lt;/li&gt;
  &lt;li&gt;The child may need to restart activities.&lt;/li&gt;
  &lt;li&gt;Progress cannot easily be reviewed later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Creating a student account is more practical for children who plan to complete a full course.&lt;/p&gt;

&lt;p&gt;Code.org does not currently provide a separate parent account. A parent or guardian email address can instead be linked to the child’s student account.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;parent-involvement&quot;&gt;Parent Involvement&lt;/h2&gt;

&lt;p&gt;Parents do not need programming experience to help a child use Code.org.&lt;/p&gt;

&lt;p&gt;A parent can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Help select an age-appropriate course.&lt;/li&gt;
  &lt;li&gt;Watch the child complete the first lessons.&lt;/li&gt;
  &lt;li&gt;Ask the child to explain the solution.&lt;/li&gt;
  &lt;li&gt;Review completed projects.&lt;/li&gt;
  &lt;li&gt;Encourage the child when a puzzle becomes difficult.&lt;/li&gt;
  &lt;li&gt;Set reasonable screen-time limits.&lt;/li&gt;
  &lt;li&gt;Help protect the child’s login information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best way to monitor progress at home is usually to have the child sign in and show the parent their course dashboard and recent projects.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;privacy-considerations&quot;&gt;Privacy Considerations&lt;/h2&gt;

&lt;p&gt;Code.org publishes a student privacy policy and states that it collects only the information needed to provide its educational services.&lt;/p&gt;

&lt;p&gt;Parents should still:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Review the &lt;a href=&quot;https://code.org/privacy/&quot;&gt;Code.org Privacy Policy&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;Use the child’s correct age during registration.&lt;/li&gt;
  &lt;li&gt;Link a parent or guardian email when appropriate.&lt;/li&gt;
  &lt;li&gt;Avoid placing personal information inside public projects.&lt;/li&gt;
  &lt;li&gt;Review sharing settings before publishing a project.&lt;/li&gt;
  &lt;li&gt;Confirm whether a school-managed account is being used.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some children under 13 may require parent or guardian consent depending on how the account was created.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Code.org offers several benefits for children:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Core courses are free.&lt;/li&gt;
  &lt;li&gt;Activities are available for several age groups.&lt;/li&gt;
  &lt;li&gt;No previous coding experience is required.&lt;/li&gt;
  &lt;li&gt;Visual blocks make programming easier to understand.&lt;/li&gt;
  &lt;li&gt;Lessons provide immediate feedback.&lt;/li&gt;
  &lt;li&gt;Projects encourage creativity.&lt;/li&gt;
  &lt;li&gt;Activities include familiar games and characters.&lt;/li&gt;
  &lt;li&gt;Children can progress at their own pace.&lt;/li&gt;
  &lt;li&gt;Older students can move into text-based programming.&lt;/li&gt;
  &lt;li&gt;Schools and teachers can use complete curricula.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform does a good job of making computer science feel approachable rather than overly technical.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;Code.org also has some limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Younger children may still need adult help.&lt;/li&gt;
  &lt;li&gt;Some activities can feel repetitive.&lt;/li&gt;
  &lt;li&gt;Students may focus on completing puzzles instead of understanding the concept.&lt;/li&gt;
  &lt;li&gt;Parent monitoring tools are limited.&lt;/li&gt;
  &lt;li&gt;There is no dedicated parent-account dashboard.&lt;/li&gt;
  &lt;li&gt;Block coding alone does not teach every programming skill.&lt;/li&gt;
  &lt;li&gt;Motivated older students may eventually need a more advanced platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Code.org is an excellent introduction, but it should eventually be supplemented with independent projects and additional programming practice.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-way-to-get-started&quot;&gt;Best Way to Get Started&lt;/h2&gt;

&lt;p&gt;For a child using Code.org at home:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Begin with one Hour of Code activity.&lt;/li&gt;
  &lt;li&gt;Select a course based on the child’s age and reading level.&lt;/li&gt;
  &lt;li&gt;Create a student account if progress should be saved.&lt;/li&gt;
  &lt;li&gt;Complete two or three lessons at a time.&lt;/li&gt;
  &lt;li&gt;Encourage the child to explain what each block does.&lt;/li&gt;
  &lt;li&gt;Allow the child to create personal games or animations.&lt;/li&gt;
  &lt;li&gt;Move into text-based programming when block coding becomes too easy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal should be understanding and creativity rather than completing lessons as quickly as possible.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overall-rating&quot;&gt;Overall Rating&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Code.org is one of the strongest free introductions to computer science for children. It provides structured courses, age-appropriate activities, recognizable themes, and a gradual path from basic sequencing to more advanced programming concepts.&lt;/p&gt;

&lt;p&gt;Its primary weakness for home use is the limited parent-account experience. Parents must usually review progress directly through the child’s account rather than using a separate parent dashboard.&lt;/p&gt;

&lt;p&gt;Despite that limitation, Code.org is an excellent starting point for children who are curious about coding, games, websites, applications, or technology.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Code.org provides an engaging and affordable way for children to begin learning computer science. Its visual programming activities make difficult concepts easier to understand, while its courses give students a structured path from beginner puzzles to larger projects and text-based programming.&lt;/p&gt;

&lt;p&gt;Parents can begin with a short Hour of Code activity and then move the child into an age-appropriate course. Children who remain interested can later expand into Python, Java, web development, robotics, or other advanced learning platforms.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/&quot;&gt;Code.org&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://studio.code.org/courses&quot;&gt;Code.org Courses&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/students/elementary&quot;&gt;Code.org for Elementary Students&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/students/middle-and-high-school&quot;&gt;Code.org for Middle and High School Students&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/learn&quot;&gt;Hour of Code Activities&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/parents&quot;&gt;Code.org Resources for Parents&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.code.org/hc/en-us/categories/13985140269581-Parents&quot;&gt;Code.org Parent Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.org/privacy/&quot;&gt;Code.org Privacy Policy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 25 Jul 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/code-org-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/code-org-review/</guid>
        
        <category>codeorg</category>
        
        <category>coding</category>
        
        <category>kids</category>
        
        <category>computer-science</category>
        
        <category>online-learning</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Change Local Password Expiration in Windows</title>
        <description>&lt;p&gt;Windows local accounts can be configured so their passwords expire according to the computer’s password policy or never expire.&lt;/p&gt;

&lt;p&gt;These settings apply to local accounts stored on the computer. Domain accounts are normally controlled through Active Directory and Group Policy.&lt;/p&gt;

&lt;p&gt;In this blog post, we will change password expiration settings for individual local accounts and the computer’s overall password policy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#use-local-users-and-groups&quot; id=&quot;markdown-toc-use-local-users-and-groups&quot;&gt;Use Local Users and Groups&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#change-expiration-with-powershell&quot; id=&quot;markdown-toc-change-expiration-with-powershell&quot;&gt;Change Expiration with PowerShell&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#change-the-maximum-password-age&quot; id=&quot;markdown-toc-change-the-maximum-password-age&quot;&gt;Change the Maximum Password Age&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-considerations&quot; id=&quot;markdown-toc-important-considerations&quot;&gt;Important Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-local-users-and-groups&quot;&gt;Use Local Users and Groups&lt;/h2&gt;

&lt;p&gt;Open the Run dialog and enter:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;lusrmgr.msc&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select &lt;strong&gt;Users&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Double-click the local account.&lt;/li&gt;
  &lt;li&gt;Select or clear &lt;strong&gt;Password never expires&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Selecting &lt;strong&gt;Password never expires&lt;/strong&gt; prevents that account’s password from expiring.&lt;/p&gt;

&lt;p&gt;Clearing it allows the account to follow the computer’s maximum password age policy.&lt;/p&gt;

&lt;p&gt;If the Local Users and Groups console is unavailable, use PowerShell instead.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;change-expiration-with-powershell&quot;&gt;Change Expiration with PowerShell&lt;/h2&gt;

&lt;p&gt;Open PowerShell as Administrator.&lt;/p&gt;

&lt;p&gt;Prevent a specific local user’s password from expiring:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set-LocalUser -Name “username” -PasswordNeverExpires $true&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Re-enable password expiration:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set-LocalUser -Name “username” -PasswordNeverExpires $false&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;username&lt;/code&gt; with the actual local account name.&lt;/p&gt;

&lt;p&gt;Verify the setting:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**Get-LocalUser -Name “username”&lt;/td&gt;
      &lt;td&gt;Select-Object Name, PasswordExpires**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;A blank &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PasswordExpires&lt;/code&gt; value normally indicates that the password is configured not to expire.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;change-the-maximum-password-age&quot;&gt;Change the Maximum Password Age&lt;/h2&gt;

&lt;p&gt;Use the following command to review the computer’s current local password policy:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;net accounts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Set local account passwords to expire after 90 days:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;net accounts /maxpwage:90&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Disable the system-wide maximum password age:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;net accounts /maxpwage:unlimited&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The maximum password age applies to local accounts that are not individually configured with &lt;strong&gt;Password never expires&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-considerations&quot;&gt;Important Considerations&lt;/h2&gt;

&lt;p&gt;Before disabling password expiration:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that organizational security policies allow it.&lt;/li&gt;
  &lt;li&gt;Use a long and unique password or passphrase.&lt;/li&gt;
  &lt;li&gt;Protect administrative accounts carefully.&lt;/li&gt;
  &lt;li&gt;Avoid sharing local account credentials.&lt;/li&gt;
  &lt;li&gt;Review local accounts regularly.&lt;/li&gt;
  &lt;li&gt;Disable accounts that are no longer required.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Password expiration and account expiration are separate settings. Disabling password expiration does not prevent the local user account itself from being disabled or assigned an account expiration date.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Windows provides graphical and command-line methods for managing local password expiration.&lt;/p&gt;

&lt;p&gt;Use &lt;strong&gt;Set-LocalUser&lt;/strong&gt; to control expiration for a specific account and &lt;strong&gt;net accounts&lt;/strong&gt; to configure the maximum password age for the computer. Verify organizational security requirements before setting passwords to never expire, particularly for privileged local accounts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/powershell/module/microsoft.powershell.localaccounts/set-localuser&quot;&gt;Microsoft Set-LocalUser Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/troubleshoot/windows-server/networking/net-commands-on-operating-systems&quot;&gt;Microsoft Net Accounts Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/windows-commands/net-user&quot;&gt;Microsoft Net User Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 18 Jul 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/change-local-password-expiration-windows/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/change-local-password-expiration-windows/</guid>
        
        <category>windows</category>
        
        <category>local-users</category>
        
        <category>passwords</category>
        
        <category>powershell</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>VNC vs. RDP</title>
        <description>&lt;p&gt;VNC and RDP allow users to view and control a computer from another device. Both technologies transmit keyboard and mouse input to the remote system and return a visual representation of its desktop.&lt;/p&gt;

&lt;p&gt;The primary difference is how the remote desktop is delivered. RDP generally creates or reconnects to a Windows user session and sends optimized graphical information to the client. VNC commonly shares the remote computer’s existing screen by transmitting framebuffer updates.&lt;/p&gt;

&lt;p&gt;In this blog post, we will compare VNC and RDP and explain which remote-access technology is better for different situations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-rdp&quot; id=&quot;markdown-toc-what-is-rdp&quot;&gt;What Is RDP?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-vnc&quot; id=&quot;markdown-toc-what-is-vnc&quot;&gt;What Is VNC?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-differences&quot; id=&quot;markdown-toc-key-differences&quot;&gt;Key Differences&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#user-sessions&quot; id=&quot;markdown-toc-user-sessions&quot;&gt;User Sessions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#platform-support&quot; id=&quot;markdown-toc-platform-support&quot;&gt;Platform Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security&quot; id=&quot;markdown-toc-security&quot;&gt;Security&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-to-use-rdp&quot; id=&quot;markdown-toc-when-to-use-rdp&quot;&gt;When to Use RDP&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-to-use-vnc&quot; id=&quot;markdown-toc-when-to-use-vnc&quot;&gt;When to Use VNC&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#rdp-advantages&quot; id=&quot;markdown-toc-rdp-advantages&quot;&gt;RDP Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#rdp-limitations&quot; id=&quot;markdown-toc-rdp-limitations&quot;&gt;RDP Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#vnc-advantages&quot; id=&quot;markdown-toc-vnc-advantages&quot;&gt;VNC Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#vnc-limitations&quot; id=&quot;markdown-toc-vnc-limitations&quot;&gt;VNC Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#which-one-should-you-choose&quot; id=&quot;markdown-toc-which-one-should-you-choose&quot;&gt;Which One Should You Choose?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-rdp&quot;&gt;What Is RDP?&lt;/h2&gt;

&lt;p&gt;Remote Desktop Protocol, or RDP, is Microsoft’s remote-display protocol for Windows systems.&lt;/p&gt;

&lt;p&gt;RDP can provide access to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A complete Windows desktop&lt;/li&gt;
  &lt;li&gt;A specific user session&lt;/li&gt;
  &lt;li&gt;Published applications through RemoteApp&lt;/li&gt;
  &lt;li&gt;Local drives&lt;/li&gt;
  &lt;li&gt;Printers&lt;/li&gt;
  &lt;li&gt;Clipboard content&lt;/li&gt;
  &lt;li&gt;Audio&lt;/li&gt;
  &lt;li&gt;Smart cards&lt;/li&gt;
  &lt;li&gt;Multiple monitors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RDP is closely integrated with Windows and is commonly used for server administration, virtual desktops, remote work, and access to Windows applications.&lt;/p&gt;

&lt;p&gt;RDP commonly uses TCP and UDP port &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3389&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-vnc&quot;&gt;What Is VNC?&lt;/h2&gt;

&lt;p&gt;Virtual Network Computing, or VNC, is a remote-display technology based on the Remote Framebuffer protocol.&lt;/p&gt;

&lt;p&gt;A VNC environment normally consists of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A VNC server installed on the remote computer&lt;/li&gt;
  &lt;li&gt;A VNC viewer installed on the client&lt;/li&gt;
  &lt;li&gt;A network connection between the devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VNC is available for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Linux&lt;/li&gt;
  &lt;li&gt;Windows&lt;/li&gt;
  &lt;li&gt;macOS&lt;/li&gt;
  &lt;li&gt;UNIX-like systems&lt;/li&gt;
  &lt;li&gt;Embedded devices&lt;/li&gt;
  &lt;li&gt;Single-board computers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Depending on the VNC server, the connection may share the physical desktop currently visible on the monitor or provide a separate virtual desktop.&lt;/p&gt;

&lt;p&gt;VNC commonly begins with TCP port &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;5900&lt;/code&gt;, with additional displays sometimes using ports such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;5901&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;5902&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-differences&quot;&gt;Key Differences&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;RDP&lt;/th&gt;
      &lt;th&gt;VNC&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Primary platform&lt;/td&gt;
      &lt;td&gt;Windows&lt;/td&gt;
      &lt;td&gt;Cross-platform&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Connection type&lt;/td&gt;
      &lt;td&gt;Remote user session&lt;/td&gt;
      &lt;td&gt;Screen or framebuffer sharing&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Performance&lt;/td&gt;
      &lt;td&gt;Generally faster&lt;/td&gt;
      &lt;td&gt;Often uses more bandwidth&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Existing console view&lt;/td&gt;
      &lt;td&gt;Usually separate&lt;/td&gt;
      &lt;td&gt;Commonly shares the same screen&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Multi-user sessions&lt;/td&gt;
      &lt;td&gt;Supported with Windows RDS&lt;/td&gt;
      &lt;td&gt;Limited and implementation-dependent&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;File and device redirection&lt;/td&gt;
      &lt;td&gt;Strong built-in support&lt;/td&gt;
      &lt;td&gt;Depends on the VNC product&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Typical use&lt;/td&gt;
      &lt;td&gt;Windows administration and remote work&lt;/td&gt;
      &lt;td&gt;Cross-platform access and screen sharing&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Default port&lt;/td&gt;
      &lt;td&gt;3389&lt;/td&gt;
      &lt;td&gt;5900&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Server software&lt;/td&gt;
      &lt;td&gt;Built into supported Windows editions&lt;/td&gt;
      &lt;td&gt;Usually installed separately&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;RDP generally performs better across slower or higher-latency connections.&lt;/p&gt;

&lt;p&gt;Instead of continually transmitting complete screen images, RDP can send optimized graphical updates and interface information. It also supports compression, caching, and adaptive network behavior.&lt;/p&gt;

&lt;p&gt;VNC primarily transfers changes to the remote framebuffer. Performance can decline when the screen contains:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Video playback&lt;/li&gt;
  &lt;li&gt;Animations&lt;/li&gt;
  &lt;li&gt;Rapid scrolling&lt;/li&gt;
  &lt;li&gt;High resolutions&lt;/li&gt;
  &lt;li&gt;Multiple monitors&lt;/li&gt;
  &lt;li&gt;Frequently changing graphics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Modern VNC products include compression and performance improvements, but RDP is usually the stronger option for everyday Windows productivity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;user-sessions&quot;&gt;User Sessions&lt;/h2&gt;

&lt;p&gt;RDP commonly provides the remote user with a separate Windows session.&lt;/p&gt;

&lt;p&gt;When connecting to a Windows workstation, the local console may be locked while the remote session remains active. Windows Server Remote Desktop Services can support multiple simultaneous user sessions when correctly deployed and licensed.&lt;/p&gt;

&lt;p&gt;VNC commonly displays the same desktop that appears on the remote computer’s monitor.&lt;/p&gt;

&lt;p&gt;This makes VNC useful when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A local and remote user must view the same screen.&lt;/li&gt;
  &lt;li&gt;A technician is assisting another user.&lt;/li&gt;
  &lt;li&gt;The physical console must be controlled remotely.&lt;/li&gt;
  &lt;li&gt;A graphical Linux desktop must be accessed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some VNC servers can also create independent virtual desktops, so behavior depends on the selected implementation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;platform-support&quot;&gt;Platform Support&lt;/h2&gt;

&lt;p&gt;RDP is most closely associated with Windows.&lt;/p&gt;

&lt;p&gt;RDP clients are available for multiple operating systems, but the remote host is normally a Windows system or another platform running a compatible RDP server.&lt;/p&gt;

&lt;p&gt;VNC is more platform-independent. Products such as TigerVNC, RealVNC, and other compatible implementations can support several operating systems.&lt;/p&gt;

&lt;p&gt;VNC may be the better option when managing a mixed environment containing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Windows computers&lt;/li&gt;
  &lt;li&gt;Linux workstations&lt;/li&gt;
  &lt;li&gt;macOS systems&lt;/li&gt;
  &lt;li&gt;Raspberry Pi devices&lt;/li&gt;
  &lt;li&gt;Embedded equipment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security&quot;&gt;Security&lt;/h2&gt;

&lt;p&gt;Both RDP and VNC can be secure when properly configured, but neither should be exposed directly to the public Internet without additional protection.&lt;/p&gt;

&lt;p&gt;Recommended safeguards include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Use a VPN or secured remote-access gateway.&lt;/li&gt;
  &lt;li&gt;Restrict access through firewall rules.&lt;/li&gt;
  &lt;li&gt;Require strong authentication.&lt;/li&gt;
  &lt;li&gt;Enable multifactor authentication where supported.&lt;/li&gt;
  &lt;li&gt;Keep the remote-access software updated.&lt;/li&gt;
  &lt;li&gt;Use encrypted connections.&lt;/li&gt;
  &lt;li&gt;Limit access to approved accounts.&lt;/li&gt;
  &lt;li&gt;Monitor authentication logs.&lt;/li&gt;
  &lt;li&gt;Disable the service when it is not needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RDP supports technologies such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Transport Layer Security&lt;/li&gt;
  &lt;li&gt;Network Level Authentication&lt;/li&gt;
  &lt;li&gt;Remote Desktop Gateway&lt;/li&gt;
  &lt;li&gt;Windows account policies&lt;/li&gt;
  &lt;li&gt;Multifactor authentication integrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VNC security varies by implementation. Modern commercial products may provide strong encryption and multifactor authentication, while older or basic VNC servers may require an SSH tunnel or VPN for adequate protection.&lt;/p&gt;

&lt;p&gt;Do not assume that every VNC implementation provides the same authentication or encryption capabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-to-use-rdp&quot;&gt;When to Use RDP&lt;/h2&gt;

&lt;p&gt;RDP is generally the better choice when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The remote computer runs Windows.&lt;/li&gt;
  &lt;li&gt;Performance is important.&lt;/li&gt;
  &lt;li&gt;Users need a complete remote-work environment.&lt;/li&gt;
  &lt;li&gt;Clipboard, audio, drive, or printer redirection is required.&lt;/li&gt;
  &lt;li&gt;Multiple Windows Server sessions are needed.&lt;/li&gt;
  &lt;li&gt;RemoteApp applications must be published.&lt;/li&gt;
  &lt;li&gt;The organization already uses Active Directory.&lt;/li&gt;
  &lt;li&gt;Access can be protected through an RD Gateway or VPN.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RDP is particularly effective for Windows server administration and access to business applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-to-use-vnc&quot;&gt;When to Use VNC&lt;/h2&gt;

&lt;p&gt;VNC is generally the better choice when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The environment contains several operating systems.&lt;/li&gt;
  &lt;li&gt;The existing console session must be visible remotely.&lt;/li&gt;
  &lt;li&gt;A technician and local user must share the same screen.&lt;/li&gt;
  &lt;li&gt;A Linux graphical desktop must be accessed.&lt;/li&gt;
  &lt;li&gt;The system does not provide a native RDP server.&lt;/li&gt;
  &lt;li&gt;A Raspberry Pi or embedded device must be controlled.&lt;/li&gt;
  &lt;li&gt;A lightweight screen-sharing solution is preferred.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VNC is commonly used for technical support, laboratories, kiosks, Linux desktops, and equipment with graphical management interfaces.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;rdp-advantages&quot;&gt;RDP Advantages&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Strong Windows integration&lt;/li&gt;
  &lt;li&gt;Better performance on slower networks&lt;/li&gt;
  &lt;li&gt;Support for separate user sessions&lt;/li&gt;
  &lt;li&gt;Clipboard and device redirection&lt;/li&gt;
  &lt;li&gt;RemoteApp support&lt;/li&gt;
  &lt;li&gt;Multiple-monitor support&lt;/li&gt;
  &lt;li&gt;Centralized management through Windows Server&lt;/li&gt;
  &lt;li&gt;Active Directory integration&lt;/li&gt;
  &lt;li&gt;RD Gateway support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;rdp-limitations&quot;&gt;RDP Limitations&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Primarily designed for Windows environments&lt;/li&gt;
  &lt;li&gt;Hosting support depends on the Windows edition&lt;/li&gt;
  &lt;li&gt;Remote Desktop Services may require additional licensing&lt;/li&gt;
  &lt;li&gt;The local console may be locked&lt;/li&gt;
  &lt;li&gt;Direct Internet exposure creates significant security risk&lt;/li&gt;
  &lt;li&gt;Configuration can become complex in large deployments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;vnc-advantages&quot;&gt;VNC Advantages&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Broad operating-system support&lt;/li&gt;
  &lt;li&gt;Commonly shares the existing screen&lt;/li&gt;
  &lt;li&gt;Useful for remote technical assistance&lt;/li&gt;
  &lt;li&gt;Suitable for Linux and embedded systems&lt;/li&gt;
  &lt;li&gt;Several open-source implementations are available&lt;/li&gt;
  &lt;li&gt;Simple for local network administration&lt;/li&gt;
  &lt;li&gt;Can support physical or virtual desktops&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;vnc-limitations&quot;&gt;VNC Limitations&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Often slower than RDP&lt;/li&gt;
  &lt;li&gt;May consume more bandwidth&lt;/li&gt;
  &lt;li&gt;Security varies between implementations&lt;/li&gt;
  &lt;li&gt;File transfer and device redirection vary by product&lt;/li&gt;
  &lt;li&gt;Multiple independent sessions may be limited&lt;/li&gt;
  &lt;li&gt;High-resolution or animated content can reduce performance&lt;/li&gt;
  &lt;li&gt;Server software usually must be installed separately&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;which-one-should-you-choose&quot;&gt;Which One Should You Choose?&lt;/h2&gt;

&lt;p&gt;Choose &lt;strong&gt;RDP&lt;/strong&gt; for Windows administration, remote work, application delivery, and situations where performance and resource redirection are important.&lt;/p&gt;

&lt;p&gt;Choose &lt;strong&gt;VNC&lt;/strong&gt; for cross-platform access, Linux graphical desktops, embedded devices, technical support, and situations where the remote user must see the same screen as the local user.&lt;/p&gt;

&lt;p&gt;In some environments, both technologies are useful:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;RDP for Windows servers and employee desktops&lt;/li&gt;
  &lt;li&gt;VNC for Linux workstations, kiosks, and shared-console support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best choice depends on the operating system, security requirements, network conditions, and whether users need a separate session or the existing physical desktop.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;RDP and VNC provide similar remote-control capabilities but use different approaches.&lt;/p&gt;

&lt;p&gt;RDP is optimized for Windows sessions and generally offers better performance, stronger device redirection, and better support for enterprise remote-work environments. VNC offers broader platform compatibility and is often better for sharing the existing console or managing Linux and embedded systems.&lt;/p&gt;

&lt;p&gt;Regardless of the selected protocol, avoid directly exposing remote-desktop ports to the Internet. Protect remote access with a VPN, secured gateway, strong authentication, current software, and restrictive firewall rules.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://cloudzy.com/blog/rdp-vs-vnc/&quot;&gt;Cloudzy - RDP vs. VNC&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/remote/remote-desktop-services/remote-desktop-services-overview&quot;&gt;Microsoft Remote Desktop Services Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/openspecs/windows_protocols/ms-rdsod/&quot;&gt;Microsoft Remote Desktop Protocol Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/TigerVNC/tigervnc&quot;&gt;TigerVNC&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.realvnc.com/en/connect/security/&quot;&gt;RealVNC Security and Privacy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 11 Jul 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/macos/linux/vnc-vs-rdp/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/macos/linux/vnc-vs-rdp/</guid>
        
        <category>vnc</category>
        
        <category>rdp</category>
        
        <category>remote-desktop</category>
        
        <category>remote-access</category>
        
        <category>networking</category>
        
        
        <category>Windows</category>
        
        <category>Macos</category>
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Room Alert 12SR Overview</title>
        <description>&lt;p&gt;The AVTECH Room Alert 12SR is a network-connected environmental monitor designed for server rooms, network closets, data centers, warehouses, and other areas containing sensitive equipment.&lt;/p&gt;

&lt;p&gt;It continuously monitors environmental conditions and generates alerts when a configured threshold is exceeded. This allows administrators to respond to overheating, water leaks, power failures, open doors, and other problems before they result in equipment damage or extended downtime.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;R&lt;/strong&gt; in 12SR identifies the rack-mounted version of the Room Alert 12S. It includes a removable 19-inch rack mount and occupies 1U of rack space.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review the Room Alert 12SR, its available connections, monitoring capabilities, alerting options, and ideal use cases.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#room-alert-12sr-features&quot; id=&quot;markdown-toc-room-alert-12sr-features&quot;&gt;Room Alert 12SR Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#built-in-temperature-sensor&quot; id=&quot;markdown-toc-built-in-temperature-sensor&quot;&gt;Built-In Temperature Sensor&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#external-sensor-connections&quot; id=&quot;markdown-toc-external-sensor-connections&quot;&gt;External Sensor Connections&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#digital-sensor-ports&quot; id=&quot;markdown-toc-digital-sensor-ports&quot;&gt;Digital Sensor Ports&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#switch-sensor-inputs&quot; id=&quot;markdown-toc-switch-sensor-inputs&quot;&gt;Switch Sensor Inputs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#analog-sensor-input&quot; id=&quot;markdown-toc-analog-sensor-input&quot;&gt;Analog Sensor Input&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#relay-and-light-tower-control&quot; id=&quot;markdown-toc-relay-and-light-tower-control&quot;&gt;Relay and Light Tower Control&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#network-connectivity&quot; id=&quot;markdown-toc-network-connectivity&quot;&gt;Network Connectivity&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monitoring-and-alerting-options&quot; id=&quot;markdown-toc-monitoring-and-alerting-options&quot;&gt;Monitoring and Alerting Options&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#built-in-web-interface&quot; id=&quot;markdown-toc-built-in-web-interface&quot;&gt;Built-In Web Interface&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#roomalertcom&quot; id=&quot;markdown-toc-roomalertcom&quot;&gt;RoomAlert.com&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#room-alert-manager&quot; id=&quot;markdown-toc-room-alert-manager&quot;&gt;Room Alert Manager&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#third-party-monitoring-platforms&quot; id=&quot;markdown-toc-third-party-monitoring-platforms&quot;&gt;Third-Party Monitoring Platforms&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#basic-installation&quot; id=&quot;markdown-toc-basic-installation&quot;&gt;Basic Installation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-security-settings&quot; id=&quot;markdown-toc-recommended-security-settings&quot;&gt;Recommended Security Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ideal-use-cases&quot; id=&quot;markdown-toc-ideal-use-cases&quot;&gt;Ideal Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;room-alert-12sr-features&quot;&gt;Room Alert 12SR Features&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR includes an internal digital temperature sensor and connections for several external sensors and accessories.&lt;/p&gt;

&lt;p&gt;Its primary features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Built-in temperature monitoring&lt;/li&gt;
  &lt;li&gt;Three digital sensor ports&lt;/li&gt;
  &lt;li&gt;Four switch sensor inputs&lt;/li&gt;
  &lt;li&gt;One analog sensor input&lt;/li&gt;
  &lt;li&gt;One relay output&lt;/li&gt;
  &lt;li&gt;One Light Tower and Relay Adapter port&lt;/li&gt;
  &lt;li&gt;Ethernet connectivity&lt;/li&gt;
  &lt;li&gt;Power over Ethernet support&lt;/li&gt;
  &lt;li&gt;Built-in web interface&lt;/li&gt;
  &lt;li&gt;Email and text-message alerting&lt;/li&gt;
  &lt;li&gt;SNMP monitoring and traps&lt;/li&gt;
  &lt;li&gt;HTTP and JSON integration&lt;/li&gt;
  &lt;li&gt;Rack-mounted 1U design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The monitor can track its internal temperature sensor plus as many as eight additional environmental conditions through its digital, switch, and analog sensor inputs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;built-in-temperature-sensor&quot;&gt;Built-In Temperature Sensor&lt;/h2&gt;

&lt;p&gt;The internal sensor continuously monitors ambient temperature around the Room Alert unit.&lt;/p&gt;

&lt;p&gt;Its supported range is:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-40°F to 185°F (-40°C to 85°C)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Administrators can configure high and low temperature thresholds through the built-in web interface.&lt;/p&gt;

&lt;p&gt;For example, alerts could be generated when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Server room temperature rises above 85°F.&lt;/li&gt;
  &lt;li&gt;Temperature drops below an acceptable equipment threshold.&lt;/li&gt;
  &lt;li&gt;Air conditioning stops working.&lt;/li&gt;
  &lt;li&gt;A rack develops a localized hot spot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The monitor itself does not include an internal humidity sensor. Humidity monitoring requires an external Digital Temperature and Humidity Sensor.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;external-sensor-connections&quot;&gt;External Sensor Connections&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR supports several types of AVTECH and compatible third-party sensors.&lt;/p&gt;

&lt;h3 id=&quot;digital-sensor-ports&quot;&gt;Digital Sensor Ports&lt;/h3&gt;

&lt;p&gt;Three RJ-11 digital sensor ports support sensors such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Temperature&lt;/li&gt;
  &lt;li&gt;Temperature and humidity&lt;/li&gt;
  &lt;li&gt;Airflow&lt;/li&gt;
  &lt;li&gt;Active power&lt;/li&gt;
  &lt;li&gt;Fluid temperature&lt;/li&gt;
  &lt;li&gt;Outdoor temperature&lt;/li&gt;
  &lt;li&gt;Extreme temperature&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Digital sensors are automatically detected when connected.&lt;/p&gt;

&lt;h3 id=&quot;switch-sensor-inputs&quot;&gt;Switch Sensor Inputs&lt;/h3&gt;

&lt;p&gt;Four switch sensor inputs monitor open or closed contact conditions.&lt;/p&gt;

&lt;p&gt;Compatible sensors can detect:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Water leaks&lt;/li&gt;
  &lt;li&gt;Door entry&lt;/li&gt;
  &lt;li&gt;Smoke or fire alarms&lt;/li&gt;
  &lt;li&gt;Main power failure&lt;/li&gt;
  &lt;li&gt;UPS status&lt;/li&gt;
  &lt;li&gt;Air conditioning failure&lt;/li&gt;
  &lt;li&gt;Generator status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Third-party devices with compatible dry-contact outputs can also be connected.&lt;/p&gt;

&lt;h3 id=&quot;analog-sensor-input&quot;&gt;Analog Sensor Input&lt;/h3&gt;

&lt;p&gt;The analog input supports compatible sensors that produce a low-voltage analog signal.&lt;/p&gt;

&lt;p&gt;This can be used for monitoring equipment such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Current loops&lt;/li&gt;
  &lt;li&gt;Pressure sensors&lt;/li&gt;
  &lt;li&gt;Fuel levels&lt;/li&gt;
  &lt;li&gt;Industrial equipment&lt;/li&gt;
  &lt;li&gt;Specialized environmental sensors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;relay-and-light-tower-control&quot;&gt;Relay and Light Tower Control&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR includes a relay output that can control compatible low-voltage devices when an alarm condition occurs.&lt;/p&gt;

&lt;p&gt;Possible uses include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Activating a fan&lt;/li&gt;
  &lt;li&gt;Triggering an alarm panel&lt;/li&gt;
  &lt;li&gt;Controlling an external warning device&lt;/li&gt;
  &lt;li&gt;Signaling building automation equipment&lt;/li&gt;
  &lt;li&gt;Turning compatible equipment on or off&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Light Tower and Relay Adapter port can connect an AVTECH Light Tower for visible and audible notifications.&lt;/p&gt;

&lt;p&gt;For example, the tower could:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Display green during normal conditions.&lt;/li&gt;
  &lt;li&gt;Display yellow when a warning threshold is reached.&lt;/li&gt;
  &lt;li&gt;Display red and activate a siren during a critical alarm.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These local alerts remain useful when email, Internet access, or external monitoring services are unavailable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;network-connectivity&quot;&gt;Network Connectivity&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR connects to the network through its RJ-45 Ethernet port.&lt;/p&gt;

&lt;p&gt;It can be powered using:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The included AVTECH 5V power adapter&lt;/li&gt;
  &lt;li&gt;IEEE 802.3af Power over Ethernet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PoE simplifies installation because a single Ethernet cable can provide both network connectivity and power.&lt;/p&gt;

&lt;p&gt;The device supports:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;HTTP and HTTPS&lt;/li&gt;
  &lt;li&gt;TLS-protected email delivery&lt;/li&gt;
  &lt;li&gt;SNMPv1 traps&lt;/li&gt;
  &lt;li&gt;SNMPv2c&lt;/li&gt;
  &lt;li&gt;SNMPv3&lt;/li&gt;
  &lt;li&gt;HTTP posts&lt;/li&gt;
  &lt;li&gt;JSON access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SNMP support allows the monitor to integrate with existing network-monitoring platforms.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monitoring-and-alerting-options&quot;&gt;Monitoring and Alerting Options&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR can be monitored through several platforms.&lt;/p&gt;

&lt;h3 id=&quot;built-in-web-interface&quot;&gt;Built-In Web Interface&lt;/h3&gt;

&lt;p&gt;The local web interface displays:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Current sensor readings&lt;/li&gt;
  &lt;li&gt;Alarm status&lt;/li&gt;
  &lt;li&gt;Device information&lt;/li&gt;
  &lt;li&gt;Network settings&lt;/li&gt;
  &lt;li&gt;Sensor labels&lt;/li&gt;
  &lt;li&gt;Alert thresholds&lt;/li&gt;
  &lt;li&gt;Email settings&lt;/li&gt;
  &lt;li&gt;SNMP settings&lt;/li&gt;
  &lt;li&gt;Relay and alarm profiles&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HTTPS should be used whenever possible to protect administrative access.&lt;/p&gt;

&lt;h3 id=&quot;roomalertcom&quot;&gt;RoomAlert.com&lt;/h3&gt;

&lt;p&gt;The device can send readings to a RoomAlert.com account for centralized remote monitoring.&lt;/p&gt;

&lt;p&gt;Depending on the account level, the service can provide:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Remote dashboards&lt;/li&gt;
  &lt;li&gt;Historical sensor data&lt;/li&gt;
  &lt;li&gt;Graphs&lt;/li&gt;
  &lt;li&gt;Reports&lt;/li&gt;
  &lt;li&gt;Alert notifications&lt;/li&gt;
  &lt;li&gt;Multiple-device monitoring&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;room-alert-manager&quot;&gt;Room Alert Manager&lt;/h3&gt;

&lt;p&gt;Room Alert Manager can monitor Room Alert devices from a locally managed system.&lt;/p&gt;

&lt;p&gt;This can be useful when an organization prefers to keep monitoring data within its own network.&lt;/p&gt;

&lt;h3 id=&quot;third-party-monitoring-platforms&quot;&gt;Third-Party Monitoring Platforms&lt;/h3&gt;

&lt;p&gt;SNMP and HTTP/JSON support allow the Room Alert 12SR to integrate with compatible monitoring and management tools.&lt;/p&gt;

&lt;p&gt;Administrators can use SNMP polling or traps to monitor environmental alarms alongside servers, switches, firewalls, and other network equipment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;basic-installation&quot;&gt;Basic Installation&lt;/h2&gt;

&lt;p&gt;A basic installation consists of the following steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install the Room Alert 12SR in an available 1U rack location.&lt;/li&gt;
  &lt;li&gt;Connect the Ethernet cable.&lt;/li&gt;
  &lt;li&gt;Connect PoE or the included power adapter.&lt;/li&gt;
  &lt;li&gt;Attach the required external sensors.&lt;/li&gt;
  &lt;li&gt;Locate the device’s assigned IP address.&lt;/li&gt;
  &lt;li&gt;Open the built-in web interface.&lt;/li&gt;
  &lt;li&gt;Configure a static IP address or DHCP reservation.&lt;/li&gt;
  &lt;li&gt;Configure temperature and sensor thresholds.&lt;/li&gt;
  &lt;li&gt;Configure email, SNMP, or cloud alerting.&lt;/li&gt;
  &lt;li&gt;Test each sensor and notification method.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sensors should be positioned near the equipment or physical condition being monitored rather than only near the Room Alert unit.&lt;/p&gt;

&lt;p&gt;For example, a temperature sensor may be placed near the top or rear of a server rack where hot air accumulates.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-security-settings&quot;&gt;Recommended Security Settings&lt;/h2&gt;

&lt;p&gt;After installation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Change the administrative credentials.&lt;/li&gt;
  &lt;li&gt;Enable HTTPS.&lt;/li&gt;
  &lt;li&gt;Use SNMPv3 instead of SNMPv1 or SNMPv2c when supported.&lt;/li&gt;
  &lt;li&gt;Use a TLS-enabled mail server.&lt;/li&gt;
  &lt;li&gt;Restrict management access through firewall rules.&lt;/li&gt;
  &lt;li&gt;Place the device on a secured management network.&lt;/li&gt;
  &lt;li&gt;Update the firmware regularly.&lt;/li&gt;
  &lt;li&gt;Disable unused monitoring protocols.&lt;/li&gt;
  &lt;li&gt;Back up the device configuration.&lt;/li&gt;
  &lt;li&gt;Use a static IP address or DHCP reservation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The device should not be directly exposed to the public Internet.&lt;/p&gt;

&lt;p&gt;Remote access should be provided through a VPN, secured management network, or the supported RoomAlert.com service.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ideal-use-cases&quot;&gt;Ideal Use Cases&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR is well suited for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Server rooms&lt;/li&gt;
  &lt;li&gt;Data centers&lt;/li&gt;
  &lt;li&gt;Network closets&lt;/li&gt;
  &lt;li&gt;Telecommunications rooms&lt;/li&gt;
  &lt;li&gt;Equipment racks&lt;/li&gt;
  &lt;li&gt;Warehouses&lt;/li&gt;
  &lt;li&gt;Laboratories&lt;/li&gt;
  &lt;li&gt;Records-storage areas&lt;/li&gt;
  &lt;li&gt;Remote offices&lt;/li&gt;
  &lt;li&gt;Unattended facilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is particularly useful in environments that need more sensor capacity than a basic monitor but do not require the larger Room Alert 32S.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;The Room Alert 12SR provides several practical advantages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fits directly into a standard 19-inch rack.&lt;/li&gt;
  &lt;li&gt;Uses only 1U of space.&lt;/li&gt;
  &lt;li&gt;Supports PoE.&lt;/li&gt;
  &lt;li&gt;Includes an internal temperature sensor.&lt;/li&gt;
  &lt;li&gt;Supports several external sensor types.&lt;/li&gt;
  &lt;li&gt;Provides local and remote alerting.&lt;/li&gt;
  &lt;li&gt;Integrates with SNMP monitoring systems.&lt;/li&gt;
  &lt;li&gt;Can activate relays and warning lights.&lt;/li&gt;
  &lt;li&gt;Provides both cloud and locally managed monitoring options.&lt;/li&gt;
  &lt;li&gt;Does not depend exclusively on cloud connectivity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;Consider the following limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Internal humidity monitoring is not included.&lt;/li&gt;
  &lt;li&gt;Additional sensors increase the total cost.&lt;/li&gt;
  &lt;li&gt;Advanced RoomAlert.com features may require a paid account level.&lt;/li&gt;
  &lt;li&gt;The unit does not include an internal backup battery.&lt;/li&gt;
  &lt;li&gt;Sensor placement requires careful planning.&lt;/li&gt;
  &lt;li&gt;Relay outputs are intended for compatible low-voltage devices.&lt;/li&gt;
  &lt;li&gt;The rack-mounted version occupies 1U of rack space.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Organizations needing more inputs, internal humidity monitoring, or battery backup may need to evaluate the larger Room Alert 32S.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The AVTECH Room Alert 12SR provides a flexible environmental-monitoring solution for server rooms, network closets, equipment racks, and other critical spaces.&lt;/p&gt;

&lt;p&gt;Its internal temperature sensor, external sensor connections, PoE support, relay output, Light Tower integration, and SNMP compatibility make it suitable for monitoring several environmental risks from one rack-mounted device.&lt;/p&gt;

&lt;p&gt;The greatest value comes from pairing the monitor with carefully positioned temperature, humidity, flood, power, and door sensors. When thresholds and notifications are properly configured, the Room Alert 12SR can warn administrators about developing problems before they cause equipment failure or service downtime.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/Products/Room_Alert_PRO/Room_Alert_12SR/Responder.htm&quot;&gt;AVTECH Room Alert 12SR&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/PDFs/Products/RA/Room_Alert_S_Model_User_Manual.pdf&quot;&gt;Room Alert S Model User Guide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/articles/19017/room-alert-12s/&quot;&gt;Room Alert 12S Product Tour&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/articles/26641/product-manuals-installation-notes-2/&quot;&gt;Room Alert Product Manuals&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/Products/Room_Alert_Manager/&quot;&gt;Room Alert Manager&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://avtech.com/Support/&quot;&gt;AVTECH Support Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 04 Jul 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/room-alert-12sr-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/room-alert-12sr-review/</guid>
        
        <category>room-alert</category>
        
        <category>avtech</category>
        
        <category>monitoring</category>
        
        <category>server-room</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Add Multiple SSH Keys to Your Profile</title>
        <description>&lt;p&gt;OpenSSH stores user-specific keys and configuration inside the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ssh&lt;/code&gt; directory in the user’s home folder.&lt;/p&gt;

&lt;p&gt;Common locations include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Linux and macOS: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Windows: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;%USERPROFILE%\.ssh&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Multiple private keys can be stored in this directory and assigned to specific servers through the SSH client configuration file.&lt;/p&gt;

&lt;p&gt;In this blog post, we will add multiple SSH keys to a local user profile and configure SSH to select the correct key for each connection.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#review-existing-ssh-keys&quot; id=&quot;markdown-toc-review-existing-ssh-keys&quot;&gt;Review Existing SSH Keys&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#generate-an-additional-ssh-key&quot; id=&quot;markdown-toc-generate-an-additional-ssh-key&quot;&gt;Generate an Additional SSH Key&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#set-the-file-permissions&quot; id=&quot;markdown-toc-set-the-file-permissions&quot;&gt;Set the File Permissions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#add-the-key-to-ssh-agent&quot; id=&quot;markdown-toc-add-the-key-to-ssh-agent&quot;&gt;Add the Key to SSH Agent&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-the-ssh-client&quot; id=&quot;markdown-toc-configure-the-ssh-client&quot;&gt;Configure the SSH Client&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#connect-using-the-host-alias&quot; id=&quot;markdown-toc-connect-using-the-host-alias&quot;&gt;Connect Using the Host Alias&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-ssh-agent-on-windows&quot; id=&quot;markdown-toc-configure-ssh-agent-on-windows&quot;&gt;Configure SSH Agent on Windows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-the-public-key-remotely&quot; id=&quot;markdown-toc-install-the-public-key-remotely&quot;&gt;Install the Public Key Remotely&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting&quot; id=&quot;markdown-toc-troubleshooting&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;review-existing-ssh-keys&quot;&gt;Review Existing SSH Keys&lt;/h2&gt;

&lt;p&gt;List the existing files in your SSH directory:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ls -la ~/.ssh&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Common key files include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519.pub&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_rsa&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_rsa.pub&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;config&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;known_hosts&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Files ending in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pub&lt;/code&gt; are public keys. Files without &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pub&lt;/code&gt; are private keys and should never be shared.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;generate-an-additional-ssh-key&quot;&gt;Generate an Additional SSH Key&lt;/h2&gt;

&lt;p&gt;Generate a separate Ed25519 key with a descriptive filename:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-keygen -t ed25519 -C “work-server” -f ~/.ssh/id_ed25519_work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enter a strong passphrase when prompted.&lt;/p&gt;

&lt;p&gt;This creates:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/id_ed25519_work&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/id_ed25519_work.pub&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use descriptive names such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519_work&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519_personal&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519_github&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_ed25519_servername&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;set-the-file-permissions&quot;&gt;Set the File Permissions&lt;/h2&gt;

&lt;p&gt;On Linux or macOS, configure restrictive permissions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;chmod 700 ~/.ssh&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;chmod 600 ~/.ssh/id_ed25519_work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;chmod 644 ~/.ssh/id_ed25519_work.pub&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Private keys should only be readable by the local user who owns them.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-the-key-to-ssh-agent&quot;&gt;Add the Key to SSH Agent&lt;/h2&gt;

&lt;p&gt;Start SSH agent when necessary:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;eval “$(ssh-agent -s)”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add the new private key:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add ~/.ssh/id_ed25519_work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Display the currently loaded keys:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add -l&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Remove a specific key with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add -d ~/.ssh/id_ed25519_work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-the-ssh-client&quot;&gt;Configure the SSH Client&lt;/h2&gt;

&lt;p&gt;Create or edit the local SSH configuration file:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;vi ~/.ssh/config&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add a separate host entry for each key:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Host work-server
    HostName server.example.com
    User admin
    IdentityFile ~/.ssh/id_ed25519_work
    IdentitiesOnly yes

Host personal-server
    HostName personal.example.com
    User jamison
    IdentityFile ~/.ssh/id_ed25519_personal
    IdentitiesOnly yes
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Set the configuration file permissions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;chmod 600 ~/.ssh/config&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The important settings are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt; creates a local connection alias.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HostName&lt;/code&gt; specifies the actual server address.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;User&lt;/code&gt; specifies the remote username.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentityFile&lt;/code&gt; specifies the private key.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentitiesOnly yes&lt;/code&gt; prevents SSH from trying unrelated keys loaded in SSH agent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;connect-using-the-host-alias&quot;&gt;Connect Using the Host Alias&lt;/h2&gt;

&lt;p&gt;After creating the configuration, connect using the alias:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh work-server&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;OpenSSH automatically uses the hostname, username, and private key defined for that alias.&lt;/p&gt;

&lt;p&gt;You can still specify a private key manually:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh -i ~/.ssh/id_ed25519_work admin@server.example.com&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The SSH configuration file is more convenient for frequently accessed systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-ssh-agent-on-windows&quot;&gt;Configure SSH Agent on Windows&lt;/h2&gt;

&lt;p&gt;Open PowerShell as Administrator and enable the OpenSSH Authentication Agent:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set-Service -Name ssh-agent -StartupType Automatic&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Start-Service ssh-agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add the private key:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add $HOME.ssh\id_ed25519_work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;List loaded keys:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add -l&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Windows SSH configuration file is stored at:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;%USERPROFILE%\.ssh\config&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It uses the same &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentityFile&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentitiesOnly&lt;/code&gt; settings as Linux and macOS.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-the-public-key-remotely&quot;&gt;Install the Public Key Remotely&lt;/h2&gt;

&lt;p&gt;The corresponding public key must be added to the remote server or service.&lt;/p&gt;

&lt;p&gt;For a Linux server with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt; available, run:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-copy-id -i ~/.ssh/id_ed25519_work.pub admin@server.example.com&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The public key is normally added to the remote user’s:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Services such as GitHub, GitLab, Bitbucket, and Gitea provide an account setting where the contents of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pub&lt;/code&gt; file can be added.&lt;/p&gt;

&lt;p&gt;Never upload or copy the private key.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;

&lt;p&gt;Display detailed connection information with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh -v work-server&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Confirm that the expected key appears after:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Offering public key&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If SSH tries too many keys or displays &lt;strong&gt;Too many authentication failures&lt;/strong&gt;, confirm that the host entry contains:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;IdentitiesOnly yes
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Also verify:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The correct private key is referenced.&lt;/li&gt;
  &lt;li&gt;The public key exists on the remote account.&lt;/li&gt;
  &lt;li&gt;The local key permissions are restrictive.&lt;/li&gt;
  &lt;li&gt;The remote username is correct.&lt;/li&gt;
  &lt;li&gt;SSH agent contains the expected key.&lt;/li&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt; alias matches the connection command.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;OpenSSH can manage multiple private keys from the same local user profile. Each key should use a descriptive filename and be assigned to the appropriate server through &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/config&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentityFile&lt;/code&gt; with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IdentitiesOnly yes&lt;/code&gt; ensures that SSH presents the correct key instead of attempting every identity loaded in SSH agent. This creates a cleaner and more reliable setup for accessing multiple servers, Git accounts, and organizations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://man.openbsd.org/ssh_config&quot;&gt;OpenSSH SSH Client Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://man.openbsd.org/ssh-add&quot;&gt;OpenSSH ssh-add Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh_keymanagement&quot;&gt;Microsoft OpenSSH Key Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/account-and-profile/how-tos/account-management/managing-multiple-accounts&quot;&gt;GitHub Managing Multiple Accounts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 27 Jun 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/windows/macos/add-multiple-ssh-keys-to-profile/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/windows/macos/add-multiple-ssh-keys-to-profile/</guid>
        
        <category>linux</category>
        
        <category>ssh</category>
        
        <category>openssh</category>
        
        <category>ssh-keys</category>
        
        
        <category>Linux</category>
        
        <category>Windows</category>
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>How to Copy and Paste Delimited Text Into Excel</title>
        <description>&lt;p&gt;Delimited text uses a specific character to separate values. Common delimiters include tabs, commas, semicolons, spaces, and vertical bars.&lt;/p&gt;

&lt;p&gt;When text is properly separated by tabs, Excel can usually place each value into its own cell as soon as it is pasted. If the information appears in a single column instead, Excel’s &lt;strong&gt;Text to Columns&lt;/strong&gt; tool can separate it using the appropriate delimiter.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain how to copy and paste delimited text into Excel and correctly organize it into columns.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-delimited-text&quot; id=&quot;markdown-toc-what-is-delimited-text&quot;&gt;What Is Delimited Text?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#paste-tab-delimited-text-directly-into-excel&quot; id=&quot;markdown-toc-paste-tab-delimited-text-directly-into-excel&quot;&gt;Paste Tab-Delimited Text Directly Into Excel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-everything-appears-in-one-column&quot; id=&quot;markdown-toc-when-everything-appears-in-one-column&quot;&gt;When Everything Appears in One Column&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#select-the-correct-delimiter&quot; id=&quot;markdown-toc-select-the-correct-delimiter&quot;&gt;Select the Correct Delimiter&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#preserve-leading-zeros&quot; id=&quot;markdown-toc-preserve-leading-zeros&quot;&gt;Preserve Leading Zeros&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#prevent-incorrect-date-conversion&quot; id=&quot;markdown-toc-prevent-incorrect-date-conversion&quot;&gt;Prevent Incorrect Date Conversion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#paste-comma-separated-text&quot; id=&quot;markdown-toc-paste-comma-separated-text&quot;&gt;Paste Comma-Separated Text&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting&quot; id=&quot;markdown-toc-troubleshooting&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-delimited-text&quot;&gt;What Is Delimited Text?&lt;/h2&gt;

&lt;p&gt;Delimited text is plain text in which a specific character separates each field.&lt;/p&gt;

&lt;p&gt;Common delimiters include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Tabs&lt;/li&gt;
  &lt;li&gt;Commas&lt;/li&gt;
  &lt;li&gt;Semicolons&lt;/li&gt;
  &lt;li&gt;Spaces&lt;/li&gt;
  &lt;li&gt;Colons&lt;/li&gt;
  &lt;li&gt;Vertical bars&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, a tab-delimited row may contain:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Name&amp;lt;TAB&amp;gt;Department&amp;lt;TAB&amp;gt;Extension&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Each tab indicates where a new Excel column should begin. A new line indicates where a new row should begin.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;paste-tab-delimited-text-directly-into-excel&quot;&gt;Paste Tab-Delimited Text Directly Into Excel&lt;/h2&gt;

&lt;p&gt;Excel normally recognizes tab-delimited text automatically.&lt;/p&gt;

&lt;p&gt;To paste the data:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Highlight the tab-delimited text.&lt;/li&gt;
  &lt;li&gt;Copy it using &lt;strong&gt;Ctrl+C&lt;/strong&gt; on Windows or &lt;strong&gt;Command+C&lt;/strong&gt; on macOS.&lt;/li&gt;
  &lt;li&gt;Open Microsoft Excel.&lt;/li&gt;
  &lt;li&gt;Select the cell where the first value should appear.&lt;/li&gt;
  &lt;li&gt;Paste using &lt;strong&gt;Ctrl+V&lt;/strong&gt; or &lt;strong&gt;Command+V&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Excel should place each tab-separated value into a different column and each line into a different row.&lt;/p&gt;

&lt;p&gt;For example, selecting cell &lt;strong&gt;A1&lt;/strong&gt; before pasting causes the first value to begin in A1, with the remaining values filling the adjacent cells.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-everything-appears-in-one-column&quot;&gt;When Everything Appears in One Column&lt;/h2&gt;

&lt;p&gt;If all the information appears in one Excel column, the source may use commas, semicolons, spaces, or another character instead of tabs.&lt;/p&gt;

&lt;p&gt;Use &lt;strong&gt;Text to Columns&lt;/strong&gt; to separate it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the cells containing the pasted text.&lt;/li&gt;
  &lt;li&gt;Open the &lt;strong&gt;Data&lt;/strong&gt; tab.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Text to Columns&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Delimited&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose the delimiter used by the text.&lt;/li&gt;
  &lt;li&gt;Review the data preview.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose the destination and column formats.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make sure the columns to the right are empty before completing the process. Excel may overwrite existing information when it distributes the separated values into adjacent columns.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;select-the-correct-delimiter&quot;&gt;Select the Correct Delimiter&lt;/h2&gt;

&lt;p&gt;Choose the character that separates each value in the original text.&lt;/p&gt;

&lt;p&gt;Available options commonly include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Tab&lt;/strong&gt; for tab-delimited data&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Comma&lt;/strong&gt; for comma-separated data&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Semicolon&lt;/strong&gt; for semicolon-separated data&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Space&lt;/strong&gt; for space-separated data&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Other&lt;/strong&gt; for a custom character&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The preview window shows how Excel will divide the information.&lt;/p&gt;

&lt;p&gt;When the preview does not look correct, try another delimiter or select more than one delimiter.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;preserve-leading-zeros&quot;&gt;Preserve Leading Zeros&lt;/h2&gt;

&lt;p&gt;Excel may automatically convert values that look like numbers.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;00125&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;may become:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;125&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This can cause problems with:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;ZIP codes&lt;/li&gt;
  &lt;li&gt;Employee numbers&lt;/li&gt;
  &lt;li&gt;Product identifiers&lt;/li&gt;
  &lt;li&gt;Account numbers&lt;/li&gt;
  &lt;li&gt;Server or device identifiers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To preserve leading zeros:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Text to Columns&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Proceed to the final wizard screen.&lt;/li&gt;
  &lt;li&gt;Select the affected column in the preview.&lt;/li&gt;
  &lt;li&gt;Choose &lt;strong&gt;Text&lt;/strong&gt; as the column data format.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also format the destination cells as &lt;strong&gt;Text&lt;/strong&gt; before pasting the information.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prevent-incorrect-date-conversion&quot;&gt;Prevent Incorrect Date Conversion&lt;/h2&gt;

&lt;p&gt;Excel may interpret values such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3-10&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;10/12&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1-5&lt;/code&gt; as dates.&lt;/p&gt;

&lt;p&gt;To preserve the original value:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the affected column in the Text to Columns preview.&lt;/li&gt;
  &lt;li&gt;Choose &lt;strong&gt;Text&lt;/strong&gt; as the column format.&lt;/li&gt;
  &lt;li&gt;Complete the import.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Always review identifier, date, and numeric columns before saving the workbook.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;paste-comma-separated-text&quot;&gt;Paste Comma-Separated Text&lt;/h2&gt;

&lt;p&gt;Comma-separated text may look similar to:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;FirstName,IT,1234&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If Excel places the entire line in one cell:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the pasted column.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Data &amp;gt; Text to Columns&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Delimited&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose &lt;strong&gt;Comma&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Review the preview.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This process also works for text copied from CSV files, reports, command output, and web applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;

&lt;p&gt;When the information does not separate correctly, check the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm which character separates the values.&lt;/li&gt;
  &lt;li&gt;Verify that actual tabs are used rather than several spaces.&lt;/li&gt;
  &lt;li&gt;Select the correct delimiter in Text to Columns.&lt;/li&gt;
  &lt;li&gt;Remove inconsistent spacing.&lt;/li&gt;
  &lt;li&gt;Confirm that quotation marks are properly paired.&lt;/li&gt;
  &lt;li&gt;Make sure empty columns are available to the right.&lt;/li&gt;
  &lt;li&gt;Format identifiers as Text before conversion.&lt;/li&gt;
  &lt;li&gt;Paste the information into a plain-text editor to inspect it.&lt;/li&gt;
  &lt;li&gt;Try importing the original &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.txt&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.csv&lt;/code&gt; file instead of copying it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When several spaces separate the values, selecting &lt;strong&gt;Space&lt;/strong&gt; may create unwanted empty columns. Cleaning the source data first may produce better results.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Excel can normally distribute tab-delimited text into separate cells automatically when it is copied and pasted into a worksheet. When the data uses commas, semicolons, spaces, or another separator, the Text to Columns tool provides greater control over how each field is divided.&lt;/p&gt;

&lt;p&gt;Before completing the conversion, review the preview, protect leading zeros, prevent unwanted date conversions, and make sure the adjacent columns do not contain information that could be overwritten.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.microsoft.com/en-us/excel/get-started/import-or-export-text-txt-or-csv-files&quot;&gt;Microsoft Support - Import or Export Text Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.microsoft.com/en-us/office/split-text-into-different-columns-with-the-convert-text-to-columns-wizard-30b14928-5550-41f5-97ca-7a3e9c363ed7&quot;&gt;Microsoft Support - Split Text Into Different Columns&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.microsoft.com/en-us/excel/distribute-the-contents-of-a-cell-into-adjacent-columns&quot;&gt;Microsoft Support - Distribute Cell Contents Into Adjacent Columns&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.wikihow.com/Copy-Paste-Tab-Delimited-Text-Into-Excel&quot;&gt;wikiHow - Copy and Paste Tab-Delimited Text Into Excel&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 20 Jun 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/copy-paste-delimited-text-into-excel/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/copy-paste-delimited-text-into-excel/</guid>
        
        <category>excel</category>
        
        <category>microsoft-office</category>
        
        <category>delimited-text</category>
        
        <category>text-to-columns</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>How to Compare Files in Visual Studio Code</title>
        <description>&lt;p&gt;Visual Studio Code includes a built-in file comparison tool that displays two files side by side and highlights their differences. This is useful when reviewing configuration changes, troubleshooting code, comparing document revisions, or checking modifications before committing them to Git.&lt;/p&gt;

&lt;p&gt;No extension is required because the diff editor is included with Visual Studio Code.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain how to compare files in Visual Studio Code using the Explorer, Command Palette, Source Control panel, and command line.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-two-files-from-the-explorer&quot; id=&quot;markdown-toc-compare-two-files-from-the-explorer&quot;&gt;Compare Two Files from the Explorer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understand-the-diff-editor&quot; id=&quot;markdown-toc-understand-the-diff-editor&quot;&gt;Understand the Diff Editor&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-an-open-file-with-another-file&quot; id=&quot;markdown-toc-compare-an-open-file-with-another-file&quot;&gt;Compare an Open File with Another File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-a-file-with-its-saved-version&quot; id=&quot;markdown-toc-compare-a-file-with-its-saved-version&quot;&gt;Compare a File with Its Saved Version&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-a-file-with-clipboard-content&quot; id=&quot;markdown-toc-compare-a-file-with-clipboard-content&quot;&gt;Compare a File with Clipboard Content&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-files-from-the-command-line&quot; id=&quot;markdown-toc-compare-files-from-the-command-line&quot;&gt;Compare Files from the Command Line&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#compare-git-changes&quot; id=&quot;markdown-toc-compare-git-changes&quot;&gt;Compare Git Changes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-two-files-from-the-explorer&quot;&gt;Compare Two Files from the Explorer&lt;/h2&gt;

&lt;p&gt;The Explorer is the quickest way to compare two files in the same project.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the folder containing the files in Visual Studio Code.&lt;/li&gt;
  &lt;li&gt;Right-click the first file.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Select for Compare&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Right-click the second file.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Compare with Selected&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VSCode opens both files in the diff editor.&lt;/p&gt;

&lt;p&gt;You can also select two files using &lt;strong&gt;Ctrl&lt;/strong&gt; on Windows or Linux, or &lt;strong&gt;Command&lt;/strong&gt; on macOS, right-click the selection, and select &lt;strong&gt;Compare Selected&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understand-the-diff-editor&quot;&gt;Understand the Diff Editor&lt;/h2&gt;

&lt;p&gt;The diff editor normally displays the original file on the left and the compared file on the right.&lt;/p&gt;

&lt;p&gt;Changes are highlighted to show:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Added lines&lt;/li&gt;
  &lt;li&gt;Removed lines&lt;/li&gt;
  &lt;li&gt;Modified text&lt;/li&gt;
  &lt;li&gt;Unchanged sections&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can scroll through both files together and use the navigation arrows in the editor toolbar to move between changes.&lt;/p&gt;

&lt;p&gt;The view can also be changed between side-by-side and inline comparisons through the diff editor menu.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-an-open-file-with-another-file&quot;&gt;Compare an Open File with Another File&lt;/h2&gt;

&lt;p&gt;To compare the currently open file with another file:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the first file.&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;Ctrl+Shift+P&lt;/strong&gt; on Windows or Linux.&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;Command+Shift+P&lt;/strong&gt; on macOS.&lt;/li&gt;
  &lt;li&gt;Search for &lt;strong&gt;File: Compare Active File With…&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select the second file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The comparison opens immediately in the diff editor.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-a-file-with-its-saved-version&quot;&gt;Compare a File with Its Saved Version&lt;/h2&gt;

&lt;p&gt;VSCode can compare unsaved changes with the last saved version of a file.&lt;/p&gt;

&lt;p&gt;With the modified file open, use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ctrl+K D&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;On macOS, use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command+K D&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can also open the Command Palette and select:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;File: Compare Active File with Saved&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is useful when reviewing changes before saving the file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-a-file-with-clipboard-content&quot;&gt;Compare a File with Clipboard Content&lt;/h2&gt;

&lt;p&gt;To compare an open file with text copied to the clipboard:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Copy the text you want to compare.&lt;/li&gt;
  &lt;li&gt;Open the file in VSCode.&lt;/li&gt;
  &lt;li&gt;Open the Command Palette.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;File: Compare Active File with Clipboard&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The keyboard shortcut on Windows and Linux is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ctrl+K C&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This method is useful when comparing a configuration, script, or code sample without creating another file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-files-from-the-command-line&quot;&gt;Compare Files from the Command Line&lt;/h2&gt;

&lt;p&gt;VSCode can launch a file comparison directly from a terminal.&lt;/p&gt;

&lt;p&gt;Use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;code –diff first-file second-file&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;code –diff original.conf updated.conf&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;code&lt;/code&gt; command must be available in your terminal path.&lt;/p&gt;

&lt;p&gt;On macOS, open the Command Palette and run:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shell Command: Install ‘code’ command in PATH&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;compare-git-changes&quot;&gt;Compare Git Changes&lt;/h2&gt;

&lt;p&gt;When working in a Git repository:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the &lt;strong&gt;Source Control&lt;/strong&gt; panel.&lt;/li&gt;
  &lt;li&gt;Locate the modified file under &lt;strong&gt;Changes&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select the file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VSCode opens a comparison between the repository version and the current working copy.&lt;/p&gt;

&lt;p&gt;This makes it easy to review changes before staging or committing them.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Visual Studio Code provides several convenient methods for comparing files without installing an extension. The Explorer context menu is the fastest option for two project files, while the Command Palette supports comparisons with saved files, clipboard content, and files outside the current view.&lt;/p&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;code --diff&lt;/code&gt; command is useful for terminal-based workflows, and the Source Control panel provides an immediate comparison of Git changes. Together, these tools make VSCode a practical option for reviewing code, configurations, and document revisions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/editing/codebasics#_compare-files&quot;&gt;Visual Studio Code File Comparison Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/sourcecontrol/overview&quot;&gt;Visual Studio Code Source Control&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://vscode.one/diff-vscode/&quot;&gt;VSCode.one File Comparison Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 13 Jun 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/compare-files-vscode/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/compare-files-vscode/</guid>
        
        <category>vscode</category>
        
        <category>file-comparison</category>
        
        <category>diff</category>
        
        <category>git</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Review of Xray Test Management for Jira Data Center</title>
        <description>&lt;p&gt;Xray is a commercial test management application that runs directly inside Jira Data Center. It allows quality assurance teams to create test cases, organize testing cycles, record results, import automated test output, and connect failures to Jira defects.&lt;/p&gt;

&lt;p&gt;Its biggest advantage is that testing remains inside Jira. Testers, developers, project managers, and product owners can use familiar Jira workflows, issue links, permissions, dashboards, filters, comments, and attachments without maintaining a separate test management platform.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review the primary capabilities of Xray Test Management for Jira Data Center and determine where it fits best.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-xray&quot; id=&quot;markdown-toc-what-is-xray&quot;&gt;What Is Xray?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#xray-issue-types&quot; id=&quot;markdown-toc-xray-issue-types&quot;&gt;Xray Issue Types&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#test&quot; id=&quot;markdown-toc-test&quot;&gt;Test&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#precondition&quot; id=&quot;markdown-toc-precondition&quot;&gt;Precondition&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#test-set&quot; id=&quot;markdown-toc-test-set&quot;&gt;Test Set&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#test-execution&quot; id=&quot;markdown-toc-test-execution&quot;&gt;Test Execution&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#test-plan&quot; id=&quot;markdown-toc-test-plan&quot;&gt;Test Plan&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#manual-testing&quot; id=&quot;markdown-toc-manual-testing&quot;&gt;Manual Testing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#automated-testing&quot; id=&quot;markdown-toc-automated-testing&quot;&gt;Automated Testing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cucumber-support&quot; id=&quot;markdown-toc-cucumber-support&quot;&gt;Cucumber Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-repository-and-test-sets&quot; id=&quot;markdown-toc-test-repository-and-test-sets&quot;&gt;Test Repository and Test Sets&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-plans-and-test-executions&quot; id=&quot;markdown-toc-test-plans-and-test-executions&quot;&gt;Test Plans and Test Executions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-runs-and-environments&quot; id=&quot;markdown-toc-test-runs-and-environments&quot;&gt;Test Runs and Environments&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#requirements-traceability&quot; id=&quot;markdown-toc-requirements-traceability&quot;&gt;Requirements Traceability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#defect-management&quot; id=&quot;markdown-toc-defect-management&quot;&gt;Defect Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#reporting&quot; id=&quot;markdown-toc-reporting&quot;&gt;Reporting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#jira-workflows-and-permissions&quot; id=&quot;markdown-toc-jira-workflows-and-permissions&quot;&gt;Jira Workflows and Permissions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#data-center-administration&quot; id=&quot;markdown-toc-data-center-administration&quot;&gt;Data Center Administration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-use-cases&quot; id=&quot;markdown-toc-best-use-cases&quot;&gt;Best Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-xray&quot;&gt;What Is Xray?&lt;/h2&gt;

&lt;p&gt;Xray extends Jira Data Center with dedicated issue types and features for managing software testing.&lt;/p&gt;

&lt;p&gt;It can be used to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create manual and automated tests.&lt;/li&gt;
  &lt;li&gt;Organize tests into reusable collections.&lt;/li&gt;
  &lt;li&gt;Plan release and regression testing.&lt;/li&gt;
  &lt;li&gt;Execute tests and record results.&lt;/li&gt;
  &lt;li&gt;Import results from automated frameworks.&lt;/li&gt;
  &lt;li&gt;Link tests to requirements.&lt;/li&gt;
  &lt;li&gt;Create or associate Jira defects.&lt;/li&gt;
  &lt;li&gt;Track requirements coverage.&lt;/li&gt;
  &lt;li&gt;Produce testing reports and dashboards.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because Xray artifacts are stored as Jira issues, they can participate in the same project-management and security model as other Jira work items.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;xray-issue-types&quot;&gt;Xray Issue Types&lt;/h2&gt;

&lt;p&gt;Xray adds several issue types to Jira Data Center.&lt;/p&gt;

&lt;h3 id=&quot;test&quot;&gt;Test&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Test&lt;/strong&gt; represents an individual test case. It may contain manual steps, an automated test definition, or a Cucumber scenario.&lt;/p&gt;

&lt;h3 id=&quot;precondition&quot;&gt;Precondition&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Precondition&lt;/strong&gt; defines something that must be true before a test begins, such as an existing user account, configured test data, or an available service.&lt;/p&gt;

&lt;h3 id=&quot;test-set&quot;&gt;Test Set&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Test Set&lt;/strong&gt; groups related tests. It is useful for organizing tests by feature, component, business process, or testing type.&lt;/p&gt;

&lt;h3 id=&quot;test-execution&quot;&gt;Test Execution&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Test Execution&lt;/strong&gt; represents an actual testing cycle performed against a particular build, release, environment, or configuration.&lt;/p&gt;

&lt;h3 id=&quot;test-plan&quot;&gt;Test Plan&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Test Plan&lt;/strong&gt; groups the tests and Test Executions associated with a release, sprint, project milestone, or regression effort.&lt;/p&gt;

&lt;p&gt;These issue types create a clear structure for defining what must be tested, when it was tested, and what the outcome was.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;manual-testing&quot;&gt;Manual Testing&lt;/h2&gt;

&lt;p&gt;Manual Tests contain structured test steps.&lt;/p&gt;

&lt;p&gt;Each step can include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Action&lt;/li&gt;
  &lt;li&gt;Test data&lt;/li&gt;
  &lt;li&gt;Expected result&lt;/li&gt;
  &lt;li&gt;Attachments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;During execution, testers can record:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Passed or failed steps&lt;/li&gt;
  &lt;li&gt;Actual results&lt;/li&gt;
  &lt;li&gt;Comments&lt;/li&gt;
  &lt;li&gt;Screenshots&lt;/li&gt;
  &lt;li&gt;Supporting evidence&lt;/li&gt;
  &lt;li&gt;Linked defects&lt;/li&gt;
  &lt;li&gt;Overall test status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is more structured than storing test cases in spreadsheets or documents. It also creates a complete Jira history showing who performed the test, when it was executed, and what happened.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;automated-testing&quot;&gt;Automated Testing&lt;/h2&gt;

&lt;p&gt;Xray can import automated test results from common testing frameworks.&lt;/p&gt;

&lt;p&gt;Supported formats include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;JUnit XML&lt;/li&gt;
  &lt;li&gt;NUnit XML&lt;/li&gt;
  &lt;li&gt;TestNG XML&lt;/li&gt;
  &lt;li&gt;Robot Framework XML&lt;/li&gt;
  &lt;li&gt;Cucumber JSON&lt;/li&gt;
  &lt;li&gt;Xray JSON&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Results can be imported through:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Xray REST APIs&lt;/li&gt;
  &lt;li&gt;CI/CD pipelines&lt;/li&gt;
  &lt;li&gt;Jenkins jobs&lt;/li&gt;
  &lt;li&gt;Build scripts&lt;/li&gt;
  &lt;li&gt;Manual uploads&lt;/li&gt;
  &lt;li&gt;Custom automation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The automated testing framework still performs the actual test. Xray stores the results and connects them to Jira requirements, Test Executions, Test Plans, environments, and defects.&lt;/p&gt;

&lt;p&gt;This provides one location for reviewing both manual and automated testing activity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cucumber-support&quot;&gt;Cucumber Support&lt;/h2&gt;

&lt;p&gt;Xray supports Behavior-Driven Development through Cucumber and Gherkin.&lt;/p&gt;

&lt;p&gt;Teams can manage scenarios using terms such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Given&lt;/li&gt;
  &lt;li&gt;When&lt;/li&gt;
  &lt;li&gt;Then&lt;/li&gt;
  &lt;li&gt;And&lt;/li&gt;
  &lt;li&gt;Examples&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cucumber scenarios can be associated with Jira requirements and exported for use by automation frameworks. Execution results can then be imported back into Xray.&lt;/p&gt;

&lt;p&gt;This is useful for teams that want acceptance criteria, testing scenarios, and automated validation closely connected within Jira.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-repository-and-test-sets&quot;&gt;Test Repository and Test Sets&lt;/h2&gt;

&lt;p&gt;The Xray Test Repository provides a folder-based structure for organizing Tests and Preconditions within a Jira project.&lt;/p&gt;

&lt;p&gt;Tests can be grouped by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Application&lt;/li&gt;
  &lt;li&gt;Component&lt;/li&gt;
  &lt;li&gt;Feature&lt;/li&gt;
  &lt;li&gt;Release&lt;/li&gt;
  &lt;li&gt;Business function&lt;/li&gt;
  &lt;li&gt;Testing phase&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test Sets provide another reusable method for grouping related Tests.&lt;/p&gt;

&lt;p&gt;The Test Repository is useful for browsing a large test library, while Test Sets are useful when the same logical group of tests must be referenced in several testing activities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-plans-and-test-executions&quot;&gt;Test Plans and Test Executions&lt;/h2&gt;

&lt;p&gt;A Test Plan defines the scope of a testing effort.&lt;/p&gt;

&lt;p&gt;For example, a Test Plan might represent:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A software release&lt;/li&gt;
  &lt;li&gt;A regression cycle&lt;/li&gt;
  &lt;li&gt;A sprint&lt;/li&gt;
  &lt;li&gt;A maintenance update&lt;/li&gt;
  &lt;li&gt;A compliance review&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A Test Execution represents one actual run of selected tests.&lt;/p&gt;

&lt;p&gt;For example, separate Test Executions could be created for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Windows and Linux&lt;/li&gt;
  &lt;li&gt;Chrome and Firefox&lt;/li&gt;
  &lt;li&gt;Staging and production-like environments&lt;/li&gt;
  &lt;li&gt;Different application builds&lt;/li&gt;
  &lt;li&gt;Manual and automated regression runs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This separation allows teams to reuse the same Test definitions without duplicating test cases for every environment or release.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-runs-and-environments&quot;&gt;Test Runs and Environments&lt;/h2&gt;

&lt;p&gt;A Test Run is created when a Test is included in a Test Execution.&lt;/p&gt;

&lt;p&gt;Each Test Run can record its own:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Status&lt;/li&gt;
  &lt;li&gt;Tester&lt;/li&gt;
  &lt;li&gt;Execution date&lt;/li&gt;
  &lt;li&gt;Step results&lt;/li&gt;
  &lt;li&gt;Comments&lt;/li&gt;
  &lt;li&gt;Evidence&lt;/li&gt;
  &lt;li&gt;Defects&lt;/li&gt;
  &lt;li&gt;Environment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test Environments help distinguish where a test was performed.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Development&lt;/li&gt;
  &lt;li&gt;Staging&lt;/li&gt;
  &lt;li&gt;Windows&lt;/li&gt;
  &lt;li&gt;Linux&lt;/li&gt;
  &lt;li&gt;Chrome&lt;/li&gt;
  &lt;li&gt;Firefox&lt;/li&gt;
  &lt;li&gt;Mobile&lt;/li&gt;
  &lt;li&gt;API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A test may pass in one environment and fail in another. Xray preserves those results separately, providing better visibility into platform-specific or configuration-specific problems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;requirements-traceability&quot;&gt;Requirements Traceability&lt;/h2&gt;

&lt;p&gt;Requirements traceability is one of Xray’s strongest capabilities.&lt;/p&gt;

&lt;p&gt;Jira issue types such as Stories, Epics, Features, or custom requirements can be linked to Tests.&lt;/p&gt;

&lt;p&gt;This creates a traceability path such as:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirement &amp;gt; Test &amp;gt; Test Run &amp;gt; Defect&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Teams can then determine:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Which requirements have tests.&lt;/li&gt;
  &lt;li&gt;Which requirements remain untested.&lt;/li&gt;
  &lt;li&gt;Which requirements have failing tests.&lt;/li&gt;
  &lt;li&gt;Which defects are associated with failures.&lt;/li&gt;
  &lt;li&gt;Whether a release meets its quality requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is particularly useful for regulated projects, formal release processes, and environments that require evidence showing how requirements were validated.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;defect-management&quot;&gt;Defect Management&lt;/h2&gt;

&lt;p&gt;When a test fails, the tester can create a new Jira defect or link an existing issue.&lt;/p&gt;

&lt;p&gt;The defect can include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Failed test information&lt;/li&gt;
  &lt;li&gt;Test execution details&lt;/li&gt;
  &lt;li&gt;Environment&lt;/li&gt;
  &lt;li&gt;Comments&lt;/li&gt;
  &lt;li&gt;Screenshots&lt;/li&gt;
  &lt;li&gt;Supporting evidence&lt;/li&gt;
  &lt;li&gt;Steps that failed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because developers already work in Jira, they can investigate the defect without logging into another platform.&lt;/p&gt;

&lt;p&gt;The test remains connected to the defect, making it easier to retest the fix and confirm whether the issue was resolved.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;reporting&quot;&gt;Reporting&lt;/h2&gt;

&lt;p&gt;Xray includes reports for reviewing testing progress, coverage, and traceability.&lt;/p&gt;

&lt;p&gt;Common reporting capabilities include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Test execution results&lt;/li&gt;
  &lt;li&gt;Test plan progress&lt;/li&gt;
  &lt;li&gt;Requirements coverage&lt;/li&gt;
  &lt;li&gt;Traceability&lt;/li&gt;
  &lt;li&gt;Test runs by environment&lt;/li&gt;
  &lt;li&gt;Test evolution&lt;/li&gt;
  &lt;li&gt;Overall test status&lt;/li&gt;
  &lt;li&gt;Defect associations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Xray information can also be displayed through Jira dashboards, saved filters, and JQL queries.&lt;/p&gt;

&lt;p&gt;Reports are helpful, but producing a polished executive dashboard may require:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Custom Jira filters&lt;/li&gt;
  &lt;li&gt;Dashboard gadgets&lt;/li&gt;
  &lt;li&gt;Consistent project configuration&lt;/li&gt;
  &lt;li&gt;Standardized test statuses&lt;/li&gt;
  &lt;li&gt;Additional reporting applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The quality of the reports depends heavily on how consistently the team maintains its Tests, Test Plans, Executions, environments, and requirement links.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;jira-workflows-and-permissions&quot;&gt;Jira Workflows and Permissions&lt;/h2&gt;

&lt;p&gt;Since Xray test artifacts are Jira issues, they can use Jira workflows and permissions.&lt;/p&gt;

&lt;p&gt;Organizations can create workflows for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Draft test cases&lt;/li&gt;
  &lt;li&gt;Peer review&lt;/li&gt;
  &lt;li&gt;Approved tests&lt;/li&gt;
  &lt;li&gt;Deprecated tests&lt;/li&gt;
  &lt;li&gt;Planned executions&lt;/li&gt;
  &lt;li&gt;Active testing&lt;/li&gt;
  &lt;li&gt;Completed testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Permissions can control who may:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create Tests&lt;/li&gt;
  &lt;li&gt;Modify test steps&lt;/li&gt;
  &lt;li&gt;Execute tests&lt;/li&gt;
  &lt;li&gt;View sensitive test evidence&lt;/li&gt;
  &lt;li&gt;Create defects&lt;/li&gt;
  &lt;li&gt;Manage Test Plans&lt;/li&gt;
  &lt;li&gt;Modify Xray settings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This flexibility is useful in enterprise environments, but excessive customization can make the platform more difficult to administer.&lt;/p&gt;

&lt;p&gt;A simple, standardized workflow is usually easier to maintain.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;data-center-administration&quot;&gt;Data Center Administration&lt;/h2&gt;

&lt;p&gt;Xray for Jira Data Center is installed and managed as a Jira application.&lt;/p&gt;

&lt;p&gt;Administrators must consider:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Jira and Xray version compatibility&lt;/li&gt;
  &lt;li&gt;Data Center licensing&lt;/li&gt;
  &lt;li&gt;Upgrade testing&lt;/li&gt;
  &lt;li&gt;Database growth&lt;/li&gt;
  &lt;li&gt;Search indexing&lt;/li&gt;
  &lt;li&gt;Attachment storage&lt;/li&gt;
  &lt;li&gt;Cluster performance&lt;/li&gt;
  &lt;li&gt;Backup and recovery&lt;/li&gt;
  &lt;li&gt;REST API usage&lt;/li&gt;
  &lt;li&gt;Permissions&lt;/li&gt;
  &lt;li&gt;Application logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Large test environments can create significant amounts of data through:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Test issues&lt;/li&gt;
  &lt;li&gt;Test Runs&lt;/li&gt;
  &lt;li&gt;Automated result imports&lt;/li&gt;
  &lt;li&gt;Attachments&lt;/li&gt;
  &lt;li&gt;Screenshots&lt;/li&gt;
  &lt;li&gt;Execution history&lt;/li&gt;
  &lt;li&gt;Defect links&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Xray upgrades should be tested in a staging environment before production deployment, especially when Jira Data Center is also being upgraded.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Xray provides several important benefits for Jira Data Center environments:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Testing remains inside Jira.&lt;/li&gt;
  &lt;li&gt;Manual and automated tests can be managed together.&lt;/li&gt;
  &lt;li&gt;Requirements, tests, executions, and defects are connected.&lt;/li&gt;
  &lt;li&gt;Jira permissions and workflows can be reused.&lt;/li&gt;
  &lt;li&gt;Test cases have complete issue histories.&lt;/li&gt;
  &lt;li&gt;Cucumber and common automation formats are supported.&lt;/li&gt;
  &lt;li&gt;REST APIs support CI/CD integration.&lt;/li&gt;
  &lt;li&gt;Tests can be reused across multiple executions.&lt;/li&gt;
  &lt;li&gt;Test results can be separated by environment.&lt;/li&gt;
  &lt;li&gt;Data remains within the self-managed Jira Data Center environment.&lt;/li&gt;
  &lt;li&gt;Developers and testers work from the same platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The strongest value comes from reducing the separation between development work and quality assurance activity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;Xray also has several drawbacks:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;It adds complexity to Jira administration.&lt;/li&gt;
  &lt;li&gt;New users must learn several Xray issue types.&lt;/li&gt;
  &lt;li&gt;Poorly designed workflows can create unnecessary overhead.&lt;/li&gt;
  &lt;li&gt;Large automated imports can increase database and indexing activity.&lt;/li&gt;
  &lt;li&gt;Reports may require additional configuration.&lt;/li&gt;
  &lt;li&gt;Data quality depends on consistent team usage.&lt;/li&gt;
  &lt;li&gt;Test repositories can become difficult to manage without standards.&lt;/li&gt;
  &lt;li&gt;Licensing applies according to the Jira Data Center user tier.&lt;/li&gt;
  &lt;li&gt;Major Jira or Xray upgrades require compatibility testing.&lt;/li&gt;
  &lt;li&gt;It may be excessive for very small teams with simple testing needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Xray is most effective when the organization establishes clear standards for naming, workflows, environments, issue links, and test ownership.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-use-cases&quot;&gt;Best Use Cases&lt;/h2&gt;

&lt;p&gt;Xray for Jira Data Center is a strong fit for organizations that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Already use Jira Data Center.&lt;/li&gt;
  &lt;li&gt;Need centralized manual and automated testing.&lt;/li&gt;
  &lt;li&gt;Require requirements traceability.&lt;/li&gt;
  &lt;li&gt;Want test data hosted internally.&lt;/li&gt;
  &lt;li&gt;Use formal release-management processes.&lt;/li&gt;
  &lt;li&gt;Need testing evidence for audits or compliance.&lt;/li&gt;
  &lt;li&gt;Integrate testing with Jenkins or other CI/CD systems.&lt;/li&gt;
  &lt;li&gt;Manage multiple environments or product versions.&lt;/li&gt;
  &lt;li&gt;Want developers and testers working within Jira.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It may be less suitable for teams that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Have only a small number of simple tests.&lt;/li&gt;
  &lt;li&gt;Do not need traceability.&lt;/li&gt;
  &lt;li&gt;Do not use Jira as the primary development platform.&lt;/li&gt;
  &lt;li&gt;Want a lightweight standalone testing tool.&lt;/li&gt;
  &lt;li&gt;Lack resources to administer Jira applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Xray transforms Jira Data Center from an issue-tracking platform into a more complete software test management system.&lt;/p&gt;

&lt;p&gt;It supports manual testing, automated result imports, Cucumber scenarios, reusable test libraries, Test Plans, Test Executions, environment-specific results, requirements coverage, and defect traceability.&lt;/p&gt;

&lt;p&gt;Its greatest benefit is keeping development and testing work in one self-managed Jira environment. Organizations that establish consistent workflows, permissions, naming standards, and reporting practices can gain significantly better visibility into software quality and release readiness.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.getxray.app/&quot;&gt;Xray Test Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.getxray.app/&quot;&gt;Xray Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira&quot;&gt;Xray for Jira Data Center&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.getxray.app/display/XRAY/REST+API&quot;&gt;Xray REST API Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://confluence.atlassian.com/enterprise/jira-data-center-documentation-892801534.html&quot;&gt;Atlassian Jira Data Center Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 06 Jun 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/xray-jira-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/xray-jira-review/</guid>
        
        <category>jira</category>
        
        <category>jira-data-center</category>
        
        <category>xray</category>
        
        <category>test-management</category>
        
        <category>software-testing</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Downgrade Google Workspace from Business Plus to Business Starter</title>
        <description>&lt;p&gt;Google Workspace Business Plus provides advanced capabilities intended for organizations that need additional storage, larger video meetings, information governance, advanced device management, and stronger administrative controls.&lt;/p&gt;

&lt;p&gt;These features can be valuable, but not every small business needs them. An organization that primarily uses Gmail, Google Drive, Google Calendar, Google Docs, and smaller Google Meet sessions may be able to use Business Starter while significantly reducing its monthly subscription cost.&lt;/p&gt;

&lt;p&gt;Downgrading is not simply a billing change. Business Plus includes features and storage limits that are not included with Business Starter. Before switching, administrators should review storage consumption, Google Vault retention requirements, endpoint management settings, Google Meet usage, security dependencies, and the organization’s current payment plan.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain how to evaluate the impact and safely downgrade Google Workspace from Business Plus to Business Starter.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#business-plus-versus-business-starter&quot; id=&quot;markdown-toc-business-plus-versus-business-starter&quot;&gt;Business Plus Versus Business Starter&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#confirm-that-business-starter-meets-your-needs&quot; id=&quot;markdown-toc-confirm-that-business-starter-meets-your-needs&quot;&gt;Confirm That Business Starter Meets Your Needs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-organization-wide-licensing-restriction&quot; id=&quot;markdown-toc-important-organization-wide-licensing-restriction&quot;&gt;Important Organization-Wide Licensing Restriction&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#check-whether-google-or-a-reseller-manages-billing&quot; id=&quot;markdown-toc-check-whether-google-or-a-reseller-manages-billing&quot;&gt;Check Whether Google or a Reseller Manages Billing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verify-your-administrative-permissions&quot; id=&quot;markdown-toc-verify-your-administrative-permissions&quot;&gt;Verify Your Administrative Permissions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#review-the-current-payment-plan&quot; id=&quot;markdown-toc-review-the-current-payment-plan&quot;&gt;Review the Current Payment Plan&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#flexible-plan&quot; id=&quot;markdown-toc-flexible-plan&quot;&gt;Flexible Plan&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#annual-or-fixed-term-plan&quot; id=&quot;markdown-toc-annual-or-fixed-term-plan&quot;&gt;Annual or Fixed-Term Plan&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#schedule-an-annual-plan-to-change-at-renewal&quot; id=&quot;markdown-toc-schedule-an-annual-plan-to-change-at-renewal&quot;&gt;Schedule an Annual Plan to Change at Renewal&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#calculate-the-new-storage-limit&quot; id=&quot;markdown-toc-calculate-the-new-storage-limit&quot;&gt;Calculate the New Storage Limit&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#review-current-storage-consumption&quot; id=&quot;markdown-toc-review-current-storage-consumption&quot;&gt;Review Current Storage Consumption&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-happens-when-storage-exceeds-the-new-limit&quot; id=&quot;markdown-toc-what-happens-when-storage-exceeds-the-new-limit&quot;&gt;What Happens When Storage Exceeds the New Limit?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#preserve-vault-data&quot; id=&quot;markdown-toc-preserve-vault-data&quot;&gt;Preserve Vault Data&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#review-advanced-endpoint-management&quot; id=&quot;markdown-toc-review-advanced-endpoint-management&quot;&gt;Review Advanced Endpoint Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#create-a-pre-downgrade-checklist&quot; id=&quot;markdown-toc-create-a-pre-downgrade-checklist&quot;&gt;Create a Pre-Downgrade Checklist&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#downgrade-business-plus-to-business-starter&quot; id=&quot;markdown-toc-downgrade-business-plus-to-business-starter&quot;&gt;Downgrade Business Plus to Business Starter&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-google-only-recommends-an-upgrade&quot; id=&quot;markdown-toc-when-google-only-recommends-an-upgrade&quot;&gt;When Google Only Recommends an Upgrade&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-the-downgrade-option-is-missing&quot; id=&quot;markdown-toc-when-the-downgrade-option-is-missing&quot;&gt;When the Downgrade Option Is Missing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verify-the-downgrade&quot; id=&quot;markdown-toc-verify-the-downgrade&quot;&gt;Verify the Downgrade&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monitor-the-environment-after-the-downgrade&quot; id=&quot;markdown-toc-monitor-the-environment-after-the-downgrade&quot;&gt;Monitor the Environment After the Downgrade&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#upgrading-again-after-a-downgrade&quot; id=&quot;markdown-toc-upgrading-again-after-a-downgrade&quot;&gt;Upgrading Again After a Downgrade&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#estimate-the-potential-savings&quot; id=&quot;markdown-toc-estimate-the-potential-savings&quot;&gt;Estimate the Potential Savings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-change-record&quot; id=&quot;markdown-toc-recommended-change-record&quot;&gt;Recommended Change Record&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;business-plus-versus-business-starter&quot;&gt;Business Plus Versus Business Starter&lt;/h2&gt;

&lt;p&gt;Business Starter retains the primary Google Workspace productivity services, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Custom business email through Gmail&lt;/li&gt;
  &lt;li&gt;Google Drive&lt;/li&gt;
  &lt;li&gt;Google Docs&lt;/li&gt;
  &lt;li&gt;Google Sheets&lt;/li&gt;
  &lt;li&gt;Google Slides&lt;/li&gt;
  &lt;li&gt;Google Forms&lt;/li&gt;
  &lt;li&gt;Google Calendar&lt;/li&gt;
  &lt;li&gt;Google Chat&lt;/li&gt;
  &lt;li&gt;Google Meet&lt;/li&gt;
  &lt;li&gt;Google Sites&lt;/li&gt;
  &lt;li&gt;Basic security and administrative controls&lt;/li&gt;
  &lt;li&gt;Gemini features included with the Starter edition&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, Business Starter has substantially lower storage, meeting, security, and information-governance limits than Business Plus.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;Business Plus&lt;/th&gt;
      &lt;th&gt;Business Starter&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Pooled storage&lt;/td&gt;
      &lt;td&gt;5 TB per user added to the pool&lt;/td&gt;
      &lt;td&gt;30 GB per user added to the pool&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Google Meet participants&lt;/td&gt;
      &lt;td&gt;Up to 500&lt;/td&gt;
      &lt;td&gt;Up to 100&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Meet attendance tracking&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Not included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Google Vault&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Not included by default&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;eDiscovery&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Not included by default&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Secure LDAP&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Not included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Endpoint management&lt;/td&gt;
      &lt;td&gt;Advanced&lt;/td&gt;
      &lt;td&gt;Basic&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Security controls&lt;/td&gt;
      &lt;td&gt;Enhanced&lt;/td&gt;
      &lt;td&gt;Standard&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Custom business email&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Gmail, Drive, Docs, and Calendar&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Google Workspace uses pooled storage. This means the storage allocation is combined across the organization rather than permanently assigning each user a separate storage quota.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;10 Business Plus licenses provide approximately 50 TB of pooled storage.&lt;/li&gt;
  &lt;li&gt;10 Business Starter licenses provide approximately 300 GB of pooled storage.&lt;/li&gt;
  &lt;li&gt;25 Business Starter licenses provide approximately 750 GB of pooled storage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The reduction from 5 TB to 30 GB per user is the most important consideration for many organizations.&lt;/p&gt;

&lt;p&gt;Review the current edition comparison on the &lt;a href=&quot;https://workspace.google.com/pricing.html&quot;&gt;Google Workspace pricing page&lt;/a&gt; before making the change.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;confirm-that-business-starter-meets-your-needs&quot;&gt;Confirm That Business Starter Meets Your Needs&lt;/h2&gt;

&lt;p&gt;Business Starter may be appropriate when your organization:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Has relatively low Gmail and Drive storage usage.&lt;/li&gt;
  &lt;li&gt;Does not depend on Google Vault.&lt;/li&gt;
  &lt;li&gt;Does not have legal holds or formal retention requirements.&lt;/li&gt;
  &lt;li&gt;Does not use Secure LDAP.&lt;/li&gt;
  &lt;li&gt;Does not require advanced endpoint management.&lt;/li&gt;
  &lt;li&gt;Does not regularly host meetings with more than 100 participants.&lt;/li&gt;
  &lt;li&gt;Does not require Google Meet attendance tracking.&lt;/li&gt;
  &lt;li&gt;Does not depend on enhanced Business Plus security controls.&lt;/li&gt;
  &lt;li&gt;Wants to reduce recurring licensing expenses.&lt;/li&gt;
  &lt;li&gt;Has 300 or fewer users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Business Starter may not be appropriate when your organization:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Stores more than 30 GB per licensed user across the pooled environment.&lt;/li&gt;
  &lt;li&gt;Uses Google Vault for retention or eDiscovery.&lt;/li&gt;
  &lt;li&gt;Has active legal holds.&lt;/li&gt;
  &lt;li&gt;Uses Secure LDAP for application authentication.&lt;/li&gt;
  &lt;li&gt;Requires advanced mobile or endpoint management.&lt;/li&gt;
  &lt;li&gt;Regularly hosts large Google Meet sessions.&lt;/li&gt;
  &lt;li&gt;Depends on advanced security capabilities.&lt;/li&gt;
  &lt;li&gt;Must comply with formal records-retention requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The financial savings should be compared against the cost and risk of losing these capabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-organization-wide-licensing-restriction&quot;&gt;Important Organization-Wide Licensing Restriction&lt;/h2&gt;

&lt;p&gt;Google Workspace Business editions generally apply the same primary subscription to everyone in the organization.&lt;/p&gt;

&lt;p&gt;You cannot normally keep some users on Business Plus while moving other users to Business Starter under the same primary Business subscription.&lt;/p&gt;

&lt;p&gt;When the organization downgrades:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;All users transition to Business Starter.&lt;/li&gt;
  &lt;li&gt;The new pooled storage limit applies across the organization.&lt;/li&gt;
  &lt;li&gt;Business Plus features are removed for the organization.&lt;/li&gt;
  &lt;li&gt;Existing compatible add-on licenses may remain assigned.&lt;/li&gt;
  &lt;li&gt;The billing change applies to the complete primary subscription.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Organizations that need different feature levels for different groups should contact Google Workspace Sales or their reseller to discuss available licensing designs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;check-whether-google-or-a-reseller-manages-billing&quot;&gt;Check Whether Google or a Reseller Manages Billing&lt;/h2&gt;

&lt;p&gt;The downgrade process differs when the subscription was purchased through a Google Workspace reseller.&lt;/p&gt;

&lt;p&gt;To check the billing relationship:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to the &lt;a href=&quot;https://admin.google.com/&quot;&gt;Google Admin console&lt;/a&gt; using a super administrator or billing administrator account.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Billing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Subscriptions&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open the Google Workspace subscription.&lt;/li&gt;
  &lt;li&gt;Review the payment plan and billing information.&lt;/li&gt;
  &lt;li&gt;Look for reseller information or a reseller contact option.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a reseller manages the subscription, you may not have the option to downgrade directly in the Admin console.&lt;/p&gt;

&lt;p&gt;In that situation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Contact the reseller.&lt;/li&gt;
  &lt;li&gt;Request a downgrade from Business Plus to Business Starter.&lt;/li&gt;
  &lt;li&gt;Ask when the downgrade can take effect.&lt;/li&gt;
  &lt;li&gt;Confirm whether the current contract has an early-change restriction.&lt;/li&gt;
  &lt;li&gt;Request the new per-user price in writing.&lt;/li&gt;
  &lt;li&gt;Confirm how existing add-ons will be handled.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google provides additional guidance in its &lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/contact-your-google-reseller&quot;&gt;reseller support documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verify-your-administrative-permissions&quot;&gt;Verify Your Administrative Permissions&lt;/h2&gt;

&lt;p&gt;The account performing the downgrade must have the required billing permissions.&lt;/p&gt;

&lt;p&gt;A super administrator normally has the necessary access. A delegated administrator may require the &lt;strong&gt;Billing Management&lt;/strong&gt; privilege.&lt;/p&gt;

&lt;p&gt;If the downgrade controls are missing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that you are using the correct administrator account.&lt;/li&gt;
  &lt;li&gt;Confirm that the account has billing-management privileges.&lt;/li&gt;
  &lt;li&gt;Confirm that the subscription is not managed by a reseller.&lt;/li&gt;
  &lt;li&gt;Review the current payment plan.&lt;/li&gt;
  &lt;li&gt;Confirm that the organization is eligible for Business Starter.&lt;/li&gt;
  &lt;li&gt;Sign out and back in after permissions are changed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not perform a subscription change from an ordinary user account.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;review-the-current-payment-plan&quot;&gt;Review the Current Payment Plan&lt;/h2&gt;

&lt;p&gt;Google Workspace subscriptions generally use one of two payment plans:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Flexible Plan&lt;/li&gt;
  &lt;li&gt;Annual/Fixed-Term Plan&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;flexible-plan&quot;&gt;Flexible Plan&lt;/h3&gt;

&lt;p&gt;The Flexible Plan provides month-to-month billing.&lt;/p&gt;

&lt;p&gt;With this plan:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Users are billed monthly.&lt;/li&gt;
  &lt;li&gt;Licenses can be added or removed.&lt;/li&gt;
  &lt;li&gt;The subscription can generally be changed without waiting for a yearly renewal.&lt;/li&gt;
  &lt;li&gt;The per-user monthly price is higher than the annual commitment price.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A Business Plus subscription already using the Flexible Plan can normally be downgraded directly from the Admin console.&lt;/p&gt;

&lt;h3 id=&quot;annual-or-fixed-term-plan&quot;&gt;Annual or Fixed-Term Plan&lt;/h3&gt;

&lt;p&gt;The Annual/Fixed-Term Plan includes a contractual commitment for a specific number of licenses.&lt;/p&gt;

&lt;p&gt;With this plan:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The organization commits to one or more years of service.&lt;/li&gt;
  &lt;li&gt;Additional licenses can normally be purchased during the term.&lt;/li&gt;
  &lt;li&gt;The committed license count generally cannot be reduced until renewal.&lt;/li&gt;
  &lt;li&gt;Canceling early does not eliminate the remaining contractual balance.&lt;/li&gt;
  &lt;li&gt;A lower edition may not be immediately available during the commitment period.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google states that an organization using an Annual/Fixed-Term Plan must generally switch to the Flexible Plan before downgrading to a lower edition.&lt;/p&gt;

&lt;p&gt;The switch from Annual/Fixed-Term to Flexible is normally available:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;During an eligible free trial&lt;/li&gt;
  &lt;li&gt;At the subscription renewal date&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Review the &lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/compare-flexible-and-annual-fixed-term-payment-plans&quot;&gt;Google Workspace payment plan comparison&lt;/a&gt; before proceeding.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;schedule-an-annual-plan-to-change-at-renewal&quot;&gt;Schedule an Annual Plan to Change at Renewal&lt;/h2&gt;

&lt;p&gt;If Business Plus is currently under an Annual/Fixed-Term commitment, configure the renewal settings before the contract renews.&lt;/p&gt;

&lt;p&gt;The exact menu labels may vary, but the general process is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to the Google Admin console.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Billing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Subscriptions&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Google Workspace Business Plus&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Locate the payment plan or renewal settings.&lt;/li&gt;
  &lt;li&gt;Select the option to change the renewal plan.&lt;/li&gt;
  &lt;li&gt;Choose the &lt;strong&gt;Flexible Plan&lt;/strong&gt; when the current commitment expires.&lt;/li&gt;
  &lt;li&gt;Review the effective date.&lt;/li&gt;
  &lt;li&gt;Save the change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After the subscription transitions to Flexible, return to the subscription and complete the downgrade to Business Starter.&lt;/p&gt;

&lt;p&gt;Do not allow the Business Plus annual commitment to renew automatically if your intention is to downgrade. A new annual term may delay the change until the next renewal period.&lt;/p&gt;

&lt;p&gt;Contact Google Workspace Support or your reseller when the renewal option is unavailable or the effective date is unclear.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;calculate-the-new-storage-limit&quot;&gt;Calculate the New Storage Limit&lt;/h2&gt;

&lt;p&gt;Business Starter adds 30 GB of pooled storage for each licensed user.&lt;/p&gt;

&lt;p&gt;Use the following calculation:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Number of Business Starter licenses × 30 GB&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Licenses&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Business Starter Pooled Storage&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;1&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;30 GB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;5&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;150 GB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;10&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;300 GB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;20&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;600 GB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;25&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;750 GB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;50&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;1.5 TB&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;100&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;3 TB&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Storage provided by eligible additional-storage subscriptions should be added to the calculated Business Starter pool.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;10 Business Starter licenses provide 300 GB.&lt;/li&gt;
  &lt;li&gt;An additional 1 TB storage subscription provides another 1,000 GB.&lt;/li&gt;
  &lt;li&gt;The approximate total pooled limit would be 1,300 GB.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Confirm the exact additional-storage configuration before relying on it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;review-current-storage-consumption&quot;&gt;Review Current Storage Consumption&lt;/h2&gt;

&lt;p&gt;Before downgrading:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to the Google Admin console.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Storage&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Review the organization’s total storage usage.&lt;/li&gt;
  &lt;li&gt;Review storage by service.&lt;/li&gt;
  &lt;li&gt;Review storage by user.&lt;/li&gt;
  &lt;li&gt;Identify unusually large accounts.&lt;/li&gt;
  &lt;li&gt;Compare current usage with the calculated Business Starter limit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Storage can be consumed by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Gmail messages and attachments&lt;/li&gt;
  &lt;li&gt;Google Drive files&lt;/li&gt;
  &lt;li&gt;Shared drive content&lt;/li&gt;
  &lt;li&gt;Google Photos&lt;/li&gt;
  &lt;li&gt;Google Meet recordings&lt;/li&gt;
  &lt;li&gt;Files owned by suspended users&lt;/li&gt;
  &lt;li&gt;Large video files&lt;/li&gt;
  &lt;li&gt;Backups and application data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Leave additional free capacity rather than reducing usage to exactly the new limit.&lt;/p&gt;

&lt;p&gt;A reasonable target is to remain comfortably below the Business Starter pool so normal email, file creation, and collaboration can continue after the downgrade.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-happens-when-storage-exceeds-the-new-limit&quot;&gt;What Happens When Storage Exceeds the New Limit?&lt;/h2&gt;

&lt;p&gt;Google does not immediately delete existing data when the organization exceeds its pooled storage limit after a downgrade.&lt;/p&gt;

&lt;p&gt;However, users can face serious restrictions.&lt;/p&gt;

&lt;p&gt;Potential Gmail restrictions include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Storage warnings&lt;/li&gt;
  &lt;li&gt;Inability to send new messages&lt;/li&gt;
  &lt;li&gt;Inability to receive new messages&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Potential Google Drive restrictions include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Inability to upload new files&lt;/li&gt;
  &lt;li&gt;Inability to save Gmail attachments to Drive&lt;/li&gt;
  &lt;li&gt;Inability to create new Docs, Sheets, Slides, Forms, Drawings, or Recorder files&lt;/li&gt;
  &lt;li&gt;Editing restrictions for certain collaborative files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google Photos uploads may also be restricted.&lt;/p&gt;

&lt;p&gt;An over-limit organization can therefore experience significant operational disruption even though existing data is not immediately deleted.&lt;/p&gt;

&lt;p&gt;Reduce storage or purchase compatible additional storage before completing the downgrade.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;preserve-vault-data&quot;&gt;Preserve Vault Data&lt;/h2&gt;

&lt;p&gt;Google provides a specific procedure for preserving Vault data while switching editions.&lt;/p&gt;

&lt;p&gt;The appropriate approach depends on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Whether legal holds exist&lt;/li&gt;
  &lt;li&gt;Whether retention rules are configured&lt;/li&gt;
  &lt;li&gt;Whether users have deleted data retained by Vault&lt;/li&gt;
  &lt;li&gt;Whether Vault add-on licenses will be purchased&lt;/li&gt;
  &lt;li&gt;Whether data must be exported&lt;/li&gt;
  &lt;li&gt;The organization’s legal and regulatory requirements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not assume that existing Vault-retained data will remain protected indefinitely after Business Plus licenses are removed.&lt;/p&gt;

&lt;p&gt;Google notes that administrators may be able to restore certain lost edition features by upgrading again within a limited recovery period. This should not be treated as a substitute for a planned retention strategy.&lt;/p&gt;

&lt;p&gt;Use the &lt;a href=&quot;https://support.google.com/a/answer/10045834&quot;&gt;Google guidance for preserving Vault data during an edition change&lt;/a&gt; as part of the downgrade plan.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;review-advanced-endpoint-management&quot;&gt;Review Advanced Endpoint Management&lt;/h2&gt;

&lt;p&gt;Business Plus includes advanced endpoint management capabilities that are not included with Business Starter.&lt;/p&gt;

&lt;p&gt;These capabilities may be used for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mobile device policies&lt;/li&gt;
  &lt;li&gt;Strong screen-lock requirements&lt;/li&gt;
  &lt;li&gt;Device approval&lt;/li&gt;
  &lt;li&gt;Work profiles&lt;/li&gt;
  &lt;li&gt;Application management&lt;/li&gt;
  &lt;li&gt;Device certificates&lt;/li&gt;
  &lt;li&gt;Advanced Windows management&lt;/li&gt;
  &lt;li&gt;Remote account actions&lt;/li&gt;
  &lt;li&gt;Administrative device controls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google recommends enabling basic management before the downgrade when the organization currently uses advanced endpoint management.&lt;/p&gt;

&lt;p&gt;This helps prevent users with enrolled devices from unexpectedly losing access to Google Workspace data.&lt;/p&gt;

&lt;p&gt;Before switching:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Review current endpoint-management settings.&lt;/li&gt;
  &lt;li&gt;Identify devices using advanced management.&lt;/li&gt;
  &lt;li&gt;Document policies that will no longer apply.&lt;/li&gt;
  &lt;li&gt;Enable basic management where appropriate.&lt;/li&gt;
  &lt;li&gt;Notify affected users.&lt;/li&gt;
  &lt;li&gt;Test access using a representative device.&lt;/li&gt;
  &lt;li&gt;Remove obsolete advanced-management dependencies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not wait until after the downgrade to determine which devices depend on Business Plus controls.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;create-a-pre-downgrade-checklist&quot;&gt;Create a Pre-Downgrade Checklist&lt;/h2&gt;

&lt;p&gt;Complete the following before changing the subscription:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that Business Starter meets business requirements.&lt;/li&gt;
  &lt;li&gt;Confirm that all users can move to the same primary edition.&lt;/li&gt;
  &lt;li&gt;Verify that the subscription is billed directly by Google.&lt;/li&gt;
  &lt;li&gt;Contact the reseller when applicable.&lt;/li&gt;
  &lt;li&gt;Verify billing-management permissions.&lt;/li&gt;
  &lt;li&gt;Review whether the plan is Flexible or Annual/Fixed-Term.&lt;/li&gt;
  &lt;li&gt;Schedule an Annual Plan to become Flexible at renewal.&lt;/li&gt;
  &lt;li&gt;Calculate the new pooled storage limit.&lt;/li&gt;
  &lt;li&gt;Reduce storage below the new limit.&lt;/li&gt;
  &lt;li&gt;Review Vault retention rules and legal holds.&lt;/li&gt;
  &lt;li&gt;Preserve or export required Vault data.&lt;/li&gt;
  &lt;li&gt;Review endpoint-management settings.&lt;/li&gt;
  &lt;li&gt;Enable basic management when required.&lt;/li&gt;
  &lt;li&gt;Identify Secure LDAP dependencies.&lt;/li&gt;
  &lt;li&gt;Review Google Meet usage.&lt;/li&gt;
  &lt;li&gt;Review advanced security dependencies.&lt;/li&gt;
  &lt;li&gt;Review add-on subscriptions.&lt;/li&gt;
  &lt;li&gt;Notify users of expected feature changes.&lt;/li&gt;
  &lt;li&gt;Document the current subscription and settings.&lt;/li&gt;
  &lt;li&gt;Obtain management approval.&lt;/li&gt;
  &lt;li&gt;Schedule the downgrade during a low-impact period.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep screenshots or exports of the current billing and configuration pages for internal records.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downgrade-business-plus-to-business-starter&quot;&gt;Downgrade Business Plus to Business Starter&lt;/h2&gt;

&lt;p&gt;Once the environment is ready:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to the &lt;a href=&quot;https://admin.google.com/&quot;&gt;Google Admin console&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;Open the navigation menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Billing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Subscriptions&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select the &lt;strong&gt;Google Workspace Business Plus&lt;/strong&gt; subscription.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;More&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Downgrade&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Business Starter&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Review the displayed feature and storage impact.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Review the available payment plan.&lt;/li&gt;
  &lt;li&gt;Review the user count.&lt;/li&gt;
  &lt;li&gt;Review the new pricing.&lt;/li&gt;
  &lt;li&gt;Enter a promotional code when applicable.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Checkout&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Place Order&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google may adjust the labels or location of these controls over time.&lt;/p&gt;

&lt;p&gt;The most important path is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Admin console &amp;gt; Billing &amp;gt; Subscriptions &amp;gt; Business Plus &amp;gt; More &amp;gt; Downgrade&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Use Google’s &lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/switch-to-business-starter-edition&quot;&gt;official Business Starter switching instructions&lt;/a&gt; when the current interface differs from this guide.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-google-only-recommends-an-upgrade&quot;&gt;When Google Only Recommends an Upgrade&lt;/h2&gt;

&lt;p&gt;The Admin console may display recommendation cards emphasizing Business Standard, Business Plus, Enterprise, or other higher editions.&lt;/p&gt;

&lt;p&gt;These recommendations do not necessarily mean that Business Starter is unavailable.&lt;/p&gt;

&lt;p&gt;Instead of using the recommended edition cards:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Billing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Subscriptions&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open the existing Business Plus subscription.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;More&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Look for &lt;strong&gt;Downgrade&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select Business Starter from the downgrade options.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;strong&gt;Buy or upgrade&lt;/strong&gt; page is primarily designed to add services or move to a higher edition. The downgrade control is normally located inside the existing subscription.&lt;/p&gt;

&lt;p&gt;A related discussion is available in the &lt;a href=&quot;https://support.google.com/a/thread/217505186/how-do-i-change-what-google-is-recommending-for-workspace?hl=en&quot;&gt;Google Workspace Admin Community&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-the-downgrade-option-is-missing&quot;&gt;When the Downgrade Option Is Missing&lt;/h2&gt;

&lt;p&gt;The downgrade option may be unavailable because:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The account lacks billing-management privileges.&lt;/li&gt;
  &lt;li&gt;A reseller manages the subscription.&lt;/li&gt;
  &lt;li&gt;The organization is under an Annual/Fixed-Term commitment.&lt;/li&gt;
  &lt;li&gt;The annual subscription has not reached renewal.&lt;/li&gt;
  &lt;li&gt;The subscription is already scheduled for another change.&lt;/li&gt;
  &lt;li&gt;The account is in a temporary billing state.&lt;/li&gt;
  &lt;li&gt;The organization uses an unsupported edition.&lt;/li&gt;
  &lt;li&gt;The organization exceeds Business edition user limits.&lt;/li&gt;
  &lt;li&gt;A recent subscription change has not finished processing.&lt;/li&gt;
  &lt;li&gt;The Admin console session needs to be refreshed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Troubleshoot the missing option by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirming the current payment plan.&lt;/li&gt;
  &lt;li&gt;Confirming the subscription renewal date.&lt;/li&gt;
  &lt;li&gt;Verifying administrator permissions.&lt;/li&gt;
  &lt;li&gt;Checking for reseller ownership.&lt;/li&gt;
  &lt;li&gt;Reviewing pending subscription changes.&lt;/li&gt;
  &lt;li&gt;Signing out and signing back in.&lt;/li&gt;
  &lt;li&gt;Trying a private browser session.&lt;/li&gt;
  &lt;li&gt;Contacting Google Workspace Support.&lt;/li&gt;
  &lt;li&gt;Contacting the reseller.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not cancel the complete Google Workspace subscription as a substitute for downgrading. Cancellation can interrupt Gmail and other organizational services.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verify-the-downgrade&quot;&gt;Verify the Downgrade&lt;/h2&gt;

&lt;p&gt;After completing the order:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Return to &lt;strong&gt;Billing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Subscriptions&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Confirm that Business Starter is listed.&lt;/li&gt;
  &lt;li&gt;Confirm the effective date.&lt;/li&gt;
  &lt;li&gt;Confirm the payment plan.&lt;/li&gt;
  &lt;li&gt;Confirm the number of licenses.&lt;/li&gt;
  &lt;li&gt;Review the estimated monthly charge.&lt;/li&gt;
  &lt;li&gt;Review additional subscriptions.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Storage&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Confirm the new pooled storage limit.&lt;/li&gt;
  &lt;li&gt;Test Gmail.&lt;/li&gt;
  &lt;li&gt;Test Google Drive.&lt;/li&gt;
  &lt;li&gt;Test Google Meet.&lt;/li&gt;
  &lt;li&gt;Test mobile access.&lt;/li&gt;
  &lt;li&gt;Confirm that critical applications still authenticate.&lt;/li&gt;
  &lt;li&gt;Review administrator alerts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The change may not appear instantly in every service.&lt;/p&gt;

&lt;p&gt;Allow time for the subscription and feature changes to propagate throughout the organization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monitor-the-environment-after-the-downgrade&quot;&gt;Monitor the Environment After the Downgrade&lt;/h2&gt;

&lt;p&gt;For the first several days after the change, monitor:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Gmail delivery&lt;/li&gt;
  &lt;li&gt;Google Drive uploads&lt;/li&gt;
  &lt;li&gt;Document creation&lt;/li&gt;
  &lt;li&gt;Storage warnings&lt;/li&gt;
  &lt;li&gt;Mobile device access&lt;/li&gt;
  &lt;li&gt;Google Meet sessions&lt;/li&gt;
  &lt;li&gt;Authentication failures&lt;/li&gt;
  &lt;li&gt;User support requests&lt;/li&gt;
  &lt;li&gt;Admin console alerts&lt;/li&gt;
  &lt;li&gt;Billing charges&lt;/li&gt;
  &lt;li&gt;Add-on license assignments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ask users to report:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Missing features&lt;/li&gt;
  &lt;li&gt;Inability to upload files&lt;/li&gt;
  &lt;li&gt;Gmail delivery problems&lt;/li&gt;
  &lt;li&gt;Mobile access failures&lt;/li&gt;
  &lt;li&gt;Meeting limitations&lt;/li&gt;
  &lt;li&gt;Application authentication problems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Document all issues and their resolutions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;upgrading-again-after-a-downgrade&quot;&gt;Upgrading Again After a Downgrade&lt;/h2&gt;

&lt;p&gt;Google allows organizations to upgrade to a higher Workspace edition when additional capabilities are needed.&lt;/p&gt;

&lt;p&gt;However, Google documents special timing rules when a downgrade removes features such as Google Vault or data loss prevention.&lt;/p&gt;

&lt;p&gt;Google currently states that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Certain lost features can be recovered by upgrading within 51 days.&lt;/li&gt;
  &lt;li&gt;After that recovery period, the organization may need to wait at least 85 days before upgrading to an edition containing the lost feature.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These timeframes can change.&lt;/p&gt;

&lt;p&gt;Do not downgrade with the assumption that the organization can move back and forth between editions at any time without restrictions.&lt;/p&gt;

&lt;p&gt;Review the current switching terms before placing the order.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;estimate-the-potential-savings&quot;&gt;Estimate the Potential Savings&lt;/h2&gt;

&lt;p&gt;At the time of publication, Google’s standard United States pricing lists the following rates:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Edition&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Flexible Plan&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Annual Plan&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Business Starter&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$8.40 per user per month&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$7.00 per user per month&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Business Plus&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$26.40 per user per month&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$22.00 per user per month&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Based on those standard rates, the approximate difference is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;$18.00 per user each month on the Flexible Plan&lt;/li&gt;
  &lt;li&gt;$15.00 per user each month on the Annual Plan&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example annual savings for the Flexible Plan:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Users&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Approximate Monthly Savings&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Approximate Annual Savings&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;5&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$90&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$1,080&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;10&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$180&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$2,160&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;20&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$360&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$4,320&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;50&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$900&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$10,800&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Example annual savings for the Annual Plan:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Users&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Approximate Monthly Savings&lt;/th&gt;
      &lt;th style=&quot;text-align: right&quot;&gt;Approximate Annual Savings&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;5&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$75&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$900&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;10&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$150&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$1,800&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;20&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$300&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$3,600&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;50&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$750&lt;/td&gt;
      &lt;td style=&quot;text-align: right&quot;&gt;$9,000&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;These estimates exclude:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Taxes&lt;/li&gt;
  &lt;li&gt;Promotional discounts&lt;/li&gt;
  &lt;li&gt;Reseller pricing&lt;/li&gt;
  &lt;li&gt;Regional pricing&lt;/li&gt;
  &lt;li&gt;Additional storage&lt;/li&gt;
  &lt;li&gt;Vault add-ons&lt;/li&gt;
  &lt;li&gt;Other Google Workspace subscriptions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Review the final checkout page for the actual cost before completing the downgrade.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-change-record&quot;&gt;Recommended Change Record&lt;/h2&gt;

&lt;p&gt;Document the downgrade using a change record that includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Current edition&lt;/li&gt;
  &lt;li&gt;New edition&lt;/li&gt;
  &lt;li&gt;Current payment plan&lt;/li&gt;
  &lt;li&gt;New payment plan&lt;/li&gt;
  &lt;li&gt;Renewal date&lt;/li&gt;
  &lt;li&gt;Effective date&lt;/li&gt;
  &lt;li&gt;Number of licenses&lt;/li&gt;
  &lt;li&gt;Current storage usage&lt;/li&gt;
  &lt;li&gt;New pooled storage limit&lt;/li&gt;
  &lt;li&gt;Vault review results&lt;/li&gt;
  &lt;li&gt;Endpoint-management review results&lt;/li&gt;
  &lt;li&gt;Secure LDAP review results&lt;/li&gt;
  &lt;li&gt;Meet usage review&lt;/li&gt;
  &lt;li&gt;Add-on subscriptions&lt;/li&gt;
  &lt;li&gt;Estimated monthly savings&lt;/li&gt;
  &lt;li&gt;Business approval&lt;/li&gt;
  &lt;li&gt;Technical approval&lt;/li&gt;
  &lt;li&gt;User communication&lt;/li&gt;
  &lt;li&gt;Validation results&lt;/li&gt;
  &lt;li&gt;Rollback or upgrade considerations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This documentation can help explain future storage, security, or feature changes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Downgrading Google Workspace from Business Plus to Business Starter can produce meaningful cost savings, particularly for smaller organizations that primarily need business email, file storage, collaboration tools, and basic video meetings.&lt;/p&gt;

&lt;p&gt;The most important step is evaluating the operational impact before placing the order. Business Starter provides only 30 GB of pooled storage per licensed user and does not include several Business Plus capabilities, including Google Vault, Secure LDAP, advanced endpoint management, larger Google Meet sessions, and enhanced security controls.&lt;/p&gt;

&lt;p&gt;Administrators should review storage, preserve required Vault data, identify authentication dependencies, verify the payment plan, and contact the billing reseller when applicable. Organizations using an Annual/Fixed-Term Plan should also plan the transition around the subscription renewal date so the account can move to the Flexible Plan before the downgrade.&lt;/p&gt;

&lt;p&gt;A carefully planned downgrade can reduce recurring costs without disrupting Gmail, Drive, collaboration, or other essential business services.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/switch-to-business-starter-edition&quot;&gt;Switch to Google Workspace Business Starter&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://workspace.google.com/pricing.html&quot;&gt;Google Workspace Pricing and Feature Comparison&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/compare-flexible-and-annual-fixed-term-payment-plans&quot;&gt;Compare Flexible and Annual Payment Plans&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://admin.google.com/&quot;&gt;Google Workspace Admin Console&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/a/thread/217505186/how-do-i-change-what-google-is-recommending-for-workspace?hl=en&quot;&gt;Google Workspace Admin Community Discussion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/vault/answer/2462365&quot;&gt;Google Vault Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/a/answer/10045834&quot;&gt;Preserve Vault Data When Switching Editions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://knowledge.workspace.google.com/admin/billing/contact-your-google-reseller&quot;&gt;Contact Your Google Workspace Reseller&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/a/answer/12002268&quot;&gt;Google Workspace Storage Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.google.com/a/&quot;&gt;Google Workspace Support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 30 May 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/business/downgrade-google-workspace-plan/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/business/downgrade-google-workspace-plan/</guid>
        
        <category>google-workspace</category>
        
        <category>business-plus</category>
        
        <category>business-starter</category>
        
        <category>google-admin</category>
        
        <category>billing</category>
        
        
        <category>Business</category>
        
      </item>
    
      <item>
        <title>How to Transfer Books and PDFs to Kindle</title>
        <description>&lt;p&gt;Amazon Kindle devices are primarily associated with books purchased from the Kindle Store, but they can also display personal eBooks, PDFs, manuals, reports, research papers, and other documents.&lt;/p&gt;

&lt;p&gt;Amazon provides several ways to transfer files to a Kindle. The easiest option for most users is the browser-based &lt;strong&gt;Send to Kindle&lt;/strong&gt; service because it converts supported files, stores them in the Kindle library, and makes them available across compatible Kindle devices and applications.&lt;/p&gt;

&lt;p&gt;Files can also be transferred through email, the Kindle mobile application, the Send to Kindle desktop application, or a direct USB connection.&lt;/p&gt;

&lt;p&gt;Only transfer books and documents that you created, purchased without restrictive digital rights management, received legally, or otherwise have permission to use.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain how to transfer books and PDFs to Kindle using Send to Kindle, email, mobile sharing, desktop applications, and USB.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-methods-at-a-glance&quot; id=&quot;markdown-toc-transfer-methods-at-a-glance&quot;&gt;Transfer Methods at a Glance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#supported-send-to-kindle-file-types&quot; id=&quot;markdown-toc-supported-send-to-kindle-file-types&quot;&gt;Supported Send to Kindle File Types&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#epub-versus-pdf&quot; id=&quot;markdown-toc-epub-versus-pdf&quot;&gt;EPUB Versus PDF&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#epub-files&quot; id=&quot;markdown-toc-epub-files&quot;&gt;EPUB Files&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pdf-files&quot; id=&quot;markdown-toc-pdf-files&quot;&gt;PDF Files&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-method-send-to-kindle-from-a-web-browser&quot; id=&quot;markdown-toc-recommended-method-send-to-kindle-from-a-web-browser&quot;&gt;Recommended Method: Send to Kindle from a Web Browser&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-add-to-your-library-matters&quot; id=&quot;markdown-toc-why-add-to-your-library-matters&quot;&gt;Why Add to Your Library Matters&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#find-the-document-on-your-kindle&quot; id=&quot;markdown-toc-find-the-document-on-your-kindle&quot;&gt;Find the Document on Your Kindle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-a-file-using-your-kindle-email-address&quot; id=&quot;markdown-toc-transfer-a-file-using-your-kindle-email-address&quot;&gt;Transfer a File Using Your Kindle Email Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#find-your-send-to-kindle-email-address&quot; id=&quot;markdown-toc-find-your-send-to-kindle-email-address&quot;&gt;Find Your Send to Kindle Email Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#add-an-approved-personal-document-email-address&quot; id=&quot;markdown-toc-add-an-approved-personal-document-email-address&quot;&gt;Add an Approved Personal Document Email Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#email-limitations&quot; id=&quot;markdown-toc-email-limitations&quot;&gt;Email Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#send-books-and-pdfs-from-an-iphone-or-ipad&quot; id=&quot;markdown-toc-send-books-and-pdfs-from-an-iphone-or-ipad&quot;&gt;Send Books and PDFs from an iPhone or iPad&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#send-books-and-pdfs-from-android&quot; id=&quot;markdown-toc-send-books-and-pdfs-from-android&quot;&gt;Send Books and PDFs from Android&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-files-from-windows-or-macos&quot; id=&quot;markdown-toc-transfer-files-from-windows-or-macos&quot;&gt;Transfer Files from Windows or macOS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-books-and-pdfs-through-usb&quot; id=&quot;markdown-toc-transfer-books-and-pdfs-through-usb&quot;&gt;Transfer Books and PDFs Through USB&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-files-through-usb-on-windows&quot; id=&quot;markdown-toc-transfer-files-through-usb-on-windows&quot;&gt;Transfer Files Through USB on Windows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-files-through-usb-on-macos&quot; id=&quot;markdown-toc-transfer-files-through-usb-on-macos&quot;&gt;Transfer Files Through USB on macOS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kindle-only-charges-when-connected&quot; id=&quot;markdown-toc-kindle-only-charges-when-connected&quot;&gt;Kindle Only Charges When Connected&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-calibre-to-manage-personal-ebooks&quot; id=&quot;markdown-toc-use-calibre-to-manage-personal-ebooks&quot;&gt;Use Calibre to Manage Personal eBooks&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#format-considerations-for-usb-transfers&quot; id=&quot;markdown-toc-format-considerations-for-usb-transfers&quot;&gt;Format Considerations for USB Transfers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-an-amazon-purchased-book-to-a-kindle&quot; id=&quot;markdown-toc-transfer-an-amazon-purchased-book-to-a-kindle&quot;&gt;Transfer an Amazon-Purchased Book to a Kindle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#documents-versus-books-in-the-kindle-library&quot; id=&quot;markdown-toc-documents-versus-books-in-the-kindle-library&quot;&gt;Documents Versus Books in the Kindle Library&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#improve-the-title-and-author-information&quot; id=&quot;markdown-toc-improve-the-title-and-author-information&quot;&gt;Improve the Title and Author Information&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-scanned-pdfs&quot; id=&quot;markdown-toc-transfer-scanned-pdfs&quot;&gt;Transfer Scanned PDFs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#transfer-password-protected-pdfs&quot; id=&quot;markdown-toc-transfer-password-protected-pdfs&quot;&gt;Transfer Password-Protected PDFs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#reading-pdfs-on-a-small-kindle-screen&quot; id=&quot;markdown-toc-reading-pdfs-on-a-small-kindle-screen&quot;&gt;Reading PDFs on a Small Kindle Screen&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#files-that-cannot-be-transferred&quot; id=&quot;markdown-toc-files-that-cannot-be-transferred&quot;&gt;Files That Cannot Be Transferred&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshoot-send-to-kindle-failures&quot; id=&quot;markdown-toc-troubleshoot-send-to-kindle-failures&quot;&gt;Troubleshoot Send to Kindle Failures&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshoot-email-delivery&quot; id=&quot;markdown-toc-troubleshoot-email-delivery&quot;&gt;Troubleshoot Email Delivery&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshoot-missing-library-items&quot; id=&quot;markdown-toc-troubleshoot-missing-library-items&quot;&gt;Troubleshoot Missing Library Items&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#restart-the-kindle&quot; id=&quot;markdown-toc-restart-the-kindle&quot;&gt;Restart the Kindle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#keep-a-backup-of-personal-documents&quot; id=&quot;markdown-toc-keep-a-backup-of-personal-documents&quot;&gt;Keep a Backup of Personal Documents&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#privacy-considerations&quot; id=&quot;markdown-toc-privacy-considerations&quot;&gt;Privacy Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-method-by-situation&quot; id=&quot;markdown-toc-recommended-method-by-situation&quot;&gt;Recommended Method by Situation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-methods-at-a-glance&quot;&gt;Transfer Methods at a Glance&lt;/h2&gt;

&lt;p&gt;The primary methods for transferring personal documents to a Kindle include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Send to Kindle through a web browser&lt;/li&gt;
  &lt;li&gt;Send to Kindle through email&lt;/li&gt;
  &lt;li&gt;Send to Kindle from an iPhone or iPad&lt;/li&gt;
  &lt;li&gt;Send to Kindle from an Android device&lt;/li&gt;
  &lt;li&gt;Send to Kindle from Windows or macOS&lt;/li&gt;
  &lt;li&gt;Manual transfer through a USB cable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most users, the browser-based Send to Kindle service is the recommended option.&lt;/p&gt;

&lt;p&gt;It provides several advantages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Files can be added to your Kindle library.&lt;/li&gt;
  &lt;li&gt;Documents can be synchronized across compatible devices.&lt;/li&gt;
  &lt;li&gt;EPUB files are converted into a Kindle-compatible format.&lt;/li&gt;
  &lt;li&gt;Reading position, notes, and highlights may synchronize.&lt;/li&gt;
  &lt;li&gt;A direct USB connection is not required.&lt;/li&gt;
  &lt;li&gt;Files remain available for later download.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Manual USB transfers are useful when Internet access is unavailable or when you do not want a document stored in your Amazon library.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;supported-send-to-kindle-file-types&quot;&gt;Supported Send to Kindle File Types&lt;/h2&gt;

&lt;p&gt;Amazon’s Send to Kindle service currently supports the following file types:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;EPUB&lt;/li&gt;
  &lt;li&gt;PDF&lt;/li&gt;
  &lt;li&gt;DOC&lt;/li&gt;
  &lt;li&gt;DOCX&lt;/li&gt;
  &lt;li&gt;TXT&lt;/li&gt;
  &lt;li&gt;RTF&lt;/li&gt;
  &lt;li&gt;HTM&lt;/li&gt;
  &lt;li&gt;HTML&lt;/li&gt;
  &lt;li&gt;PNG&lt;/li&gt;
  &lt;li&gt;GIF&lt;/li&gt;
  &lt;li&gt;JPG&lt;/li&gt;
  &lt;li&gt;JPEG&lt;/li&gt;
  &lt;li&gt;BMP&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The browser-based Send to Kindle service supports individual files up to &lt;strong&gt;200 MB&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;File support can change over time, so review the &lt;a href=&quot;https://www.amazon.com/sendtokindle&quot;&gt;official Send to Kindle page&lt;/a&gt; when transferring an unusual or particularly large document.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;epub-versus-pdf&quot;&gt;EPUB Versus PDF&lt;/h2&gt;

&lt;p&gt;EPUB and PDF files behave differently when displayed on a Kindle.&lt;/p&gt;

&lt;h3 id=&quot;epub-files&quot;&gt;EPUB Files&lt;/h3&gt;

&lt;p&gt;EPUB is a reflowable eBook format.&lt;/p&gt;

&lt;p&gt;A reflowable document can adjust its text to match:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Screen size&lt;/li&gt;
  &lt;li&gt;Font size&lt;/li&gt;
  &lt;li&gt;Font style&lt;/li&gt;
  &lt;li&gt;Line spacing&lt;/li&gt;
  &lt;li&gt;Page margins&lt;/li&gt;
  &lt;li&gt;Reading orientation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When an EPUB file is submitted through Send to Kindle, Amazon converts it into a Kindle-compatible format.&lt;/p&gt;

&lt;p&gt;EPUB is generally the better option for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Novels&lt;/li&gt;
  &lt;li&gt;Text-heavy books&lt;/li&gt;
  &lt;li&gt;Essays&lt;/li&gt;
  &lt;li&gt;Long-form reading&lt;/li&gt;
  &lt;li&gt;Documents without complex formatting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not simply copy an EPUB file to an older Kindle through USB and assume it will work. The more reliable method is to submit the EPUB through Send to Kindle so Amazon can convert it.&lt;/p&gt;

&lt;h3 id=&quot;pdf-files&quot;&gt;PDF Files&lt;/h3&gt;

&lt;p&gt;A PDF normally uses a fixed page layout.&lt;/p&gt;

&lt;p&gt;This means the page retains its original:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Dimensions&lt;/li&gt;
  &lt;li&gt;Fonts&lt;/li&gt;
  &lt;li&gt;Images&lt;/li&gt;
  &lt;li&gt;Columns&lt;/li&gt;
  &lt;li&gt;Margins&lt;/li&gt;
  &lt;li&gt;Page breaks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PDF files are useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Technical manuals&lt;/li&gt;
  &lt;li&gt;Forms&lt;/li&gt;
  &lt;li&gt;Research papers&lt;/li&gt;
  &lt;li&gt;Scanned documents&lt;/li&gt;
  &lt;li&gt;Textbooks&lt;/li&gt;
  &lt;li&gt;Documents with diagrams&lt;/li&gt;
  &lt;li&gt;Documents requiring exact formatting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, PDFs designed for full-size paper may be difficult to read on a smaller Kindle screen. Users may need to zoom and move around the page.&lt;/p&gt;

&lt;p&gt;A Kindle Scribe or another large-screen Kindle is generally better suited for complex PDFs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-method-send-to-kindle-from-a-web-browser&quot;&gt;Recommended Method: Send to Kindle from a Web Browser&lt;/h2&gt;

&lt;p&gt;The browser-based Send to Kindle service is the easiest method for most users.&lt;/p&gt;

&lt;p&gt;To transfer a book or PDF:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the &lt;a href=&quot;https://www.amazon.com/sendtokindle&quot;&gt;Amazon Send to Kindle page&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;Sign in with the Amazon account registered to your Kindle.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Select files from device&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Browse to the file on your computer.&lt;/li&gt;
  &lt;li&gt;Select the book, PDF, or document.&lt;/li&gt;
  &lt;li&gt;Confirm that &lt;strong&gt;Add to your library&lt;/strong&gt; is enabled.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Send&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Wait for Amazon to process the file.&lt;/li&gt;
  &lt;li&gt;Connect your Kindle to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;Synchronize the Kindle library.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also drag and drop files directly onto the Send to Kindle webpage.&lt;/p&gt;

&lt;p&gt;Processing time depends on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;File size&lt;/li&gt;
  &lt;li&gt;File type&lt;/li&gt;
  &lt;li&gt;Document complexity&lt;/li&gt;
  &lt;li&gt;Internet connection&lt;/li&gt;
  &lt;li&gt;Current Amazon service activity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Small files may appear quickly, while large or complex documents may require more time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-add-to-your-library-matters&quot;&gt;Why Add to Your Library Matters&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Add to your library&lt;/strong&gt; option determines whether the uploaded document is stored in your Kindle library.&lt;/p&gt;

&lt;p&gt;When this option is enabled:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The document is associated with your Amazon account.&lt;/li&gt;
  &lt;li&gt;It can be downloaded again later.&lt;/li&gt;
  &lt;li&gt;It may appear on compatible Kindle devices.&lt;/li&gt;
  &lt;li&gt;It may appear in compatible Kindle applications.&lt;/li&gt;
  &lt;li&gt;Reading progress may synchronize.&lt;/li&gt;
  &lt;li&gt;Notes and highlights may synchronize when supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When this option is disabled, Amazon may deliver the file only to the selected device.&lt;/p&gt;

&lt;p&gt;For most users, leaving &lt;strong&gt;Add to your library&lt;/strong&gt; enabled provides the best experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;find-the-document-on-your-kindle&quot;&gt;Find the Document on Your Kindle&lt;/h2&gt;

&lt;p&gt;After sending the document:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Connect the Kindle to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;Open the Kindle home screen.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Library&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Change the library view to &lt;strong&gt;All&lt;/strong&gt; if necessary.&lt;/li&gt;
  &lt;li&gt;Open the filter options.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Documents&lt;/strong&gt; if the file is not immediately visible.&lt;/li&gt;
  &lt;li&gt;Select the document to download and open it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the document does not appear, open the Kindle menu and select:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sync Your Kindle&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Depending on the Kindle model and software version, the option may also appear as:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sync and Check for Items&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make sure that the Kindle is registered to the same Amazon account used on the Send to Kindle website.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-a-file-using-your-kindle-email-address&quot;&gt;Transfer a File Using Your Kindle Email Address&lt;/h2&gt;

&lt;p&gt;Every compatible Kindle device and Kindle application can have its own Send to Kindle email address.&lt;/p&gt;

&lt;p&gt;The address usually ends with:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@kindle.com&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To send a document by email:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Locate the Send to Kindle email address for your device.&lt;/li&gt;
  &lt;li&gt;Add your personal email address to Amazon’s approved sender list.&lt;/li&gt;
  &lt;li&gt;Create a new email from the approved address.&lt;/li&gt;
  &lt;li&gt;Attach the supported book or document.&lt;/li&gt;
  &lt;li&gt;Send the message to the Kindle email address.&lt;/li&gt;
  &lt;li&gt;Connect the Kindle to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;Synchronize the device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The email body and subject can generally remain blank.&lt;/p&gt;

&lt;p&gt;Amazon accepts documents only from approved email addresses. This prevents unknown senders from delivering unwanted files to your Kindle library.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;find-your-send-to-kindle-email-address&quot;&gt;Find Your Send to Kindle Email Address&lt;/h2&gt;

&lt;p&gt;To locate the Kindle email address:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to your Amazon account.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Manage Your Content and Devices&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Preferences&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Expand &lt;strong&gt;Personal Document Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Locate &lt;strong&gt;Send to Kindle Email Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Find the email address associated with the correct Kindle device or application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each registered Kindle may have a different email address.&lt;/p&gt;

&lt;p&gt;You can customize the address from the same settings area. Choose an address that is not easy for strangers to guess.&lt;/p&gt;

&lt;p&gt;Amazon provides additional instructions in its &lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=G7NECT4B4ZWHQ8WV&quot;&gt;Send to Kindle email documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-an-approved-personal-document-email-address&quot;&gt;Add an Approved Personal Document Email Address&lt;/h2&gt;

&lt;p&gt;Before emailing a document, add the sending address to the approved list.&lt;/p&gt;

&lt;p&gt;To add an address:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to your Amazon account.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Manage Your Content and Devices&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Preferences&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Expand &lt;strong&gt;Personal Document Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Locate &lt;strong&gt;Approved Personal Document Email List&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Add a new approved email address&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Enter the complete email address.&lt;/li&gt;
  &lt;li&gt;Save the change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon requires complete email addresses rather than broad domain-only approvals.&lt;/p&gt;

&lt;p&gt;For example, approve:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;reader@example.com&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Do not assume that approving only the email domain will permit every address from that domain.&lt;/p&gt;

&lt;p&gt;Additional details are available in Amazon’s &lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=GX9XLEVV8G4DB28H&quot;&gt;approved document email list instructions&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;email-limitations&quot;&gt;Email Limitations&lt;/h2&gt;

&lt;p&gt;Email is convenient, but it has more limitations than the browser-based Send to Kindle service.&lt;/p&gt;

&lt;p&gt;Potential limitations include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Email attachment size restrictions&lt;/li&gt;
  &lt;li&gt;Restrictions imposed by your email provider&lt;/li&gt;
  &lt;li&gt;Approved sender requirements&lt;/li&gt;
  &lt;li&gt;Delivery verification requests&lt;/li&gt;
  &lt;li&gt;Processing delays&lt;/li&gt;
  &lt;li&gt;Rejected unsupported files&lt;/li&gt;
  &lt;li&gt;Rejected password-protected documents&lt;/li&gt;
  &lt;li&gt;A limit on the number of approved sending addresses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon may request that you verify a document submission through an email sent to the address associated with your Amazon account.&lt;/p&gt;

&lt;p&gt;Complete the verification before the deadline included in the message.&lt;/p&gt;

&lt;p&gt;For large files, use the browser-based Send to Kindle page instead of email.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;send-books-and-pdfs-from-an-iphone-or-ipad&quot;&gt;Send Books and PDFs from an iPhone or iPad&lt;/h2&gt;

&lt;p&gt;The Kindle application can receive supported files through the iOS sharing menu.&lt;/p&gt;

&lt;p&gt;First, install the Kindle application and sign in with the Amazon account associated with your Kindle.&lt;/p&gt;

&lt;p&gt;To send a file:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the &lt;strong&gt;Files&lt;/strong&gt; application or another application containing the document.&lt;/li&gt;
  &lt;li&gt;Locate the EPUB, PDF, or supported file.&lt;/li&gt;
  &lt;li&gt;Select the &lt;strong&gt;Share&lt;/strong&gt; button.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Kindle&lt;/strong&gt; from the application list.&lt;/li&gt;
  &lt;li&gt;Enter or review the document title and author.&lt;/li&gt;
  &lt;li&gt;Enable &lt;strong&gt;Save in Kindle Library&lt;/strong&gt; when available.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Send&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Wait for the upload to complete.&lt;/li&gt;
  &lt;li&gt;Synchronize the Kindle device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If Kindle does not appear in the sharing menu:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Scroll through the application list.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;More&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Enable or select &lt;strong&gt;Kindle&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Try sharing the file again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The exact labels may vary depending on the installed iOS and Kindle application versions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;send-books-and-pdfs-from-android&quot;&gt;Send Books and PDFs from Android&lt;/h2&gt;

&lt;p&gt;The Kindle application can also receive documents through the Android sharing menu.&lt;/p&gt;

&lt;p&gt;To transfer a file:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install the Kindle application.&lt;/li&gt;
  &lt;li&gt;Sign in with the Amazon account registered to your Kindle.&lt;/li&gt;
  &lt;li&gt;Open a file manager, browser, email, or document application.&lt;/li&gt;
  &lt;li&gt;Locate the EPUB, PDF, or supported file.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Share&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Kindle&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Review the title and author.&lt;/li&gt;
  &lt;li&gt;Enable the option to add the document to your Kindle library.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Send&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Synchronize the Kindle device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The available sharing options depend on the Android manufacturer, Android version, and application being used.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-files-from-windows-or-macos&quot;&gt;Transfer Files from Windows or macOS&lt;/h2&gt;

&lt;p&gt;Amazon provides Send to Kindle applications for Windows and macOS.&lt;/p&gt;

&lt;p&gt;The desktop application can be useful when you regularly transfer files from the same computer.&lt;/p&gt;

&lt;p&gt;Depending on the operating system and application version, you may be able to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Drag files into the Send to Kindle application.&lt;/li&gt;
  &lt;li&gt;Select files through the application.&lt;/li&gt;
  &lt;li&gt;Send files from the operating system’s sharing menu.&lt;/li&gt;
  &lt;li&gt;Right-click a supported file and select a Send to Kindle option.&lt;/li&gt;
  &lt;li&gt;Choose whether the document is added to your Kindle library.&lt;/li&gt;
  &lt;li&gt;Select a specific Kindle destination.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To begin, review Amazon’s &lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA&quot;&gt;Send to Kindle documentation&lt;/a&gt; and install the appropriate application for your operating system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-books-and-pdfs-through-usb&quot;&gt;Transfer Books and PDFs Through USB&lt;/h2&gt;

&lt;p&gt;A USB connection can be used to copy supported files directly to a Kindle.&lt;/p&gt;

&lt;p&gt;This method is useful when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The Kindle is offline.&lt;/li&gt;
  &lt;li&gt;Wi-Fi is unavailable.&lt;/li&gt;
  &lt;li&gt;The document should not be uploaded to Amazon.&lt;/li&gt;
  &lt;li&gt;A large local file must be transferred.&lt;/li&gt;
  &lt;li&gt;You are working in a restricted environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;USB-transferred documents differ from files added through Send to Kindle.&lt;/p&gt;

&lt;p&gt;Files copied through USB:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Are stored only on that Kindle.&lt;/li&gt;
  &lt;li&gt;Are not automatically added to your Amazon library.&lt;/li&gt;
  &lt;li&gt;Do not automatically appear on other devices.&lt;/li&gt;
  &lt;li&gt;May not synchronize reading progress.&lt;/li&gt;
  &lt;li&gt;May not synchronize notes and highlights.&lt;/li&gt;
  &lt;li&gt;Are permanently removed if deleted without retaining another copy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep a backup of any file copied manually.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-files-through-usb-on-windows&quot;&gt;Transfer Files Through USB on Windows&lt;/h2&gt;

&lt;p&gt;To transfer a document from Windows:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Connect the Kindle to the computer using a compatible USB data cable.&lt;/li&gt;
  &lt;li&gt;Unlock or wake the Kindle if necessary.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;File Explorer&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select the Kindle device.&lt;/li&gt;
  &lt;li&gt;Open the Kindle storage.&lt;/li&gt;
  &lt;li&gt;Open the &lt;strong&gt;Documents&lt;/strong&gt; folder.&lt;/li&gt;
  &lt;li&gt;Copy the supported book or PDF into the folder.&lt;/li&gt;
  &lt;li&gt;Wait for the transfer to finish.&lt;/li&gt;
  &lt;li&gt;Safely eject the Kindle.&lt;/li&gt;
  &lt;li&gt;Disconnect the USB cable.&lt;/li&gt;
  &lt;li&gt;Open the Kindle library.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not disconnect the Kindle while files are still being copied.&lt;/p&gt;

&lt;p&gt;A charging-only cable will provide power but will not transfer data. Try another cable if Windows does not detect the Kindle.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-files-through-usb-on-macos&quot;&gt;Transfer Files Through USB on macOS&lt;/h2&gt;

&lt;p&gt;USB behavior on macOS depends on the Kindle model.&lt;/p&gt;

&lt;p&gt;Older Kindle devices may appear directly in Finder as an external drive.&lt;/p&gt;

&lt;p&gt;For an older model:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Connect the Kindle using a compatible USB data cable.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Finder&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select the Kindle from the sidebar.&lt;/li&gt;
  &lt;li&gt;Open the &lt;strong&gt;Documents&lt;/strong&gt; folder.&lt;/li&gt;
  &lt;li&gt;Copy the supported file into the folder.&lt;/li&gt;
  &lt;li&gt;Wait for the transfer to complete.&lt;/li&gt;
  &lt;li&gt;Eject the Kindle.&lt;/li&gt;
  &lt;li&gt;Disconnect the cable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kindle Scribe and Kindle devices released in 2024 or later use a newer USB file-transfer method on macOS. These devices may require a separate compatible application rather than appearing as a traditional removable drive.&lt;/p&gt;

&lt;p&gt;Amazon’s current Send to Kindle application for macOS supports USB transfers for these devices.&lt;/p&gt;

&lt;p&gt;Review the &lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=TCUBEdEkbIhK07ysFu&quot;&gt;Amazon USB file-transfer documentation&lt;/a&gt; for model-specific instructions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kindle-only-charges-when-connected&quot;&gt;Kindle Only Charges When Connected&lt;/h2&gt;

&lt;p&gt;If the Kindle charges but does not appear on the computer, check the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that the cable supports data transfer.&lt;/li&gt;
  &lt;li&gt;Try a different USB cable.&lt;/li&gt;
  &lt;li&gt;Try another USB port.&lt;/li&gt;
  &lt;li&gt;Avoid an unpowered USB hub.&lt;/li&gt;
  &lt;li&gt;Restart the Kindle.&lt;/li&gt;
  &lt;li&gt;Restart the computer.&lt;/li&gt;
  &lt;li&gt;Unlock the Kindle before reconnecting it.&lt;/li&gt;
  &lt;li&gt;Install pending Kindle software updates.&lt;/li&gt;
  &lt;li&gt;Test the Kindle on another computer.&lt;/li&gt;
  &lt;li&gt;Confirm whether the Kindle model requires a dedicated macOS transfer application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many USB cables are designed only for charging and cannot transfer files.&lt;/p&gt;

&lt;p&gt;The cable is one of the first items to replace when troubleshooting this problem.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-calibre-to-manage-personal-ebooks&quot;&gt;Use Calibre to Manage Personal eBooks&lt;/h2&gt;

&lt;p&gt;Calibre is a free and open-source eBook management application.&lt;/p&gt;

&lt;p&gt;It can help users:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Organize an eBook library.&lt;/li&gt;
  &lt;li&gt;Edit book metadata.&lt;/li&gt;
  &lt;li&gt;Add book covers.&lt;/li&gt;
  &lt;li&gt;Convert DRM-free files.&lt;/li&gt;
  &lt;li&gt;Transfer compatible books through USB.&lt;/li&gt;
  &lt;li&gt;Review file formats.&lt;/li&gt;
  &lt;li&gt;Manage large personal collections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Calibre can convert DRM-free files into formats appropriate for different e-readers.&lt;/p&gt;

&lt;p&gt;However, conversion is not always necessary. For an EPUB file, using Amazon’s Send to Kindle service is often easier because Amazon performs the required conversion.&lt;/p&gt;

&lt;p&gt;Calibre should not be used to bypass digital rights management or remove protections from books without authorization.&lt;/p&gt;

&lt;p&gt;Download it from the &lt;a href=&quot;https://calibre-ebook.com/&quot;&gt;official Calibre website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;format-considerations-for-usb-transfers&quot;&gt;Format Considerations for USB Transfers&lt;/h2&gt;

&lt;p&gt;Send to Kindle and direct USB transfer are not identical.&lt;/p&gt;

&lt;p&gt;Send to Kindle accepts EPUB files because Amazon processes and converts them before delivery.&lt;/p&gt;

&lt;p&gt;A direct USB transfer does not provide the same cloud-based conversion process.&lt;/p&gt;

&lt;p&gt;For USB transfers, results depend on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Kindle model&lt;/li&gt;
  &lt;li&gt;Kindle software version&lt;/li&gt;
  &lt;li&gt;File format&lt;/li&gt;
  &lt;li&gt;File structure&lt;/li&gt;
  &lt;li&gt;Digital rights management&lt;/li&gt;
  &lt;li&gt;Destination folder&lt;/li&gt;
  &lt;li&gt;Whether the file was previously converted&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PDF files can normally be copied directly because Kindle devices include PDF support.&lt;/p&gt;

&lt;p&gt;For EPUB books, Send to Kindle is the safer and more reliable approach.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-an-amazon-purchased-book-to-a-kindle&quot;&gt;Transfer an Amazon-Purchased Book to a Kindle&lt;/h2&gt;

&lt;p&gt;Books purchased directly from Amazon do not normally need to be manually uploaded.&lt;/p&gt;

&lt;p&gt;To deliver a purchased book:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sign in to the Amazon account used to purchase it.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Manage Your Content and Devices&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Content&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Locate the book.&lt;/li&gt;
  &lt;li&gt;Open the available actions.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Deliver or Remove from Device&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose the Kindle.&lt;/li&gt;
  &lt;li&gt;Confirm the delivery.&lt;/li&gt;
  &lt;li&gt;Connect the Kindle to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;Synchronize the device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also open the Kindle library and select the book cover to download it.&lt;/p&gt;

&lt;p&gt;Amazon removed the older website option for downloading purchased Kindle books and transferring them through USB in February 2025. Purchased books should now normally be delivered through the Kindle library to a Wi-Fi-connected device.&lt;/p&gt;

&lt;p&gt;This does not prevent you from manually transferring your own supported and legally obtained documents through USB.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;documents-versus-books-in-the-kindle-library&quot;&gt;Documents Versus Books in the Kindle Library&lt;/h2&gt;

&lt;p&gt;Personal files may be categorized as documents rather than books.&lt;/p&gt;

&lt;p&gt;If a transferred item is missing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Library&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;All&lt;/strong&gt; instead of &lt;strong&gt;Downloaded&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open the filter menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Documents&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Clear any active reading or collection filters.&lt;/li&gt;
  &lt;li&gt;Search for the title.&lt;/li&gt;
  &lt;li&gt;Search for the author.&lt;/li&gt;
  &lt;li&gt;Synchronize the Kindle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A file can be present in the account but hidden by the current library filter.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;improve-the-title-and-author-information&quot;&gt;Improve the Title and Author Information&lt;/h2&gt;

&lt;p&gt;Some personal documents appear with an incorrect title, filename, or author.&lt;/p&gt;

&lt;p&gt;When using the mobile or desktop Send to Kindle workflow, review the title and author fields before submitting the file.&lt;/p&gt;

&lt;p&gt;For EPUB files, metadata can also be edited before transfer using an eBook management application such as Calibre.&lt;/p&gt;

&lt;p&gt;Good metadata makes it easier to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Search for the book.&lt;/li&gt;
  &lt;li&gt;Sort the library.&lt;/li&gt;
  &lt;li&gt;Identify the author.&lt;/li&gt;
  &lt;li&gt;Group related documents.&lt;/li&gt;
  &lt;li&gt;Distinguish different editions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PDF metadata may be more difficult to change, and some PDFs may appear using the original filename.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-scanned-pdfs&quot;&gt;Transfer Scanned PDFs&lt;/h2&gt;

&lt;p&gt;A scanned PDF may contain page images instead of selectable text.&lt;/p&gt;

&lt;p&gt;These files can usually be transferred, but they may have limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Text size cannot reflow.&lt;/li&gt;
  &lt;li&gt;Font settings may not work.&lt;/li&gt;
  &lt;li&gt;Dictionary lookup may not work.&lt;/li&gt;
  &lt;li&gt;Search may not work.&lt;/li&gt;
  &lt;li&gt;Highlighting may be limited.&lt;/li&gt;
  &lt;li&gt;Pages may load slowly.&lt;/li&gt;
  &lt;li&gt;File sizes may be large.&lt;/li&gt;
  &lt;li&gt;Small text may be difficult to read.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Optical character recognition can convert scanned page images into searchable text.&lt;/p&gt;

&lt;p&gt;Before transferring a scanned document, consider processing it with a trusted OCR application.&lt;/p&gt;

&lt;p&gt;Always retain the original file in case the conversion changes the page layout or introduces recognition errors.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;transfer-password-protected-pdfs&quot;&gt;Transfer Password-Protected PDFs&lt;/h2&gt;

&lt;p&gt;Password-protected or encrypted PDFs may fail during Send to Kindle processing.&lt;/p&gt;

&lt;p&gt;Before uploading the file:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open it using an authorized PDF application.&lt;/li&gt;
  &lt;li&gt;Confirm that you know the password.&lt;/li&gt;
  &lt;li&gt;Remove the protection only when you are permitted to do so.&lt;/li&gt;
  &lt;li&gt;Save an unprotected copy.&lt;/li&gt;
  &lt;li&gt;Submit the new copy through Send to Kindle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not attempt to remove protections from documents you do not own or have permission to modify.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;reading-pdfs-on-a-small-kindle-screen&quot;&gt;Reading PDFs on a Small Kindle Screen&lt;/h2&gt;

&lt;p&gt;PDF pages are commonly designed for Letter or A4 paper, which can make them difficult to read on a smaller Kindle.&lt;/p&gt;

&lt;p&gt;To improve readability:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Rotate the Kindle to landscape orientation.&lt;/li&gt;
  &lt;li&gt;Reduce page margins before transfer.&lt;/li&gt;
  &lt;li&gt;Crop unnecessary white space.&lt;/li&gt;
  &lt;li&gt;Use a larger-screen Kindle.&lt;/li&gt;
  &lt;li&gt;Convert a text-heavy document into EPUB.&lt;/li&gt;
  &lt;li&gt;Use a PDF optimized for smaller screens.&lt;/li&gt;
  &lt;li&gt;Use pinch-to-zoom on supported models.&lt;/li&gt;
  &lt;li&gt;Divide a large document into smaller sections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Conversion works best for text-heavy PDFs with simple layouts.&lt;/p&gt;

&lt;p&gt;PDFs containing columns, tables, diagrams, formulas, or complex formatting may not convert cleanly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;files-that-cannot-be-transferred&quot;&gt;Files That Cannot Be Transferred&lt;/h2&gt;

&lt;p&gt;A file may fail when it contains:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Unsupported formatting&lt;/li&gt;
  &lt;li&gt;Digital rights management&lt;/li&gt;
  &lt;li&gt;Password protection&lt;/li&gt;
  &lt;li&gt;Corrupted data&lt;/li&gt;
  &lt;li&gt;Invalid EPUB structure&lt;/li&gt;
  &lt;li&gt;Extremely complex HTML&lt;/li&gt;
  &lt;li&gt;Oversized images&lt;/li&gt;
  &lt;li&gt;Unsupported fonts&lt;/li&gt;
  &lt;li&gt;A file size beyond the transfer method’s limit&lt;/li&gt;
  &lt;li&gt;An incorrect file extension&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A book purchased from another eBook platform may include DRM that restricts it to that vendor’s applications and devices.&lt;/p&gt;

&lt;p&gt;Changing the filename or extension does not remove DRM or convert the underlying format.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshoot-send-to-kindle-failures&quot;&gt;Troubleshoot Send to Kindle Failures&lt;/h2&gt;

&lt;p&gt;When Send to Kindle fails:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that the file type is supported.&lt;/li&gt;
  &lt;li&gt;Confirm that the file is no larger than the stated limit.&lt;/li&gt;
  &lt;li&gt;Open the file locally to verify that it is not corrupted.&lt;/li&gt;
  &lt;li&gt;Remove password protection when authorized.&lt;/li&gt;
  &lt;li&gt;Confirm that the EPUB passes basic validation.&lt;/li&gt;
  &lt;li&gt;Rename the file using standard letters and numbers.&lt;/li&gt;
  &lt;li&gt;Try the browser-based Send to Kindle service.&lt;/li&gt;
  &lt;li&gt;Try sending one file at a time.&lt;/li&gt;
  &lt;li&gt;Check your email for an Amazon error message.&lt;/li&gt;
  &lt;li&gt;Check whether Amazon requested submission verification.&lt;/li&gt;
  &lt;li&gt;Confirm that you signed in to the correct Amazon account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon provides error-specific guidance in its &lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=T48rsVm3gY7KeGkKUk&quot;&gt;Send to Kindle troubleshooting documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshoot-email-delivery&quot;&gt;Troubleshoot Email Delivery&lt;/h2&gt;

&lt;p&gt;When an emailed document does not appear:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm the destination Kindle email address.&lt;/li&gt;
  &lt;li&gt;Confirm the sender is on the approved email list.&lt;/li&gt;
  &lt;li&gt;Use the complete approved email address.&lt;/li&gt;
  &lt;li&gt;Confirm the attachment uses a supported format.&lt;/li&gt;
  &lt;li&gt;Check the attachment size.&lt;/li&gt;
  &lt;li&gt;Check your inbox for an Amazon verification message.&lt;/li&gt;
  &lt;li&gt;Check your inbox for a rejection message.&lt;/li&gt;
  &lt;li&gt;Confirm that the Kindle is online.&lt;/li&gt;
  &lt;li&gt;Synchronize the Kindle.&lt;/li&gt;
  &lt;li&gt;Confirm that both devices use the same Amazon account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not place the Kindle email address in a public location. Although Amazon’s approved sender controls provide protection, keeping the address private reduces unwanted delivery attempts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshoot-missing-library-items&quot;&gt;Troubleshoot Missing Library Items&lt;/h2&gt;

&lt;p&gt;When Amazon accepts the document but it does not appear:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Connect the Kindle to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Sync Your Kindle&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Change the library view from &lt;strong&gt;Downloaded&lt;/strong&gt; to &lt;strong&gt;All&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Clear active filters.&lt;/li&gt;
  &lt;li&gt;Select the &lt;strong&gt;Documents&lt;/strong&gt; filter.&lt;/li&gt;
  &lt;li&gt;Search for the filename.&lt;/li&gt;
  &lt;li&gt;Search for the author.&lt;/li&gt;
  &lt;li&gt;Restart the Kindle.&lt;/li&gt;
  &lt;li&gt;Verify that the Kindle is registered to the correct Amazon account.&lt;/li&gt;
  &lt;li&gt;Review the personal documents in &lt;strong&gt;Manage Your Content and Devices&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A document uploaded without &lt;strong&gt;Add to your library&lt;/strong&gt; enabled may have been delivered only to a selected device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;restart-the-kindle&quot;&gt;Restart the Kindle&lt;/h2&gt;

&lt;p&gt;A restart can resolve synchronization, indexing, and library display problems.&lt;/p&gt;

&lt;p&gt;To restart most Kindle devices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Device Options&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Restart&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also press and hold the power button until the power menu appears, then select &lt;strong&gt;Restart&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Do not select a factory reset unless you understand that it removes downloaded content and account configuration from the device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;keep-a-backup-of-personal-documents&quot;&gt;Keep a Backup of Personal Documents&lt;/h2&gt;

&lt;p&gt;Do not rely on the Kindle as the only storage location for an important document.&lt;/p&gt;

&lt;p&gt;Maintain another copy in a secure location such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A computer&lt;/li&gt;
  &lt;li&gt;An external drive&lt;/li&gt;
  &lt;li&gt;A network storage system&lt;/li&gt;
  &lt;li&gt;An encrypted cloud storage service&lt;/li&gt;
  &lt;li&gt;A documented backup system&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is particularly important for USB-transferred documents because they are not automatically archived in the Kindle library.&lt;/p&gt;

&lt;p&gt;A factory reset, hardware failure, accidental deletion, or lost device could permanently remove a file stored only on the Kindle.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;privacy-considerations&quot;&gt;Privacy Considerations&lt;/h2&gt;

&lt;p&gt;Files submitted through Send to Kindle are processed through Amazon’s service and may be stored in your Kindle library.&lt;/p&gt;

&lt;p&gt;For sensitive documents, consider:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Whether the document is appropriate for cloud processing&lt;/li&gt;
  &lt;li&gt;Whether organizational policies permit the upload&lt;/li&gt;
  &lt;li&gt;Whether the document contains personal information&lt;/li&gt;
  &lt;li&gt;Whether the file should remain only on local devices&lt;/li&gt;
  &lt;li&gt;Whether USB transfer is a better option&lt;/li&gt;
  &lt;li&gt;Whether the Kindle has a device passcode&lt;/li&gt;
  &lt;li&gt;Whether the Amazon account uses multifactor authentication&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Avoid transferring restricted business, medical, financial, legal, or government documents unless the transfer method complies with the applicable policies and security requirements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-method-by-situation&quot;&gt;Recommended Method by Situation&lt;/h2&gt;

&lt;p&gt;Use the browser-based Send to Kindle service when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You have an EPUB book.&lt;/li&gt;
  &lt;li&gt;You want Amazon to convert the file.&lt;/li&gt;
  &lt;li&gt;You want the document available across devices.&lt;/li&gt;
  &lt;li&gt;You want the file stored in your Kindle library.&lt;/li&gt;
  &lt;li&gt;The file is too large for email.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use the Kindle email address when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You need a fast email-based workflow.&lt;/li&gt;
  &lt;li&gt;The file is already attached to an email.&lt;/li&gt;
  &lt;li&gt;The sending address is approved.&lt;/li&gt;
  &lt;li&gt;The file is relatively small.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use mobile sharing when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The file is on an iPhone, iPad, or Android device.&lt;/li&gt;
  &lt;li&gt;You downloaded the file from a browser.&lt;/li&gt;
  &lt;li&gt;You received the file through email.&lt;/li&gt;
  &lt;li&gt;You want to send it without using a computer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use USB transfer when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The Kindle cannot connect to Wi-Fi.&lt;/li&gt;
  &lt;li&gt;You do not want to upload the file to Amazon.&lt;/li&gt;
  &lt;li&gt;The document is already in a directly supported format.&lt;/li&gt;
  &lt;li&gt;You understand that the file will remain local to that Kindle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Amazon provides several practical methods for transferring personal books and PDFs to a Kindle. The browser-based Send to Kindle service is the best option for most users because it accepts common formats, converts EPUB files, stores documents in the Kindle library, and makes them available across compatible devices.&lt;/p&gt;

&lt;p&gt;Email and mobile sharing provide convenient alternatives, while USB transfer is useful for offline or privacy-sensitive workflows. However, documents copied through USB remain local to the device and do not receive the synchronization benefits provided by the Kindle library.&lt;/p&gt;

&lt;p&gt;For the most reliable experience, use Send to Kindle for EPUB books, verify that personal documents are added to your library, keep the Kindle connected to Wi-Fi, and retain a separate backup of every important file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/sendtokindle&quot;&gt;Amazon Send to Kindle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA&quot;&gt;Amazon Send to Kindle Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=G7NECT4B4ZWHQ8WV&quot;&gt;Using a Send to Kindle Email Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=GX9XLEVV8G4DB28H&quot;&gt;Approved Personal Document Email List&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=TCUBEdEkbIhK07ysFu&quot;&gt;Connect and Transfer Files Through USB&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/help/customer/display.html?nodeId=T48rsVm3gY7KeGkKUk&quot;&gt;Troubleshoot Send to Kindle Errors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/hz/mycd/&quot;&gt;Manage Your Amazon Content and Devices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://calibre-ebook.com/&quot;&gt;Calibre eBook Management&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 23 May 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/transfer-books-to-kindle/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/transfer-books-to-kindle/</guid>
        
        <category>kindle</category>
        
        <category>ebooks</category>
        
        <category>epub</category>
        
        <category>pdf</category>
        
        <category>send-to-kindle</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>draw.io Review</title>
        <description>&lt;p&gt;draw.io is a flexible diagramming application that combines a large collection of shapes and templates with online, desktop, cloud storage, and self-hosted deployment options. It can be used by casual users creating a basic flowchart as well as system administrators documenting complex networks and application architectures.&lt;/p&gt;

&lt;p&gt;One of the platform’s greatest advantages is that its primary online and desktop editors are free to use. Users are not required to create an account, and diagrams can be stored locally or in an existing cloud storage platform instead of being locked inside a proprietary service.&lt;/p&gt;

&lt;p&gt;The product is commonly known as &lt;strong&gt;draw.io&lt;/strong&gt;, while its free online editor is available through the diagrams.net domain. Both names refer to the same diagramming platform.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review draw.io, examine its most useful features, and determine whether it is the right diagramming platform for your needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-drawio&quot; id=&quot;markdown-toc-what-is-drawio&quot;&gt;What Is draw.io?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-drawio-interface&quot; id=&quot;markdown-toc-the-drawio-interface&quot;&gt;The draw.io Interface&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#creating-a-new-diagram&quot; id=&quot;markdown-toc-creating-a-new-diagram&quot;&gt;Creating a New Diagram&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#shape-libraries&quot; id=&quot;markdown-toc-shape-libraries&quot;&gt;Shape Libraries&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#connecting-shapes&quot; id=&quot;markdown-toc-connecting-shapes&quot;&gt;Connecting Shapes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#formatting-diagrams&quot; id=&quot;markdown-toc-formatting-diagrams&quot;&gt;Formatting Diagrams&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#working-with-layers&quot; id=&quot;markdown-toc-working-with-layers&quot;&gt;Working with Layers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#multiple-pages&quot; id=&quot;markdown-toc-multiple-pages&quot;&gt;Multiple Pages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#storage-options&quot; id=&quot;markdown-toc-storage-options&quot;&gt;Storage Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#desktop-application&quot; id=&quot;markdown-toc-desktop-application&quot;&gt;Desktop Application&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#privacy-and-security&quot; id=&quot;markdown-toc-privacy-and-security&quot;&gt;Privacy and Security&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#collaboration&quot; id=&quot;markdown-toc-collaboration&quot;&gt;Collaboration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#confluence-and-jira-integration&quot; id=&quot;markdown-toc-confluence-and-jira-integration&quot;&gt;Confluence and Jira Integration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#google-drive-and-microsoft-onedrive&quot; id=&quot;markdown-toc-google-drive-and-microsoft-onedrive&quot;&gt;Google Drive and Microsoft OneDrive&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#github-and-gitlab-integration&quot; id=&quot;markdown-toc-github-and-gitlab-integration&quot;&gt;GitHub and GitLab Integration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#importing-existing-diagrams&quot; id=&quot;markdown-toc-importing-existing-diagrams&quot;&gt;Importing Existing Diagrams&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#export-formats&quot; id=&quot;markdown-toc-export-formats&quot;&gt;Export Formats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#mermaid-support&quot; id=&quot;markdown-toc-mermaid-support&quot;&gt;Mermaid Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sql-diagram-generation&quot; id=&quot;markdown-toc-sql-diagram-generation&quot;&gt;SQL Diagram Generation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ai-diagram-generation&quot; id=&quot;markdown-toc-ai-diagram-generation&quot;&gt;AI Diagram Generation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#whiteboarding&quot; id=&quot;markdown-toc-whiteboarding&quot;&gt;Whiteboarding&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#keyboard-shortcuts&quot; id=&quot;markdown-toc-keyboard-shortcuts&quot;&gt;Keyboard Shortcuts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ease-of-use&quot; id=&quot;markdown-toc-ease-of-use&quot;&gt;Ease of Use&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disadvantages&quot; id=&quot;markdown-toc-disadvantages&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#drawio-versus-microsoft-visio&quot; id=&quot;markdown-toc-drawio-versus-microsoft-visio&quot;&gt;draw.io Versus Microsoft Visio&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#drawio-versus-lucidchart&quot; id=&quot;markdown-toc-drawio-versus-lucidchart&quot;&gt;draw.io Versus Lucidchart&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#drawio-versus-excalidraw&quot; id=&quot;markdown-toc-drawio-versus-excalidraw&quot;&gt;draw.io Versus Excalidraw&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-use-cases&quot; id=&quot;markdown-toc-best-use-cases&quot;&gt;Best Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-may-prefer-another-platform&quot; id=&quot;markdown-toc-who-may-prefer-another-platform&quot;&gt;Who May Prefer Another Platform?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pricing&quot; id=&quot;markdown-toc-pricing&quot;&gt;Pricing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verdict&quot; id=&quot;markdown-toc-final-verdict&quot;&gt;Final Verdict&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-drawio&quot;&gt;What Is draw.io?&lt;/h2&gt;

&lt;p&gt;draw.io is an open-source diagramming and whiteboarding application for creating visual representations of systems, processes, relationships, and ideas.&lt;/p&gt;

&lt;p&gt;It can be used to create:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Flowcharts&lt;/li&gt;
  &lt;li&gt;Network diagrams&lt;/li&gt;
  &lt;li&gt;Cloud architecture diagrams&lt;/li&gt;
  &lt;li&gt;Organizational charts&lt;/li&gt;
  &lt;li&gt;Unified Modeling Language diagrams&lt;/li&gt;
  &lt;li&gt;Entity relationship diagrams&lt;/li&gt;
  &lt;li&gt;Business process diagrams&lt;/li&gt;
  &lt;li&gt;Floor plans&lt;/li&gt;
  &lt;li&gt;Mind maps&lt;/li&gt;
  &lt;li&gt;Decision trees&lt;/li&gt;
  &lt;li&gt;Infrastructure diagrams&lt;/li&gt;
  &lt;li&gt;Software architecture diagrams&lt;/li&gt;
  &lt;li&gt;Project workflows&lt;/li&gt;
  &lt;li&gt;Wireframes&lt;/li&gt;
  &lt;li&gt;Electrical diagrams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The editor is available in several forms:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A free browser-based application&lt;/li&gt;
  &lt;li&gt;A free desktop application&lt;/li&gt;
  &lt;li&gt;Integrations for Confluence and Jira&lt;/li&gt;
  &lt;li&gt;Cloud storage integrations&lt;/li&gt;
  &lt;li&gt;Third-party application integrations&lt;/li&gt;
  &lt;li&gt;A self-hosted deployment option&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The online editor is available through &lt;a href=&quot;https://app.diagrams.net/&quot;&gt;diagrams.net&lt;/a&gt;, while general product information and documentation are available from the &lt;a href=&quot;https://www.drawio.com/&quot;&gt;draw.io website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-drawio-interface&quot;&gt;The draw.io Interface&lt;/h2&gt;

&lt;p&gt;The draw.io interface uses a traditional diagramming layout.&lt;/p&gt;

&lt;p&gt;The primary areas include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Shape libraries on the left&lt;/li&gt;
  &lt;li&gt;The drawing canvas in the center&lt;/li&gt;
  &lt;li&gt;Formatting and diagram options on the right&lt;/li&gt;
  &lt;li&gt;Menus and editing controls across the top&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Creating a basic diagram typically involves dragging shapes from the shape library onto the canvas and connecting them with arrows or lines.&lt;/p&gt;

&lt;p&gt;The interface provides tools for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Aligning shapes&lt;/li&gt;
  &lt;li&gt;Distributing objects evenly&lt;/li&gt;
  &lt;li&gt;Grouping objects&lt;/li&gt;
  &lt;li&gt;Rotating elements&lt;/li&gt;
  &lt;li&gt;Changing colors&lt;/li&gt;
  &lt;li&gt;Applying borders&lt;/li&gt;
  &lt;li&gt;Adding labels&lt;/li&gt;
  &lt;li&gt;Adjusting connector paths&lt;/li&gt;
  &lt;li&gt;Managing layers&lt;/li&gt;
  &lt;li&gt;Locking diagram elements&lt;/li&gt;
  &lt;li&gt;Rearranging objects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The number of available controls can initially make the interface appear busy. However, users familiar with applications such as Microsoft Visio, Lucidchart, or other graphical editors should become comfortable with it relatively quickly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;creating-a-new-diagram&quot;&gt;Creating a New Diagram&lt;/h2&gt;

&lt;p&gt;When starting a new diagram, draw.io provides the option to begin with a blank canvas or select a template.&lt;/p&gt;

&lt;p&gt;The template library includes examples for categories such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Basic diagrams&lt;/li&gt;
  &lt;li&gt;Flowcharts&lt;/li&gt;
  &lt;li&gt;Business processes&lt;/li&gt;
  &lt;li&gt;Engineering&lt;/li&gt;
  &lt;li&gt;Networking&lt;/li&gt;
  &lt;li&gt;Cloud architecture&lt;/li&gt;
  &lt;li&gt;Software development&lt;/li&gt;
  &lt;li&gt;Project management&lt;/li&gt;
  &lt;li&gt;Maps&lt;/li&gt;
  &lt;li&gt;Floor plans&lt;/li&gt;
  &lt;li&gt;Organizational charts&lt;/li&gt;
  &lt;li&gt;Mind maps&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Templates can significantly reduce the amount of time required to create a professional diagram.&lt;/p&gt;

&lt;p&gt;Organizations can also create custom templates containing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Approved colors&lt;/li&gt;
  &lt;li&gt;Company logos&lt;/li&gt;
  &lt;li&gt;Standard fonts&lt;/li&gt;
  &lt;li&gt;Watermarks&lt;/li&gt;
  &lt;li&gt;Reusable layouts&lt;/li&gt;
  &lt;li&gt;Common infrastructure components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Custom templates can help teams maintain a consistent appearance across technical and business documentation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;shape-libraries&quot;&gt;Shape Libraries&lt;/h2&gt;

&lt;p&gt;One of draw.io’s strongest features is its extensive collection of built-in shapes.&lt;/p&gt;

&lt;p&gt;Available libraries include shapes for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;General diagrams&lt;/li&gt;
  &lt;li&gt;Flowcharts&lt;/li&gt;
  &lt;li&gt;Networking&lt;/li&gt;
  &lt;li&gt;Cisco equipment&lt;/li&gt;
  &lt;li&gt;Amazon Web Services&lt;/li&gt;
  &lt;li&gt;Microsoft Azure&lt;/li&gt;
  &lt;li&gt;Google Cloud&lt;/li&gt;
  &lt;li&gt;Kubernetes&lt;/li&gt;
  &lt;li&gt;Unified Modeling Language&lt;/li&gt;
  &lt;li&gt;Business processes&lt;/li&gt;
  &lt;li&gt;Entity relationships&lt;/li&gt;
  &lt;li&gt;Electrical systems&lt;/li&gt;
  &lt;li&gt;Floor plans&lt;/li&gt;
  &lt;li&gt;Mockups&lt;/li&gt;
  &lt;li&gt;Infographics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional libraries can be enabled by selecting &lt;strong&gt;More Shapes&lt;/strong&gt; at the bottom of the shapes panel.&lt;/p&gt;

&lt;p&gt;Users can also:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Import custom shape libraries.&lt;/li&gt;
  &lt;li&gt;Create reusable custom shapes.&lt;/li&gt;
  &lt;li&gt;Add images to diagrams.&lt;/li&gt;
  &lt;li&gt;Use icons from public libraries.&lt;/li&gt;
  &lt;li&gt;Store commonly used objects in the scratchpad.&lt;/li&gt;
  &lt;li&gt;Share custom libraries with other users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The large number of available technical shapes makes draw.io particularly useful for system administrators, network engineers, cloud architects, and software developers.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;connecting-shapes&quot;&gt;Connecting Shapes&lt;/h2&gt;

&lt;p&gt;Connectors represent relationships or the flow between objects.&lt;/p&gt;

&lt;p&gt;draw.io supports:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Straight connectors&lt;/li&gt;
  &lt;li&gt;Curved connectors&lt;/li&gt;
  &lt;li&gt;Orthogonal connectors&lt;/li&gt;
  &lt;li&gt;Elbow connectors&lt;/li&gt;
  &lt;li&gt;Bidirectional arrows&lt;/li&gt;
  &lt;li&gt;Custom line endings&lt;/li&gt;
  &lt;li&gt;Labeled connectors&lt;/li&gt;
  &lt;li&gt;Manually positioned waypoints&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Connectors remain attached when shapes are moved, which makes it easier to reorganize a diagram without rebuilding every relationship.&lt;/p&gt;

&lt;p&gt;The editor also includes automatic layout and routing tools. These can help arrange complex diagrams, although manual adjustments may still be needed when a diagram contains many objects or crossing connectors.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;formatting-diagrams&quot;&gt;Formatting Diagrams&lt;/h2&gt;

&lt;p&gt;The formatting panel can be used to customize individual objects or an entire diagram.&lt;/p&gt;

&lt;p&gt;Formatting options include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fill colors&lt;/li&gt;
  &lt;li&gt;Gradient colors&lt;/li&gt;
  &lt;li&gt;Border styles&lt;/li&gt;
  &lt;li&gt;Line thickness&lt;/li&gt;
  &lt;li&gt;Opacity&lt;/li&gt;
  &lt;li&gt;Shadows&lt;/li&gt;
  &lt;li&gt;Rounded corners&lt;/li&gt;
  &lt;li&gt;Font styles&lt;/li&gt;
  &lt;li&gt;Font sizes&lt;/li&gt;
  &lt;li&gt;Text alignment&lt;/li&gt;
  &lt;li&gt;Spacing&lt;/li&gt;
  &lt;li&gt;Connector styles&lt;/li&gt;
  &lt;li&gt;Page backgrounds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Styles can be copied from one object and applied to another.&lt;/p&gt;

&lt;p&gt;Users can also define reusable styles or duplicate existing objects to maintain consistency throughout a diagram.&lt;/p&gt;

&lt;p&gt;The formatting options are extensive enough to create professional diagrams, although achieving a polished result may require more manual work than some heavily automated design platforms.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;working-with-layers&quot;&gt;Working with Layers&lt;/h2&gt;

&lt;p&gt;draw.io supports layers for organizing complex diagrams.&lt;/p&gt;

&lt;p&gt;Layers can be used to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Separate logical and physical network views.&lt;/li&gt;
  &lt;li&gt;Show different stages of a process.&lt;/li&gt;
  &lt;li&gt;Organize application components.&lt;/li&gt;
  &lt;li&gt;Hide supporting information.&lt;/li&gt;
  &lt;li&gt;Compare current and proposed environments.&lt;/li&gt;
  &lt;li&gt;Separate annotations from the primary diagram.&lt;/li&gt;
  &lt;li&gt;Create multiple views within one file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each layer can be:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Shown&lt;/li&gt;
  &lt;li&gt;Hidden&lt;/li&gt;
  &lt;li&gt;Locked&lt;/li&gt;
  &lt;li&gt;Renamed&lt;/li&gt;
  &lt;li&gt;Reordered&lt;/li&gt;
  &lt;li&gt;Duplicated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Layers are especially helpful when a single diagram contains several categories of information that do not need to be displayed simultaneously.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;multiple-pages&quot;&gt;Multiple Pages&lt;/h2&gt;

&lt;p&gt;A single draw.io file can contain multiple pages.&lt;/p&gt;

&lt;p&gt;For example, a network documentation file could include separate pages for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;High-level architecture&lt;/li&gt;
  &lt;li&gt;Physical network layout&lt;/li&gt;
  &lt;li&gt;Virtual servers&lt;/li&gt;
  &lt;li&gt;Firewall rules&lt;/li&gt;
  &lt;li&gt;Cloud resources&lt;/li&gt;
  &lt;li&gt;Disaster recovery&lt;/li&gt;
  &lt;li&gt;Data flow&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pages can be renamed, duplicated, reordered, or removed.&lt;/p&gt;

&lt;p&gt;This allows an entire set of related diagrams to be stored inside one &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.drawio&lt;/code&gt; file instead of maintaining a large number of unrelated files.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;storage-options&quot;&gt;Storage Options&lt;/h2&gt;

&lt;p&gt;Unlike many software-as-a-service diagramming platforms, draw.io does not require diagrams to be stored on the vendor’s servers.&lt;/p&gt;

&lt;p&gt;Diagrams can be stored in locations such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A local computer&lt;/li&gt;
  &lt;li&gt;Browser storage&lt;/li&gt;
  &lt;li&gt;Google Drive&lt;/li&gt;
  &lt;li&gt;Microsoft OneDrive&lt;/li&gt;
  &lt;li&gt;Dropbox&lt;/li&gt;
  &lt;li&gt;Nextcloud&lt;/li&gt;
  &lt;li&gt;GitHub&lt;/li&gt;
  &lt;li&gt;GitLab&lt;/li&gt;
  &lt;li&gt;Atlassian Confluence&lt;/li&gt;
  &lt;li&gt;Atlassian Jira&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This bring-your-own-storage model gives users greater control over where their data resides.&lt;/p&gt;

&lt;p&gt;For organizations with strict security requirements, diagrams can be created with the desktop application and stored entirely within the organization’s existing file system.&lt;/p&gt;

&lt;p&gt;More information is available in the &lt;a href=&quot;https://www.drawio.com/docs/security/secure-diagramming-storage/&quot;&gt;draw.io storage and security documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;desktop-application&quot;&gt;Desktop Application&lt;/h2&gt;

&lt;p&gt;The draw.io desktop application is available for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Windows&lt;/li&gt;
  &lt;li&gt;macOS&lt;/li&gt;
  &lt;li&gt;Linux&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The desktop edition can be used without an Internet connection.&lt;/p&gt;

&lt;p&gt;This makes it useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Restricted environments&lt;/li&gt;
  &lt;li&gt;Isolated networks&lt;/li&gt;
  &lt;li&gt;Sensitive infrastructure documentation&lt;/li&gt;
  &lt;li&gt;Travel without reliable connectivity&lt;/li&gt;
  &lt;li&gt;Organizations that prohibit browser-based cloud applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The desktop application uses the same core editor as the online edition, so the experience is generally consistent between the two versions.&lt;/p&gt;

&lt;p&gt;Because it is based on Electron, the desktop application may use more memory than a completely native desktop tool. However, the resource requirements are generally reasonable for normal diagramming workloads.&lt;/p&gt;

&lt;p&gt;The desktop application can be downloaded from the &lt;a href=&quot;https://github.com/jgraph/drawio-desktop&quot;&gt;official draw.io desktop repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;privacy-and-security&quot;&gt;Privacy and Security&lt;/h2&gt;

&lt;p&gt;Privacy is one of draw.io’s strongest differentiators.&lt;/p&gt;

&lt;p&gt;The free online editor does not require an account, and diagram files can remain on the user’s device or in a user-selected storage platform.&lt;/p&gt;

&lt;p&gt;This approach provides several benefits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No mandatory vendor-hosted diagram repository&lt;/li&gt;
  &lt;li&gt;No required draw.io account&lt;/li&gt;
  &lt;li&gt;Local file storage&lt;/li&gt;
  &lt;li&gt;Offline editing&lt;/li&gt;
  &lt;li&gt;Self-hosting options&lt;/li&gt;
  &lt;li&gt;Existing cloud storage permissions&lt;/li&gt;
  &lt;li&gt;Greater control over data retention&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users should still evaluate the security policies of whichever storage provider they select.&lt;/p&gt;

&lt;p&gt;AI-powered diagram generation also requires additional consideration because text prompts are submitted to an external model. Organizations handling sensitive information may choose to disable AI functionality or use the completely offline desktop application.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://www.drawio.com/docs/security/&quot;&gt;draw.io security documentation&lt;/a&gt; provides additional information about its security-first design.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;collaboration&quot;&gt;Collaboration&lt;/h2&gt;

&lt;p&gt;Collaboration depends heavily on where a diagram is stored.&lt;/p&gt;

&lt;p&gt;When diagrams are saved in supported platforms such as Google Drive, Microsoft OneDrive, Nextcloud, Confluence, or Jira, users may be able to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Share diagrams&lt;/li&gt;
  &lt;li&gt;Control file permissions&lt;/li&gt;
  &lt;li&gt;Review version history&lt;/li&gt;
  &lt;li&gt;Edit diagrams with other team members&lt;/li&gt;
  &lt;li&gt;Collaborate in real time&lt;/li&gt;
  &lt;li&gt;Embed diagrams in documentation&lt;/li&gt;
  &lt;li&gt;Restore previous versions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The exact collaboration features depend on the selected storage provider or integration.&lt;/p&gt;

&lt;p&gt;draw.io does not attempt to replace the permission and sharing systems already provided by those platforms. Instead, it relies on the underlying platform to control access.&lt;/p&gt;

&lt;p&gt;This is useful for organizations that already manage access through Microsoft 365, Google Workspace, Nextcloud, or Atlassian products.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;confluence-and-jira-integration&quot;&gt;Confluence and Jira Integration&lt;/h2&gt;

&lt;p&gt;draw.io provides dedicated integrations for Atlassian Confluence and Jira.&lt;/p&gt;

&lt;p&gt;The Confluence integration allows teams to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create diagrams directly on Confluence pages.&lt;/li&gt;
  &lt;li&gt;Edit diagrams without leaving Confluence.&lt;/li&gt;
  &lt;li&gt;Embed diagrams into documentation.&lt;/li&gt;
  &lt;li&gt;Use revision history.&lt;/li&gt;
  &lt;li&gt;Collaborate with other users.&lt;/li&gt;
  &lt;li&gt;Create whiteboards.&lt;/li&gt;
  &lt;li&gt;Import diagrams from other platforms.&lt;/li&gt;
  &lt;li&gt;Maintain diagrams alongside technical procedures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Jira integration allows diagrams to be added to issues for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Workflow documentation&lt;/li&gt;
  &lt;li&gt;Application designs&lt;/li&gt;
  &lt;li&gt;Network changes&lt;/li&gt;
  &lt;li&gt;Troubleshooting&lt;/li&gt;
  &lt;li&gt;Project planning&lt;/li&gt;
  &lt;li&gt;Software architecture&lt;/li&gt;
  &lt;li&gt;Incident reviews&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These integrations are especially useful for IT and development teams that already use Atlassian products.&lt;/p&gt;

&lt;p&gt;Unlike the general online and desktop editors, the official Atlassian integrations are commercially licensed. Pricing depends on the Atlassian deployment type and number of users.&lt;/p&gt;

&lt;p&gt;More information is available from the &lt;a href=&quot;https://www.drawio.com/docs/integrations/&quot;&gt;draw.io integrations documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;google-drive-and-microsoft-onedrive&quot;&gt;Google Drive and Microsoft OneDrive&lt;/h2&gt;

&lt;p&gt;draw.io can open and save files directly through Google Drive and Microsoft OneDrive.&lt;/p&gt;

&lt;p&gt;Benefits include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Centralized file storage&lt;/li&gt;
  &lt;li&gt;Existing access controls&lt;/li&gt;
  &lt;li&gt;File sharing&lt;/li&gt;
  &lt;li&gt;Version history&lt;/li&gt;
  &lt;li&gt;Team collaboration&lt;/li&gt;
  &lt;li&gt;Cross-device access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users can retain ownership of the diagram files while using draw.io as the editing interface.&lt;/p&gt;

&lt;p&gt;This is an important distinction from diagramming services that store all editable content inside their own proprietary accounts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;github-and-gitlab-integration&quot;&gt;GitHub and GitLab Integration&lt;/h2&gt;

&lt;p&gt;Developers and infrastructure teams can store draw.io files in GitHub or GitLab repositories.&lt;/p&gt;

&lt;p&gt;This supports workflows involving:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Version control&lt;/li&gt;
  &lt;li&gt;Change reviews&lt;/li&gt;
  &lt;li&gt;Documentation repositories&lt;/li&gt;
  &lt;li&gt;Infrastructure as code&lt;/li&gt;
  &lt;li&gt;Architecture decision records&lt;/li&gt;
  &lt;li&gt;Automated publishing&lt;/li&gt;
  &lt;li&gt;Team collaboration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.drawio&lt;/code&gt; files use an XML-based format, the source can be tracked in Git.&lt;/p&gt;

&lt;p&gt;However, complex XML changes may not always be easy to review through a standard text-based comparison. Exporting an image alongside the editable file can make diagram changes easier to evaluate during code reviews.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;importing-existing-diagrams&quot;&gt;Importing Existing Diagrams&lt;/h2&gt;

&lt;p&gt;draw.io supports importing several diagram and image formats.&lt;/p&gt;

&lt;p&gt;Supported imports include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.drawio&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.xml&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Microsoft Visio &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.vsdx&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Gliffy diagrams&lt;/li&gt;
  &lt;li&gt;Lucidchart diagrams&lt;/li&gt;
  &lt;li&gt;PNG images&lt;/li&gt;
  &lt;li&gt;JPEG images&lt;/li&gt;
  &lt;li&gt;SVG images&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The editor can also generate diagrams from structured text and data such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mermaid&lt;/li&gt;
  &lt;li&gt;SQL&lt;/li&gt;
  &lt;li&gt;CSV&lt;/li&gt;
  &lt;li&gt;Plain text&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Import results may vary depending on the complexity and features used in the original application. Highly customized Visio, Lucidchart, or Gliffy diagrams may require cleanup after conversion.&lt;/p&gt;

&lt;p&gt;The complete list is available in the &lt;a href=&quot;https://www.drawio.com/docs/manual/import/import-formats/&quot;&gt;draw.io import format documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;export-formats&quot;&gt;Export Formats&lt;/h2&gt;

&lt;p&gt;Diagrams can be exported to several common formats.&lt;/p&gt;

&lt;p&gt;Available options include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;PNG&lt;/li&gt;
  &lt;li&gt;JPEG&lt;/li&gt;
  &lt;li&gt;WebP&lt;/li&gt;
  &lt;li&gt;SVG&lt;/li&gt;
  &lt;li&gt;PDF&lt;/li&gt;
  &lt;li&gt;HTML&lt;/li&gt;
  &lt;li&gt;XML&lt;/li&gt;
  &lt;li&gt;Animated GIF&lt;/li&gt;
  &lt;li&gt;URL&lt;/li&gt;
  &lt;li&gt;JSON&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The editable diagram data can also be embedded into certain exported PNG and SVG files.&lt;/p&gt;

&lt;p&gt;This allows an exported image to be reopened in draw.io for additional editing, provided the diagram data was included during export.&lt;/p&gt;

&lt;p&gt;This feature is useful when distributing an image while preserving the ability to modify the original diagram later.&lt;/p&gt;

&lt;p&gt;More information is available in the &lt;a href=&quot;https://www.drawio.com/docs/manual/export/&quot;&gt;draw.io export documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;mermaid-support&quot;&gt;Mermaid Support&lt;/h2&gt;

&lt;p&gt;draw.io supports creating diagrams from Mermaid syntax.&lt;/p&gt;

&lt;p&gt;Mermaid is a text-based diagramming language commonly used in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Markdown documents&lt;/li&gt;
  &lt;li&gt;Git repositories&lt;/li&gt;
  &lt;li&gt;Development documentation&lt;/li&gt;
  &lt;li&gt;Architecture documentation&lt;/li&gt;
  &lt;li&gt;Automated workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users can insert Mermaid syntax and convert it into a visual diagram.&lt;/p&gt;

&lt;p&gt;This provides a useful bridge between diagram-as-code workflows and traditional visual editing. After the diagram is inserted, its elements can be adjusted using the draw.io interface.&lt;/p&gt;

&lt;p&gt;Mermaid support is particularly valuable for developers who want the speed of text-based diagram creation with the flexibility of a graphical editor.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sql-diagram-generation&quot;&gt;SQL Diagram Generation&lt;/h2&gt;

&lt;p&gt;draw.io can use SQL table definitions to generate entity relationship diagrams.&lt;/p&gt;

&lt;p&gt;This can help database administrators and developers visualize:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Tables&lt;/li&gt;
  &lt;li&gt;Columns&lt;/li&gt;
  &lt;li&gt;Primary keys&lt;/li&gt;
  &lt;li&gt;Foreign keys&lt;/li&gt;
  &lt;li&gt;Relationships&lt;/li&gt;
  &lt;li&gt;Database structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The generated diagram can then be rearranged, styled, and documented using the standard editor.&lt;/p&gt;

&lt;p&gt;This feature does not replace a full database modeling platform, but it is useful for quickly creating database documentation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ai-diagram-generation&quot;&gt;AI Diagram Generation&lt;/h2&gt;

&lt;p&gt;Recent versions of draw.io include AI-assisted diagram generation.&lt;/p&gt;

&lt;p&gt;Users can describe a diagram using natural language, and the generated result is returned as an editable draw.io diagram rather than a static image.&lt;/p&gt;

&lt;p&gt;Potential uses include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Generating an initial flowchart&lt;/li&gt;
  &lt;li&gt;Creating architecture drafts&lt;/li&gt;
  &lt;li&gt;Building process diagrams&lt;/li&gt;
  &lt;li&gt;Producing brainstorming layouts&lt;/li&gt;
  &lt;li&gt;Modifying an existing diagram&lt;/li&gt;
  &lt;li&gt;Converting written requirements into visuals&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The generated result should be treated as a starting point. Users should verify:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Technical accuracy&lt;/li&gt;
  &lt;li&gt;Missing components&lt;/li&gt;
  &lt;li&gt;Incorrect relationships&lt;/li&gt;
  &lt;li&gt;Security boundaries&lt;/li&gt;
  &lt;li&gt;Product names&lt;/li&gt;
  &lt;li&gt;Network paths&lt;/li&gt;
  &lt;li&gt;Process logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI generation is enabled by default in the free online editor but may be disabled or require administrator configuration in other deployments.&lt;/p&gt;

&lt;p&gt;Organizations concerned about sensitive data can disable the feature or use the offline desktop application.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;whiteboarding&quot;&gt;Whiteboarding&lt;/h2&gt;

&lt;p&gt;draw.io can also function as a digital whiteboard.&lt;/p&gt;

&lt;p&gt;Whiteboarding features can be useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Brainstorming&lt;/li&gt;
  &lt;li&gt;Team meetings&lt;/li&gt;
  &lt;li&gt;Early design discussions&lt;/li&gt;
  &lt;li&gt;Project planning&lt;/li&gt;
  &lt;li&gt;Process discovery&lt;/li&gt;
  &lt;li&gt;Architecture workshops&lt;/li&gt;
  &lt;li&gt;Remote collaboration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The whiteboard experience is not as specialized as a platform built exclusively for workshops and collaborative brainstorming. However, it is useful for teams that want whiteboarding and formal diagramming in the same application.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;keyboard-shortcuts&quot;&gt;Keyboard Shortcuts&lt;/h2&gt;

&lt;p&gt;Keyboard shortcuts can significantly improve productivity in draw.io.&lt;/p&gt;

&lt;p&gt;Common shortcuts include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+C&lt;/strong&gt; to copy&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+V&lt;/strong&gt; to paste&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+D&lt;/strong&gt; to duplicate&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+G&lt;/strong&gt; to group&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+Shift+U&lt;/strong&gt; to ungroup&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+Z&lt;/strong&gt; to undo&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+Y&lt;/strong&gt; to redo&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+A&lt;/strong&gt; to select all&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Delete&lt;/strong&gt; to remove selected objects&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ctrl+Shift+K&lt;/strong&gt; to show or hide the shapes panel&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keyboard shortcuts may differ slightly depending on the operating system and application version.&lt;/p&gt;

&lt;p&gt;Users who frequently create large diagrams will benefit from learning shortcuts for alignment, duplication, grouping, and movement.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;draw.io performs well for small and moderately complex diagrams.&lt;/p&gt;

&lt;p&gt;The editor generally remains responsive when working with:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Flowcharts&lt;/li&gt;
  &lt;li&gt;Network diagrams&lt;/li&gt;
  &lt;li&gt;Organizational charts&lt;/li&gt;
  &lt;li&gt;Cloud architectures&lt;/li&gt;
  &lt;li&gt;Process maps&lt;/li&gt;
  &lt;li&gt;Database diagrams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Performance can decline when a diagram contains:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hundreds or thousands of objects&lt;/li&gt;
  &lt;li&gt;Large embedded images&lt;/li&gt;
  &lt;li&gt;Numerous layers&lt;/li&gt;
  &lt;li&gt;Complex connector routing&lt;/li&gt;
  &lt;li&gt;Large custom shape libraries&lt;/li&gt;
  &lt;li&gt;Extensive styling&lt;/li&gt;
  &lt;li&gt;Multiple detailed pages&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For very large projects, separating the design into multiple pages or files may improve performance and readability.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ease-of-use&quot;&gt;Ease of Use&lt;/h2&gt;

&lt;p&gt;Basic diagram creation is straightforward.&lt;/p&gt;

&lt;p&gt;A new user can usually create a simple flowchart by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Selecting a template.&lt;/li&gt;
  &lt;li&gt;Dragging shapes onto the canvas.&lt;/li&gt;
  &lt;li&gt;Connecting the shapes.&lt;/li&gt;
  &lt;li&gt;Adding text labels.&lt;/li&gt;
  &lt;li&gt;Applying colors and styles.&lt;/li&gt;
  &lt;li&gt;Exporting the completed diagram.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Advanced features require more time to learn.&lt;/p&gt;

&lt;p&gt;These include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Custom styles&lt;/li&gt;
  &lt;li&gt;Data-driven diagrams&lt;/li&gt;
  &lt;li&gt;Layers&lt;/li&gt;
  &lt;li&gt;Custom libraries&lt;/li&gt;
  &lt;li&gt;Advanced connector routing&lt;/li&gt;
  &lt;li&gt;Self-hosting&lt;/li&gt;
  &lt;li&gt;Editor configuration&lt;/li&gt;
  &lt;li&gt;Automated diagram generation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform is easy to begin using but offers enough depth for experienced technical users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;draw.io provides several significant advantages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Free online editor&lt;/li&gt;
  &lt;li&gt;Free desktop application&lt;/li&gt;
  &lt;li&gt;Open-source codebase&lt;/li&gt;
  &lt;li&gt;No mandatory account&lt;/li&gt;
  &lt;li&gt;Offline editing&lt;/li&gt;
  &lt;li&gt;Local file storage&lt;/li&gt;
  &lt;li&gt;Self-hosting support&lt;/li&gt;
  &lt;li&gt;Extensive shape libraries&lt;/li&gt;
  &lt;li&gt;Strong network and cloud diagramming&lt;/li&gt;
  &lt;li&gt;Large template collection&lt;/li&gt;
  &lt;li&gt;Layers and multiple pages&lt;/li&gt;
  &lt;li&gt;Visio import support&lt;/li&gt;
  &lt;li&gt;Mermaid support&lt;/li&gt;
  &lt;li&gt;AI-assisted diagram generation&lt;/li&gt;
  &lt;li&gt;Google Drive integration&lt;/li&gt;
  &lt;li&gt;Microsoft OneDrive integration&lt;/li&gt;
  &lt;li&gt;Nextcloud integration&lt;/li&gt;
  &lt;li&gt;GitHub and GitLab integration&lt;/li&gt;
  &lt;li&gt;Confluence and Jira applications&lt;/li&gt;
  &lt;li&gt;Multiple export formats&lt;/li&gt;
  &lt;li&gt;Editable diagram data in exported images&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Few free diagramming tools provide the same combination of features, storage flexibility, privacy, and platform support.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disadvantages&quot;&gt;Disadvantages&lt;/h2&gt;

&lt;p&gt;Despite its strengths, draw.io has several limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The interface can feel crowded.&lt;/li&gt;
  &lt;li&gt;Advanced formatting may require manual work.&lt;/li&gt;
  &lt;li&gt;Connector routing can become difficult in complex diagrams.&lt;/li&gt;
  &lt;li&gt;Automatic layouts do not always produce ideal results.&lt;/li&gt;
  &lt;li&gt;Large diagrams may become slow.&lt;/li&gt;
  &lt;li&gt;Imported diagrams may require cleanup.&lt;/li&gt;
  &lt;li&gt;Real-time collaboration depends on the storage platform.&lt;/li&gt;
  &lt;li&gt;XML changes are difficult to review in Git.&lt;/li&gt;
  &lt;li&gt;The desktop application uses Electron.&lt;/li&gt;
  &lt;li&gt;Atlassian integrations require paid licenses.&lt;/li&gt;
  &lt;li&gt;AI-generated diagrams still require manual verification.&lt;/li&gt;
  &lt;li&gt;Specialized design platforms may provide more polished visual templates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform prioritizes flexibility and control over highly guided design automation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;drawio-versus-microsoft-visio&quot;&gt;draw.io Versus Microsoft Visio&lt;/h2&gt;

&lt;p&gt;Microsoft Visio remains a powerful choice for organizations heavily invested in Microsoft 365 and enterprise process modeling.&lt;/p&gt;

&lt;p&gt;Visio may be preferable when an organization requires:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Advanced Microsoft integration&lt;/li&gt;
  &lt;li&gt;Formal process modeling&lt;/li&gt;
  &lt;li&gt;Data-connected diagrams&lt;/li&gt;
  &lt;li&gt;Existing Visio templates&lt;/li&gt;
  &lt;li&gt;Enterprise support&lt;/li&gt;
  &lt;li&gt;Complex Visio-specific functionality&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;draw.io may be preferable when users want:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A free application&lt;/li&gt;
  &lt;li&gt;Cross-platform support&lt;/li&gt;
  &lt;li&gt;Local or cloud-independent storage&lt;/li&gt;
  &lt;li&gt;A Linux desktop application&lt;/li&gt;
  &lt;li&gt;Open-source software&lt;/li&gt;
  &lt;li&gt;Easy web access&lt;/li&gt;
  &lt;li&gt;GitHub or GitLab integration&lt;/li&gt;
  &lt;li&gt;No mandatory account&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;draw.io can import Visio &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.vsdx&lt;/code&gt; files, but highly complex diagrams may not convert perfectly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;drawio-versus-lucidchart&quot;&gt;draw.io Versus Lucidchart&lt;/h2&gt;

&lt;p&gt;Lucidchart emphasizes cloud collaboration, polished templates, and a guided software-as-a-service experience.&lt;/p&gt;

&lt;p&gt;Lucidchart may provide a smoother experience for organizations that prioritize:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Centralized cloud management&lt;/li&gt;
  &lt;li&gt;Real-time collaboration&lt;/li&gt;
  &lt;li&gt;Presentation-quality templates&lt;/li&gt;
  &lt;li&gt;Automated workflows&lt;/li&gt;
  &lt;li&gt;Enterprise account administration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;draw.io is often the better choice when users prioritize:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Free access&lt;/li&gt;
  &lt;li&gt;Offline use&lt;/li&gt;
  &lt;li&gt;Local storage&lt;/li&gt;
  &lt;li&gt;Open-source software&lt;/li&gt;
  &lt;li&gt;Self-hosting&lt;/li&gt;
  &lt;li&gt;Storage independence&lt;/li&gt;
  &lt;li&gt;Technical diagramming&lt;/li&gt;
  &lt;li&gt;Atlassian integration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best choice depends on whether the organization values hosted collaboration or control over storage and deployment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;drawio-versus-excalidraw&quot;&gt;draw.io Versus Excalidraw&lt;/h2&gt;

&lt;p&gt;Excalidraw focuses on informal, hand-drawn-style diagrams and collaborative whiteboarding.&lt;/p&gt;

&lt;p&gt;Excalidraw is particularly useful for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Quick sketches&lt;/li&gt;
  &lt;li&gt;Brainstorming&lt;/li&gt;
  &lt;li&gt;Informal architecture discussions&lt;/li&gt;
  &lt;li&gt;Hand-drawn visuals&lt;/li&gt;
  &lt;li&gt;Collaborative whiteboards&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;draw.io is generally better for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Formal network diagrams&lt;/li&gt;
  &lt;li&gt;Detailed infrastructure documentation&lt;/li&gt;
  &lt;li&gt;Flowcharts&lt;/li&gt;
  &lt;li&gt;Cloud architectures&lt;/li&gt;
  &lt;li&gt;Database diagrams&lt;/li&gt;
  &lt;li&gt;Multi-page documentation&lt;/li&gt;
  &lt;li&gt;Precise object alignment&lt;/li&gt;
  &lt;li&gt;Extensive shape libraries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both tools are useful, but they serve different visual styles and documentation needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-use-cases&quot;&gt;Best Use Cases&lt;/h2&gt;

&lt;p&gt;draw.io is particularly well suited for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Network administrators&lt;/li&gt;
  &lt;li&gt;System administrators&lt;/li&gt;
  &lt;li&gt;Cloud architects&lt;/li&gt;
  &lt;li&gt;DevOps engineers&lt;/li&gt;
  &lt;li&gt;Software developers&lt;/li&gt;
  &lt;li&gt;Database administrators&lt;/li&gt;
  &lt;li&gt;Project managers&lt;/li&gt;
  &lt;li&gt;Business analysts&lt;/li&gt;
  &lt;li&gt;Technical writers&lt;/li&gt;
  &lt;li&gt;Students&lt;/li&gt;
  &lt;li&gt;Educators&lt;/li&gt;
  &lt;li&gt;Small businesses&lt;/li&gt;
  &lt;li&gt;Enterprise documentation teams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is especially valuable when diagrams must remain editable without requiring every recipient to purchase a software license.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;who-may-prefer-another-platform&quot;&gt;Who May Prefer Another Platform?&lt;/h2&gt;

&lt;p&gt;Another diagramming platform may be more appropriate for users who require:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Advanced data-connected diagrams&lt;/li&gt;
  &lt;li&gt;Highly polished marketing graphics&lt;/li&gt;
  &lt;li&gt;Specialized engineering calculations&lt;/li&gt;
  &lt;li&gt;Complex Building Information Modeling&lt;/li&gt;
  &lt;li&gt;Dedicated user experience design tools&lt;/li&gt;
  &lt;li&gt;Advanced enterprise workflow automation&lt;/li&gt;
  &lt;li&gt;A fully managed collaboration workspace&lt;/li&gt;
  &lt;li&gt;Formal business process compliance tooling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;draw.io is a general-purpose diagramming platform rather than a replacement for every specialized design or engineering application.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pricing&quot;&gt;Pricing&lt;/h2&gt;

&lt;p&gt;The primary draw.io online editor is free.&lt;/p&gt;

&lt;p&gt;The desktop application is also free and distributed under the Apache 2.0 license.&lt;/p&gt;

&lt;p&gt;Costs may apply when using:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;draw.io for Confluence Cloud&lt;/li&gt;
  &lt;li&gt;draw.io for Confluence Data Center&lt;/li&gt;
  &lt;li&gt;draw.io for Jira Cloud&lt;/li&gt;
  &lt;li&gt;draw.io for Jira Data Center&lt;/li&gt;
  &lt;li&gt;Commercial support&lt;/li&gt;
  &lt;li&gt;Specialized enterprise integrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Atlassian application pricing is normally based on the deployment type and number of licensed users.&lt;/p&gt;

&lt;p&gt;Current licensing information is available from the &lt;a href=&quot;https://drawio-app.com/pricing/&quot;&gt;draw.io pricing page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verdict&quot;&gt;Final Verdict&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rating: 9.5/10&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;draw.io is one of the best general-purpose diagramming applications available. It provides an exceptional combination of flexibility, technical features, storage control, platform support, and value.&lt;/p&gt;

&lt;p&gt;Its extensive shape libraries make it particularly strong for network, cloud, software, and infrastructure diagrams. The free online and desktop applications are capable enough for most individuals and organizations, while Confluence and Jira integrations extend the platform into enterprise documentation workflows.&lt;/p&gt;

&lt;p&gt;The interface can become difficult to manage when working with extremely complex diagrams, and some users may prefer the guided design experience offered by commercial competitors. However, these limitations are relatively minor compared to the platform’s overall capabilities.&lt;/p&gt;

&lt;p&gt;For system administrators, network engineers, developers, students, and business users who need a powerful diagramming application without a recurring subscription, draw.io is an outstanding choice.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;draw.io delivers a professional diagramming experience without requiring users to create an account, subscribe to a paid service, or store files on a vendor-controlled platform.&lt;/p&gt;

&lt;p&gt;It supports everything from basic flowcharts to detailed network and cloud architecture diagrams. Features such as custom shape libraries, layers, multiple pages, Visio imports, Mermaid support, AI generation, offline editing, and cloud integrations make it suitable for both simple and advanced workflows.&lt;/p&gt;

&lt;p&gt;Although some specialized products offer stronger collaboration or design automation, draw.io remains one of the most capable and cost-effective diagramming tools available.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/&quot;&gt;draw.io Official Website&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://app.diagrams.net/&quot;&gt;draw.io Online Editor&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/&quot;&gt;draw.io Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/features/&quot;&gt;draw.io Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/jgraph/drawio-desktop&quot;&gt;draw.io Desktop Application&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/integrations/&quot;&gt;draw.io Integrations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/manual/import/import-formats/&quot;&gt;draw.io Import Formats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/manual/export/&quot;&gt;draw.io Export Formats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.drawio.com/docs/security/&quot;&gt;draw.io Security Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/jgraph/drawio&quot;&gt;draw.io GitHub Repository&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 16 May 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/draw-io-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/draw-io-review/</guid>
        
        <category>drawio</category>
        
        <category>diagrams</category>
        
        <category>flowcharts</category>
        
        <category>productivity</category>
        
        <category>documentation</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding Kernels</title>
        <description>&lt;p&gt;The kernel is the core component that connects applications to the physical hardware inside a computer. Every time an application reads a file, sends network traffic, allocates memory, communicates with a device, or requests processor time, the operating system kernel is involved.&lt;/p&gt;

&lt;p&gt;Most users never interact with the kernel directly. Instead, applications use operating system libraries and system calls to request services from it. The kernel evaluates those requests, controls access to protected resources, and communicates with the underlying hardware.&lt;/p&gt;

&lt;p&gt;Understanding the kernel provides valuable insight into how operating systems manage processes, isolate applications, communicate with hardware, and recover from failures.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain how kernels work, what responsibilities they perform, and why they are essential to every modern operating system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-kernel&quot; id=&quot;markdown-toc-what-is-a-kernel&quot;&gt;What Is a Kernel?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-kernel-is-not-the-entire-operating-system&quot; id=&quot;markdown-toc-the-kernel-is-not-the-entire-operating-system&quot;&gt;The Kernel Is Not the Entire Operating System&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#where-the-kernel-fits&quot; id=&quot;markdown-toc-where-the-kernel-fits&quot;&gt;Where the Kernel Fits&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#user-mode-and-kernel-mode&quot; id=&quot;markdown-toc-user-mode-and-kernel-mode&quot;&gt;User Mode and Kernel Mode&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#user-mode&quot; id=&quot;markdown-toc-user-mode&quot;&gt;User Mode&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#kernel-mode&quot; id=&quot;markdown-toc-kernel-mode&quot;&gt;Kernel Mode&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-the-separation-matters&quot; id=&quot;markdown-toc-why-the-separation-matters&quot;&gt;Why the Separation Matters&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#system-calls&quot; id=&quot;markdown-toc-system-calls&quot;&gt;System Calls&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#process-management&quot; id=&quot;markdown-toc-process-management&quot;&gt;Process Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#process-scheduling&quot; id=&quot;markdown-toc-process-scheduling&quot;&gt;Process Scheduling&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#threads-and-processes&quot; id=&quot;markdown-toc-threads-and-processes&quot;&gt;Threads and Processes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#memory-management&quot; id=&quot;markdown-toc-memory-management&quot;&gt;Memory Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#virtual-memory&quot; id=&quot;markdown-toc-virtual-memory&quot;&gt;Virtual Memory&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#file-system-management&quot; id=&quot;markdown-toc-file-system-management&quot;&gt;File System Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#device-drivers&quot; id=&quot;markdown-toc-device-drivers&quot;&gt;Device Drivers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#interrupts&quot; id=&quot;markdown-toc-interrupts&quot;&gt;Interrupts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#input-and-output-management&quot; id=&quot;markdown-toc-input-and-output-management&quot;&gt;Input and Output Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#networking&quot; id=&quot;markdown-toc-networking&quot;&gt;Networking&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-and-access-control&quot; id=&quot;markdown-toc-security-and-access-control&quot;&gt;Security and Access Control&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kernel-architectures&quot; id=&quot;markdown-toc-kernel-architectures&quot;&gt;Kernel Architectures&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monolithic-kernels&quot; id=&quot;markdown-toc-monolithic-kernels&quot;&gt;Monolithic Kernels&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#loadable-kernel-modules&quot; id=&quot;markdown-toc-loadable-kernel-modules&quot;&gt;Loadable Kernel Modules&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#microkernels&quot; id=&quot;markdown-toc-microkernels&quot;&gt;Microkernels&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#hybrid-kernels&quot; id=&quot;markdown-toc-hybrid-kernels&quot;&gt;Hybrid Kernels&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-linux-kernel&quot; id=&quot;markdown-toc-the-linux-kernel&quot;&gt;The Linux Kernel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-windows-kernel&quot; id=&quot;markdown-toc-the-windows-kernel&quot;&gt;The Windows Kernel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-macos-kernel&quot; id=&quot;markdown-toc-the-macos-kernel&quot;&gt;The macOS Kernel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-kernel-during-startup&quot; id=&quot;markdown-toc-the-kernel-during-startup&quot;&gt;The Kernel During Startup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kernel-versions&quot; id=&quot;markdown-toc-kernel-versions&quot;&gt;Kernel Versions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#check-the-linux-kernel-version&quot; id=&quot;markdown-toc-check-the-linux-kernel-version&quot;&gt;Check the Linux Kernel Version&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#check-windows-kernel-and-operating-system-information&quot; id=&quot;markdown-toc-check-windows-kernel-and-operating-system-information&quot;&gt;Check Windows Kernel and Operating System Information&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kernel-logs&quot; id=&quot;markdown-toc-kernel-logs&quot;&gt;Kernel Logs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kernel-panics-and-stop-errors&quot; id=&quot;markdown-toc-kernel-panics-and-stop-errors&quot;&gt;Kernel Panics and Stop Errors&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-driver-problems-can-crash-a-system&quot; id=&quot;markdown-toc-why-driver-problems-can-crash-a-system&quot;&gt;Why Driver Problems Can Crash a System&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kernel-security&quot; id=&quot;markdown-toc-kernel-security&quot;&gt;Kernel Security&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#containers-and-the-kernel&quot; id=&quot;markdown-toc-containers-and-the-kernel&quot;&gt;Containers and the Kernel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#virtual-machines-and-the-kernel&quot; id=&quot;markdown-toc-virtual-machines-and-the-kernel&quot;&gt;Virtual Machines and the Kernel&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-understanding-kernels-matters&quot; id=&quot;markdown-toc-why-understanding-kernels-matters&quot;&gt;Why Understanding Kernels Matters&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#practical-kernel-administration-guidelines&quot; id=&quot;markdown-toc-practical-kernel-administration-guidelines&quot;&gt;Practical Kernel Administration Guidelines&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-kernel&quot;&gt;What Is a Kernel?&lt;/h2&gt;

&lt;p&gt;A kernel is the privileged core of an operating system. It remains active while the computer is running and manages communication between software and hardware.&lt;/p&gt;

&lt;p&gt;The kernel controls access to resources such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Central processing units&lt;/li&gt;
  &lt;li&gt;Physical and virtual memory&lt;/li&gt;
  &lt;li&gt;Storage devices&lt;/li&gt;
  &lt;li&gt;Network adapters&lt;/li&gt;
  &lt;li&gt;Graphics hardware&lt;/li&gt;
  &lt;li&gt;Keyboards and mice&lt;/li&gt;
  &lt;li&gt;USB devices&lt;/li&gt;
  &lt;li&gt;Running processes&lt;/li&gt;
  &lt;li&gt;File systems&lt;/li&gt;
  &lt;li&gt;Security permissions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications cannot normally access these resources directly. They must request access through interfaces provided by the operating system.&lt;/p&gt;

&lt;p&gt;This separation prevents ordinary applications from freely changing memory, controlling hardware, or interfering with other running programs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-kernel-is-not-the-entire-operating-system&quot;&gt;The Kernel Is Not the Entire Operating System&lt;/h2&gt;

&lt;p&gt;The terms &lt;strong&gt;kernel&lt;/strong&gt; and &lt;strong&gt;operating system&lt;/strong&gt; are sometimes used interchangeably, but they do not mean exactly the same thing.&lt;/p&gt;

&lt;p&gt;The kernel is only one part of a complete operating system.&lt;/p&gt;

&lt;p&gt;A complete operating system normally includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The kernel&lt;/li&gt;
  &lt;li&gt;Device drivers&lt;/li&gt;
  &lt;li&gt;System libraries&lt;/li&gt;
  &lt;li&gt;Background services&lt;/li&gt;
  &lt;li&gt;Command-line tools&lt;/li&gt;
  &lt;li&gt;Graphical interfaces&lt;/li&gt;
  &lt;li&gt;Configuration utilities&lt;/li&gt;
  &lt;li&gt;User applications&lt;/li&gt;
  &lt;li&gt;Package management tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linux is technically a kernel. A Linux distribution such as Red Hat Enterprise Linux, Ubuntu, Debian, or Fedora combines the Linux kernel with utilities, libraries, package managers, services, and applications to create a complete operating system.&lt;/p&gt;

&lt;p&gt;Windows and macOS also contain kernels surrounded by many additional operating system components.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;where-the-kernel-fits&quot;&gt;Where the Kernel Fits&lt;/h2&gt;

&lt;p&gt;A simplified computer architecture can be viewed as several layers:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Users interact with applications.&lt;/li&gt;
  &lt;li&gt;Applications use operating system libraries.&lt;/li&gt;
  &lt;li&gt;Libraries submit requests through system calls.&lt;/li&gt;
  &lt;li&gt;The kernel manages the request.&lt;/li&gt;
  &lt;li&gt;Device drivers communicate with the hardware.&lt;/li&gt;
  &lt;li&gt;Hardware performs the requested operation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, when an application saves a document:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The application requests that the operating system write data.&lt;/li&gt;
  &lt;li&gt;The request enters the kernel through a system call.&lt;/li&gt;
  &lt;li&gt;The kernel checks permissions and validates the request.&lt;/li&gt;
  &lt;li&gt;The file system determines where the data should be stored.&lt;/li&gt;
  &lt;li&gt;A storage driver communicates with the disk controller.&lt;/li&gt;
  &lt;li&gt;The storage device writes the data.&lt;/li&gt;
  &lt;li&gt;The result is returned to the application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The kernel provides the controlled path between the application and the physical storage device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;user-mode-and-kernel-mode&quot;&gt;User Mode and Kernel Mode&lt;/h2&gt;

&lt;p&gt;Modern processors support different privilege levels. Operating systems use these levels to separate ordinary applications from trusted system components.&lt;/p&gt;

&lt;p&gt;The two most commonly discussed execution modes are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;User mode&lt;/li&gt;
  &lt;li&gt;Kernel mode&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;user-mode&quot;&gt;User Mode&lt;/h3&gt;

&lt;p&gt;Applications generally run in user mode.&lt;/p&gt;

&lt;p&gt;A user-mode application has restricted access to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Physical hardware&lt;/li&gt;
  &lt;li&gt;Kernel memory&lt;/li&gt;
  &lt;li&gt;Other processes&lt;/li&gt;
  &lt;li&gt;Protected processor instructions&lt;/li&gt;
  &lt;li&gt;Critical operating system resources&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a normal application crashes, the operating system can usually terminate that application without bringing down the entire computer.&lt;/p&gt;

&lt;p&gt;Examples of software running primarily in user mode include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Web browsers&lt;/li&gt;
  &lt;li&gt;Office applications&lt;/li&gt;
  &lt;li&gt;Text editors&lt;/li&gt;
  &lt;li&gt;Media players&lt;/li&gt;
  &lt;li&gt;Database clients&lt;/li&gt;
  &lt;li&gt;Command shells&lt;/li&gt;
  &lt;li&gt;Most background services&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;kernel-mode&quot;&gt;Kernel Mode&lt;/h3&gt;

&lt;p&gt;The kernel and many device drivers run in kernel mode.&lt;/p&gt;

&lt;p&gt;Kernel-mode code has broad access to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;System memory&lt;/li&gt;
  &lt;li&gt;Processor instructions&lt;/li&gt;
  &lt;li&gt;Hardware devices&lt;/li&gt;
  &lt;li&gt;Interrupts&lt;/li&gt;
  &lt;li&gt;Process scheduling&lt;/li&gt;
  &lt;li&gt;Input and output operations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This access is necessary for managing the system, but it also creates risk. A serious error in kernel-mode code can freeze, crash, or restart the entire operating system.&lt;/p&gt;

&lt;p&gt;Microsoft provides additional details in its &lt;a href=&quot;https://learn.microsoft.com/windows-hardware/drivers/gettingstarted/user-mode-and-kernel-mode&quot;&gt;User Mode and Kernel Mode documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-the-separation-matters&quot;&gt;Why the Separation Matters&lt;/h2&gt;

&lt;p&gt;Separating user mode from kernel mode improves:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Security&lt;/li&gt;
  &lt;li&gt;Stability&lt;/li&gt;
  &lt;li&gt;Application isolation&lt;/li&gt;
  &lt;li&gt;Resource control&lt;/li&gt;
  &lt;li&gt;Fault containment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without this separation, any application could potentially:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Read another application’s memory.&lt;/li&gt;
  &lt;li&gt;Modify operating system data.&lt;/li&gt;
  &lt;li&gt;Control hardware directly.&lt;/li&gt;
  &lt;li&gt;Bypass file permissions.&lt;/li&gt;
  &lt;li&gt;Disable security protections.&lt;/li&gt;
  &lt;li&gt;Crash the entire computer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The boundary does not make an operating system invulnerable, but it significantly reduces the amount of damage an ordinary application can cause.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;system-calls&quot;&gt;System Calls&lt;/h2&gt;

&lt;p&gt;A system call is a controlled request from a user-mode program to the kernel.&lt;/p&gt;

&lt;p&gt;Applications use system calls when they need the operating system to perform privileged operations.&lt;/p&gt;

&lt;p&gt;Common system-call operations include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Opening a file&lt;/li&gt;
  &lt;li&gt;Reading data&lt;/li&gt;
  &lt;li&gt;Writing data&lt;/li&gt;
  &lt;li&gt;Creating a process&lt;/li&gt;
  &lt;li&gt;Allocating memory&lt;/li&gt;
  &lt;li&gt;Opening a network connection&lt;/li&gt;
  &lt;li&gt;Communicating with a device&lt;/li&gt;
  &lt;li&gt;Changing file permissions&lt;/li&gt;
  &lt;li&gt;Retrieving system information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Linux, common system calls include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;open&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;read&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;write&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;close&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fork&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;execve&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mmap&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;socket&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications do not normally invoke every system call directly. Programming libraries provide functions that simplify communication with the kernel.&lt;/p&gt;

&lt;p&gt;When a system call occurs:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The application prepares the request.&lt;/li&gt;
  &lt;li&gt;The processor switches from user mode to kernel mode.&lt;/li&gt;
  &lt;li&gt;The kernel validates and processes the request.&lt;/li&gt;
  &lt;li&gt;The kernel returns the result.&lt;/li&gt;
  &lt;li&gt;The processor switches back to user mode.&lt;/li&gt;
  &lt;li&gt;The application continues running.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href=&quot;https://docs.kernel.org/userspace-api/index.html&quot;&gt;Linux Kernel User-Space API Guide&lt;/a&gt; documents many of the interfaces available to applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;process-management&quot;&gt;Process Management&lt;/h2&gt;

&lt;p&gt;A process is a running instance of a program.&lt;/p&gt;

&lt;p&gt;The kernel is responsible for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Creating processes&lt;/li&gt;
  &lt;li&gt;Terminating processes&lt;/li&gt;
  &lt;li&gt;Assigning process identifiers&lt;/li&gt;
  &lt;li&gt;Tracking process states&lt;/li&gt;
  &lt;li&gt;Scheduling processor time&lt;/li&gt;
  &lt;li&gt;Managing process priorities&lt;/li&gt;
  &lt;li&gt;Isolating process memory&lt;/li&gt;
  &lt;li&gt;Coordinating communication between processes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A modern computer may run hundreds or thousands of processes and threads simultaneously.&lt;/p&gt;

&lt;p&gt;The kernel scheduler determines which thread receives processor time, which processor core it runs on, and how long it is allowed to execute before another thread receives access.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;process-scheduling&quot;&gt;Process Scheduling&lt;/h2&gt;

&lt;p&gt;A processor can execute only a limited number of instructions at a time. The kernel creates the appearance that many programs are running simultaneously by rapidly switching between tasks.&lt;/p&gt;

&lt;p&gt;The scheduler considers factors such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Process priority&lt;/li&gt;
  &lt;li&gt;System workload&lt;/li&gt;
  &lt;li&gt;Processor availability&lt;/li&gt;
  &lt;li&gt;Task responsiveness&lt;/li&gt;
  &lt;li&gt;Real-time requirements&lt;/li&gt;
  &lt;li&gt;Previous processor usage&lt;/li&gt;
  &lt;li&gt;Power-management policies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This rapid switching is known as a context switch.&lt;/p&gt;

&lt;p&gt;During a context switch, the kernel saves the current task’s processor state and restores the state of another task. Context switching is essential, but excessive context switching can reduce performance because the processor spends more time changing tasks and less time performing useful work.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;threads-and-processes&quot;&gt;Threads and Processes&lt;/h2&gt;

&lt;p&gt;A process provides an isolated environment for a running application. A thread represents an individual sequence of execution within that process.&lt;/p&gt;

&lt;p&gt;A single application may contain multiple threads for tasks such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Processing user input&lt;/li&gt;
  &lt;li&gt;Updating the interface&lt;/li&gt;
  &lt;li&gt;Reading files&lt;/li&gt;
  &lt;li&gt;Performing calculations&lt;/li&gt;
  &lt;li&gt;Sending network requests&lt;/li&gt;
  &lt;li&gt;Running background operations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Threads within the same process normally share resources such as memory and open files.&lt;/p&gt;

&lt;p&gt;The kernel schedules threads and ensures that multiple applications receive access to processor resources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;memory-management&quot;&gt;Memory Management&lt;/h2&gt;

&lt;p&gt;Memory management is one of the kernel’s most important responsibilities.&lt;/p&gt;

&lt;p&gt;The kernel manages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Physical memory&lt;/li&gt;
  &lt;li&gt;Virtual memory&lt;/li&gt;
  &lt;li&gt;Memory allocation&lt;/li&gt;
  &lt;li&gt;Memory protection&lt;/li&gt;
  &lt;li&gt;Shared memory&lt;/li&gt;
  &lt;li&gt;Memory-mapped files&lt;/li&gt;
  &lt;li&gt;Paging&lt;/li&gt;
  &lt;li&gt;Swapping&lt;/li&gt;
  &lt;li&gt;Caching&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each process normally receives its own virtual address space. This creates the appearance that each application has a private area of memory.&lt;/p&gt;

&lt;p&gt;The kernel maps virtual addresses to physical memory and prevents one application from freely accessing another application’s memory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;virtual-memory&quot;&gt;Virtual Memory&lt;/h2&gt;

&lt;p&gt;Virtual memory allows applications to use logical memory addresses rather than directly referencing physical RAM.&lt;/p&gt;

&lt;p&gt;Benefits of virtual memory include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Process isolation&lt;/li&gt;
  &lt;li&gt;More efficient memory allocation&lt;/li&gt;
  &lt;li&gt;Shared library support&lt;/li&gt;
  &lt;li&gt;Memory-mapped files&lt;/li&gt;
  &lt;li&gt;Controlled access permissions&lt;/li&gt;
  &lt;li&gt;The ability to move inactive pages to storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When physical memory becomes limited, the operating system may move less frequently used memory pages to a paging or swap area on storage.&lt;/p&gt;

&lt;p&gt;Because storage is much slower than RAM, excessive paging can cause major performance problems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;file-system-management&quot;&gt;File System Management&lt;/h2&gt;

&lt;p&gt;The kernel provides a consistent way for applications to work with files and directories.&lt;/p&gt;

&lt;p&gt;It manages operations such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Creating files&lt;/li&gt;
  &lt;li&gt;Opening files&lt;/li&gt;
  &lt;li&gt;Reading data&lt;/li&gt;
  &lt;li&gt;Writing data&lt;/li&gt;
  &lt;li&gt;Deleting files&lt;/li&gt;
  &lt;li&gt;Managing directories&lt;/li&gt;
  &lt;li&gt;Enforcing permissions&lt;/li&gt;
  &lt;li&gt;Tracking file ownership&lt;/li&gt;
  &lt;li&gt;Caching frequently accessed data&lt;/li&gt;
  &lt;li&gt;Mounting storage devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Different operating systems support different file systems.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;NTFS&lt;/li&gt;
  &lt;li&gt;ReFS&lt;/li&gt;
  &lt;li&gt;ext4&lt;/li&gt;
  &lt;li&gt;XFS&lt;/li&gt;
  &lt;li&gt;Btrfs&lt;/li&gt;
  &lt;li&gt;APFS&lt;/li&gt;
  &lt;li&gt;ZFS&lt;/li&gt;
  &lt;li&gt;FAT32&lt;/li&gt;
  &lt;li&gt;exFAT&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The kernel uses file-system drivers to understand the organization and metadata of each supported format.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;device-drivers&quot;&gt;Device Drivers&lt;/h2&gt;

&lt;p&gt;A device driver allows the operating system to communicate with a specific hardware device or class of devices.&lt;/p&gt;

&lt;p&gt;Drivers may support hardware such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Network adapters&lt;/li&gt;
  &lt;li&gt;Storage controllers&lt;/li&gt;
  &lt;li&gt;Graphics cards&lt;/li&gt;
  &lt;li&gt;Printers&lt;/li&gt;
  &lt;li&gt;Audio devices&lt;/li&gt;
  &lt;li&gt;USB controllers&lt;/li&gt;
  &lt;li&gt;Bluetooth adapters&lt;/li&gt;
  &lt;li&gt;Cameras&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of requiring every application to understand every hardware device, applications communicate with the operating system. The kernel and its drivers handle the device-specific details.&lt;/p&gt;

&lt;p&gt;Many drivers run in kernel mode because they require direct access to hardware. A defective kernel-mode driver can therefore cause a complete system failure.&lt;/p&gt;

&lt;p&gt;Some operating systems also support user-mode drivers for certain types of hardware. User-mode drivers can provide better fault isolation because a driver failure may not crash the entire operating system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;interrupts&quot;&gt;Interrupts&lt;/h2&gt;

&lt;p&gt;Hardware devices need a way to inform the processor that an event has occurred.&lt;/p&gt;

&lt;p&gt;An interrupt is a signal that causes the processor to temporarily pause its current work and execute an interrupt-handling routine.&lt;/p&gt;

&lt;p&gt;Interrupts may be generated when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A network packet arrives.&lt;/li&gt;
  &lt;li&gt;A disk operation completes.&lt;/li&gt;
  &lt;li&gt;A key is pressed.&lt;/li&gt;
  &lt;li&gt;A mouse moves.&lt;/li&gt;
  &lt;li&gt;A timer expires.&lt;/li&gt;
  &lt;li&gt;A hardware error occurs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The kernel coordinates interrupt handling and ensures that the appropriate driver responds.&lt;/p&gt;

&lt;p&gt;Interrupt handling must be efficient because excessive or poorly handled interrupts can negatively affect system performance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;input-and-output-management&quot;&gt;Input and Output Management&lt;/h2&gt;

&lt;p&gt;Input and output operations are commonly referred to as I/O.&lt;/p&gt;

&lt;p&gt;The kernel manages I/O between applications and devices such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Disks&lt;/li&gt;
  &lt;li&gt;Network interfaces&lt;/li&gt;
  &lt;li&gt;Keyboards&lt;/li&gt;
  &lt;li&gt;Displays&lt;/li&gt;
  &lt;li&gt;Printers&lt;/li&gt;
  &lt;li&gt;Serial devices&lt;/li&gt;
  &lt;li&gt;USB hardware&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The kernel may buffer, queue, prioritize, or cache I/O requests to improve performance.&lt;/p&gt;

&lt;p&gt;For example, an application may consider a file-write operation complete before the data is physically written to storage. The kernel can temporarily cache the data and write it later.&lt;/p&gt;

&lt;p&gt;This improves performance, but it also explains why abruptly removing power or disconnecting a storage device can cause data loss.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;networking&quot;&gt;Networking&lt;/h2&gt;

&lt;p&gt;The kernel implements much of the operating system’s networking stack.&lt;/p&gt;

&lt;p&gt;Kernel networking responsibilities commonly include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Network interface management&lt;/li&gt;
  &lt;li&gt;IP addressing&lt;/li&gt;
  &lt;li&gt;Packet routing&lt;/li&gt;
  &lt;li&gt;TCP and UDP processing&lt;/li&gt;
  &lt;li&gt;Firewall filtering&lt;/li&gt;
  &lt;li&gt;Network namespaces&lt;/li&gt;
  &lt;li&gt;Socket management&lt;/li&gt;
  &lt;li&gt;Traffic queuing&lt;/li&gt;
  &lt;li&gt;Packet forwarding&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications typically communicate through sockets rather than sending raw commands directly to a network adapter.&lt;/p&gt;

&lt;p&gt;When a web browser connects to a website, the kernel helps create the socket, route the traffic, process network packets, and deliver the received data to the browser.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-and-access-control&quot;&gt;Security and Access Control&lt;/h2&gt;

&lt;p&gt;The kernel enforces many of the operating system’s fundamental security controls.&lt;/p&gt;

&lt;p&gt;These may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;User and group permissions&lt;/li&gt;
  &lt;li&gt;Process isolation&lt;/li&gt;
  &lt;li&gt;File access permissions&lt;/li&gt;
  &lt;li&gt;Authentication tokens&lt;/li&gt;
  &lt;li&gt;Security identifiers&lt;/li&gt;
  &lt;li&gt;Capability controls&lt;/li&gt;
  &lt;li&gt;Mandatory access controls&lt;/li&gt;
  &lt;li&gt;Device access restrictions&lt;/li&gt;
  &lt;li&gt;Network filtering&lt;/li&gt;
  &lt;li&gt;Memory protection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linux security technologies such as SELinux and AppArmor work with kernel-level enforcement mechanisms.&lt;/p&gt;

&lt;p&gt;Windows uses access tokens, security descriptors, access control lists, integrity levels, and other kernel-supported security mechanisms.&lt;/p&gt;

&lt;p&gt;Because the kernel enforces these controls, compromising the kernel can allow an attacker to bypass protections that would normally restrict user-mode applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kernel-architectures&quot;&gt;Kernel Architectures&lt;/h2&gt;

&lt;p&gt;Operating system kernels can be designed using several different architectural approaches.&lt;/p&gt;

&lt;p&gt;The most commonly discussed designs are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Monolithic kernels&lt;/li&gt;
  &lt;li&gt;Microkernels&lt;/li&gt;
  &lt;li&gt;Hybrid kernels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Real operating systems may combine characteristics from multiple designs, so these categories should be treated as general architectural models rather than rigid definitions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monolithic-kernels&quot;&gt;Monolithic Kernels&lt;/h2&gt;

&lt;p&gt;A monolithic kernel places many operating system services inside kernel space.&lt;/p&gt;

&lt;p&gt;These services may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Process scheduling&lt;/li&gt;
  &lt;li&gt;Memory management&lt;/li&gt;
  &lt;li&gt;File systems&lt;/li&gt;
  &lt;li&gt;Networking&lt;/li&gt;
  &lt;li&gt;Device drivers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The components can communicate efficiently because they operate within the same privileged address space.&lt;/p&gt;

&lt;p&gt;Advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;High performance&lt;/li&gt;
  &lt;li&gt;Efficient communication between components&lt;/li&gt;
  &lt;li&gt;Direct access to kernel services&lt;/li&gt;
  &lt;li&gt;Mature driver support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Potential disadvantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A larger privileged codebase&lt;/li&gt;
  &lt;li&gt;Reduced fault isolation&lt;/li&gt;
  &lt;li&gt;Driver failures that can crash the system&lt;/li&gt;
  &lt;li&gt;Greater security impact from kernel vulnerabilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linux is generally described as a monolithic kernel with support for loadable kernel modules.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;loadable-kernel-modules&quot;&gt;Loadable Kernel Modules&lt;/h2&gt;

&lt;p&gt;A loadable kernel module adds functionality to a running kernel without requiring the entire kernel to be rebuilt or the system to be restarted.&lt;/p&gt;

&lt;p&gt;Modules may provide:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Device drivers&lt;/li&gt;
  &lt;li&gt;File-system support&lt;/li&gt;
  &lt;li&gt;Network features&lt;/li&gt;
  &lt;li&gt;Security functionality&lt;/li&gt;
  &lt;li&gt;Virtualization support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Linux, view currently loaded modules with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;lsmod&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Display information about a module with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;modinfo module_name&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Load a module with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo modprobe module_name&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Remove an unused module with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo modprobe -r module_name&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Removing a module that is actively supporting hardware or a file system can disrupt the system, so module changes should be performed carefully.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;microkernels&quot;&gt;Microkernels&lt;/h2&gt;

&lt;p&gt;A microkernel keeps only a small set of essential functions in kernel space.&lt;/p&gt;

&lt;p&gt;These typically include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Basic scheduling&lt;/li&gt;
  &lt;li&gt;Low-level memory management&lt;/li&gt;
  &lt;li&gt;Interprocess communication&lt;/li&gt;
  &lt;li&gt;Interrupt handling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other services, such as drivers and file systems, may run as separate user-mode processes.&lt;/p&gt;

&lt;p&gt;Advantages can include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Better fault isolation&lt;/li&gt;
  &lt;li&gt;A smaller privileged codebase&lt;/li&gt;
  &lt;li&gt;Improved modularity&lt;/li&gt;
  &lt;li&gt;Easier replacement of components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Potential disadvantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Additional communication overhead&lt;/li&gt;
  &lt;li&gt;More transitions between processes&lt;/li&gt;
  &lt;li&gt;Increased implementation complexity&lt;/li&gt;
  &lt;li&gt;Possible performance trade-offs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Examples of systems associated with microkernel designs include QNX, MINIX 3, and systems based on the Mach family of microkernels.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;hybrid-kernels&quot;&gt;Hybrid Kernels&lt;/h2&gt;

&lt;p&gt;A hybrid kernel combines concepts from monolithic and microkernel architectures.&lt;/p&gt;

&lt;p&gt;The design may use modular components and microkernel-inspired structures while retaining important services in kernel mode for performance.&lt;/p&gt;

&lt;p&gt;Windows NT is commonly described as using a hybrid architecture. Its kernel-mode environment includes the low-level kernel, the executive, the hardware abstraction layer, and kernel-mode drivers.&lt;/p&gt;

&lt;p&gt;Apple’s XNU kernel also combines technologies derived from Mach with BSD components and the I/O Kit driver framework.&lt;/p&gt;

&lt;p&gt;The exact classification of a kernel may vary depending on which architectural characteristics are emphasized.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-linux-kernel&quot;&gt;The Linux Kernel&lt;/h2&gt;

&lt;p&gt;The Linux kernel is open source and used across a wide range of platforms.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Servers&lt;/li&gt;
  &lt;li&gt;Desktop computers&lt;/li&gt;
  &lt;li&gt;Cloud infrastructure&lt;/li&gt;
  &lt;li&gt;Android devices&lt;/li&gt;
  &lt;li&gt;Network appliances&lt;/li&gt;
  &lt;li&gt;Embedded systems&lt;/li&gt;
  &lt;li&gt;Supercomputers&lt;/li&gt;
  &lt;li&gt;Containers&lt;/li&gt;
  &lt;li&gt;Internet of Things devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linux uses a monolithic architecture with support for dynamically loadable modules.&lt;/p&gt;

&lt;p&gt;Major Linux kernel subsystems include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Process scheduling&lt;/li&gt;
  &lt;li&gt;Virtual memory&lt;/li&gt;
  &lt;li&gt;Networking&lt;/li&gt;
  &lt;li&gt;File systems&lt;/li&gt;
  &lt;li&gt;Device drivers&lt;/li&gt;
  &lt;li&gt;Security modules&lt;/li&gt;
  &lt;li&gt;Control groups&lt;/li&gt;
  &lt;li&gt;Namespaces&lt;/li&gt;
  &lt;li&gt;Virtualization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The official &lt;a href=&quot;https://docs.kernel.org/&quot;&gt;Linux Kernel Documentation&lt;/a&gt; provides detailed information about these subsystems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-windows-kernel&quot;&gt;The Windows Kernel&lt;/h2&gt;

&lt;p&gt;Modern Windows operating systems are based on the Windows NT architecture.&lt;/p&gt;

&lt;p&gt;Important kernel-mode components include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The Windows kernel&lt;/li&gt;
  &lt;li&gt;The executive&lt;/li&gt;
  &lt;li&gt;The Hardware Abstraction Layer&lt;/li&gt;
  &lt;li&gt;Kernel-mode drivers&lt;/li&gt;
  &lt;li&gt;The windowing and graphics subsystem&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Windows executive provides services related to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Process and thread management&lt;/li&gt;
  &lt;li&gt;Memory management&lt;/li&gt;
  &lt;li&gt;Input and output&lt;/li&gt;
  &lt;li&gt;Security&lt;/li&gt;
  &lt;li&gt;Object management&lt;/li&gt;
  &lt;li&gt;Plug and Play&lt;/li&gt;
  &lt;li&gt;Power management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Hardware Abstraction Layer provides a consistent interface between Windows and platform-specific hardware.&lt;/p&gt;

&lt;p&gt;Microsoft documents these concepts in the &lt;a href=&quot;https://learn.microsoft.com/windows-hardware/drivers/kernel/&quot;&gt;Windows Kernel-Mode Driver Architecture Guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-macos-kernel&quot;&gt;The macOS Kernel&lt;/h2&gt;

&lt;p&gt;macOS uses the XNU kernel.&lt;/p&gt;

&lt;p&gt;XNU combines:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mach components&lt;/li&gt;
  &lt;li&gt;BSD components&lt;/li&gt;
  &lt;li&gt;The I/O Kit driver framework&lt;/li&gt;
  &lt;li&gt;Apple-specific technologies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Mach contributes low-level functionality such as scheduling, interprocess communication, and virtual memory.&lt;/p&gt;

&lt;p&gt;The BSD layer provides many UNIX-compatible services, including networking, process models, permissions, and file-system interfaces.&lt;/p&gt;

&lt;p&gt;The I/O Kit provides an object-oriented framework for device drivers.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-kernel-during-startup&quot;&gt;The Kernel During Startup&lt;/h2&gt;

&lt;p&gt;The kernel is loaded early in the boot process.&lt;/p&gt;

&lt;p&gt;A simplified startup sequence is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The computer firmware initializes the hardware.&lt;/li&gt;
  &lt;li&gt;The firmware locates a bootloader.&lt;/li&gt;
  &lt;li&gt;The bootloader loads the kernel into memory.&lt;/li&gt;
  &lt;li&gt;The kernel initializes processor and memory management.&lt;/li&gt;
  &lt;li&gt;The kernel detects hardware.&lt;/li&gt;
  &lt;li&gt;Required drivers are loaded.&lt;/li&gt;
  &lt;li&gt;Storage and the root file system become available.&lt;/li&gt;
  &lt;li&gt;The kernel starts the first user-space process.&lt;/li&gt;
  &lt;li&gt;System services and applications begin loading.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On many Linux systems, the first user-space process is &lt;strong&gt;systemd&lt;/strong&gt; and receives process identifier 1.&lt;/p&gt;

&lt;p&gt;Although the exact sequence differs between operating systems, the kernel must be initialized before normal applications can run.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kernel-versions&quot;&gt;Kernel Versions&lt;/h2&gt;

&lt;p&gt;Kernel version numbers help identify the exact kernel build running on a system.&lt;/p&gt;

&lt;p&gt;Kernel updates may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Security corrections&lt;/li&gt;
  &lt;li&gt;Hardware support&lt;/li&gt;
  &lt;li&gt;Driver updates&lt;/li&gt;
  &lt;li&gt;Performance improvements&lt;/li&gt;
  &lt;li&gt;File-system changes&lt;/li&gt;
  &lt;li&gt;Networking enhancements&lt;/li&gt;
  &lt;li&gt;Bug fixes&lt;/li&gt;
  &lt;li&gt;New operating system features&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A newer kernel is not automatically better for every environment. Enterprise systems may use older long-term support kernels that receive security and stability fixes without introducing every newer feature.&lt;/p&gt;

&lt;p&gt;This approach can reduce operational risk while maintaining security support.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;check-the-linux-kernel-version&quot;&gt;Check the Linux Kernel Version&lt;/h2&gt;

&lt;p&gt;To display the current Linux kernel release, run:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;uname -r&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For additional system information, run:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;uname -a&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can also display kernel build information with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cat /proc/version&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;On a system using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;systemd&lt;/code&gt;, view kernel messages from the current boot with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;journalctl -k&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Display the kernel ring buffer with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo dmesg&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Access to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dmesg&lt;/code&gt; may be restricted to privileged users on hardened systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;check-windows-kernel-and-operating-system-information&quot;&gt;Check Windows Kernel and Operating System Information&lt;/h2&gt;

&lt;p&gt;Windows does not normally present its kernel as an independently selected package in the same way many Linux distributions do.&lt;/p&gt;

&lt;p&gt;To display Windows version and build information from PowerShell, run:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**Get-ComputerInfo&lt;/td&gt;
      &lt;td&gt;Select-Object WindowsProductName, WindowsVersion, OsBuildNumber**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Another option is:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**Get-CimInstance Win32_OperatingSystem&lt;/td&gt;
      &lt;td&gt;Select-Object Caption, Version, BuildNumber**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;To list installed drivers, run:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;driverquery&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can also open &lt;strong&gt;System Information&lt;/strong&gt; by running:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;msinfo32&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kernel-logs&quot;&gt;Kernel Logs&lt;/h2&gt;

&lt;p&gt;Kernel logs are valuable when troubleshooting:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Driver failures&lt;/li&gt;
  &lt;li&gt;Storage errors&lt;/li&gt;
  &lt;li&gt;Memory problems&lt;/li&gt;
  &lt;li&gt;Network adapter issues&lt;/li&gt;
  &lt;li&gt;Boot failures&lt;/li&gt;
  &lt;li&gt;Hardware detection&lt;/li&gt;
  &lt;li&gt;File-system corruption&lt;/li&gt;
  &lt;li&gt;Security denials&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Linux, useful commands include:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo dmesg&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;journalctl -k&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;journalctl -k -b&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;-b&lt;/strong&gt; option limits the results to the current boot.&lt;/p&gt;

&lt;p&gt;On Windows, kernel and driver-related events may appear in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Event Viewer&lt;/li&gt;
  &lt;li&gt;System logs&lt;/li&gt;
  &lt;li&gt;Windows Error Reporting&lt;/li&gt;
  &lt;li&gt;Reliability Monitor&lt;/li&gt;
  &lt;li&gt;Memory dump files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open Event Viewer with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;eventvwr.msc&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open Reliability Monitor with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;perfmon /rel&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kernel-panics-and-stop-errors&quot;&gt;Kernel Panics and Stop Errors&lt;/h2&gt;

&lt;p&gt;A critical kernel failure prevents the operating system from continuing safely.&lt;/p&gt;

&lt;p&gt;On Linux and other UNIX-like systems, this may be called a kernel panic.&lt;/p&gt;

&lt;p&gt;On Windows, it normally appears as a stop error or Blue Screen of Death.&lt;/p&gt;

&lt;p&gt;Common causes include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Defective drivers&lt;/li&gt;
  &lt;li&gt;Failing memory&lt;/li&gt;
  &lt;li&gt;Storage corruption&lt;/li&gt;
  &lt;li&gt;Kernel bugs&lt;/li&gt;
  &lt;li&gt;Unsupported hardware&lt;/li&gt;
  &lt;li&gt;Faulty firmware&lt;/li&gt;
  &lt;li&gt;Security software&lt;/li&gt;
  &lt;li&gt;Overclocking&lt;/li&gt;
  &lt;li&gt;Damaged system files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because kernel-mode components have extensive privileges, an unrecoverable failure may require the operating system to stop immediately to prevent additional corruption.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-driver-problems-can-crash-a-system&quot;&gt;Why Driver Problems Can Crash a System&lt;/h2&gt;

&lt;p&gt;Many hardware drivers run in kernel mode.&lt;/p&gt;

&lt;p&gt;A driver may therefore be able to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Access protected memory&lt;/li&gt;
  &lt;li&gt;Respond to hardware interrupts&lt;/li&gt;
  &lt;li&gt;Execute privileged instructions&lt;/li&gt;
  &lt;li&gt;Communicate directly with devices&lt;/li&gt;
  &lt;li&gt;Modify kernel-managed data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An invalid memory operation in an ordinary application usually crashes only the application.&lt;/p&gt;

&lt;p&gt;A similar error in a kernel-mode driver can corrupt critical operating system memory and crash the entire system.&lt;/p&gt;

&lt;p&gt;This is why driver signing, compatibility testing, update controls, and staged deployment are important in production environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kernel-security&quot;&gt;Kernel Security&lt;/h2&gt;

&lt;p&gt;The kernel is a high-value target because it controls the operating system’s most privileged resources.&lt;/p&gt;

&lt;p&gt;Kernel security protections may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Kernel Address Space Layout Randomization&lt;/li&gt;
  &lt;li&gt;Driver signing&lt;/li&gt;
  &lt;li&gt;Secure Boot integration&lt;/li&gt;
  &lt;li&gt;Memory execution protections&lt;/li&gt;
  &lt;li&gt;Control-flow protections&lt;/li&gt;
  &lt;li&gt;Module signature verification&lt;/li&gt;
  &lt;li&gt;Mandatory access controls&lt;/li&gt;
  &lt;li&gt;Reduced kernel attack surfaces&lt;/li&gt;
  &lt;li&gt;Hardware-assisted virtualization protections&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Administrators should keep kernels and drivers updated because a kernel vulnerability may allow an attacker to elevate privileges or bypass operating system security boundaries.&lt;/p&gt;

&lt;p&gt;Kernel updates should still be tested before widespread production deployment, particularly when they introduce major driver or hardware changes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;containers-and-the-kernel&quot;&gt;Containers and the Kernel&lt;/h2&gt;

&lt;p&gt;Containers provide isolated user-space environments, but they normally share the host operating system’s kernel.&lt;/p&gt;

&lt;p&gt;Linux container technologies rely heavily on kernel features such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Namespaces&lt;/li&gt;
  &lt;li&gt;Control groups&lt;/li&gt;
  &lt;li&gt;Capabilities&lt;/li&gt;
  &lt;li&gt;Seccomp&lt;/li&gt;
  &lt;li&gt;Overlay file systems&lt;/li&gt;
  &lt;li&gt;Virtual networking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This differs from a traditional virtual machine, which normally runs its own guest operating system and kernel.&lt;/p&gt;

&lt;p&gt;Because containers share the host kernel:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;They are generally lightweight.&lt;/li&gt;
  &lt;li&gt;They can start quickly.&lt;/li&gt;
  &lt;li&gt;They use fewer resources than full virtual machines.&lt;/li&gt;
  &lt;li&gt;A host-kernel vulnerability may affect multiple containers.&lt;/li&gt;
  &lt;li&gt;Containers must be compatible with the host kernel family.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A Linux container normally requires a Linux kernel, while a Windows container requires a compatible Windows kernel environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;virtual-machines-and-the-kernel&quot;&gt;Virtual Machines and the Kernel&lt;/h2&gt;

&lt;p&gt;A virtual machine usually contains its own operating system and kernel.&lt;/p&gt;

&lt;p&gt;The virtualization platform provides virtual hardware, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Virtual processors&lt;/li&gt;
  &lt;li&gt;Virtual memory&lt;/li&gt;
  &lt;li&gt;Virtual disks&lt;/li&gt;
  &lt;li&gt;Virtual network adapters&lt;/li&gt;
  &lt;li&gt;Virtual controllers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The guest kernel manages these virtual devices similarly to physical hardware.&lt;/p&gt;

&lt;p&gt;This separation allows different operating systems and kernels to run on the same physical host.&lt;/p&gt;

&lt;p&gt;For example, a physical server may simultaneously host virtual machines running:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Windows Server&lt;/li&gt;
  &lt;li&gt;Red Hat Enterprise Linux&lt;/li&gt;
  &lt;li&gt;Ubuntu&lt;/li&gt;
  &lt;li&gt;FreeBSD&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each virtual machine operates with its own kernel and user space.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-understanding-kernels-matters&quot;&gt;Why Understanding Kernels Matters&lt;/h2&gt;

&lt;p&gt;Kernel knowledge is useful for system administrators, developers, security professionals, and support engineers.&lt;/p&gt;

&lt;p&gt;It helps explain:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Why drivers can crash an entire computer.&lt;/li&gt;
  &lt;li&gt;Why applications cannot directly access hardware.&lt;/li&gt;
  &lt;li&gt;How containers differ from virtual machines.&lt;/li&gt;
  &lt;li&gt;Why kernel updates may require restarts.&lt;/li&gt;
  &lt;li&gt;How processes share processor resources.&lt;/li&gt;
  &lt;li&gt;Why low memory causes performance problems.&lt;/li&gt;
  &lt;li&gt;How system calls connect applications to the operating system.&lt;/li&gt;
  &lt;li&gt;Why kernel vulnerabilities are particularly serious.&lt;/li&gt;
  &lt;li&gt;How operating systems isolate applications.&lt;/li&gt;
  &lt;li&gt;Where to look when troubleshooting hardware and driver problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You do not need to be a kernel developer to benefit from understanding its role.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;practical-kernel-administration-guidelines&quot;&gt;Practical Kernel Administration Guidelines&lt;/h2&gt;

&lt;p&gt;When maintaining production systems:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install supported kernel security updates.&lt;/li&gt;
  &lt;li&gt;Test major kernel changes before broad deployment.&lt;/li&gt;
  &lt;li&gt;Use vendor-supported drivers.&lt;/li&gt;
  &lt;li&gt;Remove unnecessary kernel modules.&lt;/li&gt;
  &lt;li&gt;Monitor kernel and system logs.&lt;/li&gt;
  &lt;li&gt;Maintain current backups.&lt;/li&gt;
  &lt;li&gt;Confirm hardware compatibility.&lt;/li&gt;
  &lt;li&gt;Avoid loading untrusted kernel code.&lt;/li&gt;
  &lt;li&gt;Stage driver and security software updates.&lt;/li&gt;
  &lt;li&gt;Keep recovery media available.&lt;/li&gt;
  &lt;li&gt;Document the previous working kernel version.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Linux bootloaders commonly retain one or more previous kernels. This can provide a recovery option when a newly installed kernel creates a compatibility problem.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The kernel is the privileged core of an operating system. It manages processors, memory, devices, file systems, networking, security controls, and communication between applications and hardware.&lt;/p&gt;

&lt;p&gt;Applications normally run in restricted user mode and request privileged services through system calls. The kernel validates those requests and performs the necessary operations while protecting the rest of the system.&lt;/p&gt;

&lt;p&gt;Although kernel architectures differ, every modern operating system depends on a kernel to control resources, isolate applications, and maintain system stability. Understanding this role makes it easier to troubleshoot operating systems, evaluate security risks, manage updates, and understand technologies such as containers and virtual machines.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.kernel.org/&quot;&gt;Linux Kernel Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.kernel.org/userspace-api/index.html&quot;&gt;Linux Kernel User-Space API Guide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.kernel.org/admin-guide/index.html&quot;&gt;Linux Kernel Administration Guide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-hardware/drivers/gettingstarted/user-mode-and-kernel-mode&quot;&gt;Microsoft User Mode and Kernel Mode&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-hardware/drivers/kernel/&quot;&gt;Microsoft Kernel-Mode Driver Architecture Guide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-hardware/drivers/kernel/types-of-windows-drivers&quot;&gt;Microsoft Types of Windows Drivers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.freebsd.org/en/books/arch-handbook/&quot;&gt;FreeBSD Architecture Handbook&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html&quot;&gt;GNU Mach Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 09 May 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/windows/understanding-kernels/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/windows/understanding-kernels/</guid>
        
        <category>operating-systems</category>
        
        <category>linux</category>
        
        <category>windows</category>
        
        
        <category>Linux</category>
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Batocera - Adding Cheats</title>
        <description>&lt;p&gt;Batocera makes it possible to use cheat codes with many classic console games through the cheat system included with RetroArch. Cheats can provide infinite lives, unlimited health, additional currency, unlocked levels, and other game-specific modifications.&lt;/p&gt;

&lt;p&gt;The easiest method is to install Batocera’s downloadable cheat database and then load the appropriate cheat file from the RetroArch Quick Menu. You can also import your own &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; files or manually enter individual codes that are not included in the database.&lt;/p&gt;

&lt;p&gt;Cheat support depends on the emulator, selected core, game region, and ROM revision. The process in this guide primarily applies to games running through a Libretro core.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through downloading the Batocera cheat database, loading cheats for a specific game, enabling individual codes, adding custom cheat files, and troubleshooting common compatibility problems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#before-you-begin&quot; id=&quot;markdown-toc-before-you-begin&quot;&gt;Before You Begin&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#download-the-batocera-cheat-database&quot; id=&quot;markdown-toc-download-the-batocera-cheat-database&quot;&gt;Download the Batocera Cheat Database&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#update-an-existing-cheat-database&quot; id=&quot;markdown-toc-update-an-existing-cheat-database&quot;&gt;Update an Existing Cheat Database&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#launch-the-game&quot; id=&quot;markdown-toc-launch-the-game&quot;&gt;Launch the Game&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#open-the-retroarch-quick-menu&quot; id=&quot;markdown-toc-open-the-retroarch-quick-menu&quot;&gt;Open the RetroArch Quick Menu&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#open-the-cheats-menu&quot; id=&quot;markdown-toc-open-the-cheats-menu&quot;&gt;Open the Cheats Menu&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#select-the-games-cheat-file&quot; id=&quot;markdown-toc-select-the-games-cheat-file&quot;&gt;Select the Game’s Cheat File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enable-individual-cheats&quot; id=&quot;markdown-toc-enable-individual-cheats&quot;&gt;Enable Individual Cheats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#automatically-apply-enabled-cheats&quot; id=&quot;markdown-toc-automatically-apply-enabled-cheats&quot;&gt;Automatically Apply Enabled Cheats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#save-the-cheat-configuration&quot; id=&quot;markdown-toc-save-the-cheat-configuration&quot;&gt;Save the Cheat Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#add-a-cheat-code-manually&quot; id=&quot;markdown-toc-add-a-cheat-code-manually&quot;&gt;Add a Cheat Code Manually&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#add-custom-cheat-files&quot; id=&quot;markdown-toc-add-custom-cheat-files&quot;&gt;Add Custom Cheat Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#locate-the-batocera-ip-address&quot; id=&quot;markdown-toc-locate-the-batocera-ip-address&quot;&gt;Locate the Batocera IP Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#search-for-a-cheat-using-memory-values&quot; id=&quot;markdown-toc-search-for-a-cheat-using-memory-values&quot;&gt;Search for a Cheat Using Memory Values&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#libretro-cores-versus-standalone-emulators&quot; id=&quot;markdown-toc-libretro-cores-versus-standalone-emulators&quot;&gt;Libretro Cores Versus Standalone Emulators&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting-missing-cheats&quot; id=&quot;markdown-toc-troubleshooting-missing-cheats&quot;&gt;Troubleshooting Missing Cheats&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting-cheats-that-do-not-work&quot; id=&quot;markdown-toc-troubleshooting-cheats-that-do-not-work&quot;&gt;Troubleshooting Cheats That Do Not Work&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting-retroarch-menu-access&quot; id=&quot;markdown-toc-troubleshooting-retroarch-menu-access&quot;&gt;Troubleshooting RetroArch Menu Access&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cheat-safety-recommendations&quot; id=&quot;markdown-toc-cheat-safety-recommendations&quot;&gt;Cheat Safety Recommendations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;before-you-begin&quot;&gt;Before You Begin&lt;/h2&gt;

&lt;p&gt;Before installing cheats, confirm that Batocera has an active Internet connection.&lt;/p&gt;

&lt;p&gt;You should also consider backing up your game saves and save states. Some cheat codes directly modify game memory and may cause:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Game crashes&lt;/li&gt;
  &lt;li&gt;Corrupted save files&lt;/li&gt;
  &lt;li&gt;Broken progression&lt;/li&gt;
  &lt;li&gt;Unexpected gameplay behavior&lt;/li&gt;
  &lt;li&gt;Conflicts with other enabled cheats&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Enable one cheat at a time whenever possible. This makes it easier to identify the source of a problem.&lt;/p&gt;

&lt;p&gt;Cheats should generally be limited to offline and single-player gameplay.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;download-the-batocera-cheat-database&quot;&gt;Download the Batocera Cheat Database&lt;/h2&gt;

&lt;p&gt;Recent Batocera releases distribute the Libretro cheat database through the Content Downloader instead of including the complete database in the operating system image.&lt;/p&gt;

&lt;p&gt;From the Batocera home screen:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Updates &amp;amp; Downloads&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Content Downloader&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Scroll to the &lt;strong&gt;Misc&lt;/strong&gt; section.&lt;/li&gt;
  &lt;li&gt;Locate the available Libretro or RetroArch cheat database.&lt;/li&gt;
  &lt;li&gt;Select the package and confirm the installation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Batocera will download and install the available cheat files.&lt;/p&gt;

&lt;p&gt;The package name and category placement may differ slightly depending on the installed Batocera version.&lt;/p&gt;

&lt;p&gt;More information about the downloader is available in the &lt;a href=&quot;https://wiki.batocera.org/content_downloader&quot;&gt;Batocera Content Downloader documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;update-an-existing-cheat-database&quot;&gt;Update an Existing Cheat Database&lt;/h2&gt;

&lt;p&gt;Batocera can also update previously installed Content Downloader packages.&lt;/p&gt;

&lt;p&gt;To update your cheat database:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Updates &amp;amp; Downloads&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Content Downloader&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Scroll to the bottom of the package list.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Update Installed Content&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Updating the database may add cheat files for additional games or correct existing codes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;launch-the-game&quot;&gt;Launch the Game&lt;/h2&gt;

&lt;p&gt;After installing the cheat database, return to your game collection and launch the game you want to modify.&lt;/p&gt;

&lt;p&gt;For the most consistent results, the game should use a Libretro emulator core. You can review or change the selected emulator by opening the game’s advanced settings from the Batocera interface.&lt;/p&gt;

&lt;p&gt;Allow the game to load completely before opening the RetroArch menu.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;open-the-retroarch-quick-menu&quot;&gt;Open the RetroArch Quick Menu&lt;/h2&gt;

&lt;p&gt;While the game is running, press:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hotkey + South Button&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The south button is normally:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;B&lt;/strong&gt; on an Xbox-style controller&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cross&lt;/strong&gt; on a PlayStation-style controller&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A&lt;/strong&gt; on a Nintendo-style controller&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The exact button labels depend on the controller and how it was mapped in Batocera.&lt;/p&gt;

&lt;p&gt;This shortcut should open the RetroArch Quick Menu. Batocera documents this shortcut as the hotkey combined with the controller’s south face button.&lt;/p&gt;

&lt;p&gt;For additional shortcuts, see the &lt;a href=&quot;https://wiki.batocera.org/basic_commands&quot;&gt;Batocera Hotkey documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;open-the-cheats-menu&quot;&gt;Open the Cheats Menu&lt;/h2&gt;

&lt;p&gt;From the RetroArch Quick Menu:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select &lt;strong&gt;Cheats&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Load Cheat File (Replace)&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;strong&gt;Replace&lt;/strong&gt; option clears any cheats currently loaded and replaces them with the selected cheat file.&lt;/p&gt;

&lt;p&gt;Some RetroArch versions also provide &lt;strong&gt;Load Cheat File (Append)&lt;/strong&gt;. The &lt;strong&gt;Append&lt;/strong&gt; option adds another cheat file without removing cheats that are already loaded.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;select-the-games-cheat-file&quot;&gt;Select the Game’s Cheat File&lt;/h2&gt;

&lt;p&gt;After selecting &lt;strong&gt;Load Cheat File (Replace)&lt;/strong&gt;, browse through the cheat database.&lt;/p&gt;

&lt;p&gt;The directory structure is normally organized by gaming system or emulator.&lt;/p&gt;

&lt;p&gt;For example, you may see folders for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Nintendo Entertainment System&lt;/li&gt;
  &lt;li&gt;Super Nintendo Entertainment System&lt;/li&gt;
  &lt;li&gt;Game Boy&lt;/li&gt;
  &lt;li&gt;Game Boy Advance&lt;/li&gt;
  &lt;li&gt;Sega Genesis&lt;/li&gt;
  &lt;li&gt;PlayStation&lt;/li&gt;
  &lt;li&gt;Arcade systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open the appropriate system folder and locate the cheat file that matches your game.&lt;/p&gt;

&lt;p&gt;Pay close attention to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Game title&lt;/li&gt;
  &lt;li&gt;Region&lt;/li&gt;
  &lt;li&gt;Revision&lt;/li&gt;
  &lt;li&gt;Language&lt;/li&gt;
  &lt;li&gt;Platform&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A cheat created for a North American release may not work with a European or Japanese release of the same game. Different revisions of a game can also use different memory addresses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enable-individual-cheats&quot;&gt;Enable Individual Cheats&lt;/h2&gt;

&lt;p&gt;After loading the file, return to the &lt;strong&gt;Cheats&lt;/strong&gt; menu. The available codes should now appear in the list.&lt;/p&gt;

&lt;p&gt;To enable a code:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select the cheat description.&lt;/li&gt;
  &lt;li&gt;Change &lt;strong&gt;Enabled&lt;/strong&gt; to &lt;strong&gt;On&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Return to the main Cheats menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Apply Changes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Resume the game and test the cheat.&lt;/p&gt;

&lt;p&gt;Some codes take effect immediately. Others require you to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Restart the level.&lt;/li&gt;
  &lt;li&gt;Lose or gain a life.&lt;/li&gt;
  &lt;li&gt;Enter another area.&lt;/li&gt;
  &lt;li&gt;Open an inventory screen.&lt;/li&gt;
  &lt;li&gt;Reset the game.&lt;/li&gt;
  &lt;li&gt;Reload a save.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Avoid enabling a large group of cheats simultaneously. Multiple codes may attempt to modify the same memory area and conflict with one another.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;automatically-apply-enabled-cheats&quot;&gt;Automatically Apply Enabled Cheats&lt;/h2&gt;

&lt;p&gt;Depending on the RetroArch version, the Cheats menu may include options such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Auto-Apply Cheats During Game Load&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apply After Toggle&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apply Changes&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Enabling automatic application can reduce the need to manually select &lt;strong&gt;Apply Changes&lt;/strong&gt; after every adjustment.&lt;/p&gt;

&lt;p&gt;Batocera also supports the following advanced RetroArch settings:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;global.retroarch.apply_cheats_after_load=true&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;global.retroarch.apply_cheats_after_toggle=true&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;These settings can be added to:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/userdata/system/batocera.conf&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The first setting applies loaded cheats after the game starts. The second applies changes after a cheat is enabled or disabled.&lt;/p&gt;

&lt;p&gt;Review the &lt;a href=&quot;https://wiki.batocera.org/advanced_retroarch_settings&quot;&gt;Batocera Advanced RetroArch Settings documentation&lt;/a&gt; before modifying &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;batocera.conf&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;save-the-cheat-configuration&quot;&gt;Save the Cheat Configuration&lt;/h2&gt;

&lt;p&gt;Enabled cheats may only remain active for the current gaming session unless the configuration is saved.&lt;/p&gt;

&lt;p&gt;Depending on the RetroArch version and core, the Cheats menu may provide options such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Save Cheat File As&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Save Game-Specific Cheat File&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Auto-Apply Cheats During Game Load&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use a game-specific cheat file when available. This helps prevent the selected cheats from being applied to unrelated games that use the same emulator core.&lt;/p&gt;

&lt;p&gt;After saving, exit the game normally and launch it again to confirm that the desired codes are loaded and applied.&lt;/p&gt;

&lt;p&gt;Menu labels may vary between RetroArch versions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-a-cheat-code-manually&quot;&gt;Add a Cheat Code Manually&lt;/h2&gt;

&lt;p&gt;You can manually create a cheat when the desired code is not included in the downloaded database.&lt;/p&gt;

&lt;p&gt;While the game is running:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the RetroArch Quick Menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Cheats&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Add New Code to Top&lt;/strong&gt; or &lt;strong&gt;Add New Code to Bottom&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Open the newly created cheat entry.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Description&lt;/strong&gt; and enter a recognizable name.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Code&lt;/strong&gt; and enter the cheat code.&lt;/li&gt;
  &lt;li&gt;Set &lt;strong&gt;Enabled&lt;/strong&gt; to &lt;strong&gt;On&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Return to the Cheats menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Apply Changes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code format must be supported by the selected emulator core. Codes from Game Genie, Action Replay, GameShark, or other cheat systems are not automatically interchangeable.&lt;/p&gt;

&lt;p&gt;Libretro provides additional details in its &lt;a href=&quot;https://docs.libretro.com/guides/cheat-codes/&quot;&gt;RetroArch Cheat and Rumble Codes documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-custom-cheat-files&quot;&gt;Add Custom Cheat Files&lt;/h2&gt;

&lt;p&gt;RetroArch cheat files normally use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; file extension.&lt;/p&gt;

&lt;p&gt;Custom files can be stored in Batocera’s user-accessible cheats directory:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/userdata/cheats&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;From another Windows computer, the same directory may be available through the Batocera network share:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;\\BATOCERA\share\cheats&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can organize the files into subdirectories for each system.&lt;/p&gt;

&lt;p&gt;After copying a cheat file:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Launch the game.&lt;/li&gt;
  &lt;li&gt;Open the RetroArch Quick Menu.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Cheats&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Load Cheat File (Replace)&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Browse to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/userdata/cheats&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Select the appropriate &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; file.&lt;/li&gt;
  &lt;li&gt;Enable the desired codes.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Apply Changes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the Batocera hostname does not resolve from Windows, replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;BATOCERA&lt;/code&gt; with the system’s IP address.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;locate-the-batocera-ip-address&quot;&gt;Locate the Batocera IP Address&lt;/h2&gt;

&lt;p&gt;To view the Batocera IP address:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Network Settings&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Locate the current IP address.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can then access the network share from Windows using an address similar to:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;\\192.168.1.50\share\cheats&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Your actual IP address will be different.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;search-for-a-cheat-using-memory-values&quot;&gt;Search for a Cheat Using Memory Values&lt;/h2&gt;

&lt;p&gt;RetroArch can search the active game’s memory to help create new cheats.&lt;/p&gt;

&lt;p&gt;This is useful when you know a value such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Current number of lives&lt;/li&gt;
  &lt;li&gt;Health points&lt;/li&gt;
  &lt;li&gt;Ammunition&lt;/li&gt;
  &lt;li&gt;Currency&lt;/li&gt;
  &lt;li&gt;Experience points&lt;/li&gt;
  &lt;li&gt;Inventory quantity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The general process is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Start the game.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Quick Menu &amp;gt; Cheats&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Start or Continue Cheat Search&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose an appropriate memory size.&lt;/li&gt;
  &lt;li&gt;Begin the search.&lt;/li&gt;
  &lt;li&gt;Return to the game and change the value.&lt;/li&gt;
  &lt;li&gt;Search for values that are higher, lower, equal, or different.&lt;/li&gt;
  &lt;li&gt;Repeat the process until only a small number of matches remain.&lt;/li&gt;
  &lt;li&gt;Add the remaining matches to the cheat list.&lt;/li&gt;
  &lt;li&gt;Test each result individually.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Memory searching is an advanced process and may require several attempts before identifying the correct address.&lt;/p&gt;

&lt;p&gt;Save your progress before experimenting because an incorrect memory modification can freeze or crash the emulator.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;libretro-cores-versus-standalone-emulators&quot;&gt;Libretro Cores Versus Standalone Emulators&lt;/h2&gt;

&lt;p&gt;The procedure in this guide primarily applies to Libretro cores running through RetroArch.&lt;/p&gt;

&lt;p&gt;Standalone emulators may use completely separate cheat systems. Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Dolphin&lt;/li&gt;
  &lt;li&gt;PCSX2&lt;/li&gt;
  &lt;li&gt;PPSSPP&lt;/li&gt;
  &lt;li&gt;RPCS3&lt;/li&gt;
  &lt;li&gt;Cemu&lt;/li&gt;
  &lt;li&gt;Xemu&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For these emulators, the RetroArch Cheats menu will not be available because the game is not running inside RetroArch.&lt;/p&gt;

&lt;p&gt;You may need to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enable cheats in Batocera’s advanced game options.&lt;/li&gt;
  &lt;li&gt;Open the standalone emulator’s configuration interface.&lt;/li&gt;
  &lt;li&gt;Add a platform-specific cheat file.&lt;/li&gt;
  &lt;li&gt;Enable Action Replay, Gecko, patch, or emulator-specific codes.&lt;/li&gt;
  &lt;li&gt;Place cheat files in the emulator’s configuration directory.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Always confirm which emulator and core Batocera is using before troubleshooting.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting-missing-cheats&quot;&gt;Troubleshooting Missing Cheats&lt;/h2&gt;

&lt;p&gt;If no cheat files appear, verify the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Batocera is connected to the Internet.&lt;/li&gt;
  &lt;li&gt;The cheat database was installed from Content Downloader.&lt;/li&gt;
  &lt;li&gt;The database installation completed successfully.&lt;/li&gt;
  &lt;li&gt;The correct console directory was selected.&lt;/li&gt;
  &lt;li&gt;The game is running through a Libretro core.&lt;/li&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; files exist under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/userdata/cheats&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Batocera has been restarted after installing the database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also return to Content Downloader and select &lt;strong&gt;Update Installed Content&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting-cheats-that-do-not-work&quot;&gt;Troubleshooting Cheats That Do Not Work&lt;/h2&gt;

&lt;p&gt;A cheat may appear in the list but fail to affect the game.&lt;/p&gt;

&lt;p&gt;Common causes include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The cheat was not enabled.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apply Changes&lt;/strong&gt; was not selected.&lt;/li&gt;
  &lt;li&gt;The cheat requires a game restart.&lt;/li&gt;
  &lt;li&gt;The code is for a different region.&lt;/li&gt;
  &lt;li&gt;The code is for a different game revision.&lt;/li&gt;
  &lt;li&gt;The selected emulator core does not support the code.&lt;/li&gt;
  &lt;li&gt;Another enabled cheat conflicts with it.&lt;/li&gt;
  &lt;li&gt;The game is running through a standalone emulator.&lt;/li&gt;
  &lt;li&gt;The cheat database contains an outdated or incorrect code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disable all other cheats and test the code by itself.&lt;/p&gt;

&lt;p&gt;You can also try another Libretro core when Batocera provides multiple compatible cores for the same platform.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting-retroarch-menu-access&quot;&gt;Troubleshooting RetroArch Menu Access&lt;/h2&gt;

&lt;p&gt;If &lt;strong&gt;Hotkey + South Button&lt;/strong&gt; does not open RetroArch:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm that the game uses a Libretro core.&lt;/li&gt;
  &lt;li&gt;Verify the controller’s hotkey assignment.&lt;/li&gt;
  &lt;li&gt;Test the shortcut using player one’s controller.&lt;/li&gt;
  &lt;li&gt;Review the controller mapping in Batocera.&lt;/li&gt;
  &lt;li&gt;Try another compatible emulator core.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Batocera’s hotkey shortcuts are not supported identically by every emulator.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cheat-safety-recommendations&quot;&gt;Cheat Safety Recommendations&lt;/h2&gt;

&lt;p&gt;Follow these practices when using cheats:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Back up important save files.&lt;/li&gt;
  &lt;li&gt;Create a save state before enabling a code.&lt;/li&gt;
  &lt;li&gt;Enable one code at a time.&lt;/li&gt;
  &lt;li&gt;Avoid saving while an unstable cheat is active.&lt;/li&gt;
  &lt;li&gt;Do not mix codes from different game regions.&lt;/li&gt;
  &lt;li&gt;Disable cheats before troubleshooting normal gameplay problems.&lt;/li&gt;
  &lt;li&gt;Keep a copy of custom &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; files.&lt;/li&gt;
  &lt;li&gt;Test downloaded codes before relying on them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A cheat that works during one section of a game may cause problems later, especially when it modifies inventory, progression, or scripted events.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Batocera provides a straightforward method for adding cheats to games running through RetroArch. The recommended approach is to install the cheat database through Content Downloader, launch the game with a Libretro core, open the RetroArch Cheats menu, load the correct game file, and enable only the codes you need.&lt;/p&gt;

&lt;p&gt;Custom &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cht&lt;/code&gt; files and manually entered codes provide additional flexibility when a game is missing from the database. However, compatibility depends heavily on the game region, revision, emulator, and selected core.&lt;/p&gt;

&lt;p&gt;Back up your saves, test one code at a time, and remember that standalone emulators may require a completely different configuration process.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.batocera.org/content_downloader&quot;&gt;Batocera Content Downloader&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.batocera.org/basic_commands&quot;&gt;Batocera Hotkey Shortcuts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.batocera.org/advanced_retroarch_settings&quot;&gt;Batocera Advanced RetroArch Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.libretro.com/guides/cheat-codes/&quot;&gt;RetroArch Cheat and Rumble Codes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/libretro/libretro-database/tree/master/cht&quot;&gt;Libretro Cheat Database&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://batocera.org/&quot;&gt;Batocera Official Website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 02 May 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-cheats/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-cheats/</guid>
        
        <category>batocera</category>
        
        <category>retroarch</category>
        
        <category>cheats</category>
        
        <category>emulation</category>
        
        <category>retrogaming</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>Google AI Studio Review</title>
        <description>&lt;p&gt;Artificial intelligence has quickly become one of the most transformative technologies in recent years. While many AI platforms focus on APIs or enterprise integrations, &lt;strong&gt;Google AI Studio&lt;/strong&gt; provides a streamlined web interface for interacting with Google’s Gemini family of models and rapidly testing prompts before integrating them into applications.&lt;/p&gt;

&lt;p&gt;Whether you’re writing code, generating content, summarizing documents, or experimenting with multimodal AI, Google AI Studio offers an accessible platform that lowers the barrier to entry.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review Google AI Studio and evaluate its strengths, weaknesses, pricing, and ideal use cases.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-google-ai-studio&quot; id=&quot;markdown-toc-what-is-google-ai-studio&quot;&gt;What Is Google AI Studio?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ease-of-use&quot; id=&quot;markdown-toc-ease-of-use&quot;&gt;Ease of Use&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#supported-models&quot; id=&quot;markdown-toc-supported-models&quot;&gt;Supported Models&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#developer-experience&quot; id=&quot;markdown-toc-developer-experience&quot;&gt;Developer Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disadvantages&quot; id=&quot;markdown-toc-disadvantages&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pricing&quot; id=&quot;markdown-toc-pricing&quot;&gt;Pricing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-should-use-google-ai-studio&quot; id=&quot;markdown-toc-who-should-use-google-ai-studio&quot;&gt;Who Should Use Google AI Studio?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verdict&quot; id=&quot;markdown-toc-final-verdict&quot;&gt;Final Verdict&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-google-ai-studio&quot;&gt;What Is Google AI Studio?&lt;/h2&gt;

&lt;p&gt;Google AI Studio is a browser-based development environment for interacting with Google’s Gemini large language models. It allows developers to build prompts, test responses, generate API keys, and prototype AI-powered applications without managing complex infrastructure.&lt;/p&gt;

&lt;p&gt;Unlike traditional development environments, AI Studio focuses on experimentation and rapid iteration.&lt;/p&gt;

&lt;p&gt;Major capabilities include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Prompt engineering&lt;/li&gt;
  &lt;li&gt;Chat interfaces&lt;/li&gt;
  &lt;li&gt;Code generation&lt;/li&gt;
  &lt;li&gt;Image understanding&lt;/li&gt;
  &lt;li&gt;Multimodal inputs&lt;/li&gt;
  &lt;li&gt;API key management&lt;/li&gt;
  &lt;li&gt;Prompt tuning&lt;/li&gt;
  &lt;li&gt;Structured output testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Google AI Studio integrates directly with the Gemini API, making it easy to transition from experimentation to production development.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;Google AI Studio includes a variety of tools for developers and AI enthusiasts.&lt;/p&gt;

&lt;p&gt;Highlights include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Access to Google’s Gemini models&lt;/li&gt;
  &lt;li&gt;Browser-based interface&lt;/li&gt;
  &lt;li&gt;Prompt history&lt;/li&gt;
  &lt;li&gt;API testing&lt;/li&gt;
  &lt;li&gt;Streaming responses&lt;/li&gt;
  &lt;li&gt;Image upload support&lt;/li&gt;
  &lt;li&gt;Code generation&lt;/li&gt;
  &lt;li&gt;Function calling support&lt;/li&gt;
  &lt;li&gt;JSON response formatting&lt;/li&gt;
  &lt;li&gt;Adjustable generation parameters&lt;/li&gt;
  &lt;li&gt;Safety settings&lt;/li&gt;
  &lt;li&gt;Token usage monitoring&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These features make it an excellent playground for experimenting with AI applications before writing production code.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ease-of-use&quot;&gt;Ease of Use&lt;/h2&gt;

&lt;p&gt;One of AI Studio’s greatest strengths is its simplicity.&lt;/p&gt;

&lt;p&gt;After signing in with a Google account, users can begin interacting with Gemini models almost immediately.&lt;/p&gt;

&lt;p&gt;The interface makes it easy to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create new prompts&lt;/li&gt;
  &lt;li&gt;Upload images&lt;/li&gt;
  &lt;li&gt;Adjust model settings&lt;/li&gt;
  &lt;li&gt;Compare responses&lt;/li&gt;
  &lt;li&gt;Generate API keys&lt;/li&gt;
  &lt;li&gt;Export code snippets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Developers familiar with OpenAI Playground or Anthropic Console will feel right at home.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;supported-models&quot;&gt;Supported Models&lt;/h2&gt;

&lt;p&gt;Google AI Studio provides access to several Gemini models depending on availability.&lt;/p&gt;

&lt;p&gt;Common model categories include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Gemini Flash&lt;/li&gt;
  &lt;li&gt;Gemini Pro&lt;/li&gt;
  &lt;li&gt;Gemini Vision&lt;/li&gt;
  &lt;li&gt;Experimental preview models&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each model is optimized for different workloads, including speed, reasoning, coding, multimodal understanding, and cost efficiency.&lt;/p&gt;

&lt;p&gt;As Google releases new models, they often become available within AI Studio before wider production adoption.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;developer-experience&quot;&gt;Developer Experience&lt;/h2&gt;

&lt;p&gt;AI Studio is clearly designed with developers in mind.&lt;/p&gt;

&lt;p&gt;Helpful features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;REST API examples&lt;/li&gt;
  &lt;li&gt;Python examples&lt;/li&gt;
  &lt;li&gt;JavaScript examples&lt;/li&gt;
  &lt;li&gt;Prompt templates&lt;/li&gt;
  &lt;li&gt;API key management&lt;/li&gt;
  &lt;li&gt;Structured output testing&lt;/li&gt;
  &lt;li&gt;Function calling&lt;/li&gt;
  &lt;li&gt;Streaming support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The transition from prototype to application development is straightforward.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;Overall performance is excellent.&lt;/p&gt;

&lt;p&gt;Strengths include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fast response times&lt;/li&gt;
  &lt;li&gt;Modern interface&lt;/li&gt;
  &lt;li&gt;Stable browser experience&lt;/li&gt;
  &lt;li&gt;Excellent code generation&lt;/li&gt;
  &lt;li&gt;Strong multimodal capabilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Performance naturally depends on the selected Gemini model and current platform usage.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Google AI Studio offers several benefits.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Free tier available&lt;/li&gt;
  &lt;li&gt;Easy to learn&lt;/li&gt;
  &lt;li&gt;Excellent interface&lt;/li&gt;
  &lt;li&gt;Powerful Gemini models&lt;/li&gt;
  &lt;li&gt;Rapid prompt testing&lt;/li&gt;
  &lt;li&gt;Built-in API key management&lt;/li&gt;
  &lt;li&gt;Strong multimodal support&lt;/li&gt;
  &lt;li&gt;Excellent code generation&lt;/li&gt;
  &lt;li&gt;Google ecosystem integration&lt;/li&gt;
  &lt;li&gt;Frequent feature updates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disadvantages&quot;&gt;Disadvantages&lt;/h2&gt;

&lt;p&gt;Despite its strengths, there are some limitations.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Requires a Google account&lt;/li&gt;
  &lt;li&gt;Usage limits on free tier&lt;/li&gt;
  &lt;li&gt;Experimental models may change frequently&lt;/li&gt;
  &lt;li&gt;Some enterprise features require Google Cloud&lt;/li&gt;
  &lt;li&gt;Prompt organization could be improved&lt;/li&gt;
  &lt;li&gt;Regional availability may vary&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As with any rapidly evolving AI platform, features and model availability can change over time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pricing&quot;&gt;Pricing&lt;/h2&gt;

&lt;p&gt;Google AI Studio itself is free to use for experimentation within Google’s published usage limits.&lt;/p&gt;

&lt;p&gt;When moving into production, applications typically use the Gemini API, which follows Google’s API pricing model.&lt;/p&gt;

&lt;p&gt;Before deploying production workloads, review:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Free tier limits&lt;/li&gt;
  &lt;li&gt;Model pricing&lt;/li&gt;
  &lt;li&gt;Token costs&lt;/li&gt;
  &lt;li&gt;Rate limits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These factors vary depending on the selected Gemini model.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;who-should-use-google-ai-studio&quot;&gt;Who Should Use Google AI Studio?&lt;/h2&gt;

&lt;p&gt;Google AI Studio is an excellent choice for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Software developers&lt;/li&gt;
  &lt;li&gt;AI enthusiasts&lt;/li&gt;
  &lt;li&gt;Students&lt;/li&gt;
  &lt;li&gt;Researchers&lt;/li&gt;
  &lt;li&gt;Content creators&lt;/li&gt;
  &lt;li&gt;Prompt engineers&lt;/li&gt;
  &lt;li&gt;Businesses evaluating Gemini&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is especially valuable for developers who want to prototype ideas before integrating the Gemini API into production applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verdict&quot;&gt;Final Verdict&lt;/h2&gt;

&lt;p&gt;Google AI Studio is one of the best browser-based environments for experimenting with large language models. Its clean interface, rapid access to Gemini models, and built-in development tools make it an outstanding platform for prompt engineering and AI application development.&lt;/p&gt;

&lt;p&gt;While advanced enterprise deployments may ultimately require Google Cloud services, AI Studio excels as a lightweight development environment for learning, testing, and building with Google’s latest AI technologies.&lt;/p&gt;

&lt;p&gt;For anyone interested in Gemini or generative AI development, Google AI Studio is absolutely worth exploring.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://aistudio.google.com/&quot;&gt;Google AI Studio&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://ai.google.dev/&quot;&gt;Google AI for Developers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://ai.google.dev/gemini-api/docs&quot;&gt;Gemini API Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://ai.google.dev/gemini-api/docs/ai-studio-quickstart&quot;&gt;Google AI Studio Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://ai.google.dev/gemini-api/docs/models&quot;&gt;Gemini Models Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://ai.google.dev/pricing&quot;&gt;Google AI Pricing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 25 Apr 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/google-ai-studio-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/google-ai-studio-review/</guid>
        
        <category>google</category>
        
        <category>ai</category>
        
        <category>gemini</category>
        
        <category>llm</category>
        
        <category>artificial-intelligence</category>
        
        <category>machine-learning</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Red Hat OpenShift Review</title>
        <description>&lt;p&gt;Red Hat OpenShift is one of the most popular enterprise Kubernetes platforms available today. Built on Kubernetes and enhanced with Red Hat’s enterprise tooling, OpenShift provides organizations with an opinionated platform for building, deploying, and managing containerized applications.&lt;/p&gt;

&lt;p&gt;Unlike a vanilla Kubernetes deployment, OpenShift includes many enterprise-ready capabilities out of the box, reducing the amount of manual configuration required to build a production-ready environment.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review Red Hat OpenShift and explore its strengths, weaknesses, and ideal use cases.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-red-hat-openshift&quot; id=&quot;markdown-toc-what-is-red-hat-openshift&quot;&gt;What Is Red Hat OpenShift?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#developer-experience&quot; id=&quot;markdown-toc-developer-experience&quot;&gt;Developer Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#administration-experience&quot; id=&quot;markdown-toc-administration-experience&quot;&gt;Administration Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security&quot; id=&quot;markdown-toc-security&quot;&gt;Security&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disadvantages&quot; id=&quot;markdown-toc-disadvantages&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pricing-considerations&quot; id=&quot;markdown-toc-pricing-considerations&quot;&gt;Pricing Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-should-use-openshift&quot; id=&quot;markdown-toc-who-should-use-openshift&quot;&gt;Who Should Use OpenShift?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verdict&quot; id=&quot;markdown-toc-final-verdict&quot;&gt;Final Verdict&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-red-hat-openshift&quot;&gt;What Is Red Hat OpenShift?&lt;/h2&gt;

&lt;p&gt;OpenShift is Red Hat’s enterprise application platform built around Kubernetes. It combines container orchestration with developer tools, security features, CI/CD capabilities, monitoring, logging, and lifecycle management into a single platform.&lt;/p&gt;

&lt;p&gt;OpenShift is available in several deployment models:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Self-managed on-premises&lt;/li&gt;
  &lt;li&gt;Private cloud&lt;/li&gt;
  &lt;li&gt;Public cloud&lt;/li&gt;
  &lt;li&gt;Hybrid cloud&lt;/li&gt;
  &lt;li&gt;Managed cloud services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It supports deployment on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;VMware&lt;/li&gt;
  &lt;li&gt;Bare metal&lt;/li&gt;
  &lt;li&gt;AWS&lt;/li&gt;
  &lt;li&gt;Microsoft Azure&lt;/li&gt;
  &lt;li&gt;Google Cloud Platform&lt;/li&gt;
  &lt;li&gt;IBM Cloud&lt;/li&gt;
  &lt;li&gt;Nutanix&lt;/li&gt;
  &lt;li&gt;OpenStack&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;Some of OpenShift’s most notable features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enterprise Kubernetes&lt;/li&gt;
  &lt;li&gt;Built-in container registry&lt;/li&gt;
  &lt;li&gt;Operator Framework&lt;/li&gt;
  &lt;li&gt;Integrated CI/CD pipelines&lt;/li&gt;
  &lt;li&gt;Web-based administration console&lt;/li&gt;
  &lt;li&gt;Source-to-Image (S2I)&lt;/li&gt;
  &lt;li&gt;Integrated monitoring&lt;/li&gt;
  &lt;li&gt;Centralized logging&lt;/li&gt;
  &lt;li&gt;Role-Based Access Control (RBAC)&lt;/li&gt;
  &lt;li&gt;Security Context Constraints (SCC)&lt;/li&gt;
  &lt;li&gt;Automated upgrades&lt;/li&gt;
  &lt;li&gt;Multi-cluster management&lt;/li&gt;
  &lt;li&gt;GitOps support using Argo CD&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These features allow administrators and developers to manage applications from development through production using a consistent platform.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;developer-experience&quot;&gt;Developer Experience&lt;/h2&gt;

&lt;p&gt;One area where OpenShift excels is the developer experience.&lt;/p&gt;

&lt;p&gt;Developers can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Deploy applications from Git repositories&lt;/li&gt;
  &lt;li&gt;Build container images automatically&lt;/li&gt;
  &lt;li&gt;Access integrated CI/CD pipelines&lt;/li&gt;
  &lt;li&gt;Deploy using Helm charts&lt;/li&gt;
  &lt;li&gt;Utilize Operators&lt;/li&gt;
  &lt;li&gt;Work directly with Kubernetes manifests&lt;/li&gt;
  &lt;li&gt;Use OpenShift CLI (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;oc&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Access a modern web console&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The built-in developer tools reduce the amount of infrastructure work developers typically need to perform.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;administration-experience&quot;&gt;Administration Experience&lt;/h2&gt;

&lt;p&gt;For system administrators, OpenShift provides many enterprise management capabilities:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Cluster lifecycle management&lt;/li&gt;
  &lt;li&gt;Automated upgrades&lt;/li&gt;
  &lt;li&gt;Node management&lt;/li&gt;
  &lt;li&gt;Certificate management&lt;/li&gt;
  &lt;li&gt;Integrated monitoring&lt;/li&gt;
  &lt;li&gt;Logging&lt;/li&gt;
  &lt;li&gt;Alerting&lt;/li&gt;
  &lt;li&gt;Resource quotas&lt;/li&gt;
  &lt;li&gt;Namespace management&lt;/li&gt;
  &lt;li&gt;Identity integration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The web interface is significantly easier to navigate than managing Kubernetes exclusively through command-line tools.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security&quot;&gt;Security&lt;/h2&gt;

&lt;p&gt;Security is one of OpenShift’s strongest selling points.&lt;/p&gt;

&lt;p&gt;Built-in security features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;SELinux integration&lt;/li&gt;
  &lt;li&gt;Security Context Constraints (SCC)&lt;/li&gt;
  &lt;li&gt;Role-Based Access Control&lt;/li&gt;
  &lt;li&gt;OAuth authentication&lt;/li&gt;
  &lt;li&gt;LDAP and Active Directory integration&lt;/li&gt;
  &lt;li&gt;Image scanning integrations&lt;/li&gt;
  &lt;li&gt;Secrets management&lt;/li&gt;
  &lt;li&gt;Network policies&lt;/li&gt;
  &lt;li&gt;Pod security enforcement&lt;/li&gt;
  &lt;li&gt;Certificate management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many of these capabilities require additional configuration in upstream Kubernetes distributions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;OpenShift performs very well once deployed correctly.&lt;/p&gt;

&lt;p&gt;Strengths include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Excellent scalability&lt;/li&gt;
  &lt;li&gt;High availability support&lt;/li&gt;
  &lt;li&gt;Efficient container scheduling&lt;/li&gt;
  &lt;li&gt;Strong resource utilization&lt;/li&gt;
  &lt;li&gt;Mature Kubernetes foundation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, OpenShift itself requires considerably more system resources than a minimal Kubernetes installation.&lt;/p&gt;

&lt;p&gt;Organizations should plan for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Multiple control plane nodes&lt;/li&gt;
  &lt;li&gt;Infrastructure nodes&lt;/li&gt;
  &lt;li&gt;Worker nodes&lt;/li&gt;
  &lt;li&gt;Monitoring overhead&lt;/li&gt;
  &lt;li&gt;Logging infrastructure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advantages&quot;&gt;Advantages&lt;/h2&gt;

&lt;p&gt;Some of the biggest advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enterprise-ready platform&lt;/li&gt;
  &lt;li&gt;Excellent documentation&lt;/li&gt;
  &lt;li&gt;Strong security posture&lt;/li&gt;
  &lt;li&gt;Excellent developer experience&lt;/li&gt;
  &lt;li&gt;Integrated CI/CD&lt;/li&gt;
  &lt;li&gt;Long-term vendor support&lt;/li&gt;
  &lt;li&gt;Large ecosystem&lt;/li&gt;
  &lt;li&gt;Operator Framework&lt;/li&gt;
  &lt;li&gt;Hybrid cloud support&lt;/li&gt;
  &lt;li&gt;Consistent management across environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disadvantages&quot;&gt;Disadvantages&lt;/h2&gt;

&lt;p&gt;OpenShift isn’t perfect.&lt;/p&gt;

&lt;p&gt;Potential drawbacks include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;High licensing costs&lt;/li&gt;
  &lt;li&gt;Significant hardware requirements&lt;/li&gt;
  &lt;li&gt;Steeper learning curve&lt;/li&gt;
  &lt;li&gt;Complex initial deployment&lt;/li&gt;
  &lt;li&gt;Some vendor lock-in&lt;/li&gt;
  &lt;li&gt;Overkill for very small environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Organizations with only a handful of applications may find a lightweight Kubernetes distribution more appropriate.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pricing-considerations&quot;&gt;Pricing Considerations&lt;/h2&gt;

&lt;p&gt;OpenShift is a commercial platform.&lt;/p&gt;

&lt;p&gt;Licensing costs generally include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Platform subscriptions&lt;/li&gt;
  &lt;li&gt;Red Hat support&lt;/li&gt;
  &lt;li&gt;Optional managed services&lt;/li&gt;
  &lt;li&gt;Infrastructure costs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Although the licensing cost is higher than upstream Kubernetes, many organizations find the included support, lifecycle management, and enterprise tooling justify the investment.&lt;/p&gt;

&lt;p&gt;For small businesses and homelabs, however, free Kubernetes distributions such as Kubernetes, k3s, or MicroK8s may be more cost-effective.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;who-should-use-openshift&quot;&gt;Who Should Use OpenShift?&lt;/h2&gt;

&lt;p&gt;OpenShift is an excellent choice for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Medium and large enterprises&lt;/li&gt;
  &lt;li&gt;Government organizations&lt;/li&gt;
  &lt;li&gt;Financial institutions&lt;/li&gt;
  &lt;li&gt;Healthcare organizations&lt;/li&gt;
  &lt;li&gt;DevOps teams&lt;/li&gt;
  &lt;li&gt;Organizations with compliance requirements&lt;/li&gt;
  &lt;li&gt;Businesses running large numbers of containerized workloads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It may be less suitable for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Small businesses&lt;/li&gt;
  &lt;li&gt;Homelabs&lt;/li&gt;
  &lt;li&gt;Simple web applications&lt;/li&gt;
  &lt;li&gt;Organizations without Kubernetes expertise&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verdict&quot;&gt;Final Verdict&lt;/h2&gt;

&lt;p&gt;Red Hat OpenShift is one of the most mature enterprise Kubernetes platforms available today. Its integrated tooling, security-first approach, and excellent operational experience make it an outstanding platform for organizations that need a supported, production-ready Kubernetes solution.&lt;/p&gt;

&lt;p&gt;While the licensing costs and infrastructure requirements may place it outside the reach of some smaller organizations, enterprises looking for a comprehensive container platform will find OpenShift to be a powerful and capable solution.&lt;/p&gt;

&lt;p&gt;If your organization is already invested in the Red Hat ecosystem or requires enterprise support, OpenShift is well worth serious consideration.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.redhat.com/en/technologies/cloud-computing/openshift&quot;&gt;Red Hat OpenShift&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.openshift.com/&quot;&gt;OpenShift Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.openshift.com/container-platform/latest/architecture/architecture.html&quot;&gt;OpenShift Architecture Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.openshift.com/container-platform/latest/cli_reference/openshift_cli/getting-started-cli.html&quot;&gt;OpenShift CLI (oc) Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://operatorframework.io/&quot;&gt;Operator Framework&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/&quot;&gt;Kubernetes Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 18 Apr 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/reviews/redhat-openshift-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/reviews/redhat-openshift-review/</guid>
        
        <category>openshift</category>
        
        <category>kubernetes</category>
        
        <category>redhat</category>
        
        <category>containers</category>
        
        <category>docker</category>
        
        <category>devops</category>
        
        
        <category>Linux</category>
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Windows OpenSSH SSHD Setup Guide</title>
        <description>&lt;p&gt;Microsoft has made remote administration significantly easier by including &lt;strong&gt;OpenSSH Server&lt;/strong&gt; as an optional Windows feature. Instead of relying solely on Remote Desktop Protocol (RDP), administrators can securely manage Windows systems over SSH using PowerShell, Command Prompt, or even Windows Subsystem for Linux (WSL).&lt;/p&gt;

&lt;p&gt;SSH is also compatible with virtually every Linux, macOS, and networking platform, making it an excellent choice for mixed operating system environments.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through installing, configuring, and securing the Windows OpenSSH SSHD service.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-openssh-on-windows&quot; id=&quot;markdown-toc-why-use-openssh-on-windows&quot;&gt;Why Use OpenSSH on Windows?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verify-whether-openssh-server-is-installed&quot; id=&quot;markdown-toc-verify-whether-openssh-server-is-installed&quot;&gt;Verify Whether OpenSSH Server Is Installed&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-openssh-server&quot; id=&quot;markdown-toc-install-openssh-server&quot;&gt;Install OpenSSH Server&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#start-the-sshd-service&quot; id=&quot;markdown-toc-start-the-sshd-service&quot;&gt;Start the SSHD Service&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-windows-firewall&quot; id=&quot;markdown-toc-configure-windows-firewall&quot;&gt;Configure Windows Firewall&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-the-ssh-connection&quot; id=&quot;markdown-toc-test-the-ssh-connection&quot;&gt;Test the SSH Connection&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-the-sshd-configuration-file&quot; id=&quot;markdown-toc-configure-the-sshd-configuration-file&quot;&gt;Configure the SSHD Configuration File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-public-key-authentication&quot; id=&quot;markdown-toc-configure-public-key-authentication&quot;&gt;Configure Public Key Authentication&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#restrict-ssh-access&quot; id=&quot;markdown-toc-restrict-ssh-access&quot;&gt;Restrict SSH Access&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting&quot; id=&quot;markdown-toc-troubleshooting&quot;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-openssh-on-windows&quot;&gt;Why Use OpenSSH on Windows?&lt;/h2&gt;

&lt;p&gt;OpenSSH provides a secure encrypted channel for remote administration.&lt;/p&gt;

&lt;p&gt;Benefits include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Secure remote PowerShell sessions&lt;/li&gt;
  &lt;li&gt;Remote Command Prompt access&lt;/li&gt;
  &lt;li&gt;File transfers using SCP or SFTP&lt;/li&gt;
  &lt;li&gt;Cross-platform administration&lt;/li&gt;
  &lt;li&gt;Script automation&lt;/li&gt;
  &lt;li&gt;Better firewall compatibility than RDP&lt;/li&gt;
  &lt;li&gt;Reduced attack surface compared to exposing Remote Desktop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OpenSSH is included with:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Windows 10 (1809 and later)&lt;/li&gt;
  &lt;li&gt;Windows 11&lt;/li&gt;
  &lt;li&gt;Windows Server 2019&lt;/li&gt;
  &lt;li&gt;Windows Server 2022&lt;/li&gt;
  &lt;li&gt;Windows Server 2025&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verify-whether-openssh-server-is-installed&quot;&gt;Verify Whether OpenSSH Server Is Installed&lt;/h2&gt;

&lt;p&gt;Open &lt;strong&gt;PowerShell&lt;/strong&gt; as Administrator and run:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**Get-WindowsCapability -Online&lt;/td&gt;
      &lt;td&gt;Where-Object Name -like ‘OpenSSH.Server*‘**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;If installed, you’ll see:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;State : Installed
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If not installed, continue with the next step.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-openssh-server&quot;&gt;Install OpenSSH Server&lt;/h2&gt;

&lt;p&gt;Install the Windows capability:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The installation typically completes within a minute.&lt;/p&gt;

&lt;p&gt;You can verify installation again with:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**Get-WindowsCapability -Online&lt;/td&gt;
      &lt;td&gt;Where-Object Name -like ‘OpenSSH.Server*‘**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Official Microsoft documentation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh-overview&quot;&gt;OpenSSH for Windows Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh_install_firstuse&quot;&gt;Install OpenSSH Server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;start-the-sshd-service&quot;&gt;Start the SSHD Service&lt;/h2&gt;

&lt;p&gt;Start the service:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Start-Service sshd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Configure it to automatically start during boot:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set-Service -Name sshd -StartupType Automatic&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Verify its status:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-Service sshd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Expected output:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Status   Name    DisplayName
------   ----    -----------
Running  sshd    OpenSSH SSH Server
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-windows-firewall&quot;&gt;Configure Windows Firewall&lt;/h2&gt;

&lt;p&gt;Windows normally creates a firewall rule during installation.&lt;/p&gt;

&lt;p&gt;Verify it exists:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-NetFirewallRule -Name &lt;em&gt;ssh&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If necessary, create a new inbound rule:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;New-NetFirewallRule -Name sshd -DisplayName “OpenSSH Server” -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Verify port 22 is listening:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;**netstat -ano&lt;/td&gt;
      &lt;td&gt;findstr :22**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Or:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-NetTCPConnection -LocalPort 22&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-the-ssh-connection&quot;&gt;Test the SSH Connection&lt;/h2&gt;

&lt;p&gt;From another computer:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh username@hostname&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh username@ip-address&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh administrator@192.168.1.x&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first connection will prompt you to trust the server’s host key.&lt;/p&gt;

&lt;p&gt;Once accepted, you’ll receive a PowerShell session.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-the-sshd-configuration-file&quot;&gt;Configure the SSHD Configuration File&lt;/h2&gt;

&lt;p&gt;The primary configuration file is located at:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C:\ProgramData\ssh\sshd_config&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Common settings administrators modify include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Port&lt;/li&gt;
  &lt;li&gt;PasswordAuthentication&lt;/li&gt;
  &lt;li&gt;PubkeyAuthentication&lt;/li&gt;
  &lt;li&gt;PermitRootLogin (not applicable on Windows)&lt;/li&gt;
  &lt;li&gt;AllowUsers&lt;/li&gt;
  &lt;li&gt;DenyUsers&lt;/li&gt;
  &lt;li&gt;AllowGroups&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After making changes, restart the service:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Restart-Service sshd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Microsoft configuration reference:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh-server-configuration&quot;&gt;OpenSSH Configuration Files&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-public-key-authentication&quot;&gt;Configure Public Key Authentication&lt;/h2&gt;

&lt;p&gt;Using SSH keys is significantly more secure than passwords.&lt;/p&gt;

&lt;p&gt;Generate a key pair on the client:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-keygen&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Copy the public key to the Windows server.&lt;/p&gt;

&lt;p&gt;For user authentication, place the public key in:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\.ssh\authorized_keys
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Ensure:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ssh&lt;/code&gt; folder exists.&lt;/li&gt;
  &lt;li&gt;File permissions are correct.&lt;/li&gt;
  &lt;li&gt;The user owns the file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Microsoft documentation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh_keymanagement&quot;&gt;OpenSSH Key Management&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;restrict-ssh-access&quot;&gt;Restrict SSH Access&lt;/h2&gt;

&lt;p&gt;For additional security, consider:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Disabling password authentication after deploying SSH keys.&lt;/li&gt;
  &lt;li&gt;Restricting access to specific users.&lt;/li&gt;
  &lt;li&gt;Restricting access to administrator groups.&lt;/li&gt;
  &lt;li&gt;Limiting access through Windows Firewall.&lt;/li&gt;
  &lt;li&gt;Changing the default SSH port (optional).&lt;/li&gt;
  &lt;li&gt;Using VPN access instead of exposing SSH directly to the Internet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;

&lt;p&gt;If SSH isn’t working, verify:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The &lt;strong&gt;sshd&lt;/strong&gt; service is running.&lt;/li&gt;
  &lt;li&gt;Port 22 is listening.&lt;/li&gt;
  &lt;li&gt;Windows Firewall allows inbound TCP/22.&lt;/li&gt;
  &lt;li&gt;The client can reach the server over the network.&lt;/li&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd_config&lt;/code&gt; file contains valid syntax.&lt;/li&gt;
  &lt;li&gt;User permissions on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ssh&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;authorized_keys&lt;/code&gt; are correct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Useful commands:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-Service sshd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Restart-Service sshd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-NetTCPConnection -LocalPort 22&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get-NetFirewallRule -Name &lt;em&gt;ssh&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;OpenSSH Server has become one of the easiest and most reliable ways to remotely administer Windows systems. Since it is maintained by Microsoft and included with modern Windows releases, there is no longer a need to install third-party SSH servers for most environments.&lt;/p&gt;

&lt;p&gt;Whether you’re managing a single workstation, a Windows Server, or an enterprise fleet, enabling OpenSSH provides a fast, secure, and cross-platform method for remote administration.&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh-overview&quot;&gt;Microsoft OpenSSH Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh_install_firstuse&quot;&gt;Install OpenSSH Server&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh-server-configuration&quot;&gt;OpenSSH Server Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows-server/administration/openssh/openssh_keymanagement&quot;&gt;OpenSSH Key Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/PowerShell/Win32-OpenSSH&quot;&gt;OpenSSH GitHub Project&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 11 Apr 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/sysadmin/windows-openssh-setup-guide/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/sysadmin/windows-openssh-setup-guide/</guid>
        
        <category>windows</category>
        
        <category>openssh</category>
        
        <category>ssh</category>
        
        <category>sshd</category>
        
        <category>powershell</category>
        
        <category>remote-access</category>
        
        
        <category>Windows</category>
        
        <category>SysAdmin</category>
        
      </item>
    
      <item>
        <title>Wave Accounting vs. QuickBooks Which Accounting Software Is Right for Your Business?</title>
        <description>&lt;p&gt;Choosing the right accounting software can save hours of administrative work each month while giving you better visibility into your company’s financial health. Two of the most popular options for small businesses are &lt;strong&gt;Wave Accounting&lt;/strong&gt; and &lt;strong&gt;QuickBooks&lt;/strong&gt;. While both platforms help manage income and expenses, they differ significantly in pricing, features, scalability, and ease of use.&lt;/p&gt;

&lt;p&gt;In this blog post, we will compare Wave Accounting and QuickBooks so you can choose the solution that best fits your business needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#at-a-glance&quot; id=&quot;markdown-toc-at-a-glance&quot;&gt;At a Glance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#wave-accounting-overview&quot; id=&quot;markdown-toc-wave-accounting-overview&quot;&gt;Wave Accounting Overview&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#quickbooks-overview&quot; id=&quot;markdown-toc-quickbooks-overview&quot;&gt;QuickBooks Overview&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-1&quot; id=&quot;markdown-toc-pros-1&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-1&quot; id=&quot;markdown-toc-cons-1&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pricing-comparison&quot; id=&quot;markdown-toc-pricing-comparison&quot;&gt;Pricing Comparison&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#wave&quot; id=&quot;markdown-toc-wave&quot;&gt;Wave&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#quickbooks&quot; id=&quot;markdown-toc-quickbooks&quot;&gt;QuickBooks&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ease-of-use&quot; id=&quot;markdown-toc-ease-of-use&quot;&gt;Ease of Use&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#payroll&quot; id=&quot;markdown-toc-payroll&quot;&gt;Payroll&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#reporting&quot; id=&quot;markdown-toc-reporting&quot;&gt;Reporting&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#wave-includes&quot; id=&quot;markdown-toc-wave-includes&quot;&gt;Wave Includes&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#quickbooks-adds&quot; id=&quot;markdown-toc-quickbooks-adds&quot;&gt;QuickBooks Adds&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#integrations&quot; id=&quot;markdown-toc-integrations&quot;&gt;Integrations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#which-software-should-you-choose&quot; id=&quot;markdown-toc-which-software-should-you-choose&quot;&gt;Which Software Should You Choose?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#choose-wave-accounting-if-you&quot; id=&quot;markdown-toc-choose-wave-accounting-if-you&quot;&gt;Choose Wave Accounting if you:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#choose-quickbooks-if-you&quot; id=&quot;markdown-toc-choose-quickbooks-if-you&quot;&gt;Choose QuickBooks if you:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;at-a-glance&quot;&gt;At a Glance&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;Wave Accounting&lt;/th&gt;
      &lt;th&gt;QuickBooks Online&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Cost&lt;/td&gt;
      &lt;td&gt;Free Accounting&lt;/td&gt;
      &lt;td&gt;Monthly Subscription&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Best For&lt;/td&gt;
      &lt;td&gt;Freelancers and Very Small Businesses&lt;/td&gt;
      &lt;td&gt;Growing Small to Medium Businesses&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Invoicing&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Expense Tracking&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Bank Connections&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
      &lt;td&gt;Included&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Payroll&lt;/td&gt;
      &lt;td&gt;Paid Add-on&lt;/td&gt;
      &lt;td&gt;Paid Add-on&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Inventory&lt;/td&gt;
      &lt;td&gt;Limited&lt;/td&gt;
      &lt;td&gt;Yes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Project Tracking&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
      &lt;td&gt;Yes (Higher Plans)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Reporting&lt;/td&gt;
      &lt;td&gt;Basic&lt;/td&gt;
      &lt;td&gt;Extensive&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Accountant Features&lt;/td&gt;
      &lt;td&gt;Basic&lt;/td&gt;
      &lt;td&gt;Advanced&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;wave-accounting-overview&quot;&gt;Wave Accounting Overview&lt;/h2&gt;

&lt;p&gt;Wave Accounting is designed primarily for freelancers, independent contractors, consultants, and very small businesses. Its biggest advantage is that the core accounting software is free.&lt;/p&gt;

&lt;p&gt;Key features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Double-entry accounting&lt;/li&gt;
  &lt;li&gt;Unlimited income and expense tracking&lt;/li&gt;
  &lt;li&gt;Professional invoicing&lt;/li&gt;
  &lt;li&gt;Receipt scanning&lt;/li&gt;
  &lt;li&gt;Bank account synchronization&lt;/li&gt;
  &lt;li&gt;Financial reporting&lt;/li&gt;
  &lt;li&gt;Mobile applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wave earns revenue through optional paid services such as payroll and online payment processing rather than charging a monthly subscription for its accounting platform.&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Free accounting software&lt;/li&gt;
  &lt;li&gt;Very easy to learn&lt;/li&gt;
  &lt;li&gt;Excellent invoicing&lt;/li&gt;
  &lt;li&gt;Clean, modern interface&lt;/li&gt;
  &lt;li&gt;Ideal for startups with limited budgets&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Limited inventory management&lt;/li&gt;
  &lt;li&gt;Fewer customization options&lt;/li&gt;
  &lt;li&gt;Basic reporting compared to QuickBooks&lt;/li&gt;
  &lt;li&gt;Not ideal for rapidly growing businesses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learn more:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.waveapps.com/&quot;&gt;Wave Accounting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.waveapps.com/accounting&quot;&gt;Wave Accounting Features&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;quickbooks-overview&quot;&gt;QuickBooks Overview&lt;/h2&gt;

&lt;p&gt;QuickBooks Online is one of the most widely used accounting platforms for small businesses. It offers a significantly larger feature set than Wave and scales well as a company grows.&lt;/p&gt;

&lt;p&gt;Depending on your subscription, QuickBooks provides:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;General accounting&lt;/li&gt;
  &lt;li&gt;Bank reconciliation&lt;/li&gt;
  &lt;li&gt;Inventory tracking&lt;/li&gt;
  &lt;li&gt;Budgeting&lt;/li&gt;
  &lt;li&gt;Class and location tracking&lt;/li&gt;
  &lt;li&gt;Project profitability&lt;/li&gt;
  &lt;li&gt;Time tracking&lt;/li&gt;
  &lt;li&gt;Payroll integration&lt;/li&gt;
  &lt;li&gt;Extensive financial reporting&lt;/li&gt;
  &lt;li&gt;Third-party integrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because of its maturity and widespread adoption, many accountants and CPAs are already familiar with QuickBooks.&lt;/p&gt;

&lt;h3 id=&quot;pros-1&quot;&gt;Pros&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Comprehensive accounting platform&lt;/li&gt;
  &lt;li&gt;Excellent reporting&lt;/li&gt;
  &lt;li&gt;Large ecosystem of integrations&lt;/li&gt;
  &lt;li&gt;Inventory management&lt;/li&gt;
  &lt;li&gt;Strong accountant support&lt;/li&gt;
  &lt;li&gt;Highly scalable&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;Cons&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Monthly subscription costs&lt;/li&gt;
  &lt;li&gt;More complex to learn&lt;/li&gt;
  &lt;li&gt;Advanced features require higher-tier plans&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learn more:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/&quot;&gt;QuickBooks Online&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/online/&quot;&gt;QuickBooks Online Features&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pricing-comparison&quot;&gt;Pricing Comparison&lt;/h2&gt;

&lt;p&gt;One of the biggest differences between the two platforms is pricing.&lt;/p&gt;

&lt;h3 id=&quot;wave&quot;&gt;Wave&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Core accounting is free.&lt;/li&gt;
  &lt;li&gt;Pay only for optional services such as:
    &lt;ul&gt;
      &lt;li&gt;Payroll&lt;/li&gt;
      &lt;li&gt;Online payment processing&lt;/li&gt;
      &lt;li&gt;Receipt scanning (certain plans)&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;quickbooks&quot;&gt;QuickBooks&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Monthly subscription required.&lt;/li&gt;
  &lt;li&gt;Multiple pricing tiers are available.&lt;/li&gt;
  &lt;li&gt;Additional costs may include:
    &lt;ul&gt;
      &lt;li&gt;Payroll&lt;/li&gt;
      &lt;li&gt;Payments&lt;/li&gt;
      &lt;li&gt;Time tracking&lt;/li&gt;
      &lt;li&gt;Advanced reporting&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For many freelancers, the annual savings with Wave can be several hundred dollars compared to QuickBooks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ease-of-use&quot;&gt;Ease of Use&lt;/h2&gt;

&lt;p&gt;If you’re new to bookkeeping, Wave generally has the gentler learning curve.&lt;/p&gt;

&lt;p&gt;Wave focuses on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Simplicity&lt;/li&gt;
  &lt;li&gt;Clean navigation&lt;/li&gt;
  &lt;li&gt;Minimal setup&lt;/li&gt;
  &lt;li&gt;Straightforward workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;QuickBooks offers many more features, but that also means more menus, settings, and configuration options.&lt;/p&gt;

&lt;p&gt;If your business has multiple employees, inventory, or several revenue streams, the additional complexity often becomes worthwhile.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;payroll&quot;&gt;Payroll&lt;/h2&gt;

&lt;p&gt;Neither platform includes payroll in its basic accounting offering.&lt;/p&gt;

&lt;p&gt;Wave offers payroll as an optional add-on in supported locations.&lt;/p&gt;

&lt;p&gt;QuickBooks also offers integrated payroll services with additional automation and tax filing capabilities depending on the selected plan.&lt;/p&gt;

&lt;p&gt;Compare payroll options:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.waveapps.com/payroll&quot;&gt;Wave Payroll&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/payroll/&quot;&gt;QuickBooks Payroll&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;reporting&quot;&gt;Reporting&lt;/h2&gt;

&lt;p&gt;Reporting is one area where QuickBooks clearly stands out.&lt;/p&gt;

&lt;h3 id=&quot;wave-includes&quot;&gt;Wave Includes&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Profit &amp;amp; Loss&lt;/li&gt;
  &lt;li&gt;Balance Sheet&lt;/li&gt;
  &lt;li&gt;Cash Flow&lt;/li&gt;
  &lt;li&gt;Sales Tax Reports&lt;/li&gt;
  &lt;li&gt;Basic financial summaries&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;quickbooks-adds&quot;&gt;QuickBooks Adds&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Budget reports&lt;/li&gt;
  &lt;li&gt;Forecasting&lt;/li&gt;
  &lt;li&gt;Inventory reports&lt;/li&gt;
  &lt;li&gt;Project profitability&lt;/li&gt;
  &lt;li&gt;Customer profitability&lt;/li&gt;
  &lt;li&gt;Custom reporting&lt;/li&gt;
  &lt;li&gt;Class and location reporting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Businesses needing deeper financial insights will generally benefit from QuickBooks’ broader reporting capabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;integrations&quot;&gt;Integrations&lt;/h2&gt;

&lt;p&gt;QuickBooks has one of the largest ecosystems of third-party integrations available.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Shopify&lt;/li&gt;
  &lt;li&gt;PayPal&lt;/li&gt;
  &lt;li&gt;Stripe&lt;/li&gt;
  &lt;li&gt;Square&lt;/li&gt;
  &lt;li&gt;Salesforce&lt;/li&gt;
  &lt;li&gt;HubSpot&lt;/li&gt;
  &lt;li&gt;Amazon&lt;/li&gt;
  &lt;li&gt;Bill.com&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wave supports fewer integrations but still covers the needs of many freelancers and small businesses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;which-software-should-you-choose&quot;&gt;Which Software Should You Choose?&lt;/h2&gt;

&lt;h3 id=&quot;choose-wave-accounting-if-you&quot;&gt;Choose Wave Accounting if you:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Are a freelancer.&lt;/li&gt;
  &lt;li&gt;Run a side business.&lt;/li&gt;
  &lt;li&gt;Have simple bookkeeping needs.&lt;/li&gt;
  &lt;li&gt;Want to avoid monthly software costs.&lt;/li&gt;
  &lt;li&gt;Send invoices regularly.&lt;/li&gt;
  &lt;li&gt;Don’t need inventory management.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;choose-quickbooks-if-you&quot;&gt;Choose QuickBooks if you:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Have employees.&lt;/li&gt;
  &lt;li&gt;Carry inventory.&lt;/li&gt;
  &lt;li&gt;Need detailed financial reporting.&lt;/li&gt;
  &lt;li&gt;Work closely with an accountant.&lt;/li&gt;
  &lt;li&gt;Plan to grow your business.&lt;/li&gt;
  &lt;li&gt;Need integrations with other business software.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Both Wave Accounting and QuickBooks are excellent accounting platforms, but they target different types of businesses.&lt;/p&gt;

&lt;p&gt;For freelancers, consultants, and small startups, Wave offers an impressive collection of accounting features at no cost, making it an outstanding value. As your business grows and your financial reporting, inventory, or operational needs become more complex, QuickBooks becomes the stronger long-term solution due to its advanced capabilities and scalability.&lt;/p&gt;

&lt;p&gt;Before making a decision, consider not only your current business needs but also where you expect your business to be in the next three to five years.&lt;/p&gt;

&lt;h2 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.waveapps.com/&quot;&gt;Wave Accounting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.waveapps.com/accounting&quot;&gt;Wave Accounting Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/&quot;&gt;QuickBooks Online&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/online/&quot;&gt;QuickBooks Online Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://quickbooks.intuit.com/pricing/&quot;&gt;QuickBooks Pricing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 04 Apr 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/business/finance/wave-vs-quickbooks-accounting/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/business/finance/wave-vs-quickbooks-accounting/</guid>
        
        <category>accounting</category>
        
        <category>bookkeeping</category>
        
        <category>wave</category>
        
        <category>quickbooks</category>
        
        <category>small-business</category>
        
        
        <category>Business</category>
        
        <category>Finance</category>
        
      </item>
    
      <item>
        <title>Hide Windows User Accounts from the Login Screen</title>
        <description>&lt;p&gt;Windows displays all enabled local user accounts on the sign-in screen by default. While this behavior is convenient for most home users, it can clutter the login screen or expose service and administrator accounts that should remain hidden.&lt;/p&gt;

&lt;p&gt;Fortunately, Windows provides a simple registry-based method to hide specific accounts without disabling them or affecting their functionality.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to hide individual Windows user accounts from the login screen.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-hide-a-user-account&quot; id=&quot;markdown-toc-why-hide-a-user-account&quot;&gt;Why Hide a User Account?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#before-you-begin&quot; id=&quot;markdown-toc-before-you-begin&quot;&gt;Before You Begin&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-open-registry-editor&quot; id=&quot;markdown-toc-step-1-open-registry-editor&quot;&gt;Step 1: Open Registry Editor&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-browse-to-the-winlogon-key&quot; id=&quot;markdown-toc-step-2-browse-to-the-winlogon-key&quot;&gt;Step 2: Browse to the Winlogon Key&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-create-the-user-entry&quot; id=&quot;markdown-toc-step-3-create-the-user-entry&quot;&gt;Step 3: Create the User Entry&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-set-the-value&quot; id=&quot;markdown-toc-step-4-set-the-value&quot;&gt;Step 4: Set the Value&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-restart-windows&quot; id=&quot;markdown-toc-step-5-restart-windows&quot;&gt;Step 5: Restart Windows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#restoring-the-account&quot; id=&quot;markdown-toc-restoring-the-account&quot;&gt;Restoring the Account&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#things-to-keep-in-mind&quot; id=&quot;markdown-toc-things-to-keep-in-mind&quot;&gt;Things to Keep in Mind&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#additional-resources&quot; id=&quot;markdown-toc-additional-resources&quot;&gt;Additional Resources&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-hide-a-user-account&quot;&gt;Why Hide a User Account?&lt;/h2&gt;

&lt;p&gt;Hiding an account is useful in several situations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hide local administrator accounts&lt;/li&gt;
  &lt;li&gt;Hide service accounts&lt;/li&gt;
  &lt;li&gt;Reduce clutter on shared computers&lt;/li&gt;
  &lt;li&gt;Improve security by not advertising privileged accounts&lt;/li&gt;
  &lt;li&gt;Keep administrative accounts available for remote management while hiding them from casual users&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The account continues to function normally—you can still log in manually, use Remote Desktop, run scheduled tasks, or access network resources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;before-you-begin&quot;&gt;Before You Begin&lt;/h2&gt;

&lt;p&gt;You’ll need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Administrative privileges&lt;/li&gt;
  &lt;li&gt;Registry Editor (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;regedit&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;The exact username of the account you want to hide&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is also recommended to create a System Restore Point before modifying the Windows Registry.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-open-registry-editor&quot;&gt;Step 1: Open Registry Editor&lt;/h2&gt;

&lt;p&gt;Press &lt;strong&gt;Win + R&lt;/strong&gt;, type:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;regedit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then press &lt;strong&gt;Enter&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-browse-to-the-winlogon-key&quot;&gt;Step 2: Browse to the Winlogon Key&lt;/h2&gt;

&lt;p&gt;Navigate to:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If the following keys do not already exist, create them:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;SpecialAccounts&lt;/li&gt;
  &lt;li&gt;UserList&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your final path should be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This registry location is the supported method commonly used to hide individual local user accounts from the sign-in screen.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-create-the-user-entry&quot;&gt;Step 3: Create the User Entry&lt;/h2&gt;

&lt;p&gt;Inside the &lt;strong&gt;UserList&lt;/strong&gt; key:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Right-click&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;New → DWORD (32-bit) Value&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Name the DWORD exactly the same as the Windows username you want to hide&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Administrator&lt;/li&gt;
  &lt;li&gt;BackupAdmin&lt;/li&gt;
  &lt;li&gt;ServiceAccount&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The name must exactly match the local account name.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-set-the-value&quot;&gt;Step 4: Set the Value&lt;/h2&gt;

&lt;p&gt;Double-click the new DWORD and set its value to:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;0&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A value of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;0&lt;/strong&gt; = Hide the account&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;1&lt;/strong&gt; = Show the account&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No other registry changes are required.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-restart-windows&quot;&gt;Step 5: Restart Windows&lt;/h2&gt;

&lt;p&gt;Restart the computer.&lt;/p&gt;

&lt;p&gt;After rebooting, the specified account will no longer appear on the Windows login screen.&lt;/p&gt;

&lt;p&gt;The account itself still exists and remains fully functional.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;restoring-the-account&quot;&gt;Restoring the Account&lt;/h2&gt;

&lt;p&gt;If you later decide to show the account again, simply:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Change the DWORD value to &lt;strong&gt;1&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Or delete the DWORD entirely&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Restart Windows and the account will once again appear on the sign-in screen.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;things-to-keep-in-mind&quot;&gt;Things to Keep in Mind&lt;/h2&gt;

&lt;p&gt;Hiding an account does &lt;strong&gt;not&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Delete the account&lt;/li&gt;
  &lt;li&gt;Disable the account&lt;/li&gt;
  &lt;li&gt;Remove permissions&lt;/li&gt;
  &lt;li&gt;Prevent remote logins&lt;/li&gt;
  &lt;li&gt;Affect scheduled tasks or services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It only removes the account from the graphical sign-in screen.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Hiding user accounts is a simple way to keep the Windows login screen clean while reducing the visibility of administrative or service accounts. Because the underlying account remains active, this technique works well for system administrators who need dedicated management accounts without exposing them to everyday users.&lt;/p&gt;

&lt;p&gt;For additional information, Microsoft’s community guidance and other Windows administration resources describe the same registry-based approach for hiding individual local user accounts.&lt;/p&gt;

&lt;h3 id=&quot;additional-resources&quot;&gt;Additional Resources&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/en-us/answers/questions/1281830/how-to-remove-user-account-from-windows-logon-scre&quot;&gt;Microsoft Learn - Remove a User Account from the Windows Logon Screen&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://learn.microsoft.com/windows/&quot;&gt;Microsoft Learn - Windows Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 28 Mar 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/hide-windows-users-account-login-screen/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/hide-windows-users-account-login-screen/</guid>
        
        <category>windows</category>
        
        <category>registry</category>
        
        <category>security</category>
        
        <category>users</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Uptime Kuma with Authelia Integration</title>
        <description>&lt;p&gt;Uptime Kuma is a great self-hosted monitoring tool, but its native authentication model is not ideal for organizations that want centralized login tied to Active Directory or LDAP. A practical and proven approach is to place Uptime Kuma behind Authelia, then let Authelia handle authentication against your directory service through a reverse proxy. In this blog post, we will summarize how to configure Uptime Kuma with Authelia for AD/LDAP-backed access, while keeping the setup clean and maintainable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-put-uptime-kuma-behind-authelia&quot; id=&quot;markdown-toc-why-put-uptime-kuma-behind-authelia&quot;&gt;Why Put Uptime Kuma Behind Authelia?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#high-level-architecture&quot; id=&quot;markdown-toc-high-level-architecture&quot;&gt;High-Level Architecture&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-deploy-uptime-kuma&quot; id=&quot;markdown-toc-step-1-deploy-uptime-kuma&quot;&gt;Step 1: Deploy Uptime Kuma&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-deploy-authelia&quot; id=&quot;markdown-toc-step-2-deploy-authelia&quot;&gt;Step 2: Deploy Authelia&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-configure-ldap--active-directory&quot; id=&quot;markdown-toc-step-3-configure-ldap--active-directory&quot;&gt;Step 3: Configure LDAP / Active Directory&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-configure-the-reverse-proxy&quot; id=&quot;markdown-toc-step-4-configure-the-reverse-proxy&quot;&gt;Step 4: Configure the Reverse Proxy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-protect-the-uptime-kuma-url&quot; id=&quot;markdown-toc-step-5-protect-the-uptime-kuma-url&quot;&gt;Step 5: Protect the Uptime Kuma URL&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-6-test-the-authentication-flow&quot; id=&quot;markdown-toc-step-6-test-the-authentication-flow&quot;&gt;Step 6: Test the Authentication Flow&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#optional-security-enhancements&quot; id=&quot;markdown-toc-optional-security-enhancements&quot;&gt;Optional Security Enhancements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#summary-review&quot; id=&quot;markdown-toc-summary-review&quot;&gt;Summary Review&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-put-uptime-kuma-behind-authelia&quot;&gt;Why Put Uptime Kuma Behind Authelia?&lt;/h2&gt;

&lt;p&gt;Uptime Kuma is commonly deployed behind a reverse proxy, and its own documentation specifically calls out reverse proxy usage and the need to handle WebSocket headers correctly. Authelia is designed to sit in front of applications through supported proxy integrations and can authenticate users against LDAP, including Active Directory.&lt;/p&gt;

&lt;p&gt;This model gives you:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Centralized AD/LDAP authentication&lt;/li&gt;
  &lt;li&gt;Group-based access control&lt;/li&gt;
  &lt;li&gt;Optional MFA later&lt;/li&gt;
  &lt;li&gt;A cleaner security boundary in front of Uptime Kuma&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;high-level-architecture&quot;&gt;High-Level Architecture&lt;/h2&gt;

&lt;p&gt;The flow is straightforward:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;User browses to the Uptime Kuma URL&lt;/li&gt;
  &lt;li&gt;Reverse proxy checks authentication with Authelia&lt;/li&gt;
  &lt;li&gt;Authelia validates credentials against LDAP or Active Directory&lt;/li&gt;
  &lt;li&gt;Authenticated users are allowed through to Uptime Kuma&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At a minimum, the stack includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Uptime Kuma&lt;/li&gt;
  &lt;li&gt;Authelia&lt;/li&gt;
  &lt;li&gt;A reverse proxy such as Nginx, Caddy, or Traefik&lt;/li&gt;
  &lt;li&gt;Active Directory or another LDAP directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Helpful references:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;https://github.com/louislam/uptime-kuma&lt;/li&gt;
  &lt;li&gt;https://github.com/louislam/uptime-kuma/wiki&lt;/li&gt;
  &lt;li&gt;https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy&lt;/li&gt;
  &lt;li&gt;https://www.authelia.com/docs/&lt;/li&gt;
  &lt;li&gt;https://www.authelia.com/integration/proxies/introduction/&lt;/li&gt;
  &lt;li&gt;https://www.authelia.com/configuration/first-factor/ldap/&lt;/li&gt;
  &lt;li&gt;https://www.authelia.com/integration/ldap/activedirectory/&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-deploy-uptime-kuma&quot;&gt;Step 1: Deploy Uptime Kuma&lt;/h2&gt;

&lt;p&gt;Start by deploying Uptime Kuma normally and confirm it works before adding authentication.&lt;/p&gt;

&lt;p&gt;Verify:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The web UI loads locally&lt;/li&gt;
  &lt;li&gt;Monitors are functioning&lt;/li&gt;
  &lt;li&gt;The built-in admin account is configured&lt;/li&gt;
  &lt;li&gt;You know which hostname or URL will be protected by Authelia&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-deploy-authelia&quot;&gt;Step 2: Deploy Authelia&lt;/h2&gt;

&lt;p&gt;Deploy Authelia as the authentication layer.&lt;/p&gt;

&lt;p&gt;Ensure:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A working configuration.yml&lt;/li&gt;
  &lt;li&gt;Session storage configured&lt;/li&gt;
  &lt;li&gt;Storage backend configured&lt;/li&gt;
  &lt;li&gt;LDAP or AD connectivity working&lt;/li&gt;
  &lt;li&gt;Reverse proxy in place&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-configure-ldap--active-directory&quot;&gt;Step 3: Configure LDAP / Active Directory&lt;/h2&gt;

&lt;p&gt;Configure Authelia to authenticate against your directory.&lt;/p&gt;

&lt;p&gt;Typical items:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;LDAP or LDAPS server address&lt;/li&gt;
  &lt;li&gt;Base DN&lt;/li&gt;
  &lt;li&gt;Bind DN and password&lt;/li&gt;
  &lt;li&gt;User search filter&lt;/li&gt;
  &lt;li&gt;Group search filter&lt;/li&gt;
  &lt;li&gt;Attribute mappings&lt;/li&gt;
  &lt;li&gt;TLS requirements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-configure-the-reverse-proxy&quot;&gt;Step 4: Configure the Reverse Proxy&lt;/h2&gt;

&lt;p&gt;Authelia requires a supported proxy to enforce authentication.&lt;/p&gt;

&lt;p&gt;Common choices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Nginx&lt;/li&gt;
  &lt;li&gt;Traefik&lt;/li&gt;
  &lt;li&gt;Caddy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ensure:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Authentication checks are enabled&lt;/li&gt;
  &lt;li&gt;Headers are forwarded properly&lt;/li&gt;
  &lt;li&gt;WebSocket support is enabled for Uptime Kuma&lt;/li&gt;
  &lt;li&gt;TLS termination is configured&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-protect-the-uptime-kuma-url&quot;&gt;Step 5: Protect the Uptime Kuma URL&lt;/h2&gt;

&lt;p&gt;Create access control rules in Authelia to protect the application.&lt;/p&gt;

&lt;p&gt;You can restrict access to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Any authenticated user&lt;/li&gt;
  &lt;li&gt;Specific AD groups&lt;/li&gt;
  &lt;li&gt;Users requiring MFA (optional)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;https://www.authelia.com/configuration/security/access-control/&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-6-test-the-authentication-flow&quot;&gt;Step 6: Test the Authentication Flow&lt;/h2&gt;

&lt;p&gt;Verify end-to-end operation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Browse to the Uptime Kuma URL&lt;/li&gt;
  &lt;li&gt;Confirm redirect to Authelia login&lt;/li&gt;
  &lt;li&gt;Authenticate with AD/LDAP credentials&lt;/li&gt;
  &lt;li&gt;Confirm redirect back to Uptime Kuma&lt;/li&gt;
  &lt;li&gt;Ensure dashboard loads normally&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Troubleshoot using:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Authelia logs&lt;/li&gt;
  &lt;li&gt;Reverse proxy logs&lt;/li&gt;
  &lt;li&gt;LDAP connectivity checks&lt;/li&gt;
  &lt;li&gt;DNS and TLS validation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;optional-security-enhancements&quot;&gt;Optional Security Enhancements&lt;/h2&gt;

&lt;p&gt;Authelia supports additional protections:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Multi-factor authentication&lt;/li&gt;
  &lt;li&gt;Session expiration policies&lt;/li&gt;
  &lt;li&gt;Trusted devices&lt;/li&gt;
  &lt;li&gt;Network-based access rules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Security documentation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;https://www.authelia.com/overview/security/measures/&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;summary-review&quot;&gt;Summary Review&lt;/h2&gt;

&lt;p&gt;Benefits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Centralized authentication using AD/LDAP&lt;/li&gt;
  &lt;li&gt;Supports MFA and enterprise policies&lt;/li&gt;
  &lt;li&gt;Works with many self-hosted apps&lt;/li&gt;
  &lt;li&gt;Keeps Uptime Kuma simple&lt;/li&gt;
  &lt;li&gt;Enables consistent login experience&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Considerations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Requires reverse proxy infrastructure&lt;/li&gt;
  &lt;li&gt;Adds configuration complexity&lt;/li&gt;
  &lt;li&gt;Authentication depends on Authelia availability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Integrating Uptime Kuma with Authelia provides a secure, enterprise-ready authentication solution using existing Active Directory or LDAP infrastructure. While the setup involves multiple components, the result is centralized access control, improved security, and a consistent authentication experience across services. This approach is especially effective for organizations that want strong identity management without modifying the underlying application.&lt;/p&gt;
</description>
        <pubDate>Sat, 21 Mar 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/uptime-kuma-authelia-integration/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/uptime-kuma-authelia-integration/</guid>
        
        <category>uptime-kuma</category>
        
        <category>authelia</category>
        
        <category>ldap</category>
        
        <category>active-directory</category>
        
        <category>authentication</category>
        
        <category>monitoring</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>iTerm2 on macOS Configuration and Review</title>
        <description>&lt;p&gt;The default Terminal app on macOS is functional, but power users, developers, and system administrators often need more flexibility, customization, and productivity features. iTerm2 is a popular replacement that transforms the macOS terminal experience with advanced capabilities like split panes, profiles, hotkeys, and deep appearance customization. In this blog post, we will review iTerm2 and walk through a practical configuration to turn it into a powerful daily-driver terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-iterm2&quot; id=&quot;markdown-toc-what-is-iterm2&quot;&gt;What Is iTerm2?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installation&quot; id=&quot;markdown-toc-installation&quot;&gt;Installation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#essential-configuration&quot; id=&quot;markdown-toc-essential-configuration&quot;&gt;Essential Configuration&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#appearance-settings&quot; id=&quot;markdown-toc-appearance-settings&quot;&gt;Appearance Settings&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#color-schemes&quot; id=&quot;markdown-toc-color-schemes&quot;&gt;Color Schemes&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#window-and-tab-behavior&quot; id=&quot;markdown-toc-window-and-tab-behavior&quot;&gt;Window and Tab Behavior&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#split-panes-for-productivity&quot; id=&quot;markdown-toc-split-panes-for-productivity&quot;&gt;Split Panes for Productivity&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#profiles-for-different-workflows&quot; id=&quot;markdown-toc-profiles-for-different-workflows&quot;&gt;Profiles for Different Workflows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ssh-workflow-improvements&quot; id=&quot;markdown-toc-ssh-workflow-improvements&quot;&gt;SSH Workflow Improvements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#clipboard-and-selection-enhancements&quot; id=&quot;markdown-toc-clipboard-and-selection-enhancements&quot;&gt;Clipboard and Selection Enhancements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-and-stability&quot; id=&quot;markdown-toc-performance-and-stability&quot;&gt;Performance and Stability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pros-and-cons&quot; id=&quot;markdown-toc-pros-and-cons&quot;&gt;Pros and Cons&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-iterm2&quot;&gt;What Is iTerm2?&lt;/h2&gt;

&lt;p&gt;iTerm2 is a free, open-source terminal emulator for macOS designed to replace the built-in Terminal.app with a far more capable interface.&lt;/p&gt;

&lt;p&gt;Download iTerm2 here:&lt;br /&gt;
https://iterm2.com/&lt;/p&gt;

&lt;p&gt;Key advantages include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Split panes (vertical and horizontal)&lt;/li&gt;
  &lt;li&gt;Multiple profiles&lt;/li&gt;
  &lt;li&gt;Advanced search&lt;/li&gt;
  &lt;li&gt;Instant replay of terminal output&lt;/li&gt;
  &lt;li&gt;Hotkey window (quake-style dropdown terminal)&lt;/li&gt;
  &lt;li&gt;Robust appearance customization&lt;/li&gt;
  &lt;li&gt;Better SSH workflows&lt;/li&gt;
  &lt;li&gt;Clipboard and selection improvements&lt;/li&gt;
  &lt;li&gt;Triggers, automation, and scripting support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For anyone working heavily in SSH sessions, containers, cloud systems, or development environments, iTerm2 is a significant upgrade.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation&quot;&gt;Installation&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Download iTerm2 from the official site.&lt;/li&gt;
  &lt;li&gt;Open the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.zip&lt;/code&gt; file.&lt;/li&gt;
  &lt;li&gt;Drag &lt;strong&gt;iTerm.app&lt;/strong&gt; into the Applications folder.&lt;/li&gt;
  &lt;li&gt;Launch it and optionally set it as your default terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To make iTerm2 the default terminal:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open iTerm2 → Preferences → General&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Make iTerm2 Default Term&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;essential-configuration&quot;&gt;Essential Configuration&lt;/h2&gt;

&lt;p&gt;Open Preferences with &lt;strong&gt;CMD + ,&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;appearance-settings&quot;&gt;Appearance Settings&lt;/h3&gt;

&lt;p&gt;These improve readability and reduce eye strain.&lt;/p&gt;

&lt;p&gt;Recommended adjustments:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Theme: Dark&lt;/li&gt;
  &lt;li&gt;Window transparency: Optional&lt;/li&gt;
  &lt;li&gt;Blur: Optional for aesthetic effect&lt;/li&gt;
  &lt;li&gt;Font: Monospaced developer font&lt;/li&gt;
  &lt;li&gt;Cursor: Vertical bar or block (personal preference)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Popular fonts:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;MesloLGS NF (Powerline compatible)&lt;/li&gt;
  &lt;li&gt;JetBrains Mono&lt;/li&gt;
  &lt;li&gt;Fira Code&lt;/li&gt;
  &lt;li&gt;Hack&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To change the font:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Preferences → Profiles → Text&lt;/li&gt;
  &lt;li&gt;Set font and size&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;color-schemes&quot;&gt;Color Schemes&lt;/h3&gt;

&lt;p&gt;Color schemes improve contrast and visual clarity.&lt;/p&gt;

&lt;p&gt;You can import themes from:&lt;br /&gt;
https://iterm2colorschemes.com/&lt;/p&gt;

&lt;p&gt;After downloading a theme:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Preferences → Profiles → Colors&lt;/li&gt;
  &lt;li&gt;Color Presets → Import&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Popular choices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Solarized Dark&lt;/li&gt;
  &lt;li&gt;Dracula&lt;/li&gt;
  &lt;li&gt;One Dark&lt;/li&gt;
  &lt;li&gt;Gruvbox&lt;/li&gt;
  &lt;li&gt;Nord&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;window-and-tab-behavior&quot;&gt;Window and Tab Behavior&lt;/h3&gt;

&lt;p&gt;Useful tweaks for multitasking:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Disable confirmation prompts for closing tabs (optional)&lt;/li&gt;
  &lt;li&gt;Set tab position (top or bottom)&lt;/li&gt;
  &lt;li&gt;Enable native full-screen mode&lt;/li&gt;
  &lt;li&gt;Adjust window dimensions on startup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;split-panes-for-productivity&quot;&gt;Split Panes for Productivity&lt;/h2&gt;

&lt;p&gt;One of iTerm2’s most powerful features is pane splitting.&lt;/p&gt;

&lt;p&gt;Keyboard shortcuts:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;CMD + D&lt;/strong&gt; → Split vertically&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;CMD + SHIFT + D&lt;/strong&gt; → Split horizontally&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allows multiple sessions in a single window, which is ideal for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Monitoring logs while running commands&lt;/li&gt;
  &lt;li&gt;Managing multiple servers simultaneously&lt;/li&gt;
  &lt;li&gt;Running editor + shell side-by-side&lt;/li&gt;
  &lt;li&gt;Comparing outputs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;profiles-for-different-workflows&quot;&gt;Profiles for Different Workflows&lt;/h2&gt;

&lt;p&gt;Profiles let you create customized environments for different tasks.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Default local shell&lt;/li&gt;
  &lt;li&gt;Production SSH sessions&lt;/li&gt;
  &lt;li&gt;Kubernetes administration&lt;/li&gt;
  &lt;li&gt;Database work&lt;/li&gt;
  &lt;li&gt;Different color schemes per environment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Create a new profile:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Preferences → Profiles → “+” button&lt;/li&gt;
  &lt;li&gt;Configure shell, colors, fonts, and working directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also set a command to run automatically, such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Opening an SSH session&lt;/li&gt;
  &lt;li&gt;Starting a specific tool&lt;/li&gt;
  &lt;li&gt;Changing directories&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ssh-workflow-improvements&quot;&gt;SSH Workflow Improvements&lt;/h2&gt;

&lt;p&gt;iTerm2 integrates very well with SSH-heavy environments.&lt;/p&gt;

&lt;p&gt;Useful capabilities:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Native tabbed SSH sessions&lt;/li&gt;
  &lt;li&gt;Copy/paste improvements&lt;/li&gt;
  &lt;li&gt;Automatic profile switching&lt;/li&gt;
  &lt;li&gt;Broadcast input to multiple panes&lt;/li&gt;
  &lt;li&gt;Session restoration&lt;/li&gt;
  &lt;li&gt;Scrollback search across large outputs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Combined with SSH config shortcuts, this makes managing multiple hosts extremely efficient.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;clipboard-and-selection-enhancements&quot;&gt;Clipboard and Selection Enhancements&lt;/h2&gt;

&lt;p&gt;iTerm2 fixes many frustrations present in the default terminal:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Smart selection of paths and URLs&lt;/li&gt;
  &lt;li&gt;Clickable links&lt;/li&gt;
  &lt;li&gt;Easier copy/paste behavior&lt;/li&gt;
  &lt;li&gt;Option-click to move cursor&lt;/li&gt;
  &lt;li&gt;Copy without formatting artifacts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-and-stability&quot;&gt;Performance and Stability&lt;/h2&gt;

&lt;p&gt;In daily use, iTerm2 is:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fast&lt;/li&gt;
  &lt;li&gt;Stable&lt;/li&gt;
  &lt;li&gt;Lightweight&lt;/li&gt;
  &lt;li&gt;Capable of handling very large scrollback buffers&lt;/li&gt;
  &lt;li&gt;Suitable for long-running sessions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is widely adopted across development and operations teams for good reason.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pros-and-cons&quot;&gt;Pros and Cons&lt;/h2&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Extremely customizable&lt;/li&gt;
  &lt;li&gt;Powerful pane and tab management&lt;/li&gt;
  &lt;li&gt;Excellent SSH experience&lt;/li&gt;
  &lt;li&gt;Free and open source&lt;/li&gt;
  &lt;li&gt;Active development&lt;/li&gt;
  &lt;li&gt;Large community support&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;macOS only&lt;/li&gt;
  &lt;li&gt;Large number of options can feel overwhelming&lt;/li&gt;
  &lt;li&gt;Some advanced features require configuration time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;iTerm2 is one of the most impactful upgrades you can make to your macOS workflow if you spend significant time in the terminal. Its flexibility, performance, and feature set far exceed the default Terminal.app, especially for system administrators, developers, and power users. With a few configuration tweaks, iTerm2 becomes a central productivity tool for managing local and remote systems efficiently.&lt;/p&gt;

&lt;p&gt;For more detailed and official documentation, refer to the &lt;a href=&quot;https://iterm2.com/documentation.html&quot;&gt;iTerm2 documentation page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 14 Mar 2026 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/iterm2-on-macos/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/iterm2-on-macos/</guid>
        
        <category>mac</category>
        
        <category>terminal</category>
        
        <category>iterm2</category>
        
        <category>productivity</category>
        
        <category>ssh</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>AnyDesk Installation Guide for Remote Assistance</title>
        <description>&lt;p&gt;This guide explains how to install AnyDesk on Windows and macOS so remote assistance can be available when needed. These steps cover the normal installation and basic setup only. Optional unattended access can be configured later if necessary and agreed upon.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-you-will-need&quot; id=&quot;markdown-toc-what-you-will-need&quot;&gt;What you will need&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#windows-installation-instructions&quot; id=&quot;markdown-toc-windows-installation-instructions&quot;&gt;Windows Installation Instructions&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-download-anydesk&quot; id=&quot;markdown-toc-1-download-anydesk&quot;&gt;1. Download AnyDesk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-install-anydesk&quot; id=&quot;markdown-toc-2-install-anydesk&quot;&gt;2. Install AnyDesk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-confirm-the-app-opens-correctly&quot; id=&quot;markdown-toc-3-confirm-the-app-opens-correctly&quot;&gt;3. Confirm the app opens correctly&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-during-a-normal-support-session&quot; id=&quot;markdown-toc-4-during-a-normal-support-session&quot;&gt;4. During a normal support session&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#macos-installation-instructions&quot; id=&quot;markdown-toc-macos-installation-instructions&quot;&gt;macOS Installation Instructions&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-download-anydesk-1&quot; id=&quot;markdown-toc-1-download-anydesk-1&quot;&gt;1. Download AnyDesk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-install-anydesk-1&quot; id=&quot;markdown-toc-2-install-anydesk-1&quot;&gt;2. Install AnyDesk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-grant-required-macos-permissions&quot; id=&quot;markdown-toc-3-grant-required-macos-permissions&quot;&gt;3. Grant required macOS permissions&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-confirm-the-app-opens-correctly&quot; id=&quot;markdown-toc-4-confirm-the-app-opens-correctly&quot;&gt;4. Confirm the app opens correctly&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-during-a-normal-support-session&quot; id=&quot;markdown-toc-5-during-a-normal-support-session&quot;&gt;5. During a normal support session&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#general-notes&quot; id=&quot;markdown-toc-general-notes&quot;&gt;General Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#optional-note-unattended-access&quot; id=&quot;markdown-toc-optional-note-unattended-access&quot;&gt;Optional Note: Unattended Access&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-you-will-need&quot;&gt;What you will need&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;A Windows PC or Mac with internet access&lt;/li&gt;
  &lt;li&gt;Permission to install software on the computer&lt;/li&gt;
  &lt;li&gt;The official &lt;a href=&quot;https://anydesk.com/en/downloads/&quot;&gt;AnyDesk installer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;windows-installation-instructions&quot;&gt;Windows Installation Instructions&lt;/h2&gt;

&lt;h3 id=&quot;1-download-anydesk&quot;&gt;1. Download AnyDesk&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Open your web browser.&lt;/li&gt;
  &lt;li&gt;Go to the official &lt;a href=&quot;https://anydesk.com/en/downloads/&quot;&gt;AnyDesk installer&lt;/a&gt; page.&lt;/li&gt;
  &lt;li&gt;Download the Windows installer.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;2-install-anydesk&quot;&gt;2. Install AnyDesk&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Open the downloaded AnyDesk file.&lt;/li&gt;
  &lt;li&gt;If prompted, choose to install AnyDesk on the device.&lt;/li&gt;
  &lt;li&gt;Accept any Windows security or administrator prompts.&lt;/li&gt;
  &lt;li&gt;Complete the installation.&lt;/li&gt;
  &lt;li&gt;Open AnyDesk after the install finishes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;3-confirm-the-app-opens-correctly&quot;&gt;3. Confirm the app opens correctly&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;When AnyDesk opens, locate the device’s AnyDesk ID or alias in the main window.&lt;/li&gt;
  &lt;li&gt;Keep the application open when you are ready for support.&lt;/li&gt;
  &lt;li&gt;Share the AnyDesk ID with technical support when they are going to connect.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;4-during-a-normal-support-session&quot;&gt;4. During a normal support session&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;The AnyDesk ID will be entered from the technical POC side.&lt;/li&gt;
  &lt;li&gt;You will receive a connection request.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Accept&lt;/strong&gt; when you are ready for the connection.&lt;/li&gt;
  &lt;li&gt;Stay near the computer in case permissions or prompts appear during the session.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;macos-installation-instructions&quot;&gt;macOS Installation Instructions&lt;/h2&gt;

&lt;h3 id=&quot;1-download-anydesk-1&quot;&gt;1. Download AnyDesk&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Open your web browser.&lt;/li&gt;
  &lt;li&gt;Go to the official &lt;a href=&quot;https://anydesk.com/en/downloads/&quot;&gt;AnyDesk installer&lt;/a&gt; page.&lt;/li&gt;
  &lt;li&gt;Download the macOS version of AnyDesk.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;2-install-anydesk-1&quot;&gt;2. Install AnyDesk&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Open the downloaded &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.dmg&lt;/code&gt; file, which is likely in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Downloads&lt;/code&gt; directory.&lt;/li&gt;
  &lt;li&gt;In the installer window, open the AnyDesk application.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Install Now&lt;/strong&gt; if prompted.&lt;/li&gt;
  &lt;li&gt;Accept any prompts needed to complete the installation.&lt;/li&gt;
  &lt;li&gt;Move AnyDesk to the &lt;strong&gt;Applications&lt;/strong&gt; folder if requested.&lt;/li&gt;
  &lt;li&gt;Launch AnyDesk.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;3-grant-required-macos-permissions&quot;&gt;3. Grant required macOS permissions&lt;/h3&gt;

&lt;p&gt;macOS may require additional permissions before remote control works properly.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open AnyDesk.&lt;/li&gt;
  &lt;li&gt;Follow any prompts shown by the app.&lt;/li&gt;
  &lt;li&gt;Allow the requested permissions in &lt;strong&gt;Privacy &amp;amp; Security&lt;/strong&gt; settings.&lt;/li&gt;
  &lt;li&gt;Approve permissions such as:
    &lt;ul&gt;
      &lt;li&gt;Screen Recording&lt;/li&gt;
      &lt;li&gt;Accessibility&lt;/li&gt;
      &lt;li&gt;Full Disk Access&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Restart AnyDesk if macOS requires it after changing permissions.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;4-confirm-the-app-opens-correctly&quot;&gt;4. Confirm the app opens correctly&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;In the main AnyDesk window, locate the device’s AnyDesk ID or alias.&lt;/li&gt;
  &lt;li&gt;Keep the application open when you are ready for support.&lt;/li&gt;
  &lt;li&gt;Share the AnyDesk ID with technical support when they are going to connect.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;5-during-a-normal-support-session&quot;&gt;5. During a normal support session&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;The AnyDesk ID will be entered from the technical POC side.&lt;/li&gt;
  &lt;li&gt;You will receive a connection request.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Accept&lt;/strong&gt; when you are ready for me to connect.&lt;/li&gt;
  &lt;li&gt;Stay near the Mac in case additional permission prompts appear.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;general-notes&quot;&gt;General Notes&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Download AnyDesk only from the official &lt;a href=&quot;https://anydesk.com/en/downloads/&quot;&gt;AnyDesk installer&lt;/a&gt; page.&lt;/li&gt;
  &lt;li&gt;Keep the app updated if you use it regularly.&lt;/li&gt;
  &lt;li&gt;If the app opens but remote control does not work on a Mac, the missing step is usually one of the macOS permissions.&lt;/li&gt;
  &lt;li&gt;If you close the app completely, technical support may not be able to connect until you reopen it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;optional-note-unattended-access&quot;&gt;Optional Note: Unattended Access&lt;/h2&gt;

&lt;p&gt;Unattended access is not required for a normal support session. It should only be configured if needed and if you agree to it.&lt;/p&gt;

&lt;p&gt;If we decide to enable it later, the general process is:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open AnyDesk.&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Access&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;In the &lt;strong&gt;Unattended Access&lt;/strong&gt; section, click &lt;strong&gt;Set password&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Create a strong password and save it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On macOS, the required system permissions must also already be granted for remote control to work properly.&lt;/p&gt;

&lt;p&gt;For more detailed and official documentation, refer to the &lt;a href=&quot;https://support.anydesk.com/docs/getting-started/&quot;&gt;AnyDesk Help Center&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 07 Mar 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/anydesk-installation-guide/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/anydesk-installation-guide/</guid>
        
        <category>macos</category>
        
        <category>windows</category>
        
        <category>rdp</category>
        
        <category>cloud-init</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Set a Manual Static IP on Ubuntu Server</title>
        <description>&lt;p&gt;Setting a manual static IP on Ubuntu Server ensures predictable networking, which is critical for servers, firewalls, DNS systems, and virtualization hosts.&lt;/p&gt;

&lt;p&gt;This guide configures a permanent static IPv4 address using Netplan and disables cloud-init network management to prevent changes on reboot.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#example-values-used&quot; id=&quot;markdown-toc-example-values-used&quot;&gt;Example Values Used&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#1-identify-your-network-interface&quot; id=&quot;markdown-toc-1-identify-your-network-interface&quot;&gt;1 Identify Your Network Interface&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#2-locate-your-netplan-file&quot; id=&quot;markdown-toc-2-locate-your-netplan-file&quot;&gt;2 Locate Your Netplan File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#3-backup-the-existing-netplan-file&quot; id=&quot;markdown-toc-3-backup-the-existing-netplan-file&quot;&gt;3 Backup the Existing Netplan File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#4-edit-netplan-and-set-the-static-ip&quot; id=&quot;markdown-toc-4-edit-netplan-and-set-the-static-ip&quot;&gt;4 Edit Netplan and Set the Static IP&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#5-prevent-cloud-init-from-overwriting-networking&quot; id=&quot;markdown-toc-5-prevent-cloud-init-from-overwriting-networking&quot;&gt;5 Prevent cloud-init From Overwriting Networking&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#6-apply-the-configuration-safely&quot; id=&quot;markdown-toc-6-apply-the-configuration-safely&quot;&gt;6 Apply the Configuration Safely&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#7-verify-the-new-network-settings&quot; id=&quot;markdown-toc-7-verify-the-new-network-settings&quot;&gt;7 Verify the New Network Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting&quot; id=&quot;markdown-toc-troubleshooting&quot;&gt;Troubleshooting&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#ip-conflict&quot; id=&quot;markdown-toc-ip-conflict&quot;&gt;IP Conflict&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#recover-quickly&quot; id=&quot;markdown-toc-recover-quickly&quot;&gt;Recover Quickly&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-values-used&quot;&gt;Example Values Used&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Interface: ens18&lt;/li&gt;
  &lt;li&gt;Static IP: 192.168.9.112&lt;/li&gt;
  &lt;li&gt;Netmask: 255.255.255.0 (CIDR: /24)&lt;/li&gt;
  &lt;li&gt;Gateway: 192.168.9.1&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;DNS servers:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;192.168.9.111&lt;/li&gt;
      &lt;li&gt;192.168.9.113&lt;/li&gt;
      &lt;li&gt;8.8.8.8&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Adjust these values for your environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;1-identify-your-network-interface&quot;&gt;1 Identify Your Network Interface&lt;/h2&gt;

&lt;p&gt;Run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ip &lt;span class=&quot;nt&quot;&gt;-br&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;link
&lt;/span&gt;ip &lt;span class=&quot;nt&quot;&gt;-br&lt;/span&gt; addr
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Locate the interface that currently has your IPv4 address. In this example, it is ens18.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;2-locate-your-netplan-file&quot;&gt;2 Locate Your Netplan File&lt;/h2&gt;

&lt;p&gt;Run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;ls&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-lah&lt;/span&gt; /etc/netplan/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On many template or cloud-based installs, you will see a file named:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;50-cloud-init.yaml&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;3-backup-the-existing-netplan-file&quot;&gt;3 Backup the Existing Netplan File&lt;/h2&gt;

&lt;p&gt;Before modifying anything, create a backup:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo cp&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-a&lt;/span&gt; /etc/netplan/50-cloud-init.yaml /etc/netplan/50-cloud-init.yaml.bk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;4-edit-netplan-and-set-the-static-ip&quot;&gt;4 Edit Netplan and Set the Static IP&lt;/h2&gt;

&lt;p&gt;Open the file:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;nano /etc/netplan/50-cloud-init.yaml
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace the contents with the following (update ens18 if needed):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;network:
version: 2
renderer: networkd
ethernets:
ens18:
dhcp4: no
addresses:
- 192.168.9.112/24
routes:
- to: default
via: 192.168.9.1
nameservers:
addresses:
- 192.168.9.111
- 192.168.9.113
- 8.8.8.8
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;192.168.9.112/24 corresponds to netmask 255.255.255.0.&lt;/li&gt;
  &lt;li&gt;If you want to disable DHCPv6 as well, add: dhcp6: no under dhcp4: no.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;5-prevent-cloud-init-from-overwriting-networking&quot;&gt;5 Prevent cloud-init From Overwriting Networking&lt;/h2&gt;

&lt;p&gt;If your file is named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;50-cloud-init.yaml&lt;/code&gt;, cloud-init may regenerate it on reboot unless networking is disabled.&lt;/p&gt;

&lt;p&gt;Run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo mkdir&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; /etc/cloud/cloud.cfg.d
&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;network: {config: disabled}&apos;&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sudo tee&lt;/span&gt; /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This prevents cloud-init from managing network configuration.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;6-apply-the-configuration-safely&quot;&gt;6 Apply the Configuration Safely&lt;/h2&gt;

&lt;p&gt;If connected via SSH, use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;netplan try
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;If connectivity remains stable, press Enter to confirm.&lt;/li&gt;
  &lt;li&gt;If connectivity breaks, the configuration automatically rolls back.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are on local console access, you may instead use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;netplan apply
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;7-verify-the-new-network-settings&quot;&gt;7 Verify the New Network Settings&lt;/h2&gt;

&lt;p&gt;Run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ip &lt;span class=&quot;nt&quot;&gt;-br&lt;/span&gt; addr show ens18
ip route
resolvectl status | &lt;span class=&quot;nb&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;1,120p&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should see:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;ens18 with 192.168.9.112/24&lt;/li&gt;
  &lt;li&gt;Default route via 192.168.9.1&lt;/li&gt;
  &lt;li&gt;DNS servers set correctly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;

&lt;h3 id=&quot;ip-conflict&quot;&gt;IP Conflict&lt;/h3&gt;

&lt;p&gt;Ensure 192.168.9.112 is not already in use and not inside an active DHCP pool unless properly reserved.&lt;/p&gt;

&lt;h3 id=&quot;recover-quickly&quot;&gt;Recover Quickly&lt;/h3&gt;

&lt;p&gt;If networking breaks and you have console access, restore the backup:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo cp&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-a&lt;/span&gt; /etc/netplan/50-cloud-init.yaml.bk /etc/netplan/50-cloud-init.yaml
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;netplan apply
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Netplan&lt;/code&gt; with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cloud-init&lt;/code&gt; properly disabled ensures your Ubuntu Server retains its static IP configuration permanently. This approach is reliable, audit-friendly, and appropriate for production environments where predictable networking is required.&lt;/p&gt;
</description>
        <pubDate>Sat, 28 Feb 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/ubuntu-manual-static-ip/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/ubuntu-manual-static-ip/</guid>
        
        <category>ubuntu</category>
        
        <category>networking</category>
        
        <category>netplan</category>
        
        <category>cloud-init</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Get a 12 Month Xbox Game Pass Subscription</title>
        <description>&lt;p&gt;Xbox Game Pass is one of the best values in gaming, but purchasing a full 12 month membership is not always straightforward.&lt;/p&gt;

&lt;p&gt;If you visit the official Xbox site:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.xbox.com/en-US/xbox-game-pass&quot;&gt;https://www.xbox.com/en-US/xbox-game-pass&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will typically only see options for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;1 month&lt;/li&gt;
  &lt;li&gt;3 months&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you prefer paying annually instead of monthly, there is an alternative method.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-purchase-a-12-month-membership-from-best-buy&quot; id=&quot;markdown-toc-step-1-purchase-a-12-month-membership-from-best-buy&quot;&gt;Step 1: Purchase a 12 Month Membership from Best Buy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-redeem-your-code&quot; id=&quot;markdown-toc-step-2-redeem-your-code&quot;&gt;Step 2: Redeem Your Code&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-notes&quot; id=&quot;markdown-toc-important-notes&quot;&gt;Important Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-choose-12-months&quot; id=&quot;markdown-toc-why-choose-12-months&quot;&gt;Why Choose 12 Months?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-purchase-a-12-month-membership-from-best-buy&quot;&gt;Step 1: Purchase a 12 Month Membership from Best Buy&lt;/h2&gt;

&lt;p&gt;Instead of buying directly from Xbox, you can purchase a 12 month digital membership from Best Buy:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.bestbuy.com/product/microsoft-xbox-game-pass-essential-12-month-membership-digital&quot;&gt;https://www.bestbuy.com/product/microsoft-xbox-game-pass-essential-12-month-membership-digital&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why this works:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Best Buy sells digital prepaid codes&lt;/li&gt;
  &lt;li&gt;You receive a redemption code after purchase&lt;/li&gt;
  &lt;li&gt;It avoids recurring monthly billing if that is your preference&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After checkout, Best Buy will provide a digital code via email or in your account order history.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-redeem-your-code&quot;&gt;Step 2: Redeem Your Code&lt;/h2&gt;

&lt;p&gt;Once you have your 12 month code, redeem it through the official Xbox redemption page:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://support.xbox.com/en-US/help/subscriptions-billing/redeem-codes-gifting/redeem-prepaid-codes&quot;&gt;https://support.xbox.com/en-US/help/subscriptions-billing/redeem-codes-gifting/redeem-prepaid-codes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From there:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Log into your Microsoft account&lt;/li&gt;
  &lt;li&gt;Enter the 25 character code&lt;/li&gt;
  &lt;li&gt;Confirm the redemption&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your subscription time will be added to your account immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-notes&quot;&gt;Important Notes&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Make sure you are logged into the correct Microsoft account before redeeming&lt;/li&gt;
  &lt;li&gt;If you already have an active subscription, the 12 months will stack on top of your current time&lt;/li&gt;
  &lt;li&gt;Digital codes are non-refundable once redeemed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-choose-12-months&quot;&gt;Why Choose 12 Months?&lt;/h2&gt;

&lt;p&gt;Buying annually instead of monthly can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Reduce billing management&lt;/li&gt;
  &lt;li&gt;Lock in pricing&lt;/li&gt;
  &lt;li&gt;Prevent accidental subscription lapses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For users who plan to keep Game Pass long term, purchasing a 12 month prepaid membership is often the simplest solution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;While Xbox.com primarily promotes shorter subscription cycles, 12 month memberships are still available through authorized retailers like Best Buy.&lt;/p&gt;

&lt;p&gt;By purchasing a prepaid digital code and redeeming it through the official Xbox portal, you can secure a full year of service without relying on recurring monthly charges.&lt;/p&gt;
</description>
        <pubDate>Sat, 21 Feb 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/xbox-annual-subscription/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/xbox-annual-subscription/</guid>
        
        <category>xbox</category>
        
        <category>subscription</category>
        
        <category>gamepass</category>
        
        <category>howto</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>How to Upload ISO Files to Proxmox Servers</title>
        <description>&lt;p&gt;Proxmox Virtual Environment (Proxmox VE) is a powerful and flexible platform for running virtual machines and containers. One of the most common setup tasks is uploading ISO files so they can be used to install new virtual machines.&lt;/p&gt;

&lt;p&gt;In some environments, however, the &lt;strong&gt;GUI-based ISO upload&lt;/strong&gt; can become slow, stall indefinitely, or fail altogether. When that happens, using a direct file transfer method is often faster and more reliable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-proxmox-gui-upload-issue&quot; id=&quot;markdown-toc-the-proxmox-gui-upload-issue&quot;&gt;The Proxmox GUI Upload Issue&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#where-proxmox-stores-iso-files&quot; id=&quot;markdown-toc-where-proxmox-stores-iso-files&quot;&gt;Where Proxmox Stores ISO Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-1-uploading-isos-with-scp-command-line&quot; id=&quot;markdown-toc-method-1-uploading-isos-with-scp-command-line&quot;&gt;Method 1: Uploading ISOs with SCP (Command Line)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-prepare-the-iso&quot; id=&quot;markdown-toc-step-1-prepare-the-iso&quot;&gt;Step 1: Prepare the ISO&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-transfer-the-iso&quot; id=&quot;markdown-toc-step-2-transfer-the-iso&quot;&gt;Step 2: Transfer the ISO&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-2-uploading-isos-with-winscp-graphical&quot; id=&quot;markdown-toc-method-2-uploading-isos-with-winscp-graphical&quot;&gt;Method 2: Uploading ISOs with WinSCP (Graphical)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-connect-to-proxmox&quot; id=&quot;markdown-toc-step-1-connect-to-proxmox&quot;&gt;Step 1: Connect to Proxmox&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-transfer-the-iso-1&quot; id=&quot;markdown-toc-step-2-transfer-the-iso-1&quot;&gt;Step 2: Transfer the ISO&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verifying-the-upload&quot; id=&quot;markdown-toc-verifying-the-upload&quot;&gt;Verifying the Upload&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-proxmox-gui-upload-issue&quot;&gt;The Proxmox GUI Upload Issue&lt;/h2&gt;

&lt;p&gt;The Proxmox web interface allows ISO uploads directly through the browser. While convenient, this method can sometimes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Stall during large uploads&lt;/li&gt;
  &lt;li&gt;Fail silently with no clear error&lt;/li&gt;
  &lt;li&gt;Be interrupted by browser or network issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When reliability matters, transferring the ISO directly to the server filesystem avoids these problems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;where-proxmox-stores-iso-files&quot;&gt;Where Proxmox Stores ISO Files&lt;/h2&gt;

&lt;p&gt;By default, Proxmox stores ISO images in the following directory:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Any ISO placed in this directory automatically becomes available in the Proxmox web interface under the local storage view.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-1-uploading-isos-with-scp-command-line&quot;&gt;Method 1: Uploading ISOs with SCP (Command Line)&lt;/h2&gt;

&lt;p&gt;This method works on Linux, macOS, and Windows systems with an SCP-capable terminal.&lt;/p&gt;

&lt;h3 id=&quot;step-1-prepare-the-iso&quot;&gt;Step 1: Prepare the ISO&lt;/h3&gt;

&lt;p&gt;Ensure the ISO file is accessible on your local system, external drive, or network share.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-transfer-the-iso&quot;&gt;Step 2: Transfer the ISO&lt;/h3&gt;

&lt;p&gt;From your local machine, run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;scp /path/to/your/iso/your-file.iso username@proxmox-ip:/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You will be prompted to enter your Proxmox user password. Once complete, the file will be copied directly to the ISO storage directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-2-uploading-isos-with-winscp-graphical&quot;&gt;Method 2: Uploading ISOs with WinSCP (Graphical)&lt;/h2&gt;

&lt;p&gt;If you prefer a graphical interface, WinSCP is a popular option for Windows users.&lt;/p&gt;

&lt;h3 id=&quot;step-1-connect-to-proxmox&quot;&gt;Step 1: Connect to Proxmox&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Install WinSCP&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Create a new session using:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Protocol: SCP or SFTP&lt;/li&gt;
      &lt;li&gt;Hostname: Proxmox server IP&lt;/li&gt;
      &lt;li&gt;Username and password&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-transfer-the-iso-1&quot;&gt;Step 2: Transfer the ISO&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;In the remote panel, navigate to:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;In the local panel, locate your ISO file&lt;/li&gt;
  &lt;li&gt;Drag and drop the ISO into the remote directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The transfer will begin immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verifying-the-upload&quot;&gt;Verifying the Upload&lt;/h2&gt;

&lt;p&gt;After the transfer completes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm the file exists in &lt;strong&gt;/var/lib/vz/template/iso/&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Open the Proxmox web interface&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;Datacenter → Node → local → ISO Images&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The uploaded ISO should now be visible and ready for use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Uploading ISO files is a critical part of managing virtual machines in Proxmox VE. When the web interface upload fails or becomes unreliable, transferring ISO files directly via SCP or WinSCP provides a fast and dependable alternative.&lt;/p&gt;

&lt;p&gt;By placing ISOs directly into Proxmox’s ISO directory, you can avoid browser-related issues and keep your virtualization workflow moving smoothly.&lt;/p&gt;

&lt;p&gt;For more detailed and official documentation, refer to the &lt;a href=&quot;https://pve.proxmox.com/pve-docs/&quot;&gt;Proxmox VE Documentation Index&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 14 Feb 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/proxmox-upload-iso/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/proxmox-upload-iso/</guid>
        
        <category>proxmox</category>
        
        <category>virtualization</category>
        
        <category>storage</category>
        
        <category>howto</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>tldr — A Practical Alternative to man Pages</title>
        <description>&lt;h2 id=&quot;overview&quot;&gt;Overview&lt;/h2&gt;

&lt;p&gt;tldr (short for &lt;em&gt;too long; didn’t read&lt;/em&gt;) is a community‑maintained documentation project that provides &lt;strong&gt;simplified, example‑driven help pages&lt;/strong&gt; for command‑line tools. Instead of long explanations and exhaustive option lists, tldr focuses on the most common and useful command patterns.&lt;/p&gt;

&lt;p&gt;It is designed for situations where you already know &lt;em&gt;what&lt;/em&gt; tool you want to use — you just need a reminder of &lt;em&gt;how&lt;/em&gt; to use it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview&quot; id=&quot;markdown-toc-overview&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-tldr-differs-from-man-pages&quot; id=&quot;markdown-toc-how-tldr-differs-from-man-pages&quot;&gt;How tldr Differs from man Pages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-a-tldr-page-looks-like&quot; id=&quot;markdown-toc-what-a-tldr-page-looks-like&quot;&gt;What a tldr Page Looks Like&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-tldr&quot; id=&quot;markdown-toc-installing-tldr&quot;&gt;Installing tldr&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-tldr&quot; id=&quot;markdown-toc-using-tldr&quot;&gt;Using tldr&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-tldr-shines&quot; id=&quot;markdown-toc-when-tldr-shines&quot;&gt;When tldr Shines&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-tldr-differs-from-man-pages&quot;&gt;How tldr Differs from man Pages&lt;/h2&gt;

&lt;p&gt;Traditional &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;man&lt;/code&gt; pages aim to be complete and authoritative. While this is useful for deep reference, it often makes them inefficient for day‑to‑day use.&lt;/p&gt;

&lt;p&gt;tldr takes a different approach:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Short descriptions instead of long explanations&lt;/li&gt;
  &lt;li&gt;Practical examples instead of exhaustive flags&lt;/li&gt;
  &lt;li&gt;Focus on common use cases&lt;/li&gt;
  &lt;li&gt;Consistent formatting across commands&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In practice, tldr works best as a &lt;strong&gt;quick reference&lt;/strong&gt;, while &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;man&lt;/code&gt; remains useful for edge cases and deep dives.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-a-tldr-page-looks-like&quot;&gt;What a tldr Page Looks Like&lt;/h2&gt;

&lt;p&gt;tldr pages are structured consistently:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A brief description of the command&lt;/li&gt;
  &lt;li&gt;A list of common tasks&lt;/li&gt;
  &lt;li&gt;One or more example commands for each task&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each example is meant to be copied, modified slightly, and executed.&lt;/p&gt;

&lt;p&gt;This makes tldr especially useful during troubleshooting, scripting, or when switching between tools you don’t use every day.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-tldr&quot;&gt;Installing tldr&lt;/h2&gt;

&lt;p&gt;tldr clients are available on most platforms.&lt;/p&gt;

&lt;p&gt;Common installation options include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Linux package managers via the EPEL repository&lt;/li&gt;
  &lt;li&gt;macOS via Homebrew&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once installed, pages are typically cached locally for fast access.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-tldr&quot;&gt;Using tldr&lt;/h2&gt;

&lt;p&gt;Basic usage is simple:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Request help for a command by name&lt;/li&gt;
  &lt;li&gt;Read the examples&lt;/li&gt;
  &lt;li&gt;Apply or adapt them to your situation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;tldr is especially effective for commands like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tar&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These tools have many options, but only a handful are commonly used.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-tldr-shines&quot;&gt;When tldr Shines&lt;/h2&gt;

&lt;p&gt;tldr is most useful when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You need a reminder, not a tutorial&lt;/li&gt;
  &lt;li&gt;You already understand the tool conceptually&lt;/li&gt;
  &lt;li&gt;You want a working example quickly&lt;/li&gt;
  &lt;li&gt;You are switching between many systems or environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For system administrators and engineers, it often becomes the first stop before consulting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;man&lt;/code&gt; pages or online documentation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;p&gt;While tldr is extremely useful, it is not a complete replacement for man pages.&lt;/p&gt;

&lt;p&gt;Limitations include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Not all commands are covered&lt;/li&gt;
  &lt;li&gt;Advanced flags and edge cases may be missing&lt;/li&gt;
  &lt;li&gt;Content depends on community contributions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For authoritative or highly specific behavior, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;man&lt;/code&gt; pages and official documentation are still necessary.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;tldr fills an important gap between memory and documentation. It is fast, readable, and focused on what most people actually need when working at the command line.&lt;/p&gt;

&lt;p&gt;Used alongside traditional man pages, tldr can significantly improve productivity and reduce friction when working with complex CLI tools.&lt;/p&gt;

&lt;p&gt;If you spend time in a terminal, tldr is worth keeping installed.&lt;/p&gt;

&lt;p&gt;Here are additional places to learn more about tldr:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://tldr.sh/&quot;&gt;Official tldr website&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/tldr-pages/tldr&quot;&gt;tldr GitHub repository (project + contributions)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://tldr.inbrowser.app/&quot;&gt;Browse all available tldr pages online&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Sat, 07 Feb 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/tldr-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/tldr-review/</guid>
        
        <category>cli</category>
        
        <category>linux</category>
        
        <category>documentation</category>
        
        <category>productivity</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Upload ISO Files to Proxmox Servers</title>
        <description>&lt;p&gt;Proxmox Virtual Environment (Proxmox VE) is a powerful and flexible platform for running virtual machines and containers. One of the most common setup tasks is uploading ISO files so they can be used to install new virtual machines.&lt;/p&gt;

&lt;p&gt;In some environments, however, the &lt;strong&gt;GUI-based ISO upload&lt;/strong&gt; can become slow, stall indefinitely, or fail altogether. When that happens, using a direct file transfer method is often faster and more reliable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-proxmox-gui-upload-issue&quot; id=&quot;markdown-toc-the-proxmox-gui-upload-issue&quot;&gt;The Proxmox GUI Upload Issue&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#where-proxmox-stores-iso-files&quot; id=&quot;markdown-toc-where-proxmox-stores-iso-files&quot;&gt;Where Proxmox Stores ISO Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-1-uploading-isos-with-scp-command-line&quot; id=&quot;markdown-toc-method-1-uploading-isos-with-scp-command-line&quot;&gt;Method 1: Uploading ISOs with SCP (Command Line)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-prepare-the-iso&quot; id=&quot;markdown-toc-step-1-prepare-the-iso&quot;&gt;Step 1: Prepare the ISO&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-transfer-the-iso&quot; id=&quot;markdown-toc-step-2-transfer-the-iso&quot;&gt;Step 2: Transfer the ISO&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-2-uploading-isos-with-winscp-graphical&quot; id=&quot;markdown-toc-method-2-uploading-isos-with-winscp-graphical&quot;&gt;Method 2: Uploading ISOs with WinSCP (Graphical)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-connect-to-proxmox&quot; id=&quot;markdown-toc-step-1-connect-to-proxmox&quot;&gt;Step 1: Connect to Proxmox&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-transfer-the-iso-1&quot; id=&quot;markdown-toc-step-2-transfer-the-iso-1&quot;&gt;Step 2: Transfer the ISO&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verifying-the-upload&quot; id=&quot;markdown-toc-verifying-the-upload&quot;&gt;Verifying the Upload&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-proxmox-gui-upload-issue&quot;&gt;The Proxmox GUI Upload Issue&lt;/h2&gt;

&lt;p&gt;The Proxmox web interface allows ISO uploads directly through the browser. While convenient, this method can sometimes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Stall during large uploads&lt;/li&gt;
  &lt;li&gt;Fail silently with no clear error&lt;/li&gt;
  &lt;li&gt;Be interrupted by browser or network issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When reliability matters, transferring the ISO directly to the server filesystem avoids these problems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;where-proxmox-stores-iso-files&quot;&gt;Where Proxmox Stores ISO Files&lt;/h2&gt;

&lt;p&gt;By default, Proxmox stores ISO images in the following directory:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Any ISO placed in this directory automatically becomes available in the Proxmox web interface under the local storage view.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-1-uploading-isos-with-scp-command-line&quot;&gt;Method 1: Uploading ISOs with SCP (Command Line)&lt;/h2&gt;

&lt;p&gt;This method works on Linux, macOS, and Windows systems with an SCP-capable terminal.&lt;/p&gt;

&lt;h3 id=&quot;step-1-prepare-the-iso&quot;&gt;Step 1: Prepare the ISO&lt;/h3&gt;

&lt;p&gt;Ensure the ISO file is accessible on your local system, external drive, or network share.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-transfer-the-iso&quot;&gt;Step 2: Transfer the ISO&lt;/h3&gt;

&lt;p&gt;From your local machine, run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;scp /path/to/your/iso/your-file.iso username@proxmox-ip:/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You will be prompted to enter your Proxmox user password. Once complete, the file will be copied directly to the ISO storage directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-2-uploading-isos-with-winscp-graphical&quot;&gt;Method 2: Uploading ISOs with WinSCP (Graphical)&lt;/h2&gt;

&lt;p&gt;If you prefer a graphical interface, WinSCP is a popular option for Windows users.&lt;/p&gt;

&lt;h3 id=&quot;step-1-connect-to-proxmox&quot;&gt;Step 1: Connect to Proxmox&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Install WinSCP&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Create a new session using:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Protocol: SCP or SFTP&lt;/li&gt;
      &lt;li&gt;Hostname: Proxmox server IP&lt;/li&gt;
      &lt;li&gt;Username and password&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-transfer-the-iso-1&quot;&gt;Step 2: Transfer the ISO&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;In the remote panel, navigate to:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/var/lib/vz/template/iso/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;In the local panel, locate your ISO file&lt;/li&gt;
  &lt;li&gt;Drag and drop the ISO into the remote directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The transfer will begin immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verifying-the-upload&quot;&gt;Verifying the Upload&lt;/h2&gt;

&lt;p&gt;After the transfer completes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm the file exists in &lt;strong&gt;/var/lib/vz/template/iso/&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Open the Proxmox web interface&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;Datacenter → Node → local → ISO Images&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The uploaded ISO should now be visible and ready for use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Uploading ISO files is a critical part of managing virtual machines in Proxmox VE. When the web interface upload fails or becomes unreliable, transferring ISO files directly via SCP or WinSCP provides a fast and dependable alternative.&lt;/p&gt;

&lt;p&gt;By placing ISOs directly into Proxmox’s ISO directory, you can avoid browser-related issues and keep your virtualization workflow moving smoothly.&lt;/p&gt;

&lt;p&gt;For more detailed and official documentation, refer to the &lt;a href=&quot;https://pve.proxmox.com/pve-docs/&quot;&gt;Proxmox VE Documentation Index&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 07 Feb 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/proxmox-upload-iso/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/proxmox-upload-iso/</guid>
        
        <category>proxmox</category>
        
        <category>virtualization</category>
        
        <category>storage</category>
        
        <category>howto</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Install Batocera on a Hard Drive</title>
        <description>&lt;p&gt;Running Batocera from a USB flash drive is great for testing, but installing it to a dedicated hard drive or SSD offers better performance, more storage, and a cleaner setup.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to install Batocera to an &lt;strong&gt;internal drive or external hard drive&lt;/strong&gt; using Batocera’s built-in installer — without dual-booting or modifying an existing operating system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#important-notes-before-you-start&quot; id=&quot;markdown-toc-important-notes-before-you-start&quot;&gt;Important Notes Before You Start&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#choosing-a-drive&quot; id=&quot;markdown-toc-choosing-a-drive&quot;&gt;Choosing a Drive&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#booting-into-batocera&quot; id=&quot;markdown-toc-booting-into-batocera&quot;&gt;Booting into Batocera&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-batocera-to-a-new-drive&quot; id=&quot;markdown-toc-installing-batocera-to-a-new-drive&quot;&gt;Installing Batocera to a New Drive&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#completing-the-installation&quot; id=&quot;markdown-toc-completing-the-installation&quot;&gt;Completing the Installation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#booting-from-the-installed-drive&quot; id=&quot;markdown-toc-booting-from-the-installed-drive&quot;&gt;Booting from the Installed Drive&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#external-drive-alternative&quot; id=&quot;markdown-toc-external-drive-alternative&quot;&gt;External Drive Alternative&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-notes-before-you-start&quot;&gt;Important Notes Before You Start&lt;/h2&gt;

&lt;p&gt;This guide assumes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You are installing Batocera to a &lt;strong&gt;clean drive&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;The target drive does &lt;strong&gt;not&lt;/strong&gt; contain another operating system&lt;/li&gt;
  &lt;li&gt;You are &lt;strong&gt;not&lt;/strong&gt; dual-booting or multi-booting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Installing Batocera will &lt;strong&gt;erase the target drive completely&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;choosing-a-drive&quot;&gt;Choosing a Drive&lt;/h2&gt;

&lt;p&gt;Batocera works well on many types of storage:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Internal HDDs (mechanical drives)&lt;/li&gt;
  &lt;li&gt;Internal SSDs (recommended)&lt;/li&gt;
  &lt;li&gt;External USB hard drives or SSDs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A 240 GB to 500 GB drive is more than sufficient for most setups, but larger drives can be used if supported by your system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;booting-into-batocera&quot;&gt;Booting into Batocera&lt;/h2&gt;

&lt;p&gt;To install Batocera to another drive, you must first boot into Batocera itself.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Flash Batocera to a USB drive (temporary boot media)&lt;/li&gt;
  &lt;li&gt;Boot your system from that USB drive&lt;/li&gt;
  &lt;li&gt;Ensure the system is connected to the internet (Ethernet or Wi-Fi)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An internet connection is required because Batocera downloads the installer image during the process.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-batocera-to-a-new-drive&quot;&gt;Installing Batocera to a New Drive&lt;/h2&gt;

&lt;p&gt;Once Batocera is running:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt; on your controller&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;System Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Scroll to the bottom and select &lt;strong&gt;Install Batocera – New Disk&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Configure the installer options:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Target Device&lt;/strong&gt;: Select the drive you want to install Batocera to&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Target Architecture&lt;/strong&gt;: Match your system (for example, x86_64 for most PCs)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Validation&lt;/strong&gt;: Set to &lt;strong&gt;Yes, I’m sure&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Double-check the selected drive before proceeding.&lt;/p&gt;

&lt;p&gt;Select &lt;strong&gt;Install&lt;/strong&gt; to begin the process. Batocera will download and write everything to the target disk.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;completing-the-installation&quot;&gt;Completing the Installation&lt;/h2&gt;

&lt;p&gt;When installation finishes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;OK&lt;/strong&gt; at the completion prompt&lt;/li&gt;
  &lt;li&gt;Shut down the system&lt;/li&gt;
  &lt;li&gt;Remove the USB drive you originally booted from&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;booting-from-the-installed-drive&quot;&gt;Booting from the Installed Drive&lt;/h2&gt;

&lt;p&gt;After removing the USB drive:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Power on the system&lt;/li&gt;
  &lt;li&gt;Enter your BIOS or UEFI boot menu if necessary&lt;/li&gt;
  &lt;li&gt;Set the newly installed drive as the primary boot device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first boot may take longer than usual. Subsequent boots will be faster.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;external-drive-alternative&quot;&gt;External Drive Alternative&lt;/h2&gt;

&lt;p&gt;If you prefer:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You can install Batocera to an &lt;strong&gt;external USB hard drive or SSD&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;The steps are identical — simply select the external drive as the target device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a good option if you want a portable Batocera setup that can move between systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Installing Batocera to a dedicated hard drive or SSD is one of the best upgrades you can make. It improves performance, increases storage capacity, and removes the limitations of running from a USB flash drive.&lt;/p&gt;

&lt;p&gt;As long as you verify the target disk before installing, Batocera’s built-in installer makes the process straightforward and safe.&lt;/p&gt;

</description>
        <pubDate>Sat, 31 Jan 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-install-on-harddrive/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-install-on-harddrive/</guid>
        
        <category>batocera</category>
        
        <category>installation</category>
        
        <category>storage</category>
        
        <category>howto</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>How to Add Desktop Mode Using Batocera Add-ons</title>
        <description>&lt;p&gt;Batocera is typically used as a dedicated gaming interface, but it can be extended far beyond that. With the &lt;strong&gt;BUA (Batocera Unofficial Add-ons)&lt;/strong&gt; project, you can install a full Linux desktop that runs alongside Batocera and shares the same filesystem.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through what desktop mode is, how to install it using BUA, and why it can dramatically expand what your Batocera system can do.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-desktop-mode-in-batocera&quot; id=&quot;markdown-toc-what-is-desktop-mode-in-batocera&quot;&gt;What Is Desktop Mode in Batocera?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-bua&quot; id=&quot;markdown-toc-what-is-bua&quot;&gt;What Is BUA?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-bua&quot; id=&quot;markdown-toc-installing-bua&quot;&gt;Installing BUA&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-desktop-mode&quot; id=&quot;markdown-toc-installing-desktop-mode&quot;&gt;Installing Desktop Mode&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#accessing-the-desktop&quot; id=&quot;markdown-toc-accessing-the-desktop&quot;&gt;Accessing the Desktop&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#practical-use-cases&quot; id=&quot;markdown-toc-practical-use-cases&quot;&gt;Practical Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-and-resource-tips&quot; id=&quot;markdown-toc-performance-and-resource-tips&quot;&gt;Performance and Resource Tips&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#audio-and-input-notes&quot; id=&quot;markdown-toc-audio-and-input-notes&quot;&gt;Audio and Input Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#remote-access-to-the-desktop&quot; id=&quot;markdown-toc-remote-access-to-the-desktop&quot;&gt;Remote Access to the Desktop&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#remote-access-setup-mac--tailscale--sunshine&quot; id=&quot;markdown-toc-remote-access-setup-mac--tailscale--sunshine&quot;&gt;Remote Access Setup (Mac + Tailscale + Sunshine)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-install-and-approve-tailscale&quot; id=&quot;markdown-toc-1-install-and-approve-tailscale&quot;&gt;1. Install and Approve Tailscale&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-install-sunshine-on-batocera&quot; id=&quot;markdown-toc-2-install-sunshine-on-batocera&quot;&gt;2. Install Sunshine on Batocera&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-pair-moonlight-on-macos&quot; id=&quot;markdown-toc-3-pair-moonlight-on-macos&quot;&gt;3. Pair Moonlight on macOS&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-control-batocera-remotely&quot; id=&quot;markdown-toc-4-control-batocera-remotely&quot;&gt;4. Control Batocera Remotely&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-practical-tips&quot; id=&quot;markdown-toc-5-practical-tips&quot;&gt;5. Practical Tips&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-desktop-mode-in-batocera&quot;&gt;What Is Desktop Mode in Batocera?&lt;/h2&gt;

&lt;p&gt;Desktop mode adds a traditional Linux desktop environment to Batocera. This allows you to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Use a file manager&lt;/li&gt;
  &lt;li&gt;Download and extract files locally&lt;/li&gt;
  &lt;li&gt;Transfer ROMs without another computer&lt;/li&gt;
  &lt;li&gt;Browse the web or watch videos&lt;/li&gt;
  &lt;li&gt;Manage Batocera files directly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The desktop and Batocera share access to the same files, making them tightly integrated rather than separate systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-bua&quot;&gt;What Is BUA?&lt;/h2&gt;

&lt;p&gt;BUA is an add-on system developed by community contributors that allows Batocera to install applications and services not included by default.&lt;/p&gt;

&lt;p&gt;BUA acts as the framework that makes desktop mode possible.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Before installing desktop mode:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Ensure Batocera is connected to the internet&lt;/li&gt;
  &lt;li&gt;Have sufficient free storage (desktop installs can use up to ~2 GB)&lt;/li&gt;
  &lt;li&gt;A keyboard is recommended, at least for installation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-bua&quot;&gt;Installing BUA&lt;/h2&gt;

&lt;p&gt;To install BUA:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;F1&lt;/strong&gt; to open the file manager&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;Applications&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;xterm&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If BUA is not already installed, run the installation command provided by the BUA project. Once installation completes, type &lt;strong&gt;exit&lt;/strong&gt; to close the terminal.&lt;/p&gt;

&lt;p&gt;After installation, BUA becomes available from the file manager.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-desktop-mode&quot;&gt;Installing Desktop Mode&lt;/h2&gt;

&lt;p&gt;To install the desktop environment:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;BUA&lt;/strong&gt; from the file manager&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;System Utilities → Desktop&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Start the desktop installation process&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will be prompted to choose:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A Linux base (Alpine, Ubuntu, Fedora, Arch, or Debian)&lt;/li&gt;
  &lt;li&gt;A desktop environment (such as KDE Plasma)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once confirmed, BUA downloads and installs the selected environment. Install time depends on your internet speed and selected options.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;accessing-the-desktop&quot;&gt;Accessing the Desktop&lt;/h2&gt;

&lt;p&gt;After installation completes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Exit BUA&lt;/li&gt;
  &lt;li&gt;Return to the Batocera main interface&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;Ports&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will now see a new &lt;strong&gt;Batocera Desktop&lt;/strong&gt; entry. Launching it opens the desktop environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;practical-use-cases&quot;&gt;Practical Use Cases&lt;/h2&gt;

&lt;p&gt;Desktop mode enables several workflows that are difficult in standard Batocera:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Downloading ROM backups directly to correct folders&lt;/li&gt;
  &lt;li&gt;Extracting archives locally&lt;/li&gt;
  &lt;li&gt;Editing configuration files&lt;/li&gt;
  &lt;li&gt;Managing media and artwork&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This can eliminate the need for a second computer entirely.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-and-resource-tips&quot;&gt;Performance and Resource Tips&lt;/h2&gt;

&lt;p&gt;On lower-powered systems, desktop mode may impact performance.&lt;/p&gt;

&lt;p&gt;If Batocera feels sluggish:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open &lt;strong&gt;Main Menu → System Settings → Services&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Disable the &lt;strong&gt;Docker&lt;/strong&gt; service&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This temporarily disables desktop mode until re-enabled.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;audio-and-input-notes&quot;&gt;Audio and Input Notes&lt;/h2&gt;

&lt;p&gt;Inside desktop mode:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Audio may need to be enabled using the desktop volume icon&lt;/li&gt;
  &lt;li&gt;Keyboard and mouse provide the best experience&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are normal desktop behaviors rather than Batocera-specific issues.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;remote-access-to-the-desktop&quot;&gt;Remote Access to the Desktop&lt;/h2&gt;

&lt;p&gt;In addition to browser-based access, Batocera desktop mode can be accessed securely and smoothly from another machine using &lt;strong&gt;Tailscale&lt;/strong&gt;, &lt;strong&gt;Sunshine&lt;/strong&gt;, and &lt;strong&gt;Moonlight&lt;/strong&gt;. This setup works well from macOS and allows full remote control of the Batocera GUI.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;remote-access-setup-mac--tailscale--sunshine&quot;&gt;Remote Access Setup (Mac + Tailscale + Sunshine)&lt;/h2&gt;

&lt;h3 id=&quot;1-install-and-approve-tailscale&quot;&gt;1. Install and Approve Tailscale&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Install Tailscale on Batocera (already completed using your existing script)&lt;/li&gt;
  &lt;li&gt;In the Tailscale admin console, approve Batocera as a device&lt;/li&gt;
  &lt;li&gt;From your Mac, verify connectivity:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ping 192.168.1.x
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ping 100.x.y.z
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This confirms both LAN and Tailscale connectivity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-install-sunshine-on-batocera&quot;&gt;2. Install Sunshine on Batocera&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Open a terminal in Batocera (press &lt;strong&gt;F1&lt;/strong&gt;, then open a terminal)&lt;/li&gt;
  &lt;li&gt;Download the Sunshine AppImage:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;curl -L -o /userdata/system/sunshine.AppImage https://github.com/LizardByte/Sunshine/releases/download/v2025.122.141614/sunshine.AppImage
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Make it executable:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;chmod +x /userdata/system/sunshine.AppImage
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Start Sunshine:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/userdata/system/sunshine.AppImage &amp;gt; /var/log/sunshine.log 2&amp;gt;&amp;amp;1 &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Open the Sunshine Web UI in a browser:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;https://192.168.1.x:47990

or

https://100.x.y.z:47990
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Accept the security warning and set a username and password&lt;/li&gt;
  &lt;li&gt;If pairing issues occur, use &lt;strong&gt;WebUI → Troubleshooting → Force Close &amp;amp; Restart&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-pair-moonlight-on-macos&quot;&gt;3. Pair Moonlight on macOS&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Install Moonlight for macOS&lt;/li&gt;
  &lt;li&gt;Open Moonlight and add a new PC manually&lt;/li&gt;
  &lt;li&gt;Use Batocera’s LAN IP or Tailscale IP&lt;/li&gt;
  &lt;li&gt;Moonlight displays a PIN&lt;/li&gt;
  &lt;li&gt;Log into the Sunshine Web UI and enter the PIN to approve pairing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-control-batocera-remotely&quot;&gt;4. Control Batocera Remotely&lt;/h3&gt;

&lt;p&gt;Once paired:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Batocera appears as a streaming target in Moonlight&lt;/li&gt;
  &lt;li&gt;Launch it to control the Batocera frontend remotely&lt;/li&gt;
  &lt;li&gt;Keyboard, mouse, and controller inputs are forwarded in real time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-practical-tips&quot;&gt;5. Practical Tips&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Exit Moonlight cleanly with &lt;strong&gt;CTRL + ALT + Shift + Q&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;To auto-start Sunshine at boot, add this line to &lt;strong&gt;/userdata/system/custom.sh&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;/userdata/system/sunshine.AppImage &amp;gt; /var/log/sunshine.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;View Sunshine logs with:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;tail -f /var/log/sunshine.log
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Always use a strong Sunshine password, especially when accessible over Tailscale&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Desktop mode transforms Batocera from a dedicated gaming appliance into a flexible, all-in-one system. With BUA handling the heavy lifting, the setup is surprisingly accessible and integrates cleanly with existing Batocera workflows.&lt;/p&gt;

&lt;p&gt;If you frequently manage files, downloads, or configurations, desktop mode is one of the most powerful Batocera enhancements available.&lt;/p&gt;

</description>
        <pubDate>Sat, 24 Jan 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-desktop-mode/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-desktop-mode/</guid>
        
        <category>batocera</category>
        
        <category>bua</category>
        
        <category>desktop</category>
        
        <category>customization</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>How to Add Custom Background Music</title>
        <description>&lt;p&gt;Batocera’s menu system (EmulationStation) supports background music playback, giving you the ability to personalize the atmosphere of your retro setup.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to &lt;strong&gt;add custom background music&lt;/strong&gt; and enable it within Batocera.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#preparing-your-music-files&quot; id=&quot;markdown-toc-preparing-your-music-files&quot;&gt;Preparing Your Music Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#accessing-batoceras-share-folder&quot; id=&quot;markdown-toc-accessing-batoceras-share-folder&quot;&gt;Accessing Batocera’s Share Folder&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#from-another-computer-recommended&quot; id=&quot;markdown-toc-from-another-computer-recommended&quot;&gt;From Another Computer (Recommended)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#from-batocera-via-ssh-or-terminal&quot; id=&quot;markdown-toc-from-batocera-via-ssh-or-terminal&quot;&gt;From Batocera via SSH or Terminal&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#placing-your-music-files&quot; id=&quot;markdown-toc-placing-your-music-files&quot;&gt;Placing Your Music Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enabling-background-music-in-batocera&quot; id=&quot;markdown-toc-enabling-background-music-in-batocera&quot;&gt;Enabling Background Music in Batocera&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#restarting-emulationstation&quot; id=&quot;markdown-toc-restarting-emulationstation&quot;&gt;Restarting EmulationStation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;preparing-your-music-files&quot;&gt;Preparing Your Music Files&lt;/h2&gt;

&lt;p&gt;Before copying files, make sure your music is in a supported format.&lt;/p&gt;

&lt;p&gt;Commonly supported formats include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.mp3&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ogg&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.flac&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your music is in another format, converting it beforehand helps avoid playback issues.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;accessing-batoceras-share-folder&quot;&gt;Accessing Batocera’s Share Folder&lt;/h2&gt;

&lt;p&gt;You can add music to Batocera in two common ways.&lt;/p&gt;

&lt;h3 id=&quot;from-another-computer-recommended&quot;&gt;From Another Computer (Recommended)&lt;/h3&gt;

&lt;p&gt;Batocera exposes a network share.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;On Windows: &lt;strong&gt;\BATOCERA\share&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;On macOS or Linux: &lt;strong&gt;smb://batocera/share&lt;/strong&gt; or **smb://&lt;Batocera-IP&gt;/share**&lt;/Batocera-IP&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once connected, browse to the music directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;from-batocera-via-ssh-or-terminal&quot;&gt;From Batocera via SSH or Terminal&lt;/h3&gt;

&lt;p&gt;If accessing locally or over SSH, the music directory is located at:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;/userdata/music/&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;placing-your-music-files&quot;&gt;Placing Your Music Files&lt;/h2&gt;

&lt;p&gt;Copy your music files into:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;/userdata/music/&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Batocera will automatically scan this directory for playable music files.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enabling-background-music-in-batocera&quot;&gt;Enabling Background Music in Batocera&lt;/h2&gt;

&lt;p&gt;After adding your music:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Sound Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Set &lt;strong&gt;Enable Background Music&lt;/strong&gt; to &lt;strong&gt;ON&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also adjust the &lt;strong&gt;Music Volume&lt;/strong&gt; from this menu to balance it with system sounds.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;restarting-emulationstation&quot;&gt;Restarting EmulationStation&lt;/h2&gt;

&lt;p&gt;For the new music to take effect:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Restart EmulationStation&lt;/li&gt;
  &lt;li&gt;Or reboot Batocera&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once restarted, your custom music will begin playing while browsing menus.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Adding custom background music is a simple way to make your Batocera setup feel more personal. Whether you prefer arcade ambience, chiptunes, or something completely different, Batocera makes it easy to tailor the experience.&lt;/p&gt;

&lt;p&gt;Because music files live in the userdata directory, they persist across updates and system changes, making this customization safe and low-maintenance.&lt;/p&gt;

</description>
        <pubDate>Sat, 17 Jan 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-music/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-music/</guid>
        
        <category>batocera</category>
        
        <category>customization</category>
        
        <category>music</category>
        
        <category>howto</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>How to Add Game and Video Art with ScreenScraper</title>
        <description>&lt;p&gt;Batocera is much more enjoyable when your game lists include artwork, descriptions, and video previews. Without scraping, most systems show only ROM filenames, which makes browsing clunky and unsatisfying.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explain what a screen scraper is in Batocera and walk through how to use &lt;strong&gt;ScreenScraper&lt;/strong&gt; to automatically add box art, screenshots, metadata, and video previews.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-screen-scraper-in-batocera&quot; id=&quot;markdown-toc-what-is-a-screen-scraper-in-batocera&quot;&gt;What Is a Screen Scraper in Batocera?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#before-you-scrape&quot; id=&quot;markdown-toc-before-you-scrape&quot;&gt;Before You Scrape&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#create-a-screenscraper-account&quot; id=&quot;markdown-toc-create-a-screenscraper-account&quot;&gt;Create a ScreenScraper Account&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#entering-screenscraper-credentials-in-batocera&quot; id=&quot;markdown-toc-entering-screenscraper-credentials-in-batocera&quot;&gt;Entering ScreenScraper Credentials in Batocera&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuring-screenscraper-options&quot; id=&quot;markdown-toc-configuring-screenscraper-options&quot;&gt;Configuring ScreenScraper Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#running-the-scraper&quot; id=&quot;markdown-toc-running-the-scraper&quot;&gt;Running the Scraper&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#scraping-a-single-system&quot; id=&quot;markdown-toc-scraping-a-single-system&quot;&gt;Scraping a Single System&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#scraping-all-systems&quot; id=&quot;markdown-toc-scraping-all-systems&quot;&gt;Scraping All Systems&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#scraping-an-entire-system-recommended&quot; id=&quot;markdown-toc-scraping-an-entire-system-recommended&quot;&gt;Scraping an Entire System (Recommended)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#video-art-video-snaps&quot; id=&quot;markdown-toc-video-art-video-snaps&quot;&gt;Video Art (Video Snaps)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#fixing-bad-matches&quot; id=&quot;markdown-toc-fixing-bad-matches&quot;&gt;Fixing Bad Matches&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-screen-scraper-in-batocera&quot;&gt;What Is a Screen Scraper in Batocera?&lt;/h2&gt;

&lt;p&gt;In Batocera, a “screen scraper” (often just called a “scraper”) is a tool that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Scans your game library&lt;/li&gt;
  &lt;li&gt;Identifies each game&lt;/li&gt;
  &lt;li&gt;Downloads matching metadata and media assets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This typically includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Box art and cover images&lt;/li&gt;
  &lt;li&gt;Screenshots&lt;/li&gt;
  &lt;li&gt;Game descriptions&lt;/li&gt;
  &lt;li&gt;Release dates, genres, and publishers&lt;/li&gt;
  &lt;li&gt;Video previews (often called video snaps)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Batocera supports multiple scraping sources. One of the most popular is &lt;strong&gt;ScreenScraper&lt;/strong&gt;, a community-driven database that provides high-quality media and metadata.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;before-you-scrape&quot;&gt;Before You Scrape&lt;/h2&gt;

&lt;p&gt;Batocera includes a built-in scraper, but for best results you should use &lt;strong&gt;ScreenScraper&lt;/strong&gt;, which requires a free account.&lt;/p&gt;

&lt;h3 id=&quot;create-a-screenscraper-account&quot;&gt;Create a ScreenScraper Account&lt;/h3&gt;

&lt;p&gt;Before scraping large libraries, create an account:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Visit: https://www.screenscraper.fr&lt;/li&gt;
  &lt;li&gt;Register for a free account&lt;/li&gt;
  &lt;li&gt;Note your &lt;strong&gt;username&lt;/strong&gt; and &lt;strong&gt;password&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Using an account improves match accuracy and avoids aggressive rate limits.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;entering-screenscraper-credentials-in-batocera&quot;&gt;Entering ScreenScraper Credentials in Batocera&lt;/h2&gt;

&lt;p&gt;To configure your account in Batocera:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Game Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Scraper&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;ScreenScraper Account&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Enter your &lt;strong&gt;username&lt;/strong&gt; and &lt;strong&gt;password&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Save changes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once saved, Batocera will authenticate to ScreenScraper during scraping.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuring-screenscraper-options&quot;&gt;Configuring ScreenScraper Options&lt;/h2&gt;

&lt;p&gt;With credentials entered, configure how media is scraped.&lt;/p&gt;

&lt;p&gt;From &lt;strong&gt;Main Menu → Game Settings → Scraper&lt;/strong&gt;, adjust the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Scraper Source&lt;/strong&gt;: ScreenScraper&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Region&lt;/strong&gt;: USA, Europe, Japan, or World (choose what matches your ROM set)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Image Style&lt;/strong&gt;: Boxart, Mix, Screenshot, Wheel, etc.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Video&lt;/strong&gt;: Enable if you want video previews&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ratio&lt;/strong&gt;: Preserve aspect ratio if your theme requires it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These options control what media is downloaded and how it is displayed in your theme.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;running-the-scraper&quot;&gt;Running the Scraper&lt;/h2&gt;

&lt;p&gt;You can scrape at different scopes depending on your needs.&lt;/p&gt;

&lt;h3 id=&quot;scraping-a-single-system&quot;&gt;Scraping a Single System&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Highlight the system&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Scrape&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is useful when adding a new console or testing scraper settings.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;scraping-all-systems&quot;&gt;Scraping All Systems&lt;/h3&gt;

&lt;p&gt;To scrape everything:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Game Settings → Scraper&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Scrape Now&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will be prompted to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Overwrite existing media&lt;/li&gt;
  &lt;li&gt;Or only fill in missing artwork&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Choose carefully to avoid replacing custom artwork.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;scraping-an-entire-system-recommended&quot;&gt;Scraping an Entire System (Recommended)&lt;/h2&gt;

&lt;p&gt;To scrape all games for a single console/system:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Game Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Scraper&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Choose to scrape the current system&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Batocera will:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Iterate through every ROM in that system&lt;/li&gt;
  &lt;li&gt;Download matching images and metadata&lt;/li&gt;
  &lt;li&gt;Optionally download video previews&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;video-art-video-snaps&quot;&gt;Video Art (Video Snaps)&lt;/h2&gt;

&lt;p&gt;Video previews significantly improve the browsing experience.&lt;/p&gt;

&lt;p&gt;When enabled in scraper settings:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Short gameplay preview videos are downloaded&lt;/li&gt;
  &lt;li&gt;Videos play automatically in supported themes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Important considerations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Video files consume more storage&lt;/li&gt;
  &lt;li&gt;Scraping videos takes longer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If space is limited, scrape images first and add videos later.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;fixing-bad-matches&quot;&gt;Fixing Bad Matches&lt;/h2&gt;

&lt;p&gt;Sometimes scraping matches the wrong game, especially when filenames are messy or regional variants exist.&lt;/p&gt;

&lt;p&gt;If a game matches incorrectly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Re-scrape that single title&lt;/li&gt;
  &lt;li&gt;Choose a different match from the list&lt;/li&gt;
  &lt;li&gt;Save the corrected metadata&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Taking a minute to fix mismatches makes the library feel polished.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Scraping is one of the biggest quality-of-life improvements you can make in Batocera. With ScreenScraper, your library transforms from a list of filenames into a clean, visual interface with artwork, descriptions, and video previews.&lt;/p&gt;

&lt;p&gt;Once you scrape your systems, browsing becomes faster, more fun, and much more console-like — exactly how a Batocera setup should feel.&lt;/p&gt;
</description>
        <pubDate>Sat, 10 Jan 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-artwork/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-adding-artwork/</guid>
        
        <category>batocera</category>
        
        <category>screenscraper</category>
        
        <category>emulation</category>
        
        <category>howto</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>How to Download and Change Themes in Batocera</title>
        <description>&lt;p&gt;Batocera makes it easy to change how your system looks without touching the command line. Themes control the layout, artwork, animations, and overall presentation of the interface.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to &lt;strong&gt;download new themes&lt;/strong&gt;, &lt;strong&gt;switch between them&lt;/strong&gt;, and &lt;strong&gt;customize theme options&lt;/strong&gt; directly from the Batocera menu.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-new-themes&quot; id=&quot;markdown-toc-downloading-new-themes&quot;&gt;Downloading New Themes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#changing-the-active-theme&quot; id=&quot;markdown-toc-changing-the-active-theme&quot;&gt;Changing the Active Theme&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#theme-configuration-options&quot; id=&quot;markdown-toc-theme-configuration-options&quot;&gt;Theme Configuration Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-interface-settings&quot; id=&quot;markdown-toc-additional-interface-settings&quot;&gt;Additional Interface Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#finding-more-help&quot; id=&quot;markdown-toc-finding-more-help&quot;&gt;Finding More Help&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-new-themes&quot;&gt;Downloading New Themes&lt;/h2&gt;

&lt;p&gt;Batocera includes a built-in theme downloader.&lt;/p&gt;

&lt;p&gt;To download themes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt; on your controller&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Updates &amp;amp; Downloads&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Themes&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will see a list of available themes. To download one:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Highlight the theme&lt;/li&gt;
  &lt;li&gt;Select it&lt;/li&gt;
  &lt;li&gt;The download will begin automatically&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once completed, the theme becomes available immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;changing-the-active-theme&quot;&gt;Changing the Active Theme&lt;/h2&gt;

&lt;p&gt;After downloading themes, you can switch between them at any time.&lt;/p&gt;

&lt;p&gt;To change your theme:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;User Interface Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Locate the &lt;strong&gt;Theme&lt;/strong&gt; option&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Left&lt;/strong&gt; or &lt;strong&gt;Right&lt;/strong&gt; on your controller to cycle through themes&lt;/li&gt;
  &lt;li&gt;Or select the theme list and choose one directly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once selected, press &lt;strong&gt;B&lt;/strong&gt; to go back and the theme will apply.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;theme-configuration-options&quot;&gt;Theme Configuration Options&lt;/h2&gt;

&lt;p&gt;Many Batocera themes include additional configuration options.&lt;/p&gt;

&lt;p&gt;To access them:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Start&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;User Interface Settings&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Theme Configuration&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here you may find options such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Layout styles&lt;/li&gt;
  &lt;li&gt;Background behavior&lt;/li&gt;
  &lt;li&gt;Artwork visibility&lt;/li&gt;
  &lt;li&gt;Menu presentation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you experiment with settings and do not like the result, you can always reset them to defaults.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-interface-settings&quot;&gt;Additional Interface Settings&lt;/h2&gt;

&lt;p&gt;Beyond themes, Batocera offers other interface customization options:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Screensaver behavior&lt;/li&gt;
  &lt;li&gt;Showing or hiding folders&lt;/li&gt;
  &lt;li&gt;Displaying specific menu items&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These settings allow you to simplify the interface or tailor it to your preferences.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;finding-more-help&quot;&gt;Finding More Help&lt;/h2&gt;

&lt;p&gt;If you want to go deeper:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Search for Batocera guides online&lt;/li&gt;
  &lt;li&gt;Watch tutorial videos&lt;/li&gt;
  &lt;li&gt;Reference the official Batocera Wiki&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Batocera community documents most features thoroughly, and nearly every option is explained somewhere.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Changing themes in Batocera is quick, reversible, and safe. Whether you prefer a clean default look like the Carbon theme or want something more stylized, Batocera gives you the flexibility to customize your system without risk.&lt;/p&gt;

&lt;p&gt;Experiment freely — you can always switch back or reset settings if something does not feel right.&lt;/p&gt;

</description>
        <pubDate>Sat, 03 Jan 2026 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-download-change-themes/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-download-change-themes/</guid>
        
        <category>batocera</category>
        
        <category>themes</category>
        
        <category>customization</category>
        
        <category>howto</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>How to Save and Load Games in Batocera Using Save States</title>
        <description>&lt;p&gt;Saving games in Batocera does not always work the same way as it did on original consoles. Instead of relying on in-game save menus, Batocera uses &lt;strong&gt;emulator save states&lt;/strong&gt;, which allow you to save and load your game at almost any moment.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to &lt;strong&gt;save and load games in Batocera using the default emulator controls&lt;/strong&gt;, including how to choose and manage save slots.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#starting-a-game&quot; id=&quot;markdown-toc-starting-a-game&quot;&gt;Starting a Game&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-hotkey-button&quot; id=&quot;markdown-toc-the-hotkey-button&quot;&gt;The Hotkey Button&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#saving-a-game-quick-save&quot; id=&quot;markdown-toc-saving-a-game-quick-save&quot;&gt;Saving a Game (Quick Save)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#loading-a-game-quick-load&quot; id=&quot;markdown-toc-loading-a-game-quick-load&quot;&gt;Loading a Game (Quick Load)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#choosing-a-save-slot&quot; id=&quot;markdown-toc-choosing-a-save-slot&quot;&gt;Choosing a Save Slot&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-process&quot; id=&quot;markdown-toc-example-process&quot;&gt;Example Process&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-notes-about-save-states&quot; id=&quot;markdown-toc-important-notes-about-save-states&quot;&gt;Important Notes About Save States&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;starting-a-game&quot;&gt;Starting a Game&lt;/h2&gt;

&lt;p&gt;Begin by launching any game from your Batocera system. Once the game is running, all save and load actions are handled through the emulator hotkeys.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-hotkey-button&quot;&gt;The Hotkey Button&lt;/h2&gt;

&lt;p&gt;Batocera uses a designated &lt;strong&gt;Hotkey&lt;/strong&gt; button on your controller. This is usually mapped during initial controller setup and is commonly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The &lt;strong&gt;Select&lt;/strong&gt; button on many controllers&lt;/li&gt;
  &lt;li&gt;Or a dedicated hotkey button if configured&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All save and load actions are performed by holding the Hotkey button and pressing another button.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;saving-a-game-quick-save&quot;&gt;Saving a Game (Quick Save)&lt;/h2&gt;

&lt;p&gt;To quickly save your game:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hold the &lt;strong&gt;Hotkey&lt;/strong&gt; button&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;X&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This creates a save state in the currently selected slot. Batocera will briefly indicate that the game has been saved.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;loading-a-game-quick-load&quot;&gt;Loading a Game (Quick Load)&lt;/h2&gt;

&lt;p&gt;To load a previously saved game:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hold the &lt;strong&gt;Hotkey&lt;/strong&gt; button&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;Y&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The game will immediately load from the current save slot.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;choosing-a-save-slot&quot;&gt;Choosing a Save Slot&lt;/h2&gt;

&lt;p&gt;Batocera supports multiple save state slots, allowing you to keep different progress points.&lt;/p&gt;

&lt;p&gt;To select a save slot:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hold the &lt;strong&gt;Hotkey&lt;/strong&gt; button&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;A&lt;/strong&gt; to open the emulator menu&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;State Slot&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select the desired slot (for example, Slot 0 or Slot 1)&lt;/li&gt;
  &lt;li&gt;Go back to the game&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once selected, all saves and loads will use that slot until you change it again.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-process&quot;&gt;Example Process&lt;/h2&gt;

&lt;p&gt;A typical save and load workflow looks like this:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Start the game&lt;/li&gt;
  &lt;li&gt;Open the menu with &lt;strong&gt;Hotkey + A&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;State Slot 1&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Return to the game&lt;/li&gt;
  &lt;li&gt;Save progress with &lt;strong&gt;Hotkey + X&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Later, load that save with &lt;strong&gt;Hotkey + Y&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can switch between slots at any time using the same menu.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-notes-about-save-states&quot;&gt;Important Notes About Save States&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Save states are emulator-specific&lt;/li&gt;
  &lt;li&gt;They may not be compatible across different emulators or versions&lt;/li&gt;
  &lt;li&gt;They are separate from in-game saves&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For best results, avoid mixing save states between different emulator cores.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Save states are one of the most powerful features in Batocera. Once you understand the hotkey combinations and save slot system, saving and loading games becomes fast and effortless.&lt;/p&gt;

&lt;p&gt;Whether you are playing casually or experimenting with different progress points, Batocera’s save state system gives you full control over your gameplay experience.&lt;/p&gt;
</description>
        <pubDate>Sat, 27 Dec 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/batocera/batocera-saving-loading-games/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/batocera/batocera-saving-loading-games/</guid>
        
        <category>batocera</category>
        
        <category>emulation</category>
        
        <category>retro gaming</category>
        
        <category>howto</category>
        
        
        <category>Batocera</category>
        
      </item>
    
      <item>
        <title>Managing CompTIA CEUs — Practical Options That Actually Work</title>
        <description>&lt;p&gt;Keeping &lt;strong&gt;CompTIA certifications&lt;/strong&gt; active is less about exams and more about managing CEUs correctly. Once you understand how CompTIA actually handles CEU submission, payment, and verification, the process becomes straightforward and low-risk.&lt;/p&gt;

&lt;p&gt;In this blog post, we will outline &lt;strong&gt;practical CEU options&lt;/strong&gt; and clearly document how CompTIA processes CEUs behind the scenes, based on real-world experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-comptia-ceu-program&quot; id=&quot;markdown-toc-understanding-the-comptia-ceu-program&quot;&gt;Understanding the CompTIA CEU Program&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-real-problem-with-ceus&quot; id=&quot;markdown-toc-the-real-problem-with-ceus&quot;&gt;The Real Problem With CEUs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ceu-submission-payment-and-verification-how-it-really-works&quot; id=&quot;markdown-toc-ceu-submission-payment-and-verification-how-it-really-works&quot;&gt;CEU Submission, Payment, and Verification (How It Really Works)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-ceu-upload-process&quot; id=&quot;markdown-toc-1-ceu-upload-process&quot;&gt;1. CEU Upload Process&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-payment-requirements-pay-only-for-the-highest-cert&quot; id=&quot;markdown-toc-2-payment-requirements-pay-only-for-the-highest-cert&quot;&gt;2. Payment Requirements (Pay Only for the Highest Cert)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-ceu-verification-and-audits&quot; id=&quot;markdown-toc-3-ceu-verification-and-audits&quot;&gt;3. CEU Verification and Audits&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-if-you-are-audited&quot; id=&quot;markdown-toc-4-if-you-are-audited&quot;&gt;4. If You Are Audited&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conferences-and-industry-events&quot; id=&quot;markdown-toc-conferences-and-industry-events&quot;&gt;Conferences and Industry Events&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#teaching-mentoring-and-knowledge-sharing&quot; id=&quot;markdown-toc-teaching-mentoring-and-knowledge-sharing&quot;&gt;Teaching, Mentoring, and Knowledge Sharing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#writing-and-documentation&quot; id=&quot;markdown-toc-writing-and-documentation&quot;&gt;Writing and Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#work-experience-and-hands-on-practice&quot; id=&quot;markdown-toc-work-experience-and-hands-on-practice&quot;&gt;Work Experience and Hands-On Practice&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-tracking-strategy&quot; id=&quot;markdown-toc-recommended-tracking-strategy&quot;&gt;Recommended Tracking Strategy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-comptia-ceu-program&quot;&gt;Understanding the CompTIA CEU Program&lt;/h2&gt;

&lt;p&gt;CompTIA certifications such as Security+, CySA+, PenTest+, and SecurityX (CAS-005) all fall under CompTIA’s Continuing Education (CE) program.&lt;/p&gt;

&lt;p&gt;Official CompTIA CEU guidance:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.comptia.org/continuing-education&quot;&gt;https://www.comptia.org/continuing-education&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each certification has:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A defined renewal cycle&lt;/li&gt;
  &lt;li&gt;A required CEU total&lt;/li&gt;
  &lt;li&gt;Accepted activity categories&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once these rules are understood, renewal becomes a documentation exercise rather than a technical challenge.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-real-problem-with-ceus&quot;&gt;The Real Problem With CEUs&lt;/h2&gt;

&lt;p&gt;Most certification bodies provide long lists of acceptable CEU activities, but they often lack clarity on what is &lt;em&gt;efficient&lt;/em&gt; versus what is merely &lt;em&gt;allowed&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Common pain points include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Uncertainty about what qualifies&lt;/li&gt;
  &lt;li&gt;Poor documentation habits&lt;/li&gt;
  &lt;li&gt;Waiting until the last renewal window&lt;/li&gt;
  &lt;li&gt;Overpaying for low-value CEU courses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key is choosing CEU activities that overlap with work you are already doing.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ceu-submission-payment-and-verification-how-it-really-works&quot;&gt;CEU Submission, Payment, and Verification (How It Really Works)&lt;/h2&gt;

&lt;h3 id=&quot;1-ceu-upload-process&quot;&gt;1. CEU Upload Process&lt;/h3&gt;

&lt;p&gt;CEUs are submitted through your CompTIA CE account by uploading supporting documentation.&lt;/p&gt;

&lt;p&gt;Accepted documentation typically includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;PDFs, screenshots, or certificates of completion&lt;/li&gt;
  &lt;li&gt;Your full name&lt;/li&gt;
  &lt;li&gt;Course title&lt;/li&gt;
  &lt;li&gt;Provider name (for example, O’Reilly)&lt;/li&gt;
  &lt;li&gt;Completion date&lt;/li&gt;
  &lt;li&gt;Total training hours&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once uploaded:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;CEUs appear immediately in your total&lt;/li&gt;
  &lt;li&gt;Submissions are &lt;strong&gt;auto-accepted&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;There is no manual review at upload time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-payment-requirements-pay-only-for-the-highest-cert&quot;&gt;2. Payment Requirements (Pay Only for the Highest Cert)&lt;/h3&gt;

&lt;p&gt;CompTIA uses a &lt;strong&gt;single CE account&lt;/strong&gt; for all certifications.&lt;/p&gt;

&lt;p&gt;Key rule:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You only pay CE fees for your &lt;strong&gt;highest-level certification&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For SecurityX (CAS-005):&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;$50 per year&lt;/li&gt;
  &lt;li&gt;$150 total for the 3-year cycle&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When SecurityX renews:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Security+ renews automatically&lt;/li&gt;
  &lt;li&gt;No duplicate CE fees are required&lt;/li&gt;
  &lt;li&gt;No separate CEU submissions are needed for Security+&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-ceu-verification-and-audits&quot;&gt;3. CEU Verification and Audits&lt;/h3&gt;

&lt;p&gt;CompTIA does &lt;strong&gt;not&lt;/strong&gt; verify CEUs during submission.&lt;/p&gt;

&lt;p&gt;Your certification renews automatically once:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Required CEUs are met&lt;/li&gt;
  &lt;li&gt;The CE fee for the highest certification is paid&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CompTIA performs &lt;strong&gt;random post-renewal audits&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;During an audit, CompTIA may review:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;CEU documentation&lt;/li&gt;
  &lt;li&gt;Course relevance to exam objectives (50% or greater)&lt;/li&gt;
  &lt;li&gt;Training hours and dates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As long as your training is legitimate and relevant, audits are routine and low risk.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-if-you-are-audited&quot;&gt;4. If You Are Audited&lt;/h3&gt;

&lt;p&gt;If selected for audit:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You receive an email notification&lt;/li&gt;
  &lt;li&gt;You submit documentation you already saved&lt;/li&gt;
  &lt;li&gt;Rejected CEUs can be replaced&lt;/li&gt;
  &lt;li&gt;Certification remains valid unless fraud is found&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conferences-and-industry-events&quot;&gt;Conferences and Industry Events&lt;/h2&gt;

&lt;p&gt;Industry conferences and technical events are often CEU-eligible, even when attended virtually.&lt;/p&gt;

&lt;p&gt;These typically qualify when they include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Structured sessions&lt;/li&gt;
  &lt;li&gt;Technical or professional content&lt;/li&gt;
  &lt;li&gt;Agendas or attendance verification&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For consultants and business owners, conferences can serve both &lt;strong&gt;business development&lt;/strong&gt; and &lt;strong&gt;certification maintenance&lt;/strong&gt; goals.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;teaching-mentoring-and-knowledge-sharing&quot;&gt;Teaching, Mentoring, and Knowledge Sharing&lt;/h2&gt;

&lt;p&gt;Many certification programs allow CEUs for activities where you are teaching or sharing knowledge.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Presenting at internal or external sessions&lt;/li&gt;
  &lt;li&gt;Mentoring junior staff&lt;/li&gt;
  &lt;li&gt;Hosting technical workshops&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These activities are often overlooked, despite being high-value and already embedded in many roles.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;writing-and-documentation&quot;&gt;Writing and Documentation&lt;/h2&gt;

&lt;p&gt;Technical writing can be a strong CEU source when it demonstrates professional knowledge.&lt;/p&gt;

&lt;p&gt;This may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Blog posts&lt;/li&gt;
  &lt;li&gt;Whitepapers&lt;/li&gt;
  &lt;li&gt;Internal documentation&lt;/li&gt;
  &lt;li&gt;Training materials&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For consultants, documenting work publicly or internally can serve both &lt;strong&gt;marketing&lt;/strong&gt; and &lt;strong&gt;CEU accumulation&lt;/strong&gt; purposes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;work-experience-and-hands-on-practice&quot;&gt;Work Experience and Hands-On Practice&lt;/h2&gt;

&lt;p&gt;Some certification bodies allow CEUs for verifiable, hands-on professional experience.&lt;/p&gt;

&lt;p&gt;This may include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Operating production systems&lt;/li&gt;
  &lt;li&gt;Designing or maintaining infrastructure&lt;/li&gt;
  &lt;li&gt;Performing security or compliance work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key requirement is being able to clearly describe the work performed and how it relates to the certification domain.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-tracking-strategy&quot;&gt;Recommended Tracking Strategy&lt;/h2&gt;

&lt;p&gt;To avoid renewal stress, adopt a simple tracking habit:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Log CEU activities quarterly&lt;/li&gt;
  &lt;li&gt;Save proof immediately (emails, certificates, agendas)&lt;/li&gt;
  &lt;li&gt;Maintain a short summary for each activity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This turns CEUs into a background process instead of a last-minute scramble.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;CompTIA’s CEU system is simpler than it appears once you understand the flow:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Upload documentation once&lt;/li&gt;
  &lt;li&gt;Pay only for your highest certification&lt;/li&gt;
  &lt;li&gt;Lower-level certifications renew automatically&lt;/li&gt;
  &lt;li&gt;CEUs are only reviewed if you are randomly audited&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By keeping clean documentation and aligning CEUs with real work and training, CompTIA renewals become predictable, defensible, and easy to manage.&lt;/p&gt;

&lt;p&gt;For official rules and submission details, always reference:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.comptia.org/continuing-education&quot;&gt;https://www.comptia.org/continuing-education&lt;/a&gt;&lt;/p&gt;

</description>
        <pubDate>Sat, 20 Dec 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/business/managing-comptia-ceus/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/business/managing-comptia-ceus/</guid>
        
        <category>comptia</category>
        
        <category>certifications</category>
        
        <category>ceu</category>
        
        <category>professional development</category>
        
        
        <category>Business</category>
        
      </item>
    
      <item>
        <title>Splunk Forwarder Installation Failure — Root Cause Summary</title>
        <description>&lt;p&gt;Splunk Forwarder deployments are usually straightforward, especially when driven by automated scripts. In this case, however, a standard installation failed despite using a well-tested process.&lt;/p&gt;

&lt;p&gt;This blog post provides a &lt;strong&gt;summary-level overview&lt;/strong&gt; of the Splunk Forwarder installation issue, focusing on what broke, why it broke, and how it was resolved — without diving into every command or log entry.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#issue-summary&quot; id=&quot;markdown-toc-issue-summary&quot;&gt;Issue Summary&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#symptoms-observed&quot; id=&quot;markdown-toc-symptoms-observed&quot;&gt;Symptoms Observed&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#root-cause&quot; id=&quot;markdown-toc-root-cause&quot;&gt;Root Cause&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#resolution-overview&quot; id=&quot;markdown-toc-resolution-overview&quot;&gt;Resolution Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#before-and-after-script-snippets&quot; id=&quot;markdown-toc-before-and-after-script-snippets&quot;&gt;Before and After Script Snippets&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#before-install-first-discover-problems-later&quot; id=&quot;markdown-toc-before-install-first-discover-problems-later&quot;&gt;Before: Install First, Discover Problems Later&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#after-preflight-verify-then-install&quot; id=&quot;markdown-toc-after-preflight-verify-then-install&quot;&gt;After: Preflight, Verify, Then Install&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#lessons-learned&quot; id=&quot;markdown-toc-lessons-learned&quot;&gt;Lessons Learned&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;issue-summary&quot;&gt;Issue Summary&lt;/h2&gt;

&lt;p&gt;The Splunk Universal Forwarder failed to install during a scripted deployment on a Linux system. The installer exited early, preventing the forwarder service from being installed or started.&lt;/p&gt;

&lt;p&gt;At first glance, the failure appeared unrelated to system configuration, as the same script had worked reliably in other environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;symptoms-observed&quot;&gt;Symptoms Observed&lt;/h2&gt;

&lt;p&gt;The following symptoms were observed during installation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Installer terminated before completion&lt;/li&gt;
  &lt;li&gt;Splunk Forwarder binaries were not fully deployed&lt;/li&gt;
  &lt;li&gt;Service was not registered or enabled&lt;/li&gt;
  &lt;li&gt;Script reported a failure despite correct syntax and permissions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The failure occurred consistently on the affected system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;root-cause&quot;&gt;Root Cause&lt;/h2&gt;

&lt;p&gt;The root cause was related to &lt;strong&gt;environment-specific dependency and validation behavior&lt;/strong&gt; during the installation process.&lt;/p&gt;

&lt;p&gt;A combination of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;System library versions&lt;/li&gt;
  &lt;li&gt;Package validation checks&lt;/li&gt;
  &lt;li&gt;Installer expectations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;caused the forwarder installation to fail silently or exit prematurely.&lt;/p&gt;

&lt;p&gt;While the script itself was correct, the environment did not fully meet the installer’s assumptions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;resolution-overview&quot;&gt;Resolution Overview&lt;/h2&gt;

&lt;p&gt;The resolution did not involve rewriting the entire installer, but rather improving how the installation script handled prerequisites and validation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before the fix&lt;/strong&gt;, the script:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Assumed system libraries and crypto dependencies were compatible&lt;/li&gt;
  &lt;li&gt;Proceeded directly to RPM installation after download&lt;/li&gt;
  &lt;li&gt;Relied on the installer to fail if something was wrong&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This worked in older or consistent environments, but became fragile as OS versions and underlying libraries evolved.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After the fix&lt;/strong&gt;, the script was updated to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Explicitly validate required system libraries and versions&lt;/li&gt;
  &lt;li&gt;Verify installer integrity and compatibility before execution&lt;/li&gt;
  &lt;li&gt;Fail early with clear error output when prerequisites were not met&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By adding these checks, the script stopped failing silently and provided immediate feedback when the environment was incompatible.&lt;/p&gt;

&lt;p&gt;Once these adjustments were made, the Splunk Forwarder installed cleanly and the service started as expected.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;before-and-after-script-snippets&quot;&gt;Before and After Script Snippets&lt;/h2&gt;

&lt;p&gt;Below are small, sanitized snippets showing the core difference between the original workflow and the hardened workflow. Hostnames and environment-specific values are intentionally redacted.&lt;/p&gt;

&lt;h3 id=&quot;before-install-first-discover-problems-later&quot;&gt;Before: Install First, Discover Problems Later&lt;/h3&gt;

&lt;p&gt;The original script moved quickly from download to install, assuming the system environment was compatible:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;SPLUNK_RPM=&quot;splunkforwarder-&amp;lt;VERSION&amp;gt;.x86_64.rpm&quot;

curl -fsSLO &quot;${BASE_URL}/${SPLUNK_RPM}&quot;

dnf -y install &quot;./${SPLUNK_RPM}&quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This approach is fast, but when the installer fails due to system/library assumptions, you end up troubleshooting after the fact.&lt;/p&gt;

&lt;h3 id=&quot;after-preflight-verify-then-install&quot;&gt;After: Preflight, Verify, Then Install&lt;/h3&gt;

&lt;p&gt;The hardened script added three key improvements: dependency checks, integrity validation, and clearer failure output.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1 Preflight dependency check :&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;if ! rpm -q openssl-libs &amp;gt;/dev/null 2&amp;gt;&amp;amp;1; then

  echo &quot;ERROR: Missing dependency: openssl-libs&quot;

  exit 1

fi
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2 Integrity verification before install:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;curl -fsSLO &quot;${BASE_URL}/${SPLUNK_RPM}&quot;

curl -fsSLO &quot;${BASE_URL}/${SPLUNK_RPM}.sha512&quot;

sha512sum -c &quot;${SPLUNK_RPM}.sha512&quot; || { echo &quot;ERROR: Checksum failed&quot;; exit 1; }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;3 Controlled install with explicit error handling:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;dnf -y install &quot;./${SPLUNK_RPM}&quot; || { echo &quot;ERROR: RPM install failed&quot;; exit 1; }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The net effect was that failures became immediate and actionable, instead of silent or ambiguous.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;lessons-learned&quot;&gt;Lessons Learned&lt;/h2&gt;

&lt;p&gt;Several important takeaways came from this incident:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Automated installs still require environment validation&lt;/li&gt;
  &lt;li&gt;Installer behavior can change across OS or library versions&lt;/li&gt;
  &lt;li&gt;Failing fast with clear checks saves troubleshooting time later&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Adding lightweight preflight checks helps prevent silent failures in future deployments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;This issue reinforced an important operational reality: even well-established tools like the Splunk Universal Forwarder can fail when environmental assumptions change.&lt;/p&gt;

&lt;p&gt;By documenting the failure at a summary level, future troubleshooting becomes faster, and similar issues can be identified and resolved with far less effort.&lt;/p&gt;

</description>
        <pubDate>Sat, 13 Dec 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/sysadmin/splunk-forwarder-installation-failure/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/sysadmin/splunk-forwarder-installation-failure/</guid>
        
        <category>splunk</category>
        
        <category>troubleshooting</category>
        
        <category>linux</category>
        
        <category>sysadmin</category>
        
        
        <category>Linux</category>
        
        <category>SysAdmin</category>
        
      </item>
    
      <item>
        <title>Fixing Black Dots on the HP Color LaserJet Pro M283fw</title>
        <description>&lt;p&gt;Laser printers are reliable workhorses, but when print quality suddenly degrades, the symptoms can be confusing. One of the most common complaints is &lt;strong&gt;black dots or repeating marks&lt;/strong&gt; appearing on every printed page.&lt;/p&gt;

&lt;p&gt;In this blog post, we will document how black dots were diagnosed and fixed on an HP Color LaserJet Pro M283fw, and how you can systematically troubleshoot the same issue on similar laser printers.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-problem&quot; id=&quot;markdown-toc-the-problem&quot;&gt;The Problem&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-laser-printers-produce-repeating-dots&quot; id=&quot;markdown-toc-why-laser-printers-produce-repeating-dots&quot;&gt;Why Laser Printers Produce Repeating Dots&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-identify-the-affected-color&quot; id=&quot;markdown-toc-step-1-identify-the-affected-color&quot;&gt;Step 1: Identify the Affected Color&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-inspect-the-black-toner-cartridge&quot; id=&quot;markdown-toc-step-2-inspect-the-black-toner-cartridge&quot;&gt;Step 2: Inspect the Black Toner Cartridge&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-clean-the-cartridge-and-interior&quot; id=&quot;markdown-toc-step-3-clean-the-cartridge-and-interior&quot;&gt;Step 3: Clean the Cartridge and Interior&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-run-printer-cleaning-and-test-pages&quot; id=&quot;markdown-toc-step-4-run-printer-cleaning-and-test-pages&quot;&gt;Step 4: Run Printer Cleaning and Test Pages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-fix&quot; id=&quot;markdown-toc-the-fix&quot;&gt;The Fix&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-replacement-is-necessary&quot; id=&quot;markdown-toc-when-replacement-is-necessary&quot;&gt;When Replacement Is Necessary&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-problem&quot;&gt;The Problem&lt;/h2&gt;

&lt;p&gt;Printed pages consistently showed small black dots and marks. The dots appeared:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;On every page&lt;/li&gt;
  &lt;li&gt;In roughly the same vertical positions&lt;/li&gt;
  &lt;li&gt;Regardless of the document being printed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This ruled out software, drivers, and document formatting issues early in the investigation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-laser-printers-produce-repeating-dots&quot;&gt;Why Laser Printers Produce Repeating Dots&lt;/h2&gt;

&lt;p&gt;Laser printers use a rotating imaging process. When a component becomes dirty or damaged, defects tend to repeat at regular intervals down the page.&lt;/p&gt;

&lt;p&gt;Common causes include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Dirty or damaged toner cartridges&lt;/li&gt;
  &lt;li&gt;Toner buildup on rollers&lt;/li&gt;
  &lt;li&gt;Contamination inside the imaging path&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the defect repeats, it is almost always hardware-related.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-identify-the-affected-color&quot;&gt;Step 1: Identify the Affected Color&lt;/h2&gt;

&lt;p&gt;The first diagnostic step was to determine which toner color was responsible.&lt;/p&gt;

&lt;p&gt;By printing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A black-and-white page&lt;/li&gt;
  &lt;li&gt;A color test page&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It became clear the dots were coming from the &lt;strong&gt;black toner path&lt;/strong&gt;, not cyan, magenta, or yellow.&lt;/p&gt;

&lt;p&gt;This narrowed the scope significantly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-inspect-the-black-toner-cartridge&quot;&gt;Step 2: Inspect the Black Toner Cartridge&lt;/h2&gt;

&lt;p&gt;The black toner cartridge was removed and inspected.&lt;/p&gt;

&lt;p&gt;Things to look for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Visible toner leakage&lt;/li&gt;
  &lt;li&gt;Smudges or buildup on the cartridge roller&lt;/li&gt;
  &lt;li&gt;Scratches or defects on the drum surface&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this case, toner residue was present, which can easily cause repeating dots.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-clean-the-cartridge-and-interior&quot;&gt;Step 3: Clean the Cartridge and Interior&lt;/h2&gt;

&lt;p&gt;Using a lint-free cloth:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Excess toner was gently wiped from the cartridge exterior&lt;/li&gt;
  &lt;li&gt;Loose toner inside the printer was carefully cleaned&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Compressed air should be avoided, as it can spread toner further into the printer.&lt;/p&gt;

&lt;p&gt;After cleaning, the cartridge was reseated and secured.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-run-printer-cleaning-and-test-pages&quot;&gt;Step 4: Run Printer Cleaning and Test Pages&lt;/h2&gt;

&lt;p&gt;After reassembly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The printer’s built-in cleaning cycle was run&lt;/li&gt;
  &lt;li&gt;Multiple test pages were printed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This step is important because it allows the printer to redistribute toner evenly across the drum.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-fix&quot;&gt;The Fix&lt;/h2&gt;

&lt;p&gt;After cleaning and reseating the black toner cartridge, the black dots no longer appeared on printed pages.&lt;/p&gt;

&lt;p&gt;In many cases, simply:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Cleaning the toner cartridge&lt;/li&gt;
  &lt;li&gt;Reseating it properly&lt;/li&gt;
  &lt;li&gt;Running a cleaning cycle&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Is enough to fully resolve the issue.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-replacement-is-necessary&quot;&gt;When Replacement Is Necessary&lt;/h2&gt;

&lt;p&gt;If cleaning does not resolve the problem, the most likely next step is replacing the black toner cartridge.&lt;/p&gt;

&lt;p&gt;Laser toner drums wear over time, and once damaged, no amount of cleaning will permanently fix print defects.&lt;/p&gt;

&lt;p&gt;Replacing only the affected color cartridge is usually sufficient.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Black dots on laser printer output are frustrating but rarely catastrophic. On the HP Color LaserJet Pro M283fw, the issue is most often tied to the black toner cartridge and can frequently be resolved with basic inspection and cleaning.&lt;/p&gt;

&lt;p&gt;Approaching printer issues methodically — isolating the color, inspecting consumables, and understanding how laser printers work — saves time, money, and unnecessary hardware replacement.&lt;/p&gt;

</description>
        <pubDate>Sat, 06 Dec 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/black-dots-on-printed-pages/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/black-dots-on-printed-pages/</guid>
        
        <category>printers</category>
        
        <category>troubleshooting</category>
        
        <category>hardware</category>
        
        <category>sysadmin</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Confirming the OS Configuration Date in RHEL</title>
        <description>&lt;p&gt;Determining the exact date when a Red Hat Enterprise Linux (RHEL) 10 system was installed or initially configured is not always straightforward. There is no single command that definitively states “this system was installed on X date.” However, RHEL leaves behind strong forensic indicators during installation that can be used to confidently determine the timeframe.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through two of the most reliable and audit-friendly methods to confirm when a RHEL 10 system was initially configured.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#method-1-reviewing-anaconda-installation-logs&quot; id=&quot;markdown-toc-method-1-reviewing-anaconda-installation-logs&quot;&gt;Method 1: Reviewing Anaconda Installation Logs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-2-checking-the-rpm-database-initialization-date&quot; id=&quot;markdown-toc-method-2-checking-the-rpm-database-initialization-date&quot;&gt;Method 2: Checking the RPM Database Initialization Date&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-approach&quot; id=&quot;markdown-toc-recommended-approach&quot;&gt;Recommended Approach&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-1-reviewing-anaconda-installation-logs&quot;&gt;Method 1: Reviewing Anaconda Installation Logs&lt;/h2&gt;

&lt;p&gt;RHEL systems are installed using the Anaconda installer, which generates logs and configuration artifacts during the installation process. These files are created at install time and rarely modified afterward, making them a strong indicator of the system’s initial configuration date.&lt;/p&gt;

&lt;p&gt;Key files and directories to review include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;/root/anaconda-ks.cfg&lt;/strong&gt; – The Kickstart file generated at install time (even for manual installs)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;/var/log/anaconda/&lt;/strong&gt; – Directory containing detailed installer logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To inspect the timestamps, run the following commands:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo ls -lah /root/anaconda-ks.cfg

sudo ls -lah /var/log/anaconda/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The creation or modification timestamps on these files typically align very closely with the date the operating system was installed. When documenting findings, the earliest timestamp in this set is usually the most meaningful.&lt;/p&gt;

&lt;p&gt;Why this works well:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;These files are generated only during installation&lt;/li&gt;
  &lt;li&gt;They are not touched during normal patching or upgrades&lt;/li&gt;
  &lt;li&gt;They are commonly accepted as evidence in audits and change reviews&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-2-checking-the-rpm-database-initialization-date&quot;&gt;Method 2: Checking the RPM Database Initialization Date&lt;/h2&gt;

&lt;p&gt;Another highly reliable method is to examine the creation (birth) timestamp of the RPM database. The RPM database is initialized as part of the OS installation process and represents the moment package management was first set up on the system.&lt;/p&gt;

&lt;p&gt;To retrieve this information, run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo stat /var/lib/rpm
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Look for the &lt;strong&gt;Birth&lt;/strong&gt; timestamp in the output. For example:&lt;/p&gt;

&lt;p&gt;Birth: 2025-11-02 14:25:03&lt;/p&gt;

&lt;p&gt;This timestamp typically corresponds to the installation date of the operating system. It is a strong indicator unless the RPM database was manually rebuilt, which is uncommon in most environments.&lt;/p&gt;

&lt;p&gt;Why this works well:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The RPM database is created during initial OS installation&lt;/li&gt;
  &lt;li&gt;It remains stable throughout the life of the system&lt;/li&gt;
  &lt;li&gt;The birth timestamp is precise and easy to document&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-approach&quot;&gt;Recommended Approach&lt;/h2&gt;

&lt;p&gt;For the strongest and most defensible conclusion, it is best to correlate both methods together. When both the Anaconda logs and the RPM database show matching or closely aligned timestamps, you can confidently state the system’s installation window.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;While RHEL 10 does not expose a single authoritative installation date, these two methods provide a practical and reliable solution. They are simple to execute, easy to verify, and widely accepted in enterprise Linux environments.&lt;/p&gt;

&lt;p&gt;Keeping this technique in your operational toolkit can save time during audits, troubleshooting, and infrastructure reviews.&lt;/p&gt;
</description>
        <pubDate>Sat, 29 Nov 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/sysadmin/confirming-os-configuration-date-rhel/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/sysadmin/confirming-os-configuration-date-rhel/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>auditing</category>
        
        <category>sysadmin</category>
        
        
        <category>Linux</category>
        
        <category>SysAdmin</category>
        
      </item>
    
      <item>
        <title>Jekyll Blog Search Outage — Root Cause and Fix</title>
        <description>&lt;p&gt;Search outages are some of the most frustrating issues on content-driven sites. Pages load, links work, and nothing appears obviously broken — yet a core feature silently fails.&lt;/p&gt;

&lt;p&gt;In this blog post, we will document a real-world &lt;strong&gt;Jekyll blog search outage&lt;/strong&gt;, explain how it was diagnosed, and walk through the exact fix that restored full search functionality.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#issue-overview&quot; id=&quot;markdown-toc-issue-overview&quot;&gt;Issue Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#symptoms-observed&quot; id=&quot;markdown-toc-symptoms-observed&quot;&gt;Symptoms Observed&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#root-cause&quot; id=&quot;markdown-toc-root-cause&quot;&gt;Root Cause&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#investigation-notes&quot; id=&quot;markdown-toc-investigation-notes&quot;&gt;Investigation Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#fix-applied&quot; id=&quot;markdown-toc-fix-applied&quot;&gt;Fix Applied&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-working-state&quot; id=&quot;markdown-toc-final-working-state&quot;&gt;Final Working State&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;issue-overview&quot;&gt;Issue Overview&lt;/h2&gt;

&lt;p&gt;The blog search feature stopped working entirely. Clicking the search icon in the bottom-right corner either did nothing or displayed an empty overlay with no results.&lt;/p&gt;

&lt;p&gt;There were no visible page errors and no immediate JavaScript failures reported at first glance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;symptoms-observed&quot;&gt;Symptoms Observed&lt;/h2&gt;

&lt;p&gt;The following behaviors were confirmed during investigation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Clicking the search icon produced no visible response&lt;/li&gt;
  &lt;li&gt;The search overlay failed to open or opened without results&lt;/li&gt;
  &lt;li&gt;Initial DevTools inspection showed no obvious search-related console output&lt;/li&gt;
  &lt;li&gt;After manually adding the search script, the console reported:
    &lt;ul&gt;
      &lt;li&gt;&lt;strong&gt;Uncaught ReferenceError: $ is not defined&lt;/strong&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That error strongly suggested a missing JavaScript dependency.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;root-cause&quot;&gt;Root Cause&lt;/h2&gt;

&lt;p&gt;The search overlay HTML exists in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_includes/blog_header.html&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, the JavaScript responsible for powering the overlay — including click handlers, keyboard shortcuts, and typeahead initialization — lives in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;static/js/search.js&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At some point, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.js&lt;/code&gt; was no longer being loaded on pages that rendered the search overlay. As a result:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No event handlers were attached to the search icon&lt;/li&gt;
  &lt;li&gt;The overlay could not open or close&lt;/li&gt;
  &lt;li&gt;Typeahead search against &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.json&lt;/code&gt; was never initialized&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.js&lt;/code&gt; was manually reintroduced, it failed because it depended on jQuery (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$&lt;/code&gt;), which was either not loaded yet or not included at all due to script ordering.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;investigation-notes&quot;&gt;Investigation Notes&lt;/h2&gt;

&lt;p&gt;Several checks were performed using browser DevTools:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;typeof jQuery&lt;/code&gt; returned &lt;strong&gt;“function”&lt;/strong&gt; once the correct bundles were loaded&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jQuery.fn.typeahead&lt;/code&gt; existed after the blog JavaScript bundle loaded&lt;/li&gt;
  &lt;li&gt;The Network tab confirmed &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;static/js/search.js&lt;/code&gt; was not initially requested&lt;/li&gt;
  &lt;li&gt;After adding &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.js&lt;/code&gt;, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$ is not defined&lt;/code&gt; error confirmed a load-order issue&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional validation:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://jamisonjohnson.me/search.json&lt;/code&gt; returned HTTP 200 with valid JSON&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://jamisonjohnson.me/blog/search.json&lt;/code&gt; returned 404&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This confirmed the site was being served from the domain root (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/&lt;/code&gt;) and not from a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/blog&lt;/code&gt; baseurl path.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;fix-applied&quot;&gt;Fix Applied&lt;/h2&gt;

&lt;p&gt;The fix required explicitly restoring the JavaScript dependency chain and ensuring proper load order.&lt;/p&gt;

&lt;p&gt;The following scripts were added to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_includes/head.html&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Main application bundle (includes jQuery)&lt;/li&gt;
  &lt;li&gt;Blog JavaScript bundle (includes typeahead)&lt;/li&gt;
  &lt;li&gt;Search overlay logic script&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the correct order:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;/static/assets/app-20190620.min.js&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;/static/assets/blog-20190620.min.js&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;/static/js/search.js&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Loading &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.js&lt;/code&gt; &lt;em&gt;after&lt;/em&gt; the main bundles ensured all required dependencies were available.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-working-state&quot;&gt;Final Working State&lt;/h2&gt;

&lt;p&gt;Search functionality was confirmed restored when all of the following were true:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The page loads:
    &lt;ul&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/static/assets/app-20190620.min.js&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/static/assets/blog-20190620.min.js&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/static/js/search.js&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.json&lt;/code&gt; returns valid content from the site root&lt;/li&gt;
  &lt;li&gt;Clicking the search icon opens the overlay&lt;/li&gt;
  &lt;li&gt;Typing produces live search suggestions&lt;/li&gt;
  &lt;li&gt;Keyboard shortcuts function as expected&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;This outage was caused by a missing and incorrectly ordered JavaScript dependency chain. The search UI existed in the DOM, but the script responsible for binding behavior and initializing search was not loaded — and when it was added, it depended on jQuery being loaded first.&lt;/p&gt;

&lt;p&gt;The resolution was to explicitly include &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;static/js/search.js&lt;/code&gt; after the main JavaScript bundles and use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;relative_url&lt;/code&gt; to avoid path-related issues.&lt;/p&gt;
</description>
        <pubDate>Sat, 22 Nov 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/jekyll-blog-search-outage/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/jekyll-blog-search-outage/</guid>
        
        <category>jekyll</category>
        
        <category>javascript</category>
        
        <category>troubleshooting</category>
        
        <category>postmortem</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Tagged vs Untagged VLANs — What They Are and When to Use Them</title>
        <description>&lt;p&gt;VLANs (Virtual Local Area Networks) allow you to logically segment a network without requiring separate physical infrastructure. While the concept sounds simple, one area that consistently trips people up is the distinction between &lt;strong&gt;tagged&lt;/strong&gt; and &lt;strong&gt;untagged&lt;/strong&gt; VLAN traffic.&lt;/p&gt;

&lt;p&gt;In this blog post, we will break down what tagged and untagged VLANs are, how they work, and when each should be used in real-world network designs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-a-vlan-actually-does&quot; id=&quot;markdown-toc-what-a-vlan-actually-does&quot;&gt;What a VLAN Actually Does&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#untagged-vlans-explained&quot; id=&quot;markdown-toc-untagged-vlans-explained&quot;&gt;Untagged VLANs Explained&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#tagged-vlans-explained&quot; id=&quot;markdown-toc-tagged-vlans-explained&quot;&gt;Tagged VLANs Explained&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#access-ports-vs-trunk-ports&quot; id=&quot;markdown-toc-access-ports-vs-trunk-ports&quot;&gt;Access Ports vs Trunk Ports&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#real-world-examples&quot; id=&quot;markdown-toc-real-world-examples&quot;&gt;Real-World Examples&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-misconfigurations&quot; id=&quot;markdown-toc-common-misconfigurations&quot;&gt;Common Misconfigurations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#choosing-the-right-approach&quot; id=&quot;markdown-toc-choosing-the-right-approach&quot;&gt;Choosing the Right Approach&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-a-vlan-actually-does&quot;&gt;What a VLAN Actually Does&lt;/h2&gt;

&lt;p&gt;At a high level, a VLAN separates broadcast domains at Layer 2. Devices on different VLANs behave as if they are on different physical switches, even when they are not.&lt;/p&gt;

&lt;p&gt;This segmentation is commonly used for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Security isolation&lt;/li&gt;
  &lt;li&gt;Traffic management&lt;/li&gt;
  &lt;li&gt;Multi-tenant networks&lt;/li&gt;
  &lt;li&gt;Separating user, server, voice, and management traffic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mechanism that enables this separation on Ethernet networks is VLAN tagging.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;untagged-vlans-explained&quot;&gt;Untagged VLANs Explained&lt;/h2&gt;

&lt;p&gt;An &lt;strong&gt;untagged VLAN&lt;/strong&gt; is exactly what it sounds like: Ethernet frames are sent without any VLAN identifier attached.&lt;/p&gt;

&lt;p&gt;Key characteristics:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Frames contain no VLAN tag&lt;/li&gt;
  &lt;li&gt;Switch assigns the traffic to a VLAN based on the ingress port&lt;/li&gt;
  &lt;li&gt;Commonly referred to as the &lt;strong&gt;native VLAN&lt;/strong&gt; on a port&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In practical terms, this is what happens:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A device sends normal Ethernet traffic&lt;/li&gt;
  &lt;li&gt;The switch port receives it&lt;/li&gt;
  &lt;li&gt;The switch internally associates that traffic with a specific VLAN&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most end-user devices (desktops, printers, TVs, IoT devices) send untagged traffic by default.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;tagged-vlans-explained&quot;&gt;Tagged VLANs Explained&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;tagged VLAN&lt;/strong&gt; uses the IEEE 802.1Q standard to insert a VLAN identifier into each Ethernet frame.&lt;/p&gt;

&lt;p&gt;Key characteristics:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Frames include a VLAN ID (VID)&lt;/li&gt;
  &lt;li&gt;Multiple VLANs can traverse the same physical link&lt;/li&gt;
  &lt;li&gt;Receiving devices must understand VLAN tags&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tagged VLANs allow a single interface to carry traffic for many VLANs simultaneously. This is why they are commonly used between network infrastructure devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;access-ports-vs-trunk-ports&quot;&gt;Access Ports vs Trunk Ports&lt;/h2&gt;

&lt;p&gt;Although terminology varies by vendor, the concepts map cleanly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access Port&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Carries a single VLAN&lt;/li&gt;
  &lt;li&gt;Traffic is untagged&lt;/li&gt;
  &lt;li&gt;Used for end devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Trunk Port&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Carries multiple VLANs&lt;/li&gt;
  &lt;li&gt;Traffic is tagged&lt;/li&gt;
  &lt;li&gt;Used between switches, firewalls, hypervisors, and access points&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On many platforms, an access port is simply a port with one untagged VLAN, while a trunk port is a port that allows multiple tagged VLANs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;real-world-examples&quot;&gt;Real-World Examples&lt;/h2&gt;

&lt;p&gt;Here are a few common scenarios:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A desktop computer plugged into a wall jack → &lt;strong&gt;Untagged VLAN&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;A switch uplink to another switch → &lt;strong&gt;Tagged VLANs&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;A firewall interface handling multiple networks → &lt;strong&gt;Tagged VLANs&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;A wireless access point with multiple SSIDs → &lt;strong&gt;Tagged VLANs&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each scenario depends on whether the connected device understands VLAN tags.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-misconfigurations&quot;&gt;Common Misconfigurations&lt;/h2&gt;

&lt;p&gt;Many VLAN issues stem from mixing expectations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sending tagged traffic to a device expecting untagged frames&lt;/li&gt;
  &lt;li&gt;Forgetting to define a native (untagged) VLAN on a trunk&lt;/li&gt;
  &lt;li&gt;Assuming VLANs work at Layer 3 without routing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When troubleshooting VLAN problems, always verify:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Port VLAN membership&lt;/li&gt;
  &lt;li&gt;Tagged vs untagged configuration&lt;/li&gt;
  &lt;li&gt;VLAN IDs match on both sides of the link&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;choosing-the-right-approach&quot;&gt;Choosing the Right Approach&lt;/h2&gt;

&lt;p&gt;A simple rule of thumb:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Use &lt;strong&gt;untagged VLANs&lt;/strong&gt; for end devices&lt;/li&gt;
  &lt;li&gt;Use &lt;strong&gt;tagged VLANs&lt;/strong&gt; between network infrastructure components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As networks grow, tagged VLANs become essential for scalability and clarity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Tagged and untagged VLANs are not competing concepts — they are complementary tools. Untagged VLANs keep edge devices simple, while tagged VLANs provide the flexibility needed to build segmented, scalable networks.&lt;/p&gt;

&lt;p&gt;Understanding the distinction helps prevent configuration errors, simplifies troubleshooting, and leads to cleaner network designs overall.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 Nov 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/tagged-vs-untagged-vlans/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/tagged-vs-untagged-vlans/</guid>
        
        <category>vlan</category>
        
        <category>networking</category>
        
        <category>switching</category>
        
        <category>sysadmin</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Bypassing the Microsoft Account Requirement in Windows 11 Setup</title>
        <description>&lt;p&gt;Windows 11 introduces a more opinionated setup experience than previous versions, particularly when it comes to requiring a Microsoft account during installation. While this integration offers benefits like cloud sync and seamless access to Microsoft services, it can be a blocker in situations where internet access is unavailable, credentials are not on hand, or a local-only system is preferred. In this blog post, we will explain why this requirement exists, when bypassing it makes sense, and how to create a local account during Windows 11 setup.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-windows-11-requires-a-microsoft-account&quot; id=&quot;markdown-toc-why-windows-11-requires-a-microsoft-account&quot;&gt;Why Windows 11 Requires a Microsoft Account&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#where-the-block-happens-during-setup&quot; id=&quot;markdown-toc-where-the-block-happens-during-setup&quot;&gt;Where the Block Happens During Setup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#creating-a-local-account-during-windows-11-setup&quot; id=&quot;markdown-toc-creating-a-local-account-during-windows-11-setup&quot;&gt;Creating a Local Account During Windows 11 Setup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#completing-local-user-creation&quot; id=&quot;markdown-toc-completing-local-user-creation&quot;&gt;Completing Local User Creation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-notes-and-limitations&quot; id=&quot;markdown-toc-important-notes-and-limitations&quot;&gt;Important Notes and Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-a-local-account-makes-sense&quot; id=&quot;markdown-toc-when-a-local-account-makes-sense&quot;&gt;When a Local Account Makes Sense&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-windows-11-requires-a-microsoft-account&quot;&gt;Why Windows 11 Requires a Microsoft Account&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Microsoft designed Windows 11 to be tightly integrated with its cloud ecosystem. During setup, a Microsoft account enables features such as OneDrive backup, Microsoft Store access, device syncing, and security recovery options. However, this dependency assumes that every installation has immediate internet access and valid credentials available, which is not always the case.&lt;/p&gt;

&lt;p&gt;Common scenarios where this becomes an issue include:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;New systems without network drivers installed&lt;/li&gt;
  &lt;li&gt;Offline or isolated environments&lt;/li&gt;
  &lt;li&gt;Temporary installations or lab systems&lt;/li&gt;
  &lt;li&gt;Users who prefer local-only accounts for privacy or control&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;where-the-block-happens-during-setup&quot;&gt;Where the Block Happens During Setup&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;After selecting your region and keyboard layout, the Windows 11 installer eventually reaches the &lt;strong&gt;network connection screen&lt;/strong&gt;. At this stage, the installer will not allow you to continue without connecting to the internet, which in turn forces Microsoft account sign-in.&lt;/p&gt;

&lt;p&gt;This is the exact point where the workaround can be applied.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;creating-a-local-account-during-windows-11-setup&quot;&gt;Creating a Local Account During Windows 11 Setup&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;When the installer prompts you to connect to a network, follow these steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Shift + F10&lt;/strong&gt; to open a Command Prompt window
    &lt;ul&gt;
      &lt;li&gt;On some keyboards, you may need &lt;strong&gt;Fn + Shift + F10&lt;/strong&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Click inside the Command Prompt window to ensure it is active&lt;/li&gt;
  &lt;li&gt;Type the following command exactly as shown:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;start ms-cxh:localonly
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Press &lt;strong&gt;Enter&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This command launches the local account creation flow directly, bypassing the Microsoft account requirement.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;completing-local-user-creation&quot;&gt;Completing Local User Creation&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;After running the command, Windows will present the &lt;strong&gt;Create a user for this PC&lt;/strong&gt; screen. From here:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enter a local username&lt;/li&gt;
  &lt;li&gt;Create a password (this step is required)&lt;/li&gt;
  &lt;li&gt;Complete the required security questions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once finished, the installer resumes and completes the remaining setup steps normally.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-notes-and-limitations&quot;&gt;Important Notes and Limitations&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;This method works on current Windows 11 installers as of mid-2025&lt;/li&gt;
  &lt;li&gt;Microsoft continues to adjust setup behavior, so future changes are possible&lt;/li&gt;
  &lt;li&gt;You can still add a Microsoft account later if desired via &lt;strong&gt;Settings → Accounts&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;This approach is especially useful for offline systems or initial driver installation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-a-local-account-makes-sense&quot;&gt;When a Local Account Makes Sense&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;While Microsoft accounts are convenient, local accounts are often preferred for:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Lab or test machines&lt;/li&gt;
  &lt;li&gt;Enterprise imaging workflows&lt;/li&gt;
  &lt;li&gt;Privacy-focused setups&lt;/li&gt;
  &lt;li&gt;Systems without persistent internet access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The choice ultimately depends on your use case, but having a reliable fallback method is valuable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Although Windows 11 increasingly pushes users toward cloud-based accounts, it is still possible to complete setup using a local account when needed. By invoking the local-only account flow during installation, you can regain control over the initial configuration and proceed without internet access or Microsoft credentials. This method remains a practical solution for administrators and users who need flexibility during Windows 11 deployments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;To learn more about Windows deployment options and account management, see the &lt;a href=&quot;https://learn.microsoft.com/windows&quot;&gt;official Microsoft documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 08 Nov 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/bypassing-microsoft-account/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/bypassing-microsoft-account/</guid>
        
        <category>windows11</category>
        
        <category>microsoft</category>
        
        <category>local-account</category>
        
        <category>setup</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Using Microsoft Activation Scripts (MAS) for Windows and Office</title>
        <description>&lt;p&gt;Anyone who manages Windows systems at scale has run into activation headaches. Between hardware changes, rebuilds, VM templates, and lab environments, keeping Windows and Office properly activated can quickly become a time sink.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to use &lt;strong&gt;Microsoft Activation Scripts (MAS)&lt;/strong&gt; — a popular open-source project — to activate Windows or Microsoft Office using a simple PowerShell command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-microsoft-activation-scripts-mas&quot; id=&quot;markdown-toc-what-is-microsoft-activation-scripts-mas&quot;&gt;What Is Microsoft Activation Scripts (MAS)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-considerations&quot; id=&quot;markdown-toc-important-considerations&quot;&gt;Important Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-run-microsoft-activation-scripts&quot; id=&quot;markdown-toc-how-to-run-microsoft-activation-scripts&quot;&gt;How to Run Microsoft Activation Scripts&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-open-powershell&quot; id=&quot;markdown-toc-step-1-open-powershell&quot;&gt;Step 1: Open PowerShell&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-run-the-activation-command&quot; id=&quot;markdown-toc-step-2-run-the-activation-command&quot;&gt;Step 2: Run the Activation Command&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-the-mas-menu&quot; id=&quot;markdown-toc-using-the-mas-menu&quot;&gt;Using the MAS Menu&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verifying-activation&quot; id=&quot;markdown-toc-verifying-activation&quot;&gt;Verifying Activation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-administrators-use-mas&quot; id=&quot;markdown-toc-why-administrators-use-mas&quot;&gt;Why Administrators Use MAS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#learn-more-about-microsoft-activation-scripts&quot; id=&quot;markdown-toc-learn-more-about-microsoft-activation-scripts&quot;&gt;Learn More About Microsoft Activation Scripts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-microsoft-activation-scripts-mas&quot;&gt;What Is Microsoft Activation Scripts (MAS)&lt;/h2&gt;

&lt;p&gt;Microsoft Activation Scripts (MAS) is an open-source project that provides reliable activation methods for Windows and Microsoft Office. It is widely used by system administrators, IT professionals, and lab builders who need a fast, repeatable activation process.&lt;/p&gt;

&lt;p&gt;Key characteristics:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open-source and publicly auditable&lt;/li&gt;
  &lt;li&gt;Supports multiple Windows and Office versions&lt;/li&gt;
  &lt;li&gt;Designed for automation and repeatability&lt;/li&gt;
  &lt;li&gt;Commonly used in test labs and rebuild scenarios&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MAS bundles several activation techniques and presents them through a simple, menu-driven interface.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-considerations&quot;&gt;Important Considerations&lt;/h2&gt;

&lt;p&gt;Before using MAS, it is important to understand the context in which it should be used:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Ensure you are complying with your organization’s licensing policies&lt;/li&gt;
  &lt;li&gt;MAS is often used in lab, evaluation, or recovery scenarios&lt;/li&gt;
  &lt;li&gt;You are responsible for how and where it is used&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This article focuses on &lt;strong&gt;how&lt;/strong&gt; to use the tool — not licensing interpretation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-run-microsoft-activation-scripts&quot;&gt;How to Run Microsoft Activation Scripts&lt;/h2&gt;

&lt;p&gt;MAS is executed directly from PowerShell using a secure download-and-run method.&lt;/p&gt;

&lt;h3 id=&quot;step-1-open-powershell&quot;&gt;Step 1: Open PowerShell&lt;/h3&gt;

&lt;p&gt;Open PowerShell &lt;strong&gt;as Administrator&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-run-the-activation-command&quot;&gt;Step 2: Run the Activation Command&lt;/h3&gt;

&lt;p&gt;Execute the following command:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;irm [https://get.activated.win](https://get.activated.win) | iex
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;What this does:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Downloads the latest MAS launcher&lt;/li&gt;
  &lt;li&gt;Executes it directly in memory&lt;/li&gt;
  &lt;li&gt;Presents an interactive menu&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No files need to be manually downloaded or extracted.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-the-mas-menu&quot;&gt;Using the MAS Menu&lt;/h2&gt;

&lt;p&gt;Once launched, MAS presents a text-based menu allowing you to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Activate Windows&lt;/li&gt;
  &lt;li&gt;Activate Microsoft Office&lt;/li&gt;
  &lt;li&gt;View activation status&lt;/li&gt;
  &lt;li&gt;Select different activation methods&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Follow the on-screen prompts to choose the appropriate option for your system.&lt;/p&gt;

&lt;p&gt;The process typically completes in seconds.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verifying-activation&quot;&gt;Verifying Activation&lt;/h2&gt;

&lt;p&gt;After activation completes, you can confirm status by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Checking &lt;strong&gt;Settings → System → Activation&lt;/strong&gt; in Windows&lt;/li&gt;
  &lt;li&gt;Running activation status checks from the MAS menu&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Successful activation will be clearly indicated.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-administrators-use-mas&quot;&gt;Why Administrators Use MAS&lt;/h2&gt;

&lt;p&gt;System administrators favor MAS because it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Saves significant time during rebuilds&lt;/li&gt;
  &lt;li&gt;Works well in isolated or lab environments&lt;/li&gt;
  &lt;li&gt;Avoids manual key management&lt;/li&gt;
  &lt;li&gt;Fits cleanly into automation workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For anyone frequently provisioning Windows systems, MAS becomes a practical tool in the toolbox.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Microsoft Activation Scripts (MAS) provides a fast and efficient way to activate Windows and Microsoft Office when traditional methods become cumbersome. Its open-source nature and simplicity make it especially attractive for lab environments and administrative workflows.&lt;/p&gt;

&lt;p&gt;As with any activation tool, always ensure you understand and comply with applicable licensing requirements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;learn-more-about-microsoft-activation-scripts&quot;&gt;Learn More About Microsoft Activation Scripts&lt;/h2&gt;

&lt;p&gt;To explore the project, review the source code, and read detailed documentation, visit the official &lt;a href=&quot;https://github.com/massgravel/Microsoft-Activation-Scripts&quot;&gt;MAS repository&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 01 Nov 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/using-microsoft-activation-scripts/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/using-microsoft-activation-scripts/</guid>
        
        <category>windows</category>
        
        <category>powershell</category>
        
        <category>activation</category>
        
        <category>sysadmin</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Zero-Typing SSH on macOS — Connect Using Only Hostnames</title>
        <description>&lt;p&gt;If you manage servers all day, SSH becomes muscle memory. But even muscle memory has friction — typing &lt;strong&gt;ssh -A hostname&lt;/strong&gt; hundreds of times per week adds up. Fortunately, macOS and zsh give us a clean, elegant way to eliminate that overhead entirely.&lt;/p&gt;

&lt;p&gt;In this blog post, we will configure your Mac so typing &lt;strong&gt;only the hostname&lt;/strong&gt; automatically initiates an SSH session, while still maintaining strict control over SSH agent forwarding.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-goal&quot; id=&quot;markdown-toc-the-goal&quot;&gt;The Goal&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-this-is-not-built-into-ssh&quot; id=&quot;markdown-toc-why-this-is-not-built-into-ssh&quot;&gt;Why This Is Not Built Into SSH&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-configure-agent-forwarding-the-right-way&quot; id=&quot;markdown-toc-step-1-configure-agent-forwarding-the-right-way&quot;&gt;Step 1: Configure Agent Forwarding the Right Way&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-teach-zsh-to-auto-ssh-unknown-commands&quot; id=&quot;markdown-toc-step-2-teach-zsh-to-auto-ssh-unknown-commands&quot;&gt;Step 2: Teach zsh to Auto-SSH Unknown Commands&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-it-works-behind-the-scenes&quot; id=&quot;markdown-toc-how-it-works-behind-the-scenes&quot;&gt;How It Works Behind the Scenes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verifying-agent-forwarding&quot; id=&quot;markdown-toc-verifying-agent-forwarding&quot;&gt;Verifying Agent Forwarding&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-this-setup-is-ideal-for-administrators&quot; id=&quot;markdown-toc-why-this-setup-is-ideal-for-administrators&quot;&gt;Why This Setup Is Ideal for Administrators&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-goal&quot;&gt;The Goal&lt;/h2&gt;

&lt;p&gt;Instead of typing:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh -A server1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You simply type:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;server1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;…and you are immediately connected via SSH.&lt;/p&gt;

&lt;p&gt;No aliases. No wrappers. No bad habits.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-this-is-not-built-into-ssh&quot;&gt;Why This Is Not Built Into SSH&lt;/h2&gt;

&lt;p&gt;SSH itself is just a command-line tool. It executes only when explicitly called. Your shell (zsh on modern macOS) is responsible for deciding what happens when you type a word and press Enter.&lt;/p&gt;

&lt;p&gt;By default, zsh follows this logic:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;If the word matches a command in your PATH, it executes it&lt;/li&gt;
  &lt;li&gt;If it does not, zsh throws a “command not found” error&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are going to intercept that failure case and reinterpret it as:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;“This is probably a hostname — initiate SSH.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-configure-agent-forwarding-the-right-way&quot;&gt;Step 1: Configure Agent Forwarding the Right Way&lt;/h2&gt;

&lt;p&gt;Before automating anything, we define &lt;em&gt;where&lt;/em&gt; SSH agent forwarding is allowed. This ensures speed without sacrificing security.&lt;/p&gt;

&lt;p&gt;Edit your SSH configuration:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;vi ~/.ssh/config&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add the following:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Host server1 server2 server3&lt;/strong&gt; &lt;br /&gt;
ForwardAgent yes&lt;/p&gt;

&lt;p&gt;This setup enforces:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Agent forwarding disabled by default&lt;/li&gt;
  &lt;li&gt;Explicit opt-in for trusted hosts&lt;/li&gt;
  &lt;li&gt;Compatibility with bastions, jump hosts, Git, Ansible, and scp&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-teach-zsh-to-auto-ssh-unknown-commands&quot;&gt;Step 2: Teach zsh to Auto-SSH Unknown Commands&lt;/h2&gt;

&lt;p&gt;Now we configure zsh to treat unknown commands as SSH targets.&lt;/p&gt;

&lt;p&gt;Edit your shell configuration:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;vi ~/.zshrc&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add the following function:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh() {
  command ssh -A &quot;$@&quot;
}

function command_not_found_handler() {
  command ssh -A &quot;$1&quot;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Reload your shell:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;source ~/.zshrc&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-it-works-behind-the-scenes&quot;&gt;How It Works Behind the Scenes&lt;/h2&gt;

&lt;p&gt;When you type:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;server1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;zsh attempts to locate a command named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server1&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No executable is found&lt;/li&gt;
  &lt;li&gt;zsh invokes &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;command_not_found_handler&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;The handler runs &lt;strong&gt;ssh server1&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;SSH applies per-host configuration from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/config&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a seamless SSH experience with zero extra typing.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verifying-agent-forwarding&quot;&gt;Verifying Agent Forwarding&lt;/h2&gt;

&lt;p&gt;Once connected, verify forwarding with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh-add -l&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Keys listed: forwarding active&lt;/li&gt;
  &lt;li&gt;Authentication agent error: forwarding disabled&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This validation is critical when working across multiple trust boundaries.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-this-setup-is-ideal-for-administrators&quot;&gt;Why This Setup Is Ideal for Administrators&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Zero keystroke overhead&lt;/li&gt;
  &lt;li&gt;No fragile shell aliases&lt;/li&gt;
  &lt;li&gt;Security-first defaults&lt;/li&gt;
  &lt;li&gt;Works cleanly with jump hosts&lt;/li&gt;
  &lt;li&gt;Scales across laptops and long-lived admin environments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This approach balances speed and discipline — exactly what experienced administrators need.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;This is a small change that delivers an outsized productivity gain. Once your muscle memory adapts to typing only hostnames, it becomes difficult to imagine going back.&lt;/p&gt;

&lt;p&gt;By combining zsh’s extensibility with SSH’s configuration model, you get a fast, elegant, and secure workflow — one that scales with both your environment and your responsibilities.&lt;/p&gt;

</description>
        <pubDate>Sat, 25 Oct 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/macos/zero-typing-ssh/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/macos/zero-typing-ssh/</guid>
        
        <category>ssh</category>
        
        <category>zsh</category>
        
        <category>productivity</category>
        
        <category>sysadmin</category>
        
        
        <category>Linux</category>
        
        <category>macOS</category>
        
      </item>
    
      <item>
        <title>Don&apos;t Use &apos;git pull&apos; — And What To Do Instead</title>
        <description>&lt;p&gt;If you’ve ever collaborated on a Git project, you’ve probably encountered the dreaded &lt;strong&gt;“rejected push”&lt;/strong&gt; message. It happens when someone else — let’s call them &lt;em&gt;Branddon&lt;/em&gt; — pushed their changes before you did. Your local branch and the remote branch have diverged, and now Git wants you to synchronize them before pushing your code.&lt;/p&gt;

&lt;p&gt;Most developers instinctively type: &lt;strong&gt;git pull&lt;/strong&gt;. But that’s where problems begin.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-problem-with-git-pull&quot; id=&quot;markdown-toc-the-problem-with-git-pull&quot;&gt;The Problem with ‘git pull’&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-better-solution-git-pull-rebase&quot; id=&quot;markdown-toc-the-better-solution-git-pull-rebase&quot;&gt;The Better Solution: ‘git pull –rebase’&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#handling-merge-conflicts-gracefully&quot; id=&quot;markdown-toc-handling-merge-conflicts-gracefully&quot;&gt;Handling Merge Conflicts Gracefully&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-git-pull-rebase-keeps-your-history-clean&quot; id=&quot;markdown-toc-why-git-pull-rebase-keeps-your-history-clean&quot;&gt;Why ‘git pull –rebase’ Keeps Your History Clean&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#creating-an-alias-for-simplicity&quot; id=&quot;markdown-toc-creating-an-alias-for-simplicity&quot;&gt;Creating an Alias for Simplicity&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-you-might-still-use-git-pull&quot; id=&quot;markdown-toc-when-you-might-still-use-git-pull&quot;&gt;When You Might Still Use ‘git pull’&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-problem-with-git-pull&quot;&gt;The Problem with ‘git pull’&lt;/h2&gt;

&lt;p&gt;Let’s break down what happens behind the scenes. When you run &lt;strong&gt;git pull&lt;/strong&gt;, Git performs two actions:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Fetches&lt;/strong&gt; the latest commits from the remote branch.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Merges&lt;/strong&gt; them into your local branch.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;At first, that sounds fine — until you realize Git creates a &lt;strong&gt;merge commit&lt;/strong&gt; to combine your work with the new changes. This automatically adds an unnecessary commit to your history.&lt;/p&gt;

&lt;p&gt;Over time, these redundant &lt;strong&gt;“merge commits”&lt;/strong&gt; pile up, creating a cluttered and confusing commit log. When you’re trying to debug a problem or trace a change, you’ll find yourself sifting through irrelevant commits just to get to meaningful ones.&lt;/p&gt;

&lt;p&gt;The result?&lt;br /&gt;
A messy, nonlinear history that’s difficult to read and even harder to maintain.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-better-solution-git-pull-rebase&quot;&gt;The Better Solution: ‘git pull –rebase’&lt;/h2&gt;

&lt;p&gt;Instead of using the standard &lt;strong&gt;git pull&lt;/strong&gt;, you can use &lt;strong&gt;git pull –rebase&lt;/strong&gt; to achieve a much cleaner result. Here’s what happens instead:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Git &lt;strong&gt;temporarily sets aside&lt;/strong&gt; your local commits.&lt;/li&gt;
  &lt;li&gt;It &lt;strong&gt;fetches&lt;/strong&gt; the latest commits from the remote branch.&lt;/li&gt;
  &lt;li&gt;Then, Git &lt;strong&gt;reapplies your commits on top&lt;/strong&gt; of the new changes — creating a &lt;strong&gt;linear, readable history&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This keeps your commit graph simple and avoids the unnecessary “merge commit” that standard git pull would create.&lt;/p&gt;

&lt;p&gt;Here’s the key command:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;git pull –rebase&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With this approach, your history remains tidy and easier to follow — perfect for both solo and team development.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;handling-merge-conflicts-gracefully&quot;&gt;Handling Merge Conflicts Gracefully&lt;/h2&gt;

&lt;p&gt;Sometimes, even with rebase, you’ll encounter &lt;strong&gt;merge conflicts&lt;/strong&gt; if both you and your teammate edited the same lines of code. Don’t worry — you still have full control.&lt;/p&gt;

&lt;p&gt;When a conflict occurs, Git will pause and notify you to resolve it manually. You can then fix the issue in your editor, &lt;strong&gt;stage the resolved files&lt;/strong&gt;, and continue with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;git rebase –continue&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you change your mind or things get messy, you can always back out safely:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;git rebase –abort&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This command reverts your repository to the exact state it was in before you started rebasing — no harm done.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-git-pull-rebase-keeps-your-history-clean&quot;&gt;Why ‘git pull –rebase’ Keeps Your History Clean&lt;/h2&gt;

&lt;p&gt;Let’s compare the two visually:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Using ‘git pull’ (default merge):&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;A — B — C (Your local commits)
       \
        D — E — F (Remote commits)
         \
          G (Merge commit)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Using ‘git pull –rebase’:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;A — B — D — E — F — C (Your commits on top of remote commits)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notice the difference?&lt;br /&gt;
With rebase, your history stays linear — no redundant merge commits, just a clear, chronological sequence of meaningful changes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;creating-an-alias-for-simplicity&quot;&gt;Creating an Alias for Simplicity&lt;/h2&gt;

&lt;p&gt;Typing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git pull --rebase&lt;/code&gt; every time can get tedious. You can make it easier by setting up a &lt;strong&gt;Git alias&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;git config –global alias.pr “pull –rebase”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now, you can simply type:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;git pr&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This short alias gives you the same clean rebase behavior every time without extra typing.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-you-might-still-use-git-pull&quot;&gt;When You Might Still Use ‘git pull’&lt;/h2&gt;

&lt;p&gt;There are rare cases where a merge commit is actually useful — for example, when merging long-lived feature branches where you want to preserve the exact branch structure. In everyday collaborative development, though, &lt;strong&gt;rebase keeps things simple&lt;/strong&gt; and makes code review much smoother.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;When working on shared branches, using &lt;strong&gt;git pull&lt;/strong&gt; may seem harmless — but it often leads to messy, complicated histories filled with unnecessary merge commits. By switching to &lt;strong&gt;git pull –rebase&lt;/strong&gt;, you maintain a clean, readable project history that’s easier to debug, review, and maintain.&lt;/p&gt;

&lt;p&gt;If something goes wrong, remember, you can always recover with &lt;strong&gt;git rebase –abort&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So the next time you’re tempted to type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git pull&lt;/code&gt;, pause and use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git pull --rebase&lt;/code&gt; instead. Your teammates (and your future self) will thank you.&lt;/p&gt;

&lt;p&gt;To learn more about Git and best practices for version control, visit the &lt;a href=&quot;https://git-scm.com/doc&quot;&gt;official Git documentation&lt;/a&gt; and explore advanced workflows, branching strategies, and collaboration techniques to elevate your development process.&lt;/p&gt;
</description>
        <pubDate>Sat, 18 Oct 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/git-pull-rebase/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/git-pull-rebase/</guid>
        
        <category>git</category>
        
        <category>development</category>
        
        <category>tips</category>
        
        <category>version control</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>VIVO STAND-V001T Single Monitor Extra Tall Desk Mount Review</title>
        <description>&lt;p&gt;The modern workspace demands adaptability and comfort — and the &lt;strong&gt;VIVO STAND-V001T Single Monitor Extra Tall Desk Mount&lt;/strong&gt; delivers just that. Designed for professionals who spend hours at their desks, this mount enhances monitor positioning, cable management, and workspace efficiency. With its durable build and exceptional height range, it’s ideal for both standing desks and tall users who need a customizable setup.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll explore the design, installation process, features, and benefits of this desk mount to help you decide if it’s the right fit for your workstation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#design-and-build-quality&quot; id=&quot;markdown-toc-design-and-build-quality&quot;&gt;Design and Build Quality&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installation-and-setup&quot; id=&quot;markdown-toc-installation-and-setup&quot;&gt;Installation and Setup&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#installation-steps&quot; id=&quot;markdown-toc-installation-steps&quot;&gt;Installation Steps:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-extra-tall-39-inch-pole&quot; id=&quot;markdown-toc-1-extra-tall-39-inch-pole&quot;&gt;1. &lt;strong&gt;Extra Tall 39-Inch Pole&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-full-articulation&quot; id=&quot;markdown-toc-2-full-articulation&quot;&gt;2. &lt;strong&gt;Full Articulation&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-sturdy-steel-frame&quot; id=&quot;markdown-toc-3-sturdy-steel-frame&quot;&gt;3. &lt;strong&gt;Sturdy Steel Frame&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-cable-management-system&quot; id=&quot;markdown-toc-4-cable-management-system&quot;&gt;4. &lt;strong&gt;Cable Management System&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-clamp-and-grommet-mount-options&quot; id=&quot;markdown-toc-5-clamp-and-grommet-mount-options&quot;&gt;5. &lt;strong&gt;Clamp and Grommet Mount Options&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ergonomics-and-usability&quot; id=&quot;markdown-toc-ergonomics-and-usability&quot;&gt;Ergonomics and Usability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits&quot; id=&quot;markdown-toc-benefits&quot;&gt;Benefits&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-improved-posture-and-comfort&quot; id=&quot;markdown-toc-1-improved-posture-and-comfort&quot;&gt;1. &lt;strong&gt;Improved Posture and Comfort&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-maximized-desk-space&quot; id=&quot;markdown-toc-2-maximized-desk-space&quot;&gt;2. &lt;strong&gt;Maximized Desk Space&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-enhanced-flexibility&quot; id=&quot;markdown-toc-3-enhanced-flexibility&quot;&gt;3. &lt;strong&gt;Enhanced Flexibility&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-easy-cable-management&quot; id=&quot;markdown-toc-4-easy-cable-management&quot;&gt;4. &lt;strong&gt;Easy Cable Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-wide-compatibility&quot; id=&quot;markdown-toc-5-wide-compatibility&quot;&gt;5. &lt;strong&gt;Wide Compatibility&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pros-and-cons&quot; id=&quot;markdown-toc-pros-and-cons&quot;&gt;Pros and Cons&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-use-cases&quot; id=&quot;markdown-toc-best-use-cases&quot;&gt;Best Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;design-and-build-quality&quot;&gt;Design and Build Quality&lt;/h2&gt;

&lt;p&gt;The VIVO STAND-V001T immediately impresses with its &lt;strong&gt;sturdy construction&lt;/strong&gt;. Built from high-grade steel and aluminum, it supports monitors up to 32 inches and 22 pounds with ease. The matte black finish not only looks sleek but also resists fingerprints and scratches — ensuring it maintains a professional aesthetic over time.&lt;/p&gt;

&lt;p&gt;Its &lt;strong&gt;extra-tall pole&lt;/strong&gt;, standing at 39 inches, is what truly sets this model apart. This additional height gives users far greater flexibility for ergonomic monitor placement, especially for tall individuals or setups involving standing desks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation-and-setup&quot;&gt;Installation and Setup&lt;/h2&gt;

&lt;p&gt;One of the highlights of the STAND-V001T is how &lt;strong&gt;straightforward&lt;/strong&gt; the installation process is. VIVO provides a &lt;strong&gt;clear, illustrated instruction manual&lt;/strong&gt; and all necessary tools for assembly.&lt;/p&gt;

&lt;h3 id=&quot;installation-steps&quot;&gt;Installation Steps:&lt;/h3&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Attach the clamp or grommet base&lt;/strong&gt; to your desk — compatible with surfaces up to 4 inches thick.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Insert and secure the vertical pole&lt;/strong&gt; using the provided screws and Allen key.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Mount the VESA plate&lt;/strong&gt; (75x75mm or 100x100mm) to your monitor.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Slide the arm assembly&lt;/strong&gt; onto the pole and tighten it to your desired height.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Route your cables&lt;/strong&gt; through the built-in cable clips for a clean look.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Setup takes roughly 15–20 minutes, even for first-time users. The &lt;strong&gt;included cable management system&lt;/strong&gt; helps maintain a tidy and efficient workspace.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;h3 id=&quot;1-extra-tall-39-inch-pole&quot;&gt;1. &lt;strong&gt;Extra Tall 39-Inch Pole&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Allows for a wider range of height adjustment compared to standard mounts.&lt;/li&gt;
  &lt;li&gt;Perfect for standing desks or tall users who need elevated viewing positions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-full-articulation&quot;&gt;2. &lt;strong&gt;Full Articulation&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Offers tilt (-45° to +45°), swivel (180°), and rotation (360°) for portrait or landscape orientation.&lt;/li&gt;
  &lt;li&gt;Easily adjust viewing angles to reduce neck and eye strain.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-sturdy-steel-frame&quot;&gt;3. &lt;strong&gt;Sturdy Steel Frame&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Heavy-duty construction provides excellent stability.&lt;/li&gt;
  &lt;li&gt;Can securely hold monitors up to 22 lbs without wobbling or sagging.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;4-cable-management-system&quot;&gt;4. &lt;strong&gt;Cable Management System&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Integrated clips help organize power and display cables neatly along the mount arm.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;5-clamp-and-grommet-mount-options&quot;&gt;5. &lt;strong&gt;Clamp and Grommet Mount Options&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Offers flexible mounting configurations for various desk types.&lt;/li&gt;
  &lt;li&gt;Quick to switch between clamp and grommet based on setup needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ergonomics-and-usability&quot;&gt;Ergonomics and Usability&lt;/h2&gt;

&lt;p&gt;Ergonomics play a huge role in long-term comfort, and the STAND-V001T excels in this category. The &lt;strong&gt;extra-tall height&lt;/strong&gt; allows users to position their monitors at true eye level — even while standing. This eliminates slouching and helps maintain better posture.&lt;/p&gt;

&lt;p&gt;For users transitioning between sitting and standing throughout the day, the mount’s smooth height adjustment and rotation features make it easy to reposition without tools. The &lt;strong&gt;VESA quick-release plate&lt;/strong&gt; simplifies monitor attachment and detachment for quick adjustments or upgrades.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits&quot;&gt;Benefits&lt;/h2&gt;

&lt;h3 id=&quot;1-improved-posture-and-comfort&quot;&gt;1. &lt;strong&gt;Improved Posture and Comfort&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Keeps your monitor at eye level whether seated or standing, reducing strain on the neck and shoulders.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-maximized-desk-space&quot;&gt;2. &lt;strong&gt;Maximized Desk Space&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Frees up valuable desk area by lifting your monitor off the surface.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-enhanced-flexibility&quot;&gt;3. &lt;strong&gt;Enhanced Flexibility&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Ideal for dual-purpose setups (sit-stand desks, collaborative workstations, etc.).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;4-easy-cable-management&quot;&gt;4. &lt;strong&gt;Easy Cable Management&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Built-in clips reduce clutter and improve visual organization.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;5-wide-compatibility&quot;&gt;5. &lt;strong&gt;Wide Compatibility&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Works with a variety of monitors, mounting systems, and desk types.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pros-and-cons&quot;&gt;Pros and Cons&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Pros&lt;/th&gt;
      &lt;th&gt;Cons&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Extra-tall design (39-inch pole) for greater flexibility&lt;/td&gt;
      &lt;td&gt;Arm tension may need fine-tuning after installation&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Excellent build quality and stability&lt;/td&gt;
      &lt;td&gt;Slight wobble at full extension for heavier monitors&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Clean cable management&lt;/td&gt;
      &lt;td&gt;Requires ample vertical clearance&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Affordable and professional-grade design&lt;/td&gt;
      &lt;td&gt;None significant for most use cases&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-use-cases&quot;&gt;Best Use Cases&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Standing desk users who need higher monitor placement&lt;/li&gt;
  &lt;li&gt;Tall individuals seeking ergonomic viewing angles&lt;/li&gt;
  &lt;li&gt;Home offices prioritizing organization and space efficiency&lt;/li&gt;
  &lt;li&gt;Workstations where frequent height or rotation adjustments are required&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;VIVO STAND-V001T Single Monitor Extra Tall Desk Mount&lt;/strong&gt; is an outstanding choice for professionals who want to elevate their workspace — literally and figuratively. Its exceptional height range, robust build, and ergonomic benefits make it a standout in its category.&lt;/p&gt;

&lt;p&gt;Whether you’re outfitting a standing desk, upgrading your home office, or improving your daily ergonomics, this mount delivers both functionality and long-term value.&lt;/p&gt;

&lt;p&gt;🛒 Learn more or purchase the product from the official &lt;a href=&quot;https://vivo-us.com/products/stand-v001t&quot;&gt;VIVO website&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 11 Oct 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/vivo-stand-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/vivo-stand-review/</guid>
        
        <category>VIVO</category>
        
        <category>monitor</category>
        
        <category>desk mount</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Hyper-V vs VMware - A Detailed Virtualization Comparison</title>
        <description>&lt;p&gt;In the evolving world of IT infrastructure and virtualization, two dominant platforms continue to lead the conversation — &lt;strong&gt;Microsoft Hyper-V&lt;/strong&gt; and &lt;strong&gt;VMware vSphere/ESXi&lt;/strong&gt;. Both are robust solutions that enable businesses and individuals to virtualize hardware resources, run multiple operating systems on a single machine, and optimize server utilization.&lt;/p&gt;

&lt;p&gt;In this blog post, we will break down the key differences between Hyper-V and VMware, examining performance, features, licensing, scalability, and use cases to help you choose the right virtualization platform for your environment.&lt;br /&gt;
In this blog post, we will provide a detailed virtualization comparison.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview-of-hyper-v-and-vmware&quot; id=&quot;markdown-toc-overview-of-hyper-v-and-vmware&quot;&gt;Overview of Hyper-V and VMware&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#hyper-v&quot; id=&quot;markdown-toc-hyper-v&quot;&gt;Hyper-V&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vmware&quot; id=&quot;markdown-toc-vmware&quot;&gt;VMware&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#architecture-and-design&quot; id=&quot;markdown-toc-architecture-and-design&quot;&gt;Architecture and Design&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-feature-comparison&quot; id=&quot;markdown-toc-key-feature-comparison&quot;&gt;Key Feature Comparison&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-and-scalability&quot; id=&quot;markdown-toc-performance-and-scalability&quot;&gt;Performance and Scalability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#licensing-and-cost-considerations&quot; id=&quot;markdown-toc-licensing-and-cost-considerations&quot;&gt;Licensing and Cost Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-and-isolation&quot; id=&quot;markdown-toc-security-and-isolation&quot;&gt;Security and Isolation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-use-cases&quot; id=&quot;markdown-toc-best-use-cases&quot;&gt;Best Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview-of-hyper-v-and-vmware&quot;&gt;Overview of Hyper-V and VMware&lt;/h2&gt;

&lt;h3 id=&quot;hyper-v&quot;&gt;Hyper-V&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt; is Microsoft’s native hypervisor, included with Windows Server and available as a standalone product (Hyper-V Server). It allows users to create and manage virtual machines (VMs) on Windows hosts, leveraging tight integration with other Microsoft tools such as Active Directory, System Center, and Azure.&lt;/p&gt;

&lt;h3 id=&quot;vmware&quot;&gt;VMware&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;VMware vSphere&lt;/strong&gt;, powered by the &lt;strong&gt;ESXi hypervisor&lt;/strong&gt;, is a market leader in enterprise virtualization. It provides advanced VM management, automation, and scalability features designed for both on-premises and hybrid cloud environments. VMware’s ecosystem extends through tools like vCenter, NSX, and vSAN for network and storage virtualization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;architecture-and-design&quot;&gt;Architecture and Design&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt; uses a &lt;strong&gt;Type-1 (bare-metal)&lt;/strong&gt; hypervisor model, running directly on the host hardware. It is deeply integrated into the Windows ecosystem, making it an ideal choice for Microsoft-centric infrastructures.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VMware ESXi&lt;/strong&gt;, also a &lt;strong&gt;Type-1 hypervisor&lt;/strong&gt;, is a purpose-built Linux-based kernel designed solely for virtualization. It’s lightweight and optimized for stability and performance in enterprise-scale deployments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-feature-comparison&quot;&gt;Key Feature Comparison&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt;&lt;/th&gt;
      &lt;th&gt;&lt;strong&gt;VMware vSphere/ESXi&lt;/strong&gt;&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Integration&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Deep integration with Windows Server, Azure, and Active Directory&lt;/td&gt;
      &lt;td&gt;Extensive ecosystem with vCenter, NSX, and vSAN&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Licensing Model&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Included with Windows Server; free Hyper-V Server option&lt;/td&gt;
      &lt;td&gt;Licensed per CPU socket or subscription-based (vSphere Editions)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Management Tools&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Hyper-V Manager, Windows Admin Center, System Center VMM&lt;/td&gt;
      &lt;td&gt;vCenter Server, vSphere Client&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Snapshot Functionality&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Checkpoints (differencing disks)&lt;/td&gt;
      &lt;td&gt;Snapshots (with multiple restore points)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Live Migration&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Supported (no downtime migration)&lt;/td&gt;
      &lt;td&gt;vMotion (industry standard for live migration)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;High Availability&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Failover Clustering&lt;/td&gt;
      &lt;td&gt;vSphere HA and DRS (Distributed Resource Scheduler)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Storage Options&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;SMB 3.0, CSV, iSCSI, Fibre Channel&lt;/td&gt;
      &lt;td&gt;vSAN, NFS, iSCSI, Fibre Channel&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Networking&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Virtual Switch, SR-IOV, NIC teaming&lt;/td&gt;
      &lt;td&gt;Distributed vSwitch, NSX integration&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Guest OS Support&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Strong for Windows, moderate for Linux&lt;/td&gt;
      &lt;td&gt;Extensive for Windows, Linux, BSD, and others&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Cloud Integration&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Azure Stack and Azure Arc&lt;/td&gt;
      &lt;td&gt;VMware Cloud on AWS, Azure, and Google Cloud&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-and-scalability&quot;&gt;Performance and Scalability&lt;/h2&gt;

&lt;p&gt;When it comes to performance and scalability, both platforms perform exceptionally well but target slightly different user bases.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt; offers excellent performance on Windows-based infrastructures. It scales effectively with multiple CPUs and large memory configurations. The integration with &lt;strong&gt;Azure Arc&lt;/strong&gt; also simplifies hybrid deployments.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VMware&lt;/strong&gt;, however, is known for its enterprise scalability and advanced scheduling. Features like &lt;strong&gt;DRS&lt;/strong&gt;, &lt;strong&gt;vMotion&lt;/strong&gt;, and &lt;strong&gt;Storage vMotion&lt;/strong&gt; ensure optimal workload distribution across large clusters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For large-scale data centers, VMware often edges ahead due to its maturity, broad hardware compatibility, and fine-grained resource management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;licensing-and-cost-considerations&quot;&gt;Licensing and Cost Considerations&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Included with most editions of Windows Server.&lt;/li&gt;
      &lt;li&gt;The standalone Hyper-V Server (free edition) lacks GUI management and advanced clustering features.&lt;/li&gt;
      &lt;li&gt;Ideal for cost-conscious environments or Microsoft-heavy shops.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VMware&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Licensing is tiered — Essentials, Standard, Enterprise Plus, and subscription-based &lt;strong&gt;vSphere+&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Advanced features like vMotion, DRS, and vSAN require higher-tier licenses.&lt;/li&gt;
      &lt;li&gt;While more expensive, it offers enterprise-level functionality out of the box.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-and-isolation&quot;&gt;Security and Isolation&lt;/h2&gt;

&lt;p&gt;Both hypervisors are built with strong security principles, but their approaches differ slightly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hyper-V&lt;/strong&gt;: Includes &lt;strong&gt;Shielded VMs&lt;/strong&gt;, &lt;strong&gt;Secure Boot&lt;/strong&gt;, and &lt;strong&gt;Host Guardian Service&lt;/strong&gt; to protect virtual machines from unauthorized tampering.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VMware&lt;/strong&gt;: Implements &lt;strong&gt;VM Encryption&lt;/strong&gt;, &lt;strong&gt;vTPM&lt;/strong&gt;, and &lt;strong&gt;AppDefense&lt;/strong&gt;, offering detailed micro-segmentation when combined with NSX.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-use-cases&quot;&gt;Best Use Cases&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Use Case&lt;/th&gt;
      &lt;th&gt;Recommended Platform&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Windows-only environments&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Hyper-V&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Enterprise-grade data centers&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;VMware&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Cost-effective virtualization&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Hyper-V (free or bundled with Windows Server)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Multi-OS environments or cloud flexibility&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;VMware&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Hybrid cloud with Azure&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Hyper-V&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Hybrid cloud across multiple providers&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;VMware&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Choosing between Hyper-V and VMware depends largely on your infrastructure goals, existing ecosystem, and budget.&lt;/p&gt;

&lt;p&gt;If your environment revolves around &lt;strong&gt;Windows Server and Azure&lt;/strong&gt;, &lt;strong&gt;Hyper-V&lt;/strong&gt; offers excellent value and seamless integration. However, for enterprises requiring &lt;strong&gt;high scalability, advanced clustering, and multi-cloud flexibility&lt;/strong&gt;, &lt;strong&gt;VMware&lt;/strong&gt; remains the gold standard in virtualization.&lt;/p&gt;

&lt;p&gt;Ultimately, both platforms are proven, stable, and continuously evolving—ensuring that whether you choose Microsoft or VMware, you’ll have a powerful foundation for your virtualized infrastructure.&lt;/p&gt;
</description>
        <pubDate>Sat, 04 Oct 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/hyperv-vs-vmware/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/hyperv-vs-vmware/</guid>
        
        <category>windows</category>
        
        <category>windows_server</category>
        
        <category>hypervisor</category>
        
        <category>hyper-v</category>
        
        <category>security</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>NotebookLM Review</title>
        <description>&lt;p&gt;In today’s fast-paced world, knowledge workers, students, and researchers need smarter ways to process and summarize information. NotebookLM, developed by Google, is designed as an AI-powered research and note-taking assistant. Unlike traditional note apps, it integrates advanced summarization and contextual AI features to help users organize, digest, and interact with large sets of information.&lt;/p&gt;

&lt;p&gt;In this blog post, we will review NotebookLM, its features, benefits, and where it best fits into a productivity workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-notebooklm&quot; id=&quot;markdown-toc-what-is-notebooklm&quot;&gt;What is NotebookLM?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-using-notebooklm&quot; id=&quot;markdown-toc-benefits-of-using-notebooklm&quot;&gt;Benefits of Using NotebookLM&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations&quot; id=&quot;markdown-toc-limitations&quot;&gt;Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-notebooklm&quot;&gt;What is NotebookLM?&lt;/h2&gt;

&lt;p&gt;NotebookLM is Google’s experimental AI tool aimed at enhancing research and note-taking workflows. Instead of simply being a static note repository, it uses large language models to provide context-aware assistance on your documents and notes.&lt;/p&gt;

&lt;p&gt;The main goal is to help users better understand, summarize, and build connections between different pieces of content.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Contextual Summarization&lt;/strong&gt;: Automatically generates summaries from uploaded sources such as PDFs, Google Docs, and articles.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Source-Aware Q&amp;amp;A&lt;/strong&gt;: Unlike a regular chatbot, NotebookLM provides answers grounded in your uploaded sources, reducing hallucinations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Automatic Citations&lt;/strong&gt;: Provides citations alongside responses, which is crucial for academic or professional research.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Integration with Google Docs&lt;/strong&gt;: Works seamlessly with Google Docs, letting you quickly reference or analyze your documents.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Concept Mapping&lt;/strong&gt;: Highlights key ideas and connections, making it easier to see relationships across materials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-using-notebooklm&quot;&gt;Benefits of Using NotebookLM&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Saves time by condensing long-form content into clear, structured summaries.&lt;/li&gt;
  &lt;li&gt;Helps reduce errors by grounding answers in source materials.&lt;/li&gt;
  &lt;li&gt;Enhances collaboration for teams working on research-heavy projects.&lt;/li&gt;
  &lt;li&gt;Provides an easy way to interact with content instead of manually scanning large documents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations&quot;&gt;Limitations&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Still experimental, so features may change or be limited.&lt;/li&gt;
  &lt;li&gt;Works best with textual sources; less effective with multimedia-heavy content.&lt;/li&gt;
  &lt;li&gt;May require a Google account and integration into the Google ecosystem.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Students&lt;/strong&gt;: Summarizing lecture notes, textbooks, and research papers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Researchers&lt;/strong&gt;: Cross-referencing studies and quickly surfacing key insights.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Professionals&lt;/strong&gt;: Preparing reports, briefs, and summaries without spending hours reading raw material.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;NotebookLM represents a step forward in AI-assisted research and productivity. By blending note-taking with contextual AI summarization, it reduces friction in handling large volumes of information. While it may not replace traditional note apps for everyday jotting, it excels in research-heavy workflows where summarization, citations, and contextual answers are critical.&lt;/p&gt;

&lt;p&gt;For those invested in the Google ecosystem or anyone seeking a smarter way to handle complex information, NotebookLM is definitely worth trying out. As the tool matures, it could redefine how we interact with our knowledge base and become a core part of digital productivity.&lt;/p&gt;

&lt;p&gt;📝 For more information about NotebookLM, please review this &lt;a href=&quot;https://support.google.com/notebooklm/?hl=en#topic=16164070&quot;&gt;office NotebookLM Help page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 27 Sep 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/notebooklm-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/notebooklm-review/</guid>
        
        <category>notebooklm</category>
        
        <category>reviews</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Beszel Configuration</title>
        <description>&lt;p&gt;In today’s world of IT infrastructure, monitoring is a critical requirement. Large-scale monitoring stacks like Prometheus, Grafana, Telegraf, and InfluxDB are powerful, but they can be heavy, complex, and overkill for smaller environments. Sometimes, all you want is a &lt;strong&gt;lightweight monitoring solution&lt;/strong&gt; that shows you the essentials: CPU usage, memory, disk space, and system temperatures.&lt;/p&gt;

&lt;p&gt;That’s where &lt;strong&gt;Beszel&lt;/strong&gt; comes in. It’s a simple, self-hosted monitoring tool that is easy to deploy, uses minimal system resources, and works across Linux and Windows environments.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll explore Beszel’s hub-and-agent model, configuration process, and why it might be a great fit for your environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-beszel&quot; id=&quot;markdown-toc-what-is-beszel&quot;&gt;What is Beszel?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#beszel-hub-setup&quot; id=&quot;markdown-toc-beszel-hub-setup&quot;&gt;Beszel Hub Setup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#beszel-clients-agents&quot; id=&quot;markdown-toc-beszel-clients-agents&quot;&gt;Beszel Clients (Agents)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#real-world-example&quot; id=&quot;markdown-toc-real-world-example&quot;&gt;Real-World Example&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#notifications--integrations&quot; id=&quot;markdown-toc-notifications--integrations&quot;&gt;Notifications &amp;amp; Integrations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-beszel&quot;&gt;What is Beszel?&lt;/h2&gt;

&lt;p&gt;Beszel is an open-source monitoring platform designed to be &lt;strong&gt;lightweight and easy to configure&lt;/strong&gt;. Unlike heavier stacks, it focuses on simplicity while still offering powerful features such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Monitoring Linux and Windows systems&lt;/li&gt;
  &lt;li&gt;GPU and disk temperature reporting&lt;/li&gt;
  &lt;li&gt;Low resource consumption (~8MB RAM per agent)&lt;/li&gt;
  &lt;li&gt;Integration with notification platforms (Slack, Discord, Telegram, Email, etc.)&lt;/li&gt;
  &lt;li&gt;OIDC authentication support (can integrate with Tailscale or other identity providers)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Beszel architecture is built around a &lt;strong&gt;hub-and-agent model&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hub&lt;/strong&gt; – A central server that collects and displays monitoring data&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agents&lt;/strong&gt; – Installed on each host to send data back to the hub&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;beszel-hub-setup&quot;&gt;Beszel Hub Setup&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;hub&lt;/strong&gt; can be run inside Docker, a VM, or even an LXC container. Because it is lightweight, it doesn’t require enterprise-grade hardware.&lt;/p&gt;

&lt;p&gt;A common setup is to deploy the Beszel hub in Docker with Tailscale for secure networking. This allows you to connect remote systems across the globe without opening firewall ports.&lt;/p&gt;

&lt;p&gt;High-level steps for hub setup:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Deploy a small VM or container (Ubuntu/Debian recommended)&lt;/li&gt;
  &lt;li&gt;Install Docker and Tailscale&lt;/li&gt;
  &lt;li&gt;Configure hub deployment with a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docker-compose.yaml&lt;/code&gt; file&lt;/li&gt;
  &lt;li&gt;Enable Tailscale Serve for automatic TLS certificates and reverse proxy support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once deployed, the hub will be accessible securely via your Tailscale tailnet.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;beszel-clients-agents&quot;&gt;Beszel Clients (Agents)&lt;/h2&gt;

&lt;p&gt;Beszel agents can be installed on:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Linux hosts (binary or Docker-based)&lt;/li&gt;
  &lt;li&gt;Proxmox nodes&lt;/li&gt;
  &lt;li&gt;Windows (compiled Go binary or via WSL2)&lt;/li&gt;
  &lt;li&gt;Even Home Assistant as an add-on&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Linux, installation is as simple as running a one-line install script and providing the SSH key from your Beszel hub. Windows setups can be trickier, but running the agent as a service via tools like &lt;strong&gt;NSSM&lt;/strong&gt; makes it persistent and reliable.&lt;/p&gt;

&lt;p&gt;Once installed, the agent reports back system metrics like CPU load, memory usage, disk usage, GPU power draw, and network throughput.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;real-world-example&quot;&gt;Real-World Example&lt;/h2&gt;

&lt;p&gt;A key strength of Beszel is &lt;strong&gt;multi-site monitoring&lt;/strong&gt;. For example, you could:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Run a Beszel hub in North America&lt;/li&gt;
  &lt;li&gt;Install agents on Proxmox hosts in Europe&lt;/li&gt;
  &lt;li&gt;Securely connect everything with Tailscale&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Within minutes, you’d have real-time monitoring of remote infrastructure with &lt;strong&gt;no firewall changes&lt;/strong&gt; required.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;notifications--integrations&quot;&gt;Notifications &amp;amp; Integrations&lt;/h2&gt;

&lt;p&gt;Beszel integrates with multiple platforms to send alerts, including:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Slack&lt;/li&gt;
  &lt;li&gt;Discord&lt;/li&gt;
  &lt;li&gt;Telegram&lt;/li&gt;
  &lt;li&gt;Email&lt;/li&gt;
  &lt;li&gt;Mattermost&lt;/li&gt;
  &lt;li&gt;If-This-Then-That (IFTTT)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This means you can get notified instantly if a server overheats, disk usage spikes, or a host goes offline.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Beszel is not meant to replace large enterprise monitoring stacks, but it fills a valuable niche: &lt;strong&gt;lightweight, secure, and easy-to-deploy monitoring for smaller environments&lt;/strong&gt;. Its integration with &lt;a href=&quot;https://tailscale.com/blog/video-beszel&quot;&gt;Tailscale&lt;/a&gt; makes it especially appealing for distributed environments where remote monitoring without firewall headaches is a must.&lt;/p&gt;

&lt;p&gt;If you’re looking for a middle ground between uptime checkers and full-blown Grafana dashboards, &lt;strong&gt;Beszel is a fantastic option&lt;/strong&gt; to explore for 2025 and beyond.&lt;/p&gt;

&lt;p&gt;📝 For more information about Beszel, please review this &lt;a href=&quot;https://beszel.dev/guide/getting-started&quot;&gt;official documentation&lt;/a&gt;. Also, &lt;a href=&quot;https://www.youtube.com/watch?v=O_9wT-5LoHM&quot;&gt;this&lt;/a&gt; is a great youtube video about Beszel.&lt;/p&gt;
</description>
        <pubDate>Sat, 20 Sep 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/beszel-configuration/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/beszel-configuration/</guid>
        
        <category>beszel</category>
        
        <category>networking</category>
        
        <category>monitoring</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Synology NAS UPS Configuration</title>
        <description>&lt;p&gt;Protecting your Synology NAS with a UPS (Uninterruptible Power Supply) is critical to preventing data loss and corruption during power outages. In this guide, we’ll walk through connecting, configuring, and verifying a &lt;strong&gt;CyberPower CP1000AVRLCD&lt;/strong&gt; UPS with a Synology NAS such as the &lt;strong&gt;DS1019+&lt;/strong&gt;, ensuring safe shutdowns and better power management.&lt;/p&gt;

&lt;p&gt;In this blog post, we will cover the physical setup, DSM configuration, verification methods, and best practices to keep your NAS protected.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#equipment-used&quot; id=&quot;markdown-toc-equipment-used&quot;&gt;Equipment Used&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-physical-connections&quot; id=&quot;markdown-toc-step-1-physical-connections&quot;&gt;Step 1: Physical Connections&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-verify-dsm-detects-the-ups&quot; id=&quot;markdown-toc-step-2-verify-dsm-detects-the-ups&quot;&gt;Step 2: Verify DSM Detects the UPS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-cli-verification-optional&quot; id=&quot;markdown-toc-step-3-cli-verification-optional&quot;&gt;Step 3: CLI Verification (Optional)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-enable-ups-support&quot; id=&quot;markdown-toc-step-4-enable-ups-support&quot;&gt;Step 4: Enable UPS Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#notes-and-best-practices&quot; id=&quot;markdown-toc-notes-and-best-practices&quot;&gt;Notes and Best Practices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-tips&quot; id=&quot;markdown-toc-additional-tips&quot;&gt;Additional Tips&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-layout&quot; id=&quot;markdown-toc-example-layout&quot;&gt;Example Layout&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#alerts--monitoring&quot; id=&quot;markdown-toc-alerts--monitoring&quot;&gt;Alerts &amp;amp; Monitoring&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#without-the-usb-cable&quot; id=&quot;markdown-toc-without-the-usb-cable&quot;&gt;Without the USB Cable&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;equipment-used&quot;&gt;Equipment Used&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;UPS:&lt;/strong&gt; CyberPower CP1000AVRLCD&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;NAS:&lt;/strong&gt; Synology DS1019+ or DS1522+ (DSM 7.2.2+)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Connection Type:&lt;/strong&gt; USB (data cable, not just power)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-physical-connections&quot;&gt;Step 1: Physical Connections&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Power on your NAS&lt;/strong&gt; using the battery-protected outlets on the UPS.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Connect the USB data cable&lt;/strong&gt; from the &lt;strong&gt;USB port on the UPS&lt;/strong&gt; to the &lt;strong&gt;rear USB port on the Synology NAS&lt;/strong&gt;.
    &lt;ul&gt;
      &lt;li&gt;Avoid USB hubs or extenders for best reliability.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;If using an external USB backup drive, connect it to the &lt;strong&gt;front USB port&lt;/strong&gt; of the Synology NAS.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-verify-dsm-detects-the-ups&quot;&gt;Step 2: Verify DSM Detects the UPS&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Log into DSM.&lt;/li&gt;
  &lt;li&gt;Go to: &lt;strong&gt;Control Panel → Hardware &amp;amp; Power → UPS&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;If connected properly, you should see:&lt;/p&gt;

    &lt;blockquote&gt;
      &lt;p&gt;&lt;strong&gt;“USB UPS detected on Local UPS device”&lt;/strong&gt;&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If it still says &lt;strong&gt;“UPS is not connected”&lt;/strong&gt;, reseat the cable or try another USB port/cable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-cli-verification-optional&quot;&gt;Step 3: CLI Verification (Optional)&lt;/h2&gt;

&lt;p&gt;You can also verify UPS detection via SSH. Run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;lsusb&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Look for a line identifying your UPS.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-enable-ups-support&quot;&gt;Step 4: Enable UPS Support&lt;/h2&gt;

&lt;p&gt;Once detected, configure DSM:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Check &lt;strong&gt;“Enable UPS support”&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Set standby/shutdown behavior (e.g., standby after 15 minutes on battery, then shut down)&lt;/li&gt;
  &lt;li&gt;(Optional) Enable &lt;strong&gt;“UPS server”&lt;/strong&gt; to share UPS signals with other Synology devices on the network&lt;/li&gt;
  &lt;li&gt;Under &lt;strong&gt;General&lt;/strong&gt;, enable: &lt;strong&gt;“Restart automatically when power supply issue is fixed”&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;notes-and-best-practices&quot;&gt;Notes and Best Practices&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Using only &lt;strong&gt;UPS power&lt;/strong&gt; means the NAS will stay on battery but DSM won’t know when to shut down.&lt;/li&gt;
  &lt;li&gt;Using both &lt;strong&gt;USB data + power&lt;/strong&gt; enables DSM to monitor and gracefully shut down during outages.&lt;/li&gt;
  &lt;li&gt;Only one USB port is required for UPS connection. Reserve the other for backup drives.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-tips&quot;&gt;Additional Tips&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Keep UPS firmware updated via PC if possible.&lt;/li&gt;
  &lt;li&gt;Test UPS behavior with simulated outages occasionally.&lt;/li&gt;
  &lt;li&gt;Schedule regular USB backups in DSM via &lt;strong&gt;Hyper Backup&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-layout&quot;&gt;Example Layout&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Device&lt;/th&gt;
      &lt;th&gt;Port Used&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;UPS Power&lt;/td&gt;
      &lt;td&gt;NAS Power Plug&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;UPS USB Data&lt;/td&gt;
      &lt;td&gt;NAS Rear USB Port&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;USB Backup HD&lt;/td&gt;
      &lt;td&gt;NAS Front USB Port&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;alerts--monitoring&quot;&gt;Alerts &amp;amp; Monitoring&lt;/h2&gt;

&lt;p&gt;Configure DSM notifications for UPS status changes:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Control Panel → Notification&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Set up email or push alerts to stay informed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;without-the-usb-cable&quot;&gt;Without the USB Cable&lt;/h2&gt;

&lt;p&gt;Without the USB data connection:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;DSM cannot detect the UPS&lt;/li&gt;
  &lt;li&gt;No graceful shutdowns — leading to risk of &lt;strong&gt;data corruption&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;To fully integrate your UPS with a Synology NAS, always use both the &lt;strong&gt;power connection&lt;/strong&gt; and the &lt;strong&gt;USB data cable&lt;/strong&gt;. This ensures DSM can monitor, log, and gracefully shut down your NAS during power events — protecting both your data and your hardware investment.&lt;/p&gt;

&lt;p&gt;📝 For more information about this Synology UPS configurations, please review this &lt;a href=&quot;https://www.synology.com/en-us/compatibility?search_by=category&amp;amp;category=upses&quot;&gt;Synology Products Compatibility List&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 13 Sep 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/synology-ups-configuration/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/synology-ups-configuration/</guid>
        
        <category>synology</category>
        
        <category>networking</category>
        
        <category>ups</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Tautulli Setup on Synology NAS</title>
        <description>&lt;p&gt;Monitoring Plex Media Server activity is a must for home media enthusiasts and administrators. &lt;strong&gt;Tautulli&lt;/strong&gt; provides a rich web interface to track Plex activity, receive notifications, and generate reports. Running it inside a Docker container on your Synology NAS makes setup and management simple and reliable.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through installing and configuring Tautulli on a Synology NAS using Docker (or Container Manager).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview&quot; id=&quot;markdown-toc-overview&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-install-container-manager-or-docker&quot; id=&quot;markdown-toc-step-1-install-container-manager-or-docker&quot;&gt;Step 1: Install Container Manager (or Docker)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-create-configuration-folder&quot; id=&quot;markdown-toc-step-2-create-configuration-folder&quot;&gt;Step 2: Create Configuration Folder&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-set-up-install-task&quot; id=&quot;markdown-toc-step-3-set-up-install-task&quot;&gt;Step 3: Set Up Install Task&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-run-the-install-task&quot; id=&quot;markdown-toc-step-4-run-the-install-task&quot;&gt;Step 4: Run the Install Task&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-access-tautulli&quot; id=&quot;markdown-toc-step-5-access-tautulli&quot;&gt;Step 5: Access Tautulli&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#notes--troubleshooting&quot; id=&quot;markdown-toc-notes--troubleshooting&quot;&gt;Notes &amp;amp; Troubleshooting&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview&quot;&gt;Overview&lt;/h2&gt;

&lt;p&gt;Tautulli is a web app for monitoring Plex Media Server activity. This guide walks you through installing Tautulli as a Docker container (or Container Manager) on your Synology NAS for easy monitoring and notifications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-install-container-manager-or-docker&quot;&gt;Step 1: Install Container Manager (or Docker)&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;DSM 7+:&lt;/strong&gt; Go to &lt;strong&gt;Package Center&lt;/strong&gt; → Install &lt;strong&gt;Container Manager&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DSM &amp;lt; 7.2:&lt;/strong&gt; Install &lt;strong&gt;Docker&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-create-configuration-folder&quot;&gt;Step 2: Create Configuration Folder&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Open &lt;strong&gt;File Station&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Navigate to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/docker&lt;/code&gt; folder&lt;/li&gt;
  &lt;li&gt;Create a new folder named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tautulli&lt;/code&gt; (lowercase)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Ensure correct permissions for Docker to write to this folder:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo chown -R 1026:100 /volume1/docker/tautulli&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;sudo chmod -R 775 /volume1/docker/tautulli&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1026&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;100&lt;/code&gt; correspond to your Synology Docker user (adjust if needed). Run the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id&lt;/code&gt; command via SSH to confirm your user’s UID and GID.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-set-up-install-task&quot;&gt;Step 3: Set Up Install Task&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Go to &lt;strong&gt;Control Panel → Task Scheduler → Create → User-defined script&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Name the task (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Install Tautulli&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Run as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;root&lt;/code&gt;, schedule as “Do not repeat”&lt;/li&gt;
  &lt;li&gt;Email = youremail@yourdomain.com&lt;/li&gt;
  &lt;li&gt;Paste the script below (edit to match &lt;strong&gt;YOUR&lt;/strong&gt; UID, GID, and timezone):&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker run -d --name=tautulli   -e PUID=1026   -e PGID=100   -e TZ=America/New_York   -v /volume1/docker/tautulli:/config   -v /volume1/Data/Plex:/volume1/Data/Plex   --network host   --restart always   ghcr.io/linuxserver/tautulli:latest
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-run-the-install-task&quot;&gt;Step 4: Run the Install Task&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm the password prompt&lt;/li&gt;
  &lt;li&gt;Locate the task in Task Scheduler and click &lt;strong&gt;Run&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-access-tautulli&quot;&gt;Step 5: Access Tautulli&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Open a browser and go to: **http://&lt;synology-ip&gt;:8181**&lt;/synology-ip&gt;&lt;/li&gt;
  &lt;li&gt;Complete the setup wizard&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;notes--troubleshooting&quot;&gt;Notes &amp;amp; Troubleshooting&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;If you run into permissions issues, add &lt;strong&gt;SYSTEM&lt;/strong&gt; with read/write permissions to the config folder and apply recursively.&lt;/li&gt;
  &lt;li&gt;To map your Plex library directly, re-run the Docker command with an additional volume mount:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;-v /volume1/plex/library:/volume1/plex/library
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Setting up Tautulli inside Docker on Synology NAS ensures an efficient, isolated, and easily managed way to monitor Plex Media Server activity. With the steps above, you can quickly deploy and configure Tautulli to track usage, generate insights, and receive alerts about your media streaming environment.&lt;/p&gt;

&lt;p&gt;📝 For more information about this Tautulli, please review its &lt;a href=&quot;https://github.com/Tautulli/Tautulli/wiki/Installation&quot;&gt;Github Page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 06 Sep 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/tautulli-setup-synology/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/tautulli-setup-synology/</guid>
        
        <category>synology</category>
        
        <category>networking</category>
        
        <category>tautulli</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Tailscale Outbound Configuration for Synology DSM 7</title>
        <description>&lt;p&gt;Enabling outbound Tailscale connections on Synology NAS devices is essential when using services like &lt;strong&gt;Snapshot Replication&lt;/strong&gt; or &lt;strong&gt;Hyper Backup&lt;/strong&gt; over Tailscale IPs. By default, DSM 7 has limitations that prevent outbound traffic from working properly. This guide shows how to fix the issue using Tailscale’s supported method so replication works seamlessly.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through why this configuration is needed, the commands required, and how to apply the setup so it persists across reboots!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-this-is-needed&quot; id=&quot;markdown-toc-why-this-is-needed&quot;&gt;Why This Is Needed&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommended-setup&quot; id=&quot;markdown-toc-recommended-setup&quot;&gt;Recommended Setup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-tailscale-for-outbound-support-at-boot&quot; id=&quot;markdown-toc-configure-tailscale-for-outbound-support-at-boot&quot;&gt;Configure Tailscale for Outbound Support at Boot&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#apply-on-both-devices&quot; id=&quot;markdown-toc-apply-on-both-devices&quot;&gt;Apply on Both Devices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#notes&quot; id=&quot;markdown-toc-notes&quot;&gt;Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-this-is-needed&quot;&gt;Why This Is Needed&lt;/h2&gt;

&lt;p&gt;By default, Synology DSM 7 does &lt;strong&gt;not&lt;/strong&gt; allow outbound Tailscale traffic for replication services due to missing kernel interface permissions and capabilities. This results in snapshot replication or backups failing when using Tailscale IPs.&lt;/p&gt;

&lt;p&gt;The updated method provided by Tailscale:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fixes this issue cleanly&lt;/li&gt;
  &lt;li&gt;Avoids manual device configuration with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/net/tun&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Persists through reboots and DSM updates&lt;/li&gt;
  &lt;li&gt;Uses Tailscale’s &lt;strong&gt;officially supported tool&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;recommended-setup&quot;&gt;Recommended Setup&lt;/h2&gt;

&lt;p&gt;On &lt;strong&gt;each NAS&lt;/strong&gt; participating in Tailscale-based replication, run the following command once to enable outbound support:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo&lt;/span&gt; /var/packages/Tailscale/target/bin/tailscale configure-host&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;synosystemctl restart pkgctl-Tailscale.service
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command performs the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Grants &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cap_net_admin&lt;/code&gt; privileges to the Tailscale process (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tailscaled&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Ensures the TUN interface is prepared&lt;/li&gt;
  &lt;li&gt;Restarts the Tailscale service cleanly&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: A &lt;strong&gt;TUN device&lt;/strong&gt; (short for network TUNnel) is a virtual network kernel device used to create point-to-point tunnels. It operates at Layer 3 (Network Layer) of the OSI model and is used by VPN software like Tailscale, WireGuard, and OpenVPN to securely route traffic.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-tailscale-for-outbound-support-at-boot&quot;&gt;Configure Tailscale for Outbound Support at Boot&lt;/h2&gt;

&lt;p&gt;To make sure outbound support is reapplied after every reboot, configure a &lt;strong&gt;boot-time scheduled task&lt;/strong&gt; in DSM:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open &lt;strong&gt;Control Panel &amp;gt; Task Scheduler&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Create &amp;gt; Triggered Task &amp;gt; User-defined script&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Name it: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Tailscale Bootup Script&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Event&lt;/strong&gt;: Boot-up&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;User&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;root&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Task Settings &amp;gt; Run Command&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sleep 3m
/var/packages/Tailscale/target/bin/tailscale configure-host
synosystemctl restart pkgctl-Tailscale.service
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;

    &lt;p&gt;&lt;em&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sleep 3m&lt;/code&gt; delay gives DSM time to fully boot before restarting Tailscale.&lt;/em&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;(Optional) Configure &lt;strong&gt;Task Settings &amp;gt; Email&lt;/strong&gt; with an address like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;support@yourdomain.com&lt;/code&gt; for alerts.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you’re interested in the details, you can review the &lt;a href=&quot;https://github.com/tailscale/tailscale/blob/main/cmd/tailscale/cli/configure-synology.go&quot;&gt;configure-host code on GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;apply-on-both-devices&quot;&gt;Apply on Both Devices&lt;/h2&gt;

&lt;p&gt;If you’re using &lt;strong&gt;Snapshot Replication&lt;/strong&gt; or &lt;strong&gt;Hyper Backup&lt;/strong&gt; between two NAS units, you must configure outbound support on &lt;strong&gt;both&lt;/strong&gt; the &lt;strong&gt;source&lt;/strong&gt; and &lt;strong&gt;destination&lt;/strong&gt; devices. This ensures that whichever side initiates the replication has full Tailscale connectivity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;notes&quot;&gt;Notes&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;This configuration method is documented in the official Tailscale knowledge base: &lt;a href=&quot;https://tailscale.com/kb/1131/synology-outbound/&quot;&gt;Synology Outbound Guide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Best used in setups where the NAS acts as an &lt;strong&gt;initiator&lt;/strong&gt; of replication or backups.&lt;/li&gt;
  &lt;li&gt;Works seamlessly across reboots and DSM updates without requiring manual intervention.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Outbound configuration is a must-have if you want to use Tailscale IPs for Synology &lt;strong&gt;Snapshot Replication&lt;/strong&gt; or &lt;strong&gt;Hyper Backup&lt;/strong&gt;. By running the supported &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;configure-host&lt;/code&gt; command and scheduling it at boot, you can ensure replication traffic flows securely and reliably. This method is simple, persistent, and officially supported—making it the best way to enable cross-site NAS backups with Tailscale.&lt;/p&gt;
</description>
        <pubDate>Sat, 30 Aug 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/tailscale-outbound-configuration-synology/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/tailscale-outbound-configuration-synology/</guid>
        
        <category>synology</category>
        
        <category>networking</category>
        
        <category>tailscale</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Generating a Disk Usage Report in Storage Analyzer (Synology NAS)</title>
        <description>&lt;p&gt;Monitoring storage utilization on your Synology NAS is essential for maintaining performance and ensuring you don’t run into space issues. The &lt;strong&gt;Storage Analyzer&lt;/strong&gt; package makes this easy by generating disk usage reports that provide insights into which folders, file types, or users are consuming the most space.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to install and configure Storage Analyzer, create scheduled tasks, and export detailed disk usage reports.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-install-the-storage-analyzer-package&quot; id=&quot;markdown-toc-step-1-install-the-storage-analyzer-package&quot;&gt;Step 1: Install the Storage Analyzer Package&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-open-storage-analyzer&quot; id=&quot;markdown-toc-step-2-open-storage-analyzer&quot;&gt;Step 2: Open Storage Analyzer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-create-a-disk-usage-report-task&quot; id=&quot;markdown-toc-step-3-create-a-disk-usage-report-task&quot;&gt;Step 3: Create a Disk Usage Report Task&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-view-the-disk-usage-report&quot; id=&quot;markdown-toc-step-4-view-the-disk-usage-report&quot;&gt;Step 4: View the Disk Usage Report&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-export-the-report-optional&quot; id=&quot;markdown-toc-step-5-export-the-report-optional&quot;&gt;Step 5: Export the Report (Optional)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-6-edit-or-delete-a-report-task&quot; id=&quot;markdown-toc-step-6-edit-or-delete-a-report-task&quot;&gt;Step 6: Edit or Delete a Report Task&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-practices&quot; id=&quot;markdown-toc-best-practices&quot;&gt;Best Practices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Synology NAS with DSM 6.2 or 7.x installed&lt;/li&gt;
  &lt;li&gt;Storage Analyzer package installed&lt;/li&gt;
  &lt;li&gt;User account with administrative privileges&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-install-the-storage-analyzer-package&quot;&gt;Step 1: Install the Storage Analyzer Package&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Log into DSM using your browser.&lt;/li&gt;
  &lt;li&gt;Open &lt;strong&gt;Package Center&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Search for &lt;strong&gt;Storage Analyzer&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Install&lt;/strong&gt; (or &lt;strong&gt;Open&lt;/strong&gt; if already installed).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-open-storage-analyzer&quot;&gt;Step 2: Open Storage Analyzer&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Go to &lt;strong&gt;Main Menu&lt;/strong&gt; → &lt;strong&gt;Storage Analyzer&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;If it’s your first time, it will prompt you to &lt;strong&gt;create a report task&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-create-a-disk-usage-report-task&quot;&gt;Step 3: Create a Disk Usage Report Task&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Click &lt;strong&gt;Create&lt;/strong&gt; (or “Create Task”).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Task Name&lt;/strong&gt;: Name it something descriptive like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Weekly Disk Usage&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select Report Type&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Choose &lt;strong&gt;Volume usage&lt;/strong&gt;, &lt;strong&gt;Shared folder usage&lt;/strong&gt;, or both depending on what you want to track.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select Volumes or Shared Folders&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Pick which volume(s) or shared folder(s) you want to analyze.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Schedule&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Set how often you want the report generated (e.g., Daily, Weekly).&lt;/li&gt;
      &lt;li&gt;Choose a &lt;strong&gt;start time&lt;/strong&gt; (e.g., Mondays at 7:00 AM).&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Email Settings (Optional)&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;If email notifications are configured in DSM, you can choose to send the report to your email.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Permissions&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Choose who can view the report (the admin user is sufficient).&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Click &lt;strong&gt;Done&lt;/strong&gt; when finished.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Reports are saved locally (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/Volume1/Data/Reports/&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-view-the-disk-usage-report&quot;&gt;Step 4: View the Disk Usage Report&lt;/h2&gt;

&lt;p&gt;After the task runs:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Go to &lt;strong&gt;Storage Analyzer&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click the &lt;strong&gt;Reports&lt;/strong&gt; tab.&lt;/li&gt;
  &lt;li&gt;Choose your report (e.g., “Weekly Disk Usage”).&lt;/li&gt;
  &lt;li&gt;You’ll see:
    &lt;ul&gt;
      &lt;li&gt;Pie charts of disk space usage&lt;/li&gt;
      &lt;li&gt;Top 10 largest shared folders&lt;/li&gt;
      &lt;li&gt;File types consuming the most space&lt;/li&gt;
      &lt;li&gt;Reports by size, age, owner, etc.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can click into each section for more detail.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-export-the-report-optional&quot;&gt;Step 5: Export the Report (Optional)&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;While viewing a report, click &lt;strong&gt;Export&lt;/strong&gt; in the top-right.&lt;/li&gt;
  &lt;li&gt;Choose format: PDF, CSV, etc.&lt;/li&gt;
  &lt;li&gt;Save it locally or attach it to emails for tracking.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-6-edit-or-delete-a-report-task&quot;&gt;Step 6: Edit or Delete a Report Task&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Go to the &lt;strong&gt;Task List&lt;/strong&gt; tab in Storage Analyzer.&lt;/li&gt;
  &lt;li&gt;Click the &lt;strong&gt;3-dot menu&lt;/strong&gt; next to the task.&lt;/li&gt;
  &lt;li&gt;Choose &lt;strong&gt;Edit&lt;/strong&gt; or &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-practices&quot;&gt;Best Practices&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Schedule weekly reports for consistent monitoring.&lt;/li&gt;
  &lt;li&gt;Set email notifications if you’re not logging in daily.&lt;/li&gt;
  &lt;li&gt;Periodically clean up large or old files based on the report.&lt;/li&gt;
  &lt;li&gt;Combine this with &lt;strong&gt;Storage Manager&lt;/strong&gt; alerts for low disk warnings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;By configuring Storage Analyzer on your Synology NAS, you gain a powerful way to track disk usage, identify storage bottlenecks, and manage space proactively. Regular reporting not only helps keep your NAS organized but also prevents unexpected capacity issues before they disrupt workflows.&lt;/p&gt;
</description>
        <pubDate>Sat, 23 Aug 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/synology-disk-usage-report/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/synology-disk-usage-report/</guid>
        
        <category>synology</category>
        
        <category>networking</category>
        
        <category>backup</category>
        
        <category>reports</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Tailscale - Simple, Secure Networking for Real-World Use Cases</title>
        <description>&lt;p&gt;In a world where zero-trust and secure remote access are increasingly critical, &lt;a href=&quot;https://tailscale.com/&quot;&gt;Tailscale&lt;/a&gt; stands out as a remarkably elegant solution. It simplifies encrypted networking between your devices—whether personal laptops, remote servers, or on-site appliances—without the headaches of port forwarding, dynamic DNS, or complex VPN setups.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll break down what Tailscale is, highlight real-world use cases, and walk through how to get started. We’ll also briefly touch on its use in more advanced scenarios like secure NAS-to-NAS replication.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-tailscale&quot; id=&quot;markdown-toc-what-is-tailscale&quot;&gt;What is Tailscale?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-it-works-behind-the-scenes&quot; id=&quot;markdown-toc-how-it-works-behind-the-scenes&quot;&gt;How It Works Behind the Scenes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#network-architecture-coordination--wireguard--nat-traversal&quot; id=&quot;markdown-toc-network-architecture-coordination--wireguard--nat-traversal&quot;&gt;Network Architecture: Coordination + WireGuard + NAT Traversal&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-wireguard-tunnels&quot; id=&quot;markdown-toc-1-wireguard-tunnels&quot;&gt;1. WireGuard Tunnels&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-coordination-server&quot; id=&quot;markdown-toc-2-coordination-server&quot;&gt;2. Coordination Server&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-derp-detour-encrypted-relay-protocol-servers&quot; id=&quot;markdown-toc-3-derp-detour-encrypted-relay-protocol-servers&quot;&gt;3. DERP (Detour Encrypted Relay Protocol) Servers&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-nat-traversal-hole-punching&quot; id=&quot;markdown-toc-4-nat-traversal-hole-punching&quot;&gt;4. NAT Traversal (Hole Punching)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-notes&quot; id=&quot;markdown-toc-security-notes&quot;&gt;Security Notes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases-for-tailscale&quot; id=&quot;markdown-toc-use-cases-for-tailscale&quot;&gt;Use Cases for Tailscale&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#setting-up-tailscale&quot; id=&quot;markdown-toc-setting-up-tailscale&quot;&gt;Setting Up Tailscale&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advanced-use-case-nas-to-nas-syncing&quot; id=&quot;markdown-toc-advanced-use-case-nas-to-nas-syncing&quot;&gt;Advanced Use Case: NAS-to-NAS Syncing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-tailscale&quot;&gt;What is Tailscale?&lt;/h2&gt;

&lt;p&gt;Tailscale is a modern, zero-config VPN built on &lt;a href=&quot;https://www.wireguard.com/&quot;&gt;WireGuard&lt;/a&gt;, designed to connect your devices into a private, encrypted network—also known as a &lt;strong&gt;tailnet&lt;/strong&gt;. Unlike traditional VPNs that require centralized servers and complicated firewall rules, Tailscale:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Requires &lt;strong&gt;no port forwarding&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Works &lt;strong&gt;through NAT&lt;/strong&gt; and firewalls&lt;/li&gt;
  &lt;li&gt;Is &lt;strong&gt;peer-to-peer&lt;/strong&gt; (when possible)&lt;/li&gt;
  &lt;li&gt;Uses your &lt;strong&gt;existing identity provider&lt;/strong&gt; (Google, Microsoft, GitHub, etc.)&lt;/li&gt;
  &lt;li&gt;Can scale from a &lt;strong&gt;personal laptop setup&lt;/strong&gt; to &lt;strong&gt;multi-site enterprise mesh&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want a visual explanation of the basics, this &lt;a href=&quot;https://www.youtube.com/watch?v=tW50igaFZTQ&quot;&gt;overview&lt;/a&gt; is a great place to start.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-it-works-behind-the-scenes&quot;&gt;How It Works Behind the Scenes&lt;/h2&gt;

&lt;p&gt;Tailscale is a coordination layer built on top of the WireGuard® protocol. While WireGuard itself provides fast and secure peer-to-peer VPN tunnels, it doesn’t include a way to dynamically discover peers, exchange encryption keys, or handle NAT traversal. That’s where Tailscale steps in.&lt;/p&gt;

&lt;p&gt;Tailscale builds and manages a mesh VPN overlay by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Assigning IP addresses (from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;100.64.0.0/10&lt;/code&gt;) to each device (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;100.64.0.0 – 100.127.255.255&lt;/code&gt; &lt;strong&gt;Reserved for Carrier Grade NAT (CGNAT) — used by Tailscale&lt;/strong&gt;)&lt;/li&gt;
  &lt;li&gt;Establishing direct WireGuard tunnels between peers whenever possible&lt;/li&gt;
  &lt;li&gt;Falling back to relays (DERP) if direct connections can’t be made&lt;/li&gt;
  &lt;li&gt;Handling key rotation, identity, and device authorization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tailscale devices form a secure &lt;strong&gt;“tailnet”&lt;/strong&gt; that behaves like a flat LAN, no matter where each device is located physically.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;network-architecture-coordination--wireguard--nat-traversal&quot;&gt;Network Architecture: Coordination + WireGuard + NAT Traversal&lt;/h2&gt;

&lt;p&gt;Tailscale uses three core components:&lt;/p&gt;

&lt;h3 id=&quot;1-wireguard-tunnels&quot;&gt;1. WireGuard Tunnels&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Every connection is a &lt;strong&gt;point-to-point encrypted tunnel&lt;/strong&gt; using WireGuard&lt;/li&gt;
  &lt;li&gt;Encryption is end-to-end — data never passes through Tailscale servers (unless relayed)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-coordination-server&quot;&gt;2. Coordination Server&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Handles device authentication, key exchange, IP assignments, and tailnet management&lt;/li&gt;
  &lt;li&gt;Uses OAuth2/SSO for login&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-derp-detour-encrypted-relay-protocol-servers&quot;&gt;3. DERP (Detour Encrypted Relay Protocol) Servers&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Fallback relays for peers that can’t connect directly due to symmetric NAT&lt;/li&gt;
  &lt;li&gt;Traffic remains end-to-end encrypted&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;4-nat-traversal-hole-punching&quot;&gt;4. NAT Traversal (Hole Punching)&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Uses STUN and ICE-like techniques for peer-to-peer links without manual router changes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-notes&quot;&gt;Security Notes&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Each peer has a &lt;strong&gt;unique public/private key pair&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Keys are rotated every 6 months&lt;/li&gt;
  &lt;li&gt;Admins can define &lt;strong&gt;ACLs&lt;/strong&gt;, tags, and device-specific controls via a Tailnet policy file&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases-for-tailscale&quot;&gt;Use Cases for Tailscale&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Secure Remote Access to Devices&lt;/strong&gt; – Access private UIs, SSH endpoints, or databases without opening firewall ports&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Self-Hosted App Networking&lt;/strong&gt; – Remotely access dashboards like Grafana, Nextcloud, or Home Assistant&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Site-to-Site Syncing&lt;/strong&gt; – Seamlessly sync files between devices and locations without a full site-wide VPN&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Internal Team Networks&lt;/strong&gt; – Grant secure access to internal tools without public exposure&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ad-Hoc Networking&lt;/strong&gt; – Quickly link devices for temporary projects or demos&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a deeper dive into practical networking applications, you might find &lt;a href=&quot;https://www.youtube.com/watch?v=_Yhkg-0KDXU&amp;amp;t=656s&quot;&gt;this video&lt;/a&gt; insightful.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;setting-up-tailscale&quot;&gt;Setting Up Tailscale&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Download from &lt;a href=&quot;https://tailscale.com/download&quot;&gt;tailscale.com/download&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Install on macOS, Windows, Linux, mobile devices, or NAS systems&lt;/li&gt;
  &lt;li&gt;Authenticate with your identity provider&lt;/li&gt;
  &lt;li&gt;Repeat on other devices to join them to the same tailnet&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; SSH into a remote device using its Tailscale IP&lt;br /&gt;
&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh user@100.101.102.103&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advanced-use-case-nas-to-nas-syncing&quot;&gt;Advanced Use Case: NAS-to-NAS Syncing&lt;/h2&gt;

&lt;p&gt;Tailscale is excellent for private NAS replication, allowing secure syncing between devices in different locations without exposing ports or relying on static IPs. Install the Tailscale client on each NAS, and all replication traffic flows over your encrypted tailnet.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Tailscale flips traditional VPN thinking on its head. Instead of juggling firewall rules, tunnels, and static IPs, you just install, authenticate, and connect — securely and privately. It’s a powerful solution for sysadmins, developers, and anyone who needs secure access between devices.&lt;/p&gt;

&lt;p&gt;Whether you’re setting up a private home lab, accessing your media library from across the world, or managing enterprise systems, &lt;a href=&quot;https://tailscale.com/&quot;&gt;Tailscale’s official page&lt;/a&gt; is the best place to start your journey into zero-config networking!&lt;/p&gt;
</description>
        <pubDate>Sat, 16 Aug 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/tailscale-review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/tailscale-review/</guid>
        
        <category>tailscale</category>
        
        <category>networking</category>
        
        <category>security</category>
        
        <category>server</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Set Up TigerVNC on Windows to Access a Mac</title>
        <description>&lt;p&gt;In today’s world of remote access and virtual desktops, it’s often necessary to control other machines from your device. Whether you’re managing a server, working remotely, or simply need to access a desktop environment away from home, tools like &lt;strong&gt;TigerVNC&lt;/strong&gt; and &lt;strong&gt;RDP (Remote Desktop Protocol)&lt;/strong&gt; make it simple.&lt;/p&gt;

&lt;p&gt;TigerVNC is an open-source VNC server and client, providing a graphical interface for remote control of computers, while RDP is built into most versions of Windows, allowing easy remote desktop access. This combination allows you to securely connect to a Mac from Windows, even if macOS doesn’t natively support it.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through downloading and setting up TigerVNC on Windows, enabling VNC on a Mac, and connecting from Windows.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-tigervnc&quot; id=&quot;markdown-toc-why-use-tigervnc&quot;&gt;Why Use TigerVNC?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-download-and-install-tigervnc-on-windows&quot; id=&quot;markdown-toc-step-1-download-and-install-tigervnc-on-windows&quot;&gt;Step 1: Download and Install TigerVNC on Windows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-set-up-vnc-on-macos&quot; id=&quot;markdown-toc-step-2-set-up-vnc-on-macos&quot;&gt;Step 2: Set Up VNC on macOS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-connect-to-the-mac-using-vnc&quot; id=&quot;markdown-toc-step-3-connect-to-the-mac-using-vnc&quot;&gt;Step 3: Connect to the Mac Using VNC&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-tigervnc&quot;&gt;Why Use TigerVNC?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;TigerVNC&lt;/strong&gt; – Open-source, cross-platform VNC server and client for graphical remote control. Ideal for administrators and remote workers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;RDP&lt;/strong&gt; – Built-in Windows protocol for accessing remote desktops, offering a familiar interface and smooth performance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Combined Benefit&lt;/strong&gt; – Securely connect from Windows to macOS using a combination of VNC for compatibility and RDP for ease of use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-download-and-install-tigervnc-on-windows&quot;&gt;Step 1: Download and Install TigerVNC on Windows&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Visit the &lt;a href=&quot;https://tigervnc.org/&quot;&gt;official TigerVNC website&lt;/a&gt; and download the latest Windows version.&lt;/li&gt;
  &lt;li&gt;Navigate to the &lt;strong&gt;Downloads&lt;/strong&gt; section, selecting the correct version for your system (most will use 64-bit).&lt;/li&gt;
  &lt;li&gt;Run the installer and follow the prompts. Choose &lt;strong&gt;Complete installation&lt;/strong&gt; to install both the Server and Viewer.&lt;/li&gt;
  &lt;li&gt;Check the option &lt;strong&gt;Add TigerVNC to PATH&lt;/strong&gt; so you can use its commands from anywhere.&lt;/li&gt;
  &lt;li&gt;Launch &lt;strong&gt;TigerVNC Viewer&lt;/strong&gt; — this will be your client application for connecting to the Mac.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-set-up-vnc-on-macos&quot;&gt;Step 2: Set Up VNC on macOS&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;On your Mac, open &lt;strong&gt;System Settings/Preferences&lt;/strong&gt; → &lt;strong&gt;General&lt;/strong&gt; → &lt;strong&gt;Sharing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Check &lt;strong&gt;Screen Sharing&lt;/strong&gt; to enable remote graphical access.&lt;/li&gt;
  &lt;li&gt;Click on the small “i” next to &lt;strong&gt;Screen Sharing&lt;/strong&gt;, then click &lt;strong&gt;Computer Settings&lt;/strong&gt; and check &lt;strong&gt;VNC viewers may control screen with password&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Set a secure password for the connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your Mac is now ready to accept VNC connections from TigerVNC Viewer on your Windows machine.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-connect-to-the-mac-using-vnc&quot;&gt;Step 3: Connect to the Mac Using VNC&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Launch &lt;strong&gt;TigerVNC&lt;/strong&gt; on your Windows machine.&lt;/li&gt;
  &lt;li&gt;Enter your Mac’s IP address (find it in &lt;strong&gt;System Settings/Preferences&lt;/strong&gt; → &lt;strong&gt;Network&lt;/strong&gt;).&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Show Options&lt;/strong&gt;, enter your Mac’s credentials, and click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’re using VNC directly, simply enter your Mac’s IP and password into TigerVNC Viewer.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Using TigerVNC on Windows to connect to a Mac — either directly via VNC or with RDP through a bridge — is a reliable and practical remote access solution. With minimal setup, you can securely and efficiently manage a Mac from a Windows environment, even without native RDP support in macOS.&lt;/p&gt;

&lt;p&gt;This method is especially useful for cross-platform work scenarios where compatibility and accessibility are essential.&lt;/p&gt;
</description>
        <pubDate>Sat, 09 Aug 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/tigervnc-windows-to-mac/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/tigervnc-windows-to-mac/</guid>
        
        <category>windows</category>
        
        <category>mac</category>
        
        <category>vnc</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Why I Trust Files — Not Directories — in fapolicyd Rules for Splunk</title>
        <description>&lt;p&gt;When working with security-focused systems, especially those protected by fapolicyd, it’s essential to understand the implications of how trust is assigned to executable files.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through why adding trusted files explicitly using command-line tools is a more secure and controlled approach compared to allowing broad directory-level access in fapolicyd rule files.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-two-approaches&quot; id=&quot;markdown-toc-the-two-approaches&quot;&gt;The Two Approaches&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#file-based-trust-preferred&quot; id=&quot;markdown-toc-file-based-trust-preferred&quot;&gt;File-Based Trust (Preferred)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#directory-based-trust-not-preferred&quot; id=&quot;markdown-toc-directory-based-trust-not-preferred&quot;&gt;Directory-Based Trust (Not Preferred)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#-why-file-trust-is-better&quot; id=&quot;markdown-toc--why-file-trust-is-better&quot;&gt;🔐 Why File Trust is Better&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-minimizes-attack-surface&quot; id=&quot;markdown-toc-1-minimizes-attack-surface&quot;&gt;1. &lt;strong&gt;Minimizes Attack Surface&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-respects-least-privilege&quot; id=&quot;markdown-toc-2-respects-least-privilege&quot;&gt;2. &lt;strong&gt;Respects Least Privilege&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-auditable-and-reproducible&quot; id=&quot;markdown-toc-3-auditable-and-reproducible&quot;&gt;3. &lt;strong&gt;Auditable and Reproducible&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-safe-for-cicd-and-patch-cycles&quot; id=&quot;markdown-toc-4-safe-for-cicd-and-patch-cycles&quot;&gt;4. &lt;strong&gt;Safe for CI/CD and Patch Cycles&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#whats-the-risk-of-directory-rules&quot; id=&quot;markdown-toc-whats-the-risk-of-directory-rules&quot;&gt;What’s the Risk of Directory Rules?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verdict-add-trusted-files-only&quot; id=&quot;markdown-toc-final-verdict-add-trusted-files-only&quot;&gt;Final Verdict: Add Trusted Files Only&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pro-tip-after-adding-files&quot; id=&quot;markdown-toc-pro-tip-after-adding-files&quot;&gt;Pro Tip: After Adding Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-is-intentional&quot; id=&quot;markdown-toc-security-is-intentional&quot;&gt;Security is Intentional&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;When hardening a Splunk deployment with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fapolicyd&lt;/code&gt;, we face a critical decision:&lt;br /&gt;
&lt;strong&gt;Do we trust specific files? Or do we allow entire directories?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s why I’ve shifted toward a &lt;strong&gt;file-level trust model&lt;/strong&gt;, especially for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.py&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pyc&lt;/code&gt; files.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-two-approaches&quot;&gt;The Two Approaches&lt;/h2&gt;

&lt;h3 id=&quot;file-based-trust-preferred&quot;&gt;File-Based Trust (Preferred)&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;find /opt/splunk/lib/python3.9/ &lt;span class=&quot;nt&quot;&gt;-type&lt;/span&gt; f &lt;span class=&quot;se&quot;&gt;\(&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-name&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;*.py&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-o&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-name&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;*.pyc&quot;&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\)&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-print0&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;xargs &lt;span class=&quot;nt&quot;&gt;-0&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 1 fapolicyd-cli &lt;span class=&quot;nt&quot;&gt;--file&lt;/span&gt; add&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;  
&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;find /opt/splunk/etc/apps/ &lt;span class=&quot;nt&quot;&gt;-type&lt;/span&gt; f &lt;span class=&quot;nt&quot;&gt;-name&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;*.pyc&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-print0&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;xargs &lt;span class=&quot;nt&quot;&gt;-0&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 1 fapolicyd-cli &lt;span class=&quot;nt&quot;&gt;--file&lt;/span&gt; add&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;  
&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;find /opt/splunk/etc/deployment-apps/ &lt;span class=&quot;nt&quot;&gt;-type&lt;/span&gt; f &lt;span class=&quot;nt&quot;&gt;-name&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;*.pyc&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-print0&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;xargs &lt;span class=&quot;nt&quot;&gt;-0&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 1 fapolicyd-cli &lt;span class=&quot;nt&quot;&gt;--file&lt;/span&gt; add&lt;span class=&quot;k&quot;&gt;**&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;directory-based-trust-not-preferred&quot;&gt;Directory-Based Trust (Not Preferred)&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# In splunk.rules:&lt;/span&gt;
allow &lt;span class=&quot;nv&quot;&gt;perm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;any &lt;span class=&quot;nv&quot;&gt;uid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;splunk : &lt;span class=&quot;nb&quot;&gt;dir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/splunk/lib/
allow &lt;span class=&quot;nv&quot;&gt;perm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;any &lt;span class=&quot;nv&quot;&gt;uid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;splunk : &lt;span class=&quot;nb&quot;&gt;dir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/splunk/etc/apps/
allow &lt;span class=&quot;nv&quot;&gt;perm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;any &lt;span class=&quot;nv&quot;&gt;uid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;splunk : &lt;span class=&quot;nb&quot;&gt;dir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/splunk/etc/deployment-apps/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;-why-file-trust-is-better&quot;&gt;🔐 Why File Trust is Better&lt;/h2&gt;

&lt;h3 id=&quot;1-minimizes-attack-surface&quot;&gt;1. &lt;strong&gt;Minimizes Attack Surface&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Broad directory rules allow &lt;strong&gt;every file&lt;/strong&gt;, current and future, in the path to be executed or read by the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;splunk&lt;/code&gt; user.&lt;br /&gt;
If a malicious or compromised file gets dropped into &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/opt/splunk/etc/apps/&lt;/code&gt;, it’s instantly executable.&lt;/p&gt;

&lt;p&gt;With file-level trust, &lt;strong&gt;only what we explicitly approve can run&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-respects-least-privilege&quot;&gt;2. &lt;strong&gt;Respects Least Privilege&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;The principle of least privilege says: &lt;strong&gt;“Grant only the access necessary.”&lt;/strong&gt;&lt;br /&gt;
With &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fapolicyd-cli --file add&lt;/code&gt;, we’re trusting only the known-good &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.py&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pyc&lt;/code&gt; files generated by legitimate deployments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-auditable-and-reproducible&quot;&gt;3. &lt;strong&gt;Auditable and Reproducible&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;When using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fapolicyd-cli --file add&lt;/code&gt;, trust is recorded per inode.&lt;br /&gt;
This means:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Changes to a file (even in-place) break trust.&lt;/li&gt;
  &lt;li&gt;It’s easier to compare environments (dev vs prod).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-safe-for-cicd-and-patch-cycles&quot;&gt;4. &lt;strong&gt;Safe for CI/CD and Patch Cycles&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;With file-based trust, automation scripts can re-trust only the files that were actually updated.&lt;/p&gt;

&lt;p&gt;E.g., after a Splunk app update:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;find /opt/splunk/etc/apps/my_app/ &lt;span class=&quot;nt&quot;&gt;-type&lt;/span&gt; f &lt;span class=&quot;nt&quot;&gt;-name&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;*.pyc&quot;&lt;/span&gt; | &lt;span class=&quot;k&quot;&gt;while &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;read&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; file&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do  
  &lt;/span&gt;fapolicyd-cli &lt;span class=&quot;nt&quot;&gt;--file&lt;/span&gt; add &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$file&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;  
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This keeps the ruleset &lt;strong&gt;dynamic but secure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;whats-the-risk-of-directory-rules&quot;&gt;What’s the Risk of Directory Rules?&lt;/h2&gt;

&lt;p&gt;Imagine you allow this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;allow &lt;span class=&quot;nv&quot;&gt;perm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;any &lt;span class=&quot;nv&quot;&gt;uid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;splunk : &lt;span class=&quot;nb&quot;&gt;dir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/opt/splunk/etc/apps/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now imagine someone places a rogue script into:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;/opt/splunk/etc/apps/malicious/bin/virus.pyc&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;splunk&lt;/code&gt; user can execute it. No prompt, no denial, no audit trail — &lt;strong&gt;because the directory rule trusts everything&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verdict-add-trusted-files-only&quot;&gt;Final Verdict: Add Trusted Files Only&lt;/h2&gt;

&lt;p&gt;Using commands like these:&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;em&gt;*sudo find /opt/splunk/etc/apps/ -type f -name “&lt;/em&gt;.pyc” -print0&lt;/td&gt;
      &lt;td&gt;sudo xargs -0 -n 1 fapolicyd-cli –file add**&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;…keeps the trust database secure, auditable, and in line with how &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fapolicyd&lt;/code&gt; was meant to be used: &lt;strong&gt;as a whitelist-first policy engine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You can still use a few &lt;strong&gt;minimal directory rules&lt;/strong&gt; (like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/opt/splunk/bin/&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/opt/splunk/lib/&lt;/code&gt;), but for everything app- or user-generated, &lt;strong&gt;explicit trust wins.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pro-tip-after-adding-files&quot;&gt;Pro Tip: After Adding Files&lt;/h2&gt;

&lt;p&gt;Always remember:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sudo fapolicyd-cli –update&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;sudo systemctl restart fapolicyd&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And re-run your script or Splunk process to test.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-is-intentional&quot;&gt;Security is Intentional&lt;/h2&gt;

&lt;p&gt;Broad access rules are fast. File trust is deliberate.&lt;br /&gt;
In hardened environments — deliberate is more safe and secure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;While it may be tempting to authorize entire directories for convenience, this approach can unintentionally introduce risk by trusting files you didn’t explicitly vet. Using targeted commands to individually trust .py and .pyc files not only tightens your security posture, it aligns with best practices for managing trusted execution policies in environments like Splunk. When auditing or troubleshooting fapolicyd denials, remember: precision beats broad strokes every time.&lt;/p&gt;
</description>
        <pubDate>Sat, 02 Aug 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/fapolicyd_rules_splunk/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/fapolicyd_rules_splunk/</guid>
        
        <category>linux</category>
        
        <category>splunk</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Tracking USB Flash Drive Usage on Windows with Event Viewer</title>
        <description>&lt;p&gt;USB flash drives are incredibly convenient, but they also pose a significant risk to security and data integrity in managed environments. Whether you’re tracking potential data exfiltration or simply need to audit user behavior, knowing how and when a USB device was plugged in or removed can be critical. Fortunately, Windows logs these events in Event Viewer — you just need to know where to look.&lt;/p&gt;

&lt;p&gt;In this blog post, we will walk through how to track USB device activity using Event Viewer, identify relevant event IDs, and use filtering techniques to streamline your audits.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-monitor-usb-device-usage&quot; id=&quot;markdown-toc-why-monitor-usb-device-usage&quot;&gt;Why Monitor USB Device Usage?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#event-viewer-the-built-in-audit-tool&quot; id=&quot;markdown-toc-event-viewer-the-built-in-audit-tool&quot;&gt;Event Viewer: The Built-in Audit Tool&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-track-usb-activity-using-event-viewer&quot; id=&quot;markdown-toc-how-to-track-usb-activity-using-event-viewer&quot;&gt;How to Track USB Activity Using Event Viewer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-using-a-command-to-pull-usb-events&quot; id=&quot;markdown-toc-example-using-a-command-to-pull-usb-events&quot;&gt;Example: Using a Command to Pull USB Events&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-monitor-usb-device-usage&quot;&gt;Why Monitor USB Device Usage?&lt;/h2&gt;

&lt;p&gt;USB drives are frequently used for transferring files, backing up data, or installing software. However, in enterprise or shared systems, unauthorized or unmonitored USB usage can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Lead to sensitive data leakage&lt;/li&gt;
  &lt;li&gt;Introduce malware or ransomware&lt;/li&gt;
  &lt;li&gt;Violate security policies&lt;/li&gt;
  &lt;li&gt;Compromise device integrity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Monitoring these actions helps enforce acceptable use policies and provides traceability in forensic investigations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;event-viewer-the-built-in-audit-tool&quot;&gt;Event Viewer: The Built-in Audit Tool&lt;/h2&gt;

&lt;p&gt;Windows logs plug-and-play (PnP) events in the &lt;strong&gt;System&lt;/strong&gt; log under the &lt;strong&gt;Microsoft-Windows-Kernel-PnP&lt;/strong&gt; provider. These events include device connection, removal, and configuration.&lt;/p&gt;

&lt;p&gt;Key Event IDs to look for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Event ID 3003&lt;/strong&gt; – Device configured&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Event ID 3100&lt;/strong&gt; – Device started&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Event ID 3102&lt;/strong&gt; – Device removed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can use these to piece together a timeline of when specific USB devices were connected or disconnected.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-track-usb-activity-using-event-viewer&quot;&gt;How to Track USB Activity Using Event Viewer&lt;/h2&gt;

&lt;p&gt;To open Event Viewer:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, type &lt;strong&gt;Event Viewer&lt;/strong&gt;, and press &lt;strong&gt;Enter&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Navigate to: &lt;strong&gt;Windows Logs&lt;/strong&gt; &amp;gt; &lt;strong&gt;System&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Filter Current Log&lt;/strong&gt; in the right-hand pane&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Filter for the following criteria:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Event sources&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Microsoft-Windows-Kernel-PnP&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Event IDs&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3003&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3100&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3102&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once filtered, browse the logs to look for USB drive insertions and removals. Double-click any event to view detailed information, such as the device’s instance ID, friendly name, and timestamps.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-using-a-command-to-pull-usb-events&quot;&gt;Example: Using a Command to Pull USB Events&lt;/h2&gt;

&lt;p&gt;If you want to speed things up, you can use the following command in Command Prompt or PowerShell to filter and extract relevant USB events directly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;wevtutil qe System /q:”*[System[Provider[@Name=’Microsoft-Windows-Kernel-PnP’] and (EventID=3003 or EventID=3100 or EventID=3102)]]” /f:text&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This provides a quick overview of matching log entries without navigating through the GUI.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts&lt;/h2&gt;

&lt;p&gt;Monitoring USB device activity is an essential part of maintaining operational security and understanding how endpoints are being used. While Event Viewer offers a native, no-cost solution, it’s has often been underutilized. By understanding how to filter the System logs for relevant Event IDs, you can quickly gain insight into the physical interaction between users and the systems they access.&lt;/p&gt;

&lt;p&gt;For environments with stricter security requirements, consider layering this approach with endpoint management solutions or Group Policy to block unauthorized USB usage altogether.&lt;/p&gt;
</description>
        <pubDate>Sat, 26 Jul 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/tracking_usb_usage/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/tracking_usb_usage/</guid>
        
        <category>windows</category>
        
        <category>usb</category>
        
        <category>hardware</category>
        
        <category>security</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Edubuntu 24.04 LTS Review</title>
        <description>&lt;p&gt;Edubuntu has returned with the 24.04 LTS release, offering a modern, stable, and purpose-built Linux distribution tailored specifically for educational environments. A revival of the classic Ubuntu Education flavor, Edubuntu 24.04 is backed by the stability of Ubuntu’s LTS base and fine-tuned with curated educational tools for classrooms, teachers, and students. Whether you’re setting up a school computer lab or deploying learning resources at home, Edubuntu makes it easy to hit the ground running.&lt;/p&gt;

&lt;p&gt;In this blog post, we will explore the key features, software packages, system performance, and use cases that make Edubuntu 24.04 a compelling option for education-focused deployments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-edubuntu&quot; id=&quot;markdown-toc-what-is-edubuntu&quot;&gt;What is Edubuntu?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#system-requirements&quot; id=&quot;markdown-toc-system-requirements&quot;&gt;System Requirements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installation-experience&quot; id=&quot;markdown-toc-installation-experience&quot;&gt;Installation Experience&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#desktop-environment&quot; id=&quot;markdown-toc-desktop-environment&quot;&gt;Desktop Environment&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#educational-software-collection&quot; id=&quot;markdown-toc-educational-software-collection&quot;&gt;Educational Software Collection&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#administration--usability&quot; id=&quot;markdown-toc-administration--usability&quot;&gt;Administration &amp;amp; Usability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#things-to-improve&quot; id=&quot;markdown-toc-things-to-improve&quot;&gt;Things to Improve&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-edubuntu&quot;&gt;What is Edubuntu?&lt;/h2&gt;

&lt;p&gt;Edubuntu is an official Ubuntu flavor designed to bring a rich collection of educational software to users right out of the box. The project initially started in the mid-2000s, and after a long hiatus, was revived with Ubuntu 23.04. The 24.04 LTS release represents a stable, long-term supported version perfect for schools and institutions that need consistency and reliability.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;system-requirements&quot;&gt;System Requirements&lt;/h2&gt;

&lt;p&gt;Edubuntu 24.04 LTS follows the same base requirements as Ubuntu 24.04 Desktop. For smooth performance, it’s recommended to have:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;4 GB RAM (8 GB preferred for multitasking)&lt;/li&gt;
  &lt;li&gt;25 GB of disk space&lt;/li&gt;
  &lt;li&gt;2 GHz dual-core processor or better&lt;/li&gt;
  &lt;li&gt;USB or DVD for installation media&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation-experience&quot;&gt;Installation Experience&lt;/h2&gt;

&lt;p&gt;Installation is straightforward and nearly identical to the Ubuntu Desktop experience. The installer allows you to select standard system packages, and once Edubuntu is installed, additional educational software can be optionally included by selecting curated packages based on age group or subject area.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;desktop-environment&quot;&gt;Desktop Environment&lt;/h2&gt;

&lt;p&gt;Edubuntu 24.04 uses the GNOME desktop environment, the same as standard Ubuntu, but with added system theming and menu items specifically organized for educational use. It includes a clean, clutter-free interface ideal for students and young learners.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;educational-software-collection&quot;&gt;Educational Software Collection&lt;/h2&gt;

&lt;p&gt;Edubuntu comes with a robust library of educational tools, categorized into age-appropriate groups:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;GCompris&lt;/strong&gt; – Educational games for children aged 2–10&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;TuxMath and TuxTyping&lt;/strong&gt; – Fun ways to practice math and typing&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;LibreOffice&lt;/strong&gt; – Full-featured office suite&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;KAlgebra, KGeography, Marble&lt;/strong&gt; – Tools for mathematics, geography, and science&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Scratch&lt;/strong&gt; – Visual programming for beginners&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Celestia and Stellarium&lt;/strong&gt; – Astronomy and space exploration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Administrators can install or remove package groups depending on classroom needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;administration--usability&quot;&gt;Administration &amp;amp; Usability&lt;/h2&gt;

&lt;p&gt;Edubuntu provides an intuitive and minimal learning curve for educators and students who are new to Linux. System updates and security patches follow Ubuntu’s regular cadence, and all packages are maintained with long-term support in mind. Thanks to GNOME’s polished UI and Ubuntu’s Snap integration, apps are easy to install and manage.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;On mid-range hardware, Edubuntu 24.04 performs well with minimal lag. GNOME is more resource-intensive than XFCE or LXQt, but the overall user experience remains responsive, especially if unnecessary background services are trimmed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h2&gt;

&lt;p&gt;Edubuntu is ideal for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Classroom computer labs&lt;/li&gt;
  &lt;li&gt;Homeschool environments&lt;/li&gt;
  &lt;li&gt;Teacher development setups&lt;/li&gt;
  &lt;li&gt;Educational kiosks&lt;/li&gt;
  &lt;li&gt;Student laptops for science fairs or coding projects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s also a great entry point for kids and young adults to learn Linux fundamentals.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;things-to-improve&quot;&gt;Things to Improve&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;The installation size can be quite large if all educational packages are selected.&lt;/li&gt;
  &lt;li&gt;Performance on older hardware may be sluggish unless resource-heavy applications are limited.&lt;/li&gt;
  &lt;li&gt;Some apps are duplicated across subject groups and could be better streamlined.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Edubuntu 24.04 LTS is a strong, purpose-built Linux distribution that fulfills the educational niche with precision and usability. With curated software, age-appropriate learning tools, and the dependable Ubuntu core, it offers a well-rounded platform for educational institutions and individual learners alike.&lt;/p&gt;

&lt;p&gt;If you’re looking for a simple and powerful way to equip students with a secure, flexible, and educational desktop, Edubuntu 24.04 is worth serious consideration.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Edubuntu, please visit their &lt;a href=&quot;https://www.edubuntu.org&quot;&gt;official webpage&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 19 Jul 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/edubuntu_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/edubuntu_review/</guid>
        
        <category>linux</category>
        
        <category>ubuntu</category>
        
        <category>education</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Integrating OnlyOffice with Nextcloud</title>
        <description>&lt;p&gt;Nextcloud is a powerful self-hosted collaboration suite—but by default, it lacks the ability to edit Office documents like Word, Excel, or PowerPoint directly in the browser. OnlyOffice fills this gap by providing a robust, Microsoft-compatible document editor you can run on your own infrastructure.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll walk through the process of integrating a self-hosted OnlyOffice server with a Nextcloud instance. This guide covers the installation of the OnlyOffice app in Nextcloud and the necessary configuration to link the two systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#requirements&quot; id=&quot;markdown-toc-requirements&quot;&gt;Requirements&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-install-the-onlyoffice-app-in-nextcloud&quot; id=&quot;markdown-toc-step-1-install-the-onlyoffice-app-in-nextcloud&quot;&gt;Step 1: Install the OnlyOffice App in Nextcloud&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-configure-the-onlyoffice-integration&quot; id=&quot;markdown-toc-step-2-configure-the-onlyoffice-integration&quot;&gt;Step 2: Configure the OnlyOffice Integration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-verify-the-integration&quot; id=&quot;markdown-toc-step-3-verify-the-integration&quot;&gt;Step 3: Verify the Integration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;requirements&quot;&gt;Requirements&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;A working &lt;strong&gt;Nextcloud&lt;/strong&gt; instance (version 20+ recommended)&lt;/li&gt;
  &lt;li&gt;A separate, self-hosted &lt;strong&gt;OnlyOffice Document Server&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;HTTPS certificates on the OnlyOffice server&lt;/li&gt;
  &lt;li&gt;Access to both servers via browser and terminal&lt;/li&gt;
  &lt;li&gt;Admin privileges in your Nextcloud instance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-install-the-onlyoffice-app-in-nextcloud&quot;&gt;Step 1: Install the OnlyOffice App in Nextcloud&lt;/h2&gt;

&lt;p&gt;To enable integration between Nextcloud and your OnlyOffice server:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Log in to your &lt;strong&gt;Nextcloud&lt;/strong&gt; web interface as an &lt;strong&gt;admin&lt;/strong&gt; user.&lt;/li&gt;
  &lt;li&gt;Click your profile picture in the top-right corner, then go to &lt;strong&gt;Apps&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;In the left-hand menu, click &lt;strong&gt;Tools&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Search for &lt;strong&gt;OnlyOffice&lt;/strong&gt; using the search bar.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Download and enable&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This installs the official OnlyOffice integration app within your Nextcloud system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-configure-the-onlyoffice-integration&quot;&gt;Step 2: Configure the OnlyOffice Integration&lt;/h2&gt;

&lt;p&gt;Once the app is installed:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Administration &amp;gt; ONLYOFFICE&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Enter the following values:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;&lt;strong&gt;ONLYOFFICE Docs address&lt;/strong&gt;:&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://onlyoffice.domain.org/&lt;/code&gt;&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;&lt;strong&gt;Secret key&lt;/strong&gt;:&lt;br /&gt;
Copy this from your OnlyOffice server’s configuration file:&lt;br /&gt;
&lt;strong&gt;/etc/onlyoffice/documentserver/local.json&lt;/strong&gt;&lt;/p&gt;

        &lt;p&gt;Look for the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;secret&lt;/code&gt; field under any section (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;inbox&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;outbox&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;session&lt;/code&gt;) — the value is the same in all of them.&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;&lt;strong&gt;Authorization header&lt;/strong&gt;:&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizationJWT&lt;/code&gt;&lt;/p&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-verify-the-integration&quot;&gt;Step 3: Verify the Integration&lt;/h2&gt;

&lt;p&gt;Now that everything is connected:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Navigate to your &lt;strong&gt;Files&lt;/strong&gt; section in Nextcloud.&lt;/li&gt;
  &lt;li&gt;Upload a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.docx&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.xlsx&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.pptx&lt;/code&gt; file.&lt;/li&gt;
  &lt;li&gt;Click on the file — it should open in the browser using OnlyOffice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can now create and edit documents inside of Nextcloud. Without OnlyOffice, this feature is not available.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Connecting OnlyOffice to your Nextcloud server enables powerful in-browser editing of Office documents, completely self-hosted and under your control. With just a few steps — installing the app, configuring the connection, and setting the shared secret—you unlock seamless integration between file storage and document editing.&lt;/p&gt;

&lt;p&gt;If you’re looking for a secure and private Google Docs alternative, this setup is a great place to start.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this integration, please review &lt;a href=&quot;https://helpcenter.onlyoffice.com/integration/nextcloud.aspx&quot;&gt;About the ONLYOFFICE and Nextcloud integration&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 12 Jul 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/onlyoffice_nextcloud_integration/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/onlyoffice_nextcloud_integration/</guid>
        
        <category>linux</category>
        
        <category>nextcloud</category>
        
        <category>onlyoffice</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Sudo Privilege Escalation Vulnerability Review</title>
        <description>&lt;p&gt;A critical vulnerability was recently identified in the widely-used &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; utility, affecting systems that rely on host-based rules in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; file. Known as &lt;strong&gt;CVE‑2025‑32462&lt;/strong&gt;, this bug allows low-privileged local users to escalate to root by abusing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-h/--host&lt;/code&gt; option. Discovered by &lt;a href=&quot;https://blog.mirch.io/sudo-elevation-of-privilege-vulnerabilities/&quot;&gt;Rich Mirch of Stratascale&lt;/a&gt; and present in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; for over a decade, this flaw highlights the need for diligent patching—even in mature tools like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In the blog post, we’ll cover what the issue is, how it works, how to detect it, and most importantly, how to fix it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#whats-going-on&quot; id=&quot;markdown-toc-whats-going-on&quot;&gt;What’s Going On?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#who-is-at-risk&quot; id=&quot;markdown-toc-who-is-at-risk&quot;&gt;Who Is at Risk?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-it-works&quot; id=&quot;markdown-toc-how-it-works&quot;&gt;How It Works&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#detection--testing&quot; id=&quot;markdown-toc-detection--testing&quot;&gt;Detection &amp;amp; Testing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#fix-and-recommendations&quot; id=&quot;markdown-toc-fix-and-recommendations&quot;&gt;Fix and Recommendations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;whats-going-on&quot;&gt;What’s Going On?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-h/--host&lt;/code&gt; flag in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; was originally intended to list how a user’s permissions apply on different hosts—not for executing commands.&lt;/li&gt;
  &lt;li&gt;Due to a logic oversight, this flag could be misused to &lt;strong&gt;apply permissions from a different host context&lt;/strong&gt;, effectively bypassing host-based restrictions in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; file.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;who-is-at-risk&quot;&gt;Who Is at Risk?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Environments using host-based &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; rules&lt;/strong&gt;, especially with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host_Alias&lt;/code&gt; directives—typical in LDAP or multi-machine setups.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;All versions&lt;/strong&gt; of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; from 1.8.8 up to, but not including, &lt;strong&gt;1.9.17p1&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Affects major Linux distributions (Ubuntu, Debian, Red Hat, SUSE, Alpine, Amazon Linux, etc.) and Unix-like systems including macOS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-it-works&quot;&gt;How It Works&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;An attacker with a low-privileged account on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hostA&lt;/code&gt; uses:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-h&lt;/span&gt; hostB &amp;lt;allowed-command&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; applies permissions intended for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hostB&lt;/code&gt;, not &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hostA&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Even if the user is restricted on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hostA&lt;/code&gt;, they can now run root commands that are permitted on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hostB&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;detection--testing&quot;&gt;Detection &amp;amp; Testing&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Search your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/sudoers.d/&lt;/code&gt; files for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host_Alias&lt;/code&gt; directives.&lt;/li&gt;
  &lt;li&gt;Attempt the exploit by running a harmless command with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-h&lt;/code&gt; to test if host-based rules are enforced.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example:&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-h&lt;/span&gt; &amp;lt;trusted-host&amp;gt; &lt;span class=&quot;nt&quot;&gt;-l&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If host-based restrictions don’t apply as expected, your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; version is vulnerable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;fix-and-recommendations&quot;&gt;Fix and Recommendations&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Upgrade sudo to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;v1.9.17p1&lt;/code&gt; or later using your distro’s package manager.&lt;/li&gt;
  &lt;li&gt;Review &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; configurations—minimize the use of host-based rules.&lt;/li&gt;
  &lt;li&gt;For added security, monitor &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; usage and consider removing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-h&lt;/code&gt; option or move toward centralized authorization (e.g., LDAP).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;This vulnerability shows that even seasoned tools like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; can harbor high-impact bugs when new flags are introduced. If your setup uses host-specific rules in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt;, your systems are at risk unless updated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next steps:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Patch systems immediately to v1.9.17p1 or newer.&lt;/li&gt;
  &lt;li&gt;Audit &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudoers&lt;/code&gt; for host-based policies.&lt;/li&gt;
  &lt;li&gt;Continue security reviews for foundational tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this vulnerability, please review &lt;a href=&quot;https://www.techradar.com/pro/security/several-major-linux-distros-hit-by-serious-sudo-security-flaws&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 05 Jul 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/sudo_vulnerability/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/sudo_vulnerability/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>code</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Gitea Review - A Lightweight Git Solution for Self-Hosting</title>
        <description>&lt;p&gt;When managing source code and collaborating on software projects, GitHub and GitLab are often the go-to platforms. However, for teams or individuals looking for a lean, self-hosted Git service with a small footprint, &lt;strong&gt;Gitea&lt;/strong&gt; has been gaining traction.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll explore Gitea’s purpose, key features, strengths, and ideal use cases—along with a few considerations before deployment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-gitea&quot; id=&quot;markdown-toc-what-is-gitea&quot;&gt;What is Gitea?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-choose-gitea&quot; id=&quot;markdown-toc-why-choose-gitea&quot;&gt;Why Choose Gitea?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-and-usability&quot; id=&quot;markdown-toc-performance-and-usability&quot;&gt;Performance and Usability&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-and-maintenance&quot; id=&quot;markdown-toc-security-and-maintenance&quot;&gt;Security and Maintenance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#things-to-consider&quot; id=&quot;markdown-toc-things-to-consider&quot;&gt;Things to Consider&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-gitea&quot;&gt;What is Gitea?&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Gitea&lt;/strong&gt; is a self-hosted Git service written in Go, designed to be lightweight and fast. It’s a community-managed fork of Gogs and was created to provide a stable, simple, and open-source platform for Git repository hosting. It comes with a built-in web UI, issue tracker, wiki, pull request system, and more.&lt;/p&gt;

&lt;p&gt;The real appeal? You can get it running in minutes on most modern hardware.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Web Interface&lt;/strong&gt;: Clean, fast, and responsive UI for interacting with repos, issues, pull requests, and CI integrations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;User Management&lt;/strong&gt;: Supports local users, external OAuth providers (GitHub, Google, etc.), LDAP, and more.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Access Control&lt;/strong&gt;: Fine-grained repo permissions, organization/team structure.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Built-in Wiki and Issue Tracker&lt;/strong&gt;: Lightweight alternatives to larger, bulkier systems.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Multi-Platform Support&lt;/strong&gt;: Linux, Windows, macOS, ARM, and Docker.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-choose-gitea&quot;&gt;Why Choose Gitea?&lt;/h2&gt;

&lt;p&gt;Gitea is ideal for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Homelabbers&lt;/strong&gt; who want GitHub-like functionality without third-party hosting.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Small Teams&lt;/strong&gt; seeking a private, simple Git management tool.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security-conscious developers&lt;/strong&gt; preferring full control over their code and metadata.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Resource-constrained environments&lt;/strong&gt; (e.g., Raspberry Pi, small VMs).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Its minimal resource usage and easy deployment make it an attractive alternative to GitLab, which is powerful but notoriously heavy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-and-usability&quot;&gt;Performance and Usability&lt;/h2&gt;

&lt;p&gt;In testing, Gitea’s performance stands out. The UI is snappy, even on lower-end machines. Repositories clone quickly over SSH or HTTPS. Setup takes only a few minutes with Docker or a binary install.&lt;/p&gt;

&lt;p&gt;Administration is straightforward through the web UI. Users can be created or invited, repositories initialized or migrated, and organizations formed with just a few clicks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-and-maintenance&quot;&gt;Security and Maintenance&lt;/h2&gt;

&lt;p&gt;With Gitea, you’re in full control. This means you must also manage updates, SSL configuration, and backups. Fortunately, the project is well-documented, with regular releases and a transparent development roadmap.&lt;/p&gt;

&lt;p&gt;Security features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Two-factor authentication (2FA)&lt;/li&gt;
  &lt;li&gt;HTTPS and SSH support&lt;/li&gt;
  &lt;li&gt;Rate-limiting and brute force protection&lt;/li&gt;
  &lt;li&gt;Audit logging&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;things-to-consider&quot;&gt;Things to Consider&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Not as extensive as GitLab/GitHub&lt;/strong&gt;: Lacks advanced DevOps features out-of-the-box.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Manual Scaling&lt;/strong&gt;: Suitable for small to medium teams; not ideal for enterprise use without customization.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Gitea offers a compelling self-hosted Git experience with all the essentials and very little overhead. For developers who want the simplicity of GitHub with the control of local hosting, it strikes a near-perfect balance.&lt;/p&gt;

&lt;p&gt;Whether you’re looking to spin up your own Git server at home or reduce reliance on cloud-hosted services, Gitea is a rock-solid option that deserves serious consideration.&lt;/p&gt;

&lt;p&gt;In the blog post, we reviewed what Gitea is, its standout features, and why it might be the perfect fit for small teams and individuals seeking control and simplicity in Git hosting.&lt;/p&gt;

&lt;p&gt;You can find more about Gitea by reviewing their &lt;strong&gt;&lt;a href=&quot;https://docs.gitea.com/&quot;&gt;official documentation&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 28 Jun 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/gitea_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/gitea_review/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>code</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>TP-Link USB Wi-Fi Adapter Configuration on Ubuntu 24.04 LTS</title>
        <description>&lt;p&gt;Getting a TP-Link USB Wi-Fi adapter working on Ubuntu 24.04 LTS isn’t always as plug-and-play as you’d hope. Newer versions of Ubuntu often drop in new kernels faster than driver maintainers can keep up, which means users of Realtek-based adapters (like many TP-Link models) may find themselves temporarily offline.&lt;/p&gt;

&lt;p&gt;Fortunately, with the right drivers and a few terminal commands, you can quickly get your wireless adapter operational.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll walk through installing and configuring drivers for TP-Link Wi-Fi adapters using two reliable GitHub repositories and Ubuntu’s build tools.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cloning-and-building-the-driver&quot; id=&quot;markdown-toc-cloning-and-building-the-driver&quot;&gt;Cloning and Building the Driver&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#option-1-aircrack-ngrtl8812au&quot; id=&quot;markdown-toc-option-1-aircrack-ngrtl8812au&quot;&gt;Option 1: aircrack-ng/rtl8812au&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#option-2-morrownr8821au-20210708&quot; id=&quot;markdown-toc-option-2-morrownr8821au-20210708&quot;&gt;Option 2: morrownr/8821au-20210708&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#verifying-the-installation&quot; id=&quot;markdown-toc-verifying-the-installation&quot;&gt;Verifying the Installation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Before diving into driver installation, make sure your system is up to date and has the necessary build tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt update -y&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install build-essential dkms git -y&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This ensures you have everything needed to compile and install kernel modules.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cloning-and-building-the-driver&quot;&gt;Cloning and Building the Driver&lt;/h2&gt;

&lt;p&gt;There are two GitHub repositories known to work reliably with TP-Link Wi-Fi adapters using Realtek chipsets.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;option-1-aircrack-ngrtl8812au&quot;&gt;Option 1: &lt;a href=&quot;https://github.com/aircrack-ng/rtl8812au.git&quot;&gt;aircrack-ng/rtl8812au&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;This repository supports many popular adapters and is updated fairly regularly. Run the following commands.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://github.com/aircrack-ng/rtl8812au.git&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd rtl8812au&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;make&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo make install&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo reboot&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After rebooting, your Wi-Fi adapter should be recognized and ready for use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;option-2-morrownr8821au-20210708&quot;&gt;Option 2: &lt;a href=&quot;https://github.com/morrownr/8821au-20210708.git&quot;&gt;morrownr/8821au-20210708&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;If you have trouble with the aircrack-ng version or if your chipset is specifically RTL8821AU, this repository is another reliable choice. Run the following commands.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://github.com/morrownr/8821au-20210708.git&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd 8821au-20210708&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;make&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo make install&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo reboot&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Again, after rebooting, your adapter should be functional.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;verifying-the-installation&quot;&gt;Verifying the Installation&lt;/h2&gt;

&lt;p&gt;To confirm that the driver is installed and your adapter is recognized:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ip a&lt;/code&gt;&lt;/strong&gt; – Look for a new wireless interface like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wlan0&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;iwconfig&lt;/code&gt;&lt;/strong&gt; – Shows wireless interfaces and status.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lsusb&lt;/code&gt;&lt;/strong&gt; – Confirms the adapter is being detected at the hardware level.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dmesg | grep usb&lt;/code&gt;&lt;/strong&gt; – Useful for troubleshooting if the adapter isn’t working after install.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Ubuntu 24.04 LTS continues to push forward with kernel improvements, but that sometimes comes at the cost of breaking compatibility with proprietary or community-supported Wi-Fi drivers. Thankfully, both the &lt;strong&gt;&lt;a href=&quot;https://github.com/aircrack-ng/rtl8812au.git&quot;&gt;aircrack-ng&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href=&quot;https://github.com/morrownr/8821au-20210708.git&quot;&gt;morrownr&lt;/a&gt;&lt;/strong&gt; GitHub repositories provide solid driver options for TP-Link USB Wi-Fi adapters.&lt;/p&gt;

&lt;p&gt;If you’re running into issues with wireless connectivity, these steps should help you get back online quickly—without waiting for an official package or kernel patch.&lt;/p&gt;

</description>
        <pubDate>Sat, 21 Jun 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/tplink_adapter_configuration_ubuntu/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/tplink_adapter_configuration_ubuntu/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>networking</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Show Hidden Files on a Mac</title>
        <description>&lt;p&gt;Hidden files on your Mac contain the nuts and bolts necessary for running macOS—think system settings, configuration files, and cache storage. These files are intentionally concealed to prevent users from accidentally deleting or altering something critical. But there are times you &lt;em&gt;do&lt;/em&gt; need to access them—like when troubleshooting, cleaning up disk space, or customizing system behavior.&lt;/p&gt;

&lt;p&gt;In this blog post, we will show you three effective ways to reveal hidden files on your Mac safely.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#method-1-use-finder&quot; id=&quot;markdown-toc-method-1-use-finder&quot;&gt;Method 1: Use Finder&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-2-use-terminal&quot; id=&quot;markdown-toc-method-2-use-terminal&quot;&gt;Method 2: Use Terminal&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-3-use-third-party-software&quot; id=&quot;markdown-toc-method-3-use-third-party-software&quot;&gt;Method 3: Use Third-Party Software&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#funter&quot; id=&quot;markdown-toc-funter&quot;&gt;Funter&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#forklift-paid---20-lifetime&quot; id=&quot;markdown-toc-forklift-paid---20-lifetime&quot;&gt;ForkLift &lt;em&gt;(Paid - $20 Lifetime)&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-are-files-hidden-in-macos&quot; id=&quot;markdown-toc-why-are-files-hidden-in-macos&quot;&gt;Why Are Files Hidden in macOS?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-hide-files-on-a-mac&quot; id=&quot;markdown-toc-how-to-hide-files-on-a-mac&quot;&gt;How to Hide Files on a Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-1-use-finder&quot;&gt;Method 1: Use Finder&lt;/h2&gt;

&lt;p&gt;The simplest way to access hidden files is through the Finder. Here’s how:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Click the &lt;strong&gt;Finder&lt;/strong&gt; icon in your dock to open a Finder window.&lt;/li&gt;
  &lt;li&gt;Navigate to the folder where you want to see hidden files.&lt;/li&gt;
  &lt;li&gt;Press &lt;strong&gt;Command + Shift + .&lt;/strong&gt; (period key).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Hidden files will immediately become visible. To hide them again, press &lt;strong&gt;Command + Shift + .&lt;/strong&gt; once more. This shortcut also works on the Desktop.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-2-use-terminal&quot;&gt;Method 2: Use Terminal&lt;/h2&gt;

&lt;p&gt;For those comfortable with the command line, Terminal gives you deeper control.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open &lt;strong&gt;Terminal&lt;/strong&gt; using Spotlight (press &lt;strong&gt;Command + Space&lt;/strong&gt; and type “Terminal”) or go to &lt;strong&gt;Applications &amp;gt; Utilities &amp;gt; Terminal&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;To show hidden files, type the following and press &lt;strong&gt;Enter&lt;/strong&gt;:&lt;/p&gt;

    &lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;defaults write com.apple.Finder AppleShowAllFiles true&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Then restart Finder with this command:&lt;/p&gt;

    &lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;killall Finder&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You’ll now see hidden files system-wide.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To hide them again&lt;/strong&gt;, repeat the above steps but use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;false&lt;/code&gt; instead of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;true&lt;/code&gt; in Step 2:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;defaults write com.apple.Finder AppleShowAllFiles false&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-3-use-third-party-software&quot;&gt;Method 3: Use Third-Party Software&lt;/h2&gt;

&lt;p&gt;If you’re a power user or frequently need to reveal hidden files, consider one of these tools:&lt;/p&gt;

&lt;h3 id=&quot;funter&quot;&gt;&lt;a href=&quot;https://nektony.com/funter&quot;&gt;Funter&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Funter is a lightweight tool designed for one task: toggling hidden files. Great for quickly viewing and hiding files without using Terminal commands.&lt;/p&gt;

&lt;h3 id=&quot;forklift-paid---20-lifetime&quot;&gt;&lt;a href=&quot;https://binarynights.com&quot;&gt;ForkLift&lt;/a&gt; &lt;em&gt;(Paid - $20 Lifetime)&lt;/em&gt;&lt;/h3&gt;

&lt;p&gt;Forklift is a full-fledged file manager with support for cloud storage, syncing, and hidden file toggling. If you manage lots of files or need extra capabilities, this tool’s worth considering.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-are-files-hidden-in-macos&quot;&gt;Why Are Files Hidden in macOS?&lt;/h2&gt;

&lt;p&gt;Hidden files exist for your protection. macOS hides configuration and system-level files to prevent users from tampering with them. Deleting or modifying these files can cause serious performance issues or make your system unstable.&lt;/p&gt;

&lt;p&gt;Think of it like storing cleaning chemicals on a high shelf—necessary, but not something you want mishandled.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-hide-files-on-a-mac&quot;&gt;How to Hide Files on a Mac&lt;/h2&gt;

&lt;p&gt;Whether you’re trying to clean up your desktop or conceal sensitive files, you can also &lt;em&gt;hide&lt;/em&gt; files yourself.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open &lt;strong&gt;Terminal&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Use the following command:&lt;/p&gt;

    &lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chflags hidden&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Then drag the file or folder you want to hide into the Terminal window. Press &lt;strong&gt;Enter&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To &lt;em&gt;unhide&lt;/em&gt; the file, use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chflags nohidden&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Again, drag the hidden file into Terminal and hit &lt;strong&gt;Enter&lt;/strong&gt;. The file will reappear.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Revealing hidden files on a Mac can be useful—but it should be done carefully. Whether you use Finder, Terminal, or a third-party app, be sure you understand what you’re doing before modifying anything.&lt;/p&gt;

&lt;p&gt;Most importantly: if you don’t recognize a file, &lt;strong&gt;leave it alone.&lt;/strong&gt;&lt;/p&gt;
</description>
        <pubDate>Sat, 14 Jun 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/show_hidden_mac_files/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/show_hidden_mac_files/</guid>
        
        <category>macos</category>
        
        <category>terminal</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Using `mktemp` to Safely Create Temporary Files and Directories</title>
        <description>&lt;p&gt;Whether you’re writing a shell script or working in the terminal, creating temporary files can be risky if done incorrectly. If multiple processes or users are working in the same directory, name collisions or security risks can arise. That’s where the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; command comes in — it safely creates &lt;strong&gt;unique, secure&lt;/strong&gt; temporary files or directories.&lt;/p&gt;

&lt;p&gt;This post reviews the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; command, how it works, and why it should be your default choice for temporary file handling.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-mktemp-does&quot; id=&quot;markdown-toc-what-mktemp-does&quot;&gt;What &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; Does&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#basic-usage-create-a-temporary-file&quot; id=&quot;markdown-toc-basic-usage-create-a-temporary-file&quot;&gt;Basic Usage: Create a Temporary File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#customize-the-filename-template&quot; id=&quot;markdown-toc-customize-the-filename-template&quot;&gt;Customize the Filename Template&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#create-a-temporary-directory&quot; id=&quot;markdown-toc-create-a-temporary-directory&quot;&gt;Create a Temporary Directory&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#assign-the-path-to-a-variable&quot; id=&quot;markdown-toc-assign-the-path-to-a-variable&quot;&gt;Assign the Path to a Variable&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#clean-up&quot; id=&quot;markdown-toc-clean-up&quot;&gt;Clean Up&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-case-writing-to-a-temp-file-then-moving-it&quot; id=&quot;markdown-toc-use-case-writing-to-a-temp-file-then-moving-it&quot;&gt;Use Case: Writing to a Temp File Then Moving It&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-mktemp-does&quot;&gt;What &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; Does&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; command generates a unique temporary filename or directory. It avoids race conditions by ensuring the file or directory does &lt;strong&gt;not already exist&lt;/strong&gt;, and it uses secure permissions by default.&lt;/p&gt;

&lt;p&gt;It’s especially useful in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Shell scripts&lt;/li&gt;
  &lt;li&gt;One-liners involving temp data&lt;/li&gt;
  &lt;li&gt;Situations where file collisions would cause bugs or expose sensitive data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;basic-usage-create-a-temporary-file&quot;&gt;Basic Usage: Create a Temporary File&lt;/h2&gt;

&lt;p&gt;The simplest way to use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This creates a file like:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/tmp/tmp.ABcD1234
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;By default, it’s created in /tmp with 0600 permissions (read/write by owner only).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;customize-the-filename-template&quot;&gt;Customize the Filename Template&lt;/h2&gt;

&lt;p&gt;You can control the format using a custom template:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp /tmp/mytemp.XXXXXX&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The Xs are required — they get replaced with random characters. If you don’t include at least six Xs, mktemp will throw an error.&lt;/p&gt;

&lt;p&gt;Example result:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/tmp/mytemp.n9gLXa
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;create-a-temporary-directory&quot;&gt;Create a Temporary Directory&lt;/h2&gt;

&lt;p&gt;To create a temp directory instead of a file:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp -d&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Or with a template:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp -d /tmp/mydir.XXXXXX&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will return a unique directory path and create it immediately.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;assign-the-path-to-a-variable&quot;&gt;Assign the Path to a Variable&lt;/h2&gt;

&lt;p&gt;When scripting, you’ll often store the result of mktemp:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;TMPFILE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;mktemp&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Temporary file is: &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMPFILE&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or for directories:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;TMPDIR&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;mktemp&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Temporary dir is: &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMPDIR&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;clean-up&quot;&gt;Clean Up&lt;/h2&gt;
&lt;p&gt;Remember to remove temp files and dirs when you’re done:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;rm&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMPFILE&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;rm&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMPDIR&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You can also use trap in a script to auto-clean on exit:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;TMPFILE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;mktemp&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;trap&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;rm -f &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMPFILE&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt; EXIT
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-case-writing-to-a-temp-file-then-moving-it&quot;&gt;Use Case: Writing to a Temp File Then Moving It&lt;/h2&gt;

&lt;p&gt;One common pattern is writing to a temporary file, then moving it into place:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;TMP&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;mktemp&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;
/usr/bin/generate_config &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;mv&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$TMP&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt; /etc/myapp/config.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This helps avoid leaving a broken or partial file behind if the script fails mid-write.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; is a small but powerful command that solves a very real problem: safely and predictably handling temporary files. By always using it instead of hardcoded filenames like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/tmp/foo&lt;/code&gt;, you avoid name collisions and boost security — especially in multi-user or automated environments.&lt;/p&gt;

&lt;p&gt;Next time you’re building a shell script, don’t reinvent the wheel — use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt; for all your temporary file needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mktemp&lt;/code&gt;, please review the &lt;a href=&quot;https://linux.die.net/man/1/mktemp&quot;&gt;man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 07 Jun 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/using_mktemp_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/using_mktemp_command/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>scripting</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Adding a Network Interface in Proxmox</title>
        <description>&lt;p&gt;Adding an extra network interface card (NIC) to your Proxmox server can help with dedicated traffic handling, VM isolation, or better network performance.&lt;/p&gt;

&lt;p&gt;This blog post walks you through how to add and configure a new NIC using the Proxmox web interface.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-shut-down-and-install-the-nic&quot; id=&quot;markdown-toc-step-1-shut-down-and-install-the-nic&quot;&gt;Step 1: Shut Down and Install the NIC&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-view-existing-interfaces&quot; id=&quot;markdown-toc-step-2-view-existing-interfaces&quot;&gt;Step 2: View Existing Interfaces&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-identify-the-new-interface&quot; id=&quot;markdown-toc-step-3-identify-the-new-interface&quot;&gt;Step 3: Identify the New Interface&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-create-a-linux-bridge&quot; id=&quot;markdown-toc-step-4-create-a-linux-bridge&quot;&gt;Step 4: Create a Linux Bridge&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-apply-configuration&quot; id=&quot;markdown-toc-step-5-apply-configuration&quot;&gt;Step 5: Apply Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-6-verify-network-interface-status&quot; id=&quot;markdown-toc-step-6-verify-network-interface-status&quot;&gt;Step 6: Verify Network Interface Status&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-7-test-network-connectivity&quot; id=&quot;markdown-toc-step-7-test-network-connectivity&quot;&gt;Step 7: Test Network Connectivity&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-8-assign-the-nic-to-a-virtual-machine&quot; id=&quot;markdown-toc-step-8-assign-the-nic-to-a-virtual-machine&quot;&gt;Step 8: Assign the NIC to a Virtual Machine&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-shut-down-and-install-the-nic&quot;&gt;Step 1: Shut Down and Install the NIC&lt;/h2&gt;

&lt;p&gt;Start by powering down your Proxmox server:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo poweroff&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Physically install the new NIC into an available PCIe slot. Once installed, power the system back on.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-view-existing-interfaces&quot;&gt;Step 2: View Existing Interfaces&lt;/h2&gt;

&lt;p&gt;Log into the Proxmox web UI and select your Proxmox node.&lt;/p&gt;

&lt;p&gt;Navigate to the &lt;strong&gt;Network&lt;/strong&gt; tab.&lt;/p&gt;

&lt;p&gt;You’ll see a list of your current network interfaces. After booting with the new NIC, the new interface will appear in this list automatically.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-identify-the-new-interface&quot;&gt;Step 3: Identify the New Interface&lt;/h2&gt;

&lt;p&gt;Double-click the new interface entry.&lt;/p&gt;

&lt;p&gt;A dialog box will appear—copy the &lt;strong&gt;device name&lt;/strong&gt; (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enp3s0&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eth1&lt;/code&gt;, etc.).&lt;/p&gt;

&lt;p&gt;Close the dialog.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-create-a-linux-bridge&quot;&gt;Step 4: Create a Linux Bridge&lt;/h2&gt;

&lt;p&gt;Click the &lt;strong&gt;Create&lt;/strong&gt; button in the upper-right corner and select &lt;strong&gt;Linux Bridge&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Fill in the following fields:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Bridge ports&lt;/strong&gt;: paste the name of the new NIC (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enp3s0&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;IPv4/CIDR&lt;/strong&gt;: assign the desired static IP address (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;192.168.1.100/24&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Gateway (optional)&lt;/strong&gt;: set your network gateway if this NIC needs external access&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-apply-configuration&quot;&gt;Step 5: Apply Configuration&lt;/h2&gt;

&lt;p&gt;After creating the bridge, a message will appear at the bottom of the screen indicating that network changes are pending.&lt;/p&gt;

&lt;p&gt;You now have two options:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Reboot the Proxmox server:&lt;br /&gt;
&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo reboot&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Or click the &lt;strong&gt;Apply Configuration&lt;/strong&gt; button in the Proxmox web UI.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-6-verify-network-interface-status&quot;&gt;Step 6: Verify Network Interface Status&lt;/h2&gt;

&lt;p&gt;Once changes are applied, verify that your IP address has been assigned.&lt;/p&gt;

&lt;p&gt;You can do this in two ways:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Use the &lt;strong&gt;Network&lt;/strong&gt; tab to see assigned addresses&lt;/li&gt;
  &lt;li&gt;Or open the shell and run:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ip a&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You should see your new bridge and assigned IP listed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-7-test-network-connectivity&quot;&gt;Step 7: Test Network Connectivity&lt;/h2&gt;

&lt;p&gt;From the Proxmox shell, test that your new NIC is operational:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ping 192.168.1.1&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;192.168.1.1&lt;/code&gt; with the IP of your gateway or another reachable device on your LAN.&lt;/p&gt;

&lt;p&gt;You should receive ping responses indicating successful communication.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-8-assign-the-nic-to-a-virtual-machine&quot;&gt;Step 8: Assign the NIC to a Virtual Machine&lt;/h2&gt;

&lt;p&gt;To use the new NIC in a VM:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Select your VM in the Proxmox UI&lt;/li&gt;
  &lt;li&gt;Click the &lt;strong&gt;Hardware&lt;/strong&gt; tab&lt;/li&gt;
  &lt;li&gt;Edit the &lt;strong&gt;Network Device&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Choose your new bridge interface from the &lt;strong&gt;Bridge&lt;/strong&gt; dropdown&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt;, then reboot the VM:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo reboot&lt;/code&gt;&lt;/strong&gt; (inside the VM)&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Your new network interface is now fully configured and available for use with your virtual machines. By bridging it through Proxmox, you can separate traffic, add redundancy, or assign dedicated interfaces to specific VMs for performance or security.&lt;/p&gt;

&lt;p&gt;Adding a NIC in Proxmox is simple once you know the steps. Whether you’re scaling your lab or segmenting traffic, this method keeps your setup clean and maintainable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Proxmox configurations, please review the &lt;a href=&quot;https://pve.proxmox.com/pve-docs/&quot;&gt;Proxmox VE Documentation Index&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 31 May 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/server/adding_network_interface_proxmox/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/server/adding_network_interface_proxmox/</guid>
        
        <category>virtualmachine</category>
        
        <category>proxmox</category>
        
        <category>vm</category>
        
        
        <category>Server</category>
        
      </item>
    
      <item>
        <title>Configuring Logging with Rsyslog</title>
        <description>&lt;p&gt;If you’re managing multiple Linux systems, consolidating logs from different servers into one place can drastically improve your ability to troubleshoot, audit, and monitor your infrastructure. Centralized logging using Rsyslog is one of the most efficient ways to achieve this.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll configure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt; to receive logs from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;web01&lt;/code&gt; using TCP port 514, structure incoming logs by source and service, and confirm that everything works properly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-preparing-loghost-the-logging-receiver&quot; id=&quot;markdown-toc-step-1-preparing-loghost-the-logging-receiver&quot;&gt;Step 1: Preparing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt; (The Logging Receiver)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#verify-rsyslog-installation&quot; id=&quot;markdown-toc-verify-rsyslog-installation&quot;&gt;Verify Rsyslog Installation&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#confirm-the-service-is-running&quot; id=&quot;markdown-toc-confirm-the-service-is-running&quot;&gt;Confirm the Service Is Running&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#get-the-ip-address-of-loghost&quot; id=&quot;markdown-toc-get-the-ip-address-of-loghost&quot;&gt;Get the IP Address of loghost&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#enable-tcp-log-reception&quot; id=&quot;markdown-toc-enable-tcp-log-reception&quot;&gt;Enable TCP Log Reception&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#define-a-custom-log-template&quot; id=&quot;markdown-toc-define-a-custom-log-template&quot;&gt;Define a Custom Log Template&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#open-port-514-in-the-firewall&quot; id=&quot;markdown-toc-open-port-514-in-the-firewall&quot;&gt;Open Port 514 in the Firewall&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#restart-rsyslog&quot; id=&quot;markdown-toc-restart-rsyslog&quot;&gt;Restart Rsyslog&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#confirm-its-listening-on-tcp&quot; id=&quot;markdown-toc-confirm-its-listening-on-tcp&quot;&gt;Confirm It’s Listening on TCP&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-configuring-web01-the-logging-sender&quot; id=&quot;markdown-toc-step-2-configuring-web01-the-logging-sender&quot;&gt;Step 2: Configuring web01 (The Logging Sender)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#verify-rsyslog-is-installed&quot; id=&quot;markdown-toc-verify-rsyslog-is-installed&quot;&gt;Verify Rsyslog Is Installed&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#edit-the-rsyslog-rule-file&quot; id=&quot;markdown-toc-edit-the-rsyslog-rule-file&quot;&gt;Edit the Rsyslog Rule File&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#restart-rsyslog-on-web01&quot; id=&quot;markdown-toc-restart-rsyslog-on-web01&quot;&gt;Restart Rsyslog on web01&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#send-a-test-message&quot; id=&quot;markdown-toc-send-a-test-message&quot;&gt;Send a Test Message&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-verify-logs-on-loghost&quot; id=&quot;markdown-toc-step-3-verify-logs-on-loghost&quot;&gt;Step 3: Verify Logs on loghost&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;To follow this setup, you’ll need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Two Linux machines with Rsyslog installed (commonly pre-installed).&lt;/li&gt;
  &lt;li&gt;Sudo/root access on both.&lt;/li&gt;
  &lt;li&gt;Basic networking between the machines.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt; is the server that will collect logs.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;web01&lt;/code&gt; is the server that will send logs to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-preparing-loghost-the-logging-receiver&quot;&gt;Step 1: Preparing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt; (The Logging Receiver)&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;verify-rsyslog-installation&quot;&gt;Verify Rsyslog Installation&lt;/h3&gt;

&lt;p&gt;Check that Rsyslog is installed on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rsyslogd &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should see version output. If not, install it using your distro’s package manager.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;confirm-the-service-is-running&quot;&gt;Confirm the Service Is Running&lt;/h3&gt;
&lt;p&gt;Ensure Rsyslog is active:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;systemctl status rsyslog
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If it isn’t running, start it:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl start rsyslog
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;get-the-ip-address-of-loghost&quot;&gt;Get the IP Address of loghost&lt;/h3&gt;
&lt;p&gt;You’ll need this for configuration on web01:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;hostname&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-I&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Save the IP address for later.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;enable-tcp-log-reception&quot;&gt;Enable TCP Log Reception&lt;/h3&gt;
&lt;p&gt;Edit the main configuration file on loghost:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/rsyslog.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Uncomment the following lines under the TCP section:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;module&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;imtcp&quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
input&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;imtcp&quot;&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;514&quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This enables Rsyslog to receive logs over TCP on port 514.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;define-a-custom-log-template&quot;&gt;Define a Custom Log Template&lt;/h3&gt;
&lt;p&gt;Still in the config file, add this at the top:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$template&lt;/span&gt; RemoteLogs,&lt;span class=&quot;s2&quot;&gt;&quot;/var/log/%HOSTNAME%/%PROGRAMNAME%.log&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;.&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; ?RemoteLogs
&amp;amp; stop
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This stores logs in folders named after the sending host and log-generating program.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;open-port-514-in-the-firewall&quot;&gt;Open Port 514 in the Firewall&lt;/h3&gt;
&lt;p&gt;Allow TCP traffic on port 514:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--add-port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;514/tcp
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;restart-rsyslog&quot;&gt;Restart Rsyslog&lt;/h3&gt;
&lt;p&gt;Apply your changes:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart rsyslog
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;confirm-its-listening-on-tcp&quot;&gt;Confirm It’s Listening on TCP&lt;/h3&gt;
&lt;p&gt;Verify that Rsyslog is listening:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;ss &lt;span class=&quot;nt&quot;&gt;-tulnp&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;grep &lt;/span&gt;514
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should see a line indicating TCP port 514 is open and used by rsyslogd.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-configuring-web01-the-logging-sender&quot;&gt;Step 2: Configuring web01 (The Logging Sender)&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;verify-rsyslog-is-installed&quot;&gt;Verify Rsyslog Is Installed&lt;/h3&gt;
&lt;p&gt;Check on web01:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rsyslogd &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Confirm version output.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;edit-the-rsyslog-rule-file&quot;&gt;Edit the Rsyslog Rule File&lt;/h3&gt;
&lt;p&gt;On web01, edit the rule file:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;nano /etc/rsyslog.d/50-default.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Add the following line to forward all logs to loghost:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;.&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; @@loghost.lan:514
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost.lan&lt;/code&gt; with the IP address of your logging server if DNS isn’t set up.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@@&lt;/code&gt; indicates TCP should be used for log forwarding.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;restart-rsyslog-on-web01&quot;&gt;Restart Rsyslog on web01&lt;/h3&gt;
&lt;p&gt;Apply the change:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart rsyslog
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;send-a-test-message&quot;&gt;Send a Test Message&lt;/h3&gt;
&lt;p&gt;Use the logger command to generate a test log:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;logger &lt;span class=&quot;s2&quot;&gt;&quot;Hello from web01&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-verify-logs-on-loghost&quot;&gt;Step 3: Verify Logs on loghost&lt;/h2&gt;
&lt;p&gt;On the loghost, check that logs from web01 are received:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;ls&lt;/span&gt; /var/log/web01/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;You should see log files categorized by service, e.g., syslog.log, user.log.&lt;/p&gt;

&lt;p&gt;Tail the user log to verify:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo tail&lt;/span&gt; /var/log/web01/user.log
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should see the message: Hello from web01.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Send another test message:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;logger &lt;span class=&quot;s2&quot;&gt;&quot;Second test from web01&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Tail the log again to see the new entry:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo tail&lt;/span&gt; /var/log/web01/user.log
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;We’ve successfully set up centralized logging using Rsyslog with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;loghost&lt;/code&gt; receiving logs from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;web01&lt;/code&gt;. This approach is scalable, easy to manage, and lays the groundwork for deeper log analysis or integration with tools like Logwatch, Splunk, or the ELK stack.&lt;/p&gt;

&lt;p&gt;Structured logs make your infrastructure easier to audit and debug. With this simple configuration, your logging is no longer fragmented—it’s unified and accessible.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsyslog&lt;/code&gt;, please review its &lt;a href=&quot;https://linux.die.net/man/8/rsyslogd&quot;&gt;man page&lt;/a&gt; .&lt;/p&gt;
</description>
        <pubDate>Sat, 24 May 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/configuring_logging_rsyslog/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/configuring_logging_rsyslog/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>logging</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the .bashrc File in Linux</title>
        <description>&lt;p&gt;When working in Linux, especially on a daily basis, the terminal becomes a second home. Whether you’re developing software, managing servers, or just navigating the system, having an efficient and customized terminal experience makes a noticeable difference. One of the most important files for tailoring your environment is the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file!&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll explore what the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file is, why it’s important, and how you can customize it to improve your Linux terminal workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-the-bashrc-file&quot; id=&quot;markdown-toc-what-is-the-bashrc-file&quot;&gt;What is the .bashrc File?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-uses-of-bashrc&quot; id=&quot;markdown-toc-common-uses-of-bashrc&quot;&gt;Common Uses of .bashrc&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-customizations&quot; id=&quot;markdown-toc-example-customizations&quot;&gt;Example Customizations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-bashrc-is-loaded&quot; id=&quot;markdown-toc-how-bashrc-is-loaded&quot;&gt;How .bashrc is Loaded&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-practices-for-managing-bashrc&quot; id=&quot;markdown-toc-best-practices-for-managing-bashrc&quot;&gt;Best Practices for Managing .bashrc&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-the-bashrc-file&quot;&gt;What is the .bashrc File?&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file is a script that is executed whenever a new terminal session is started in interactive mode. It lives in your home directory (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt;) and is specific to each user on the system. It contains configuration settings and commands that define your shell environment.&lt;/p&gt;

&lt;p&gt;In simpler terms, every time you open a new terminal window, Linux reads the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file and applies the settings you’ve defined in it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-uses-of-bashrc&quot;&gt;Common Uses of .bashrc&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file can be used for many purposes, including:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Setting environment variables (like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PATH&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Defining aliases (shortcuts for long commands)&lt;/li&gt;
  &lt;li&gt;Customizing the shell prompt (PS1)&lt;/li&gt;
  &lt;li&gt;Setting up functions to automate repetitive tasks&lt;/li&gt;
  &lt;li&gt;Running specific commands at the start of each session&lt;/li&gt;
  &lt;li&gt;Configuring command history behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-customizations&quot;&gt;Example Customizations&lt;/h2&gt;

&lt;p&gt;Here are a few practical things you might find or add in a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Aliases&lt;/strong&gt;: Shortcuts to save typing.
Example: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;alias ll=&apos;ls -la&apos;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Environment Variables&lt;/strong&gt;: Setting paths for software.
Example: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;export ANSIBLE_HOME=/opt/ansible&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Functions&lt;/strong&gt;: Small scripts to automate tasks.
Example: A function to quickly go to a projects directory.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Function to quickly navigate to the projects directory&lt;/span&gt;
projects&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; ~/Documents/Projects
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;After adding this to your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; and reloading it &lt;strong&gt;source ~/.bashrc&lt;/strong&gt;, you can just type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;projects&lt;/code&gt; in your terminal.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;It will immediately cd (change directory) into your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/Documents/Projects&lt;/code&gt; directory.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Prompt Customization&lt;/strong&gt;: Changing how your shell prompt looks, often by showing the username, hostname, current directory, or Git branch.
    &lt;ul&gt;
      &lt;li&gt;As described in my &lt;a href=&quot;https://jamisonjohnson.me/blog/linux/show_git_in_terminal/&quot;&gt;Show Git Branch in Your Terminal Prompt Automatically&lt;/a&gt; article.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-bashrc-is-loaded&quot;&gt;How .bashrc is Loaded&lt;/h2&gt;

&lt;p&gt;When you open a new interactive terminal, Bash checks if the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file exists and then sources it. Sourcing means Bash runs the commands inside the file, setting up your environment without launching a new shell process.&lt;/p&gt;

&lt;p&gt;You can manually reload your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file after editing it by running:
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;source ~/.bashrc&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This is very useful because it lets you apply changes immediately without having to open a new terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-practices-for-managing-bashrc&quot;&gt;Best Practices for Managing .bashrc&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Comment your changes&lt;/strong&gt;: Whenever you add new lines, write a comment above it explaining its purpose. It’ll save you (and others) time later.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Backup your file&lt;/strong&gt;: Before making major changes, make a copy of the original file.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Keep it organized&lt;/strong&gt;: Group similar settings together — aliases, environment variables, functions — for easier navigation.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Modularize if needed&lt;/strong&gt;: For large customizations, consider sourcing external files from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; to keep things clean.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file is a key part of building an efficient and personalized terminal experience in Linux. By understanding how it works and how to customize it, you can save time, automate tasks, and make your workflow smoother.&lt;/p&gt;

&lt;p&gt;In the blog post, we learned what the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file is used for, how it gets loaded, and some practical tips for managing it effectively.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; script, please review this &lt;a href=&quot;https://www.digitalocean.com/community/tutorials/bashrc-file-in-linux&quot;&gt;blog article&lt;/a&gt; .&lt;/p&gt;
</description>
        <pubDate>Sat, 17 May 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_bashrc_file/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_bashrc_file/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>scripting</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Show Git Branch in Your Terminal Prompt Automatically</title>
        <description>&lt;p&gt;Working in the terminal with Git often means switching between branches and directories rapidly. It’s easy to lose track of your current branch, especially when juggling multiple features, hotfixes, or code reviews. Thankfully, there’s a way to enhance your command line interface so you always know which Git branch you’re on—without running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git status&lt;/code&gt; every few minutes.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll update your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bashrc&lt;/code&gt; file so that your terminal prompt automatically displays the Git repository and active branch whenever you navigate into a Git-tracked directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-this-matters&quot; id=&quot;markdown-toc-why-this-matters&quot;&gt;Why This Matters&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-bash-function&quot; id=&quot;markdown-toc-the-bash-function&quot;&gt;The Bash Function&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#customizing-your-ps1-prompt&quot; id=&quot;markdown-toc-customizing-your-ps1-prompt&quot;&gt;Customizing Your PS1 Prompt&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-apply-it&quot; id=&quot;markdown-toc-how-to-apply-it&quot;&gt;How to Apply It&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#make-it-your-own&quot; id=&quot;markdown-toc-make-it-your-own&quot;&gt;Make It Your Own&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-this-matters&quot;&gt;Why This Matters&lt;/h2&gt;

&lt;p&gt;Being aware of your current branch reduces mistakes, such as accidentally committing to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;main&lt;/code&gt; instead of a feature branch. By showing the branch in your prompt, you stay oriented and reduce mental overhead during development.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-bash-function&quot;&gt;The Bash Function&lt;/h2&gt;

&lt;p&gt;First, define a Bash function that grabs the current branch name and wraps it in simple square brackets. This function filters the output of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git branch&lt;/code&gt; to find the currently checked-out branch and applies formatting.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;customizing-your-ps1-prompt&quot;&gt;Customizing Your PS1 Prompt&lt;/h2&gt;

&lt;p&gt;Next, you modify your shell prompt (PS1) to include:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Your username and hostname&lt;/li&gt;
  &lt;li&gt;The current working directory&lt;/li&gt;
  &lt;li&gt;The Git branch, if inside a Git-tracked directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The updated prompt uses ANSI color codes to distinguish elements: yellow for the working directory, cyan for the Git branch, and default colors elsewhere.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-apply-it&quot;&gt;How to Apply It&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Open your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; file in your preferred text editor.&lt;/li&gt;
  &lt;li&gt;Add the function that parses the Git branch.&lt;/li&gt;
  &lt;li&gt;Add or modify the PS1 variable to include a call to that function.&lt;/li&gt;
  &lt;li&gt;Save and close the file.&lt;/li&gt;
  &lt;li&gt;Apply the changes by running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;source ~/.bashrc&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add the below text to your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; file :&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Function to get the current Git branch name and format it with square brackets&lt;/span&gt;
parse_git_branch&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
  git branch 2&amp;gt;/dev/null | &lt;span class=&quot;nb&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;*&apos;&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;s/* /[/&apos;&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;s/$/]/&apos;&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Set the shell prompt to show:&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# - username@hostname&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# - current working directory&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# - current Git branch (if inside a Git repo), shown in [brackets]&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PS1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\u&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\h&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\[\e&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[33m&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\]\w&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\[\e&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[36m&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\]\$&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;(parse_git_branch)&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\[\e&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[0m&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\]&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\$&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After this, your prompt will dynamically update to display the Git branch whenever you are inside a Git repository.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;make-it-your-own&quot;&gt;Make It Your Own&lt;/h2&gt;

&lt;p&gt;This is just a starting point. You can take it further by:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Changing colors to suit your style&lt;/li&gt;
  &lt;li&gt;Adding timestamps&lt;/li&gt;
  &lt;li&gt;Including the last command’s exit code&lt;/li&gt;
  &lt;li&gt;Displaying the current Python virtual environment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are many ways to customize your terminal to match your workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;This small tweak to your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; adds a lot of value to your day-to-day Git operations. Knowing which branch you’re on at a glance helps prevent mistakes, keeps you organized, and increases your overall productivity in the terminal.&lt;/p&gt;

&lt;p&gt;In future blog posts, we’ll continue diving into tips and tweaks for a more efficient command-line experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; script, please review this &lt;a href=&quot;https://ultahost.com/knowledge-base/bashrc-file-in-linux/&quot;&gt;blog article&lt;/a&gt; .&lt;/p&gt;
</description>
        <pubDate>Sat, 10 May 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/show_git_in_terminal/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/show_git_in_terminal/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>git</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Review/Understanding of the namei Command</title>
        <description>&lt;p&gt;The Linux file system, a seemingly simple structure to the casual user, is in reality a complex web of directories, files, and symbolic links. Navigating this web efficiently and accurately requires a deep understanding of how paths are resolved. When a user or application requests a file, the operating system embarks on a journey, traversing through each directory component, following symbolic links, and checking permissions along the way. This process, while often hidden from view, is critical for system functionality and security. Misconfigurations, broken symbolic links, and incorrect permissions can lead to application errors, data loss, and security vulnerabilities. To effectively diagnose and resolve these issues, a tool that can illuminate the path resolution process is indispensable. That tool is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;, short for &lt;strong&gt;“name lookup inode,”&lt;/strong&gt; provides a detailed, step-by-step breakdown of how Linux resolves file paths. It reveals the inode numbers, permissions, and symbolic link resolutions for each component in a given path, allowing users to see exactly what the system is doing behind the scenes. This level of insight is invaluable for debugging complex file system issues, understanding the impact of symbolic links, and ensuring proper permissions are in place. Without a clear understanding of path resolution, troubleshooting file system problems can be a daunting task, akin to navigating a maze blindfolded.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll walk through the basics of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; — including what it is, how to use it, and how to interpret its output — so you can start building a smarter, more secure understanding of your Linux file system from the ground up.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-namei&quot; id=&quot;markdown-toc-what-is-namei&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-is-it-useful&quot; id=&quot;markdown-toc-why-is-it-useful&quot;&gt;Why is it Useful?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-use-namei&quot; id=&quot;markdown-toc-how-to-use-namei&quot;&gt;How to Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#interpreting-the-output&quot; id=&quot;markdown-toc-interpreting-the-output&quot;&gt;Interpreting the Output&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-namei&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;?&lt;/h2&gt;

&lt;p&gt;Essentially, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; stands for &lt;strong&gt;“name lookup inode.”&lt;/strong&gt; It’s a command-line utility that follows each symbolic link and directory component in a given pathname and displays the corresponding inode information. This allows you to trace the steps the system takes to resolve a file or directory path, revealing any symbolic links or permissions issues along the way.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-is-it-useful&quot;&gt;Why is it Useful?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Debugging Symbolic Links:&lt;/strong&gt; When dealing with complex symbolic link structures, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; helps you visualize the actual path resolution.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Permission Issues:&lt;/strong&gt; You can identify permission problems along the path, as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; displays the permissions of each directory component.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Understanding Path Resolution:&lt;/strong&gt; For learning purposes, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; provides a clear view of how Linux resolves paths.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Troubleshooting Mount Points:&lt;/strong&gt; it allows you to see how mount points are involved in a given path.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-use-namei&quot;&gt;How to Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;&lt;/h2&gt;

&lt;p&gt;The basic syntax is straightforward:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namei &amp;lt;pathname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Let’s look at some examples:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 1: Simple File Path&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namei /etc/passwd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will display the inode information for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/passwd&lt;/code&gt; and each directory component along the way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 2: Following Symbolic Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Suppose you have a symbolic link &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/home/my_link&lt;/code&gt; pointing to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/syslog&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namei &lt;span class=&quot;nt&quot;&gt;-l&lt;/span&gt; /home/my_link&lt;span class=&quot;s2&quot;&gt;&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-l&lt;/code&gt; (or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--logical&lt;/code&gt;) option tells &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; to follow symbolic links. This output will show you the resolution through the link to the final destination.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 3: Displaying Mode Bits&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namei &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; /home/user/documents&lt;span class=&quot;s2&quot;&gt;&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-m&lt;/code&gt; (or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--mode&lt;/code&gt;) option displays the mode (permissions) of each component in the path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 4: verbose output&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namei &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt; /home/user/documents&lt;span class=&quot;s2&quot;&gt;&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-v&lt;/code&gt; (or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--verbose&lt;/code&gt;) option gives a more detailed output.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;interpreting-the-output&quot;&gt;Interpreting the Output&lt;/h2&gt;

&lt;p&gt;The output of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; typically consists of several columns, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;f:&lt;/strong&gt; Flags indicating the type of component (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;d&lt;/code&gt; for directory, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;l&lt;/code&gt; for symbolic link).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;name:&lt;/strong&gt; The name of the component.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;/:&lt;/strong&gt; Indicates the path component&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;inode:&lt;/strong&gt; The inode number of the component.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;mode:&lt;/strong&gt; The permissions of the component.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;owner:&lt;/strong&gt; The owner of the component.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;group:&lt;/strong&gt; The group of the component.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By examining these columns, you can gain a comprehensive understanding of the path resolution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; is a powerful tool for anyone working with the Linux file system, especially when dealing with symbolic links or troubleshooting permission issues. It provides a clear and detailed view of path resolution, making it an invaluable asset for system administrators and developers alike.&lt;/p&gt;

&lt;p&gt;I hope this brief overview has been helpful. Give &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt; a try, and you’ll find it a useful addition to your command-line toolkit!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;namei&lt;/code&gt;, please review the &lt;a href=&quot;https://linux.die.net/man/1/namei&quot;&gt;namei&lt;/a&gt; man page.&lt;/p&gt;
</description>
        <pubDate>Sat, 03 May 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_namei_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_namei_command/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>filesystem</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Networking Basics</title>
        <description>&lt;p&gt;Networking is the backbone of modern computing, whether you’re running a homelab, managing enterprise infrastructure, or just trying to understand how your devices talk to each other. Before you dive into VLANs, firewalls, or mesh Wi-Fi, it’s crucial to grasp the fundamentals — the “language” your network speaks.&lt;/p&gt;

&lt;p&gt;Concepts like IP addresses, subnetting, and gateways might sound intimidating at first, but once you break them down, they’re surprisingly approachable. These foundational ideas are what make everything from web browsing to remote access possible.&lt;/p&gt;

&lt;p&gt;In this blog post, we’ll walk through the basics of networking — including what IP addresses are, how subnetting works, and why gateways matter — so you can start building smarter, more secure networks from the ground up.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-local-area-network-lan&quot; id=&quot;markdown-toc-what-is-a-local-area-network-lan&quot;&gt;What Is a Local Area Network (LAN)?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-wide-area-network-wan&quot; id=&quot;markdown-toc-what-is-a-wide-area-network-wan&quot;&gt;What Is a Wide Area Network (WAN)?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-ip-address-translation-nat&quot; id=&quot;markdown-toc-understanding-ip-address-translation-nat&quot;&gt;Understanding IP Address Translation (NAT)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-gateway&quot; id=&quot;markdown-toc-what-is-a-gateway&quot;&gt;What is a Gateway?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-port-forwarding&quot; id=&quot;markdown-toc-what-is-port-forwarding&quot;&gt;What Is Port Forwarding?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-dmz&quot; id=&quot;markdown-toc-what-is-a-dmz&quot;&gt;What Is a DMZ?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-takeaways&quot; id=&quot;markdown-toc-key-takeaways&quot;&gt;Key Takeaways&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;what-is-a-local-area-network-lan&quot;&gt;What Is a Local Area Network (LAN)?&lt;/h2&gt;

&lt;p&gt;Imagine your home or a school. You have:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Laptops&lt;/li&gt;
  &lt;li&gt;Phones&lt;/li&gt;
  &lt;li&gt;Printers&lt;/li&gt;
  &lt;li&gt;Smart devices (IoT Devices)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They’re all connected together — that’s your &lt;strong&gt;Local Area Network (LAN)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In our school analogy:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The &lt;strong&gt;school&lt;/strong&gt; is the LAN.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Students&lt;/strong&gt; are the devices (laptops, printers, etc).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Roll numbers&lt;/strong&gt; are the &lt;strong&gt;IP addresses&lt;/strong&gt; assigned to each student/device.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;IP address is like a unique roll number to identify a device in the network.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If a student (device) wants to send a file to another student (device), they simply send it to the specific roll number (IP address). This all happens &lt;strong&gt;within the same school building (LAN)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-wide-area-network-wan&quot;&gt;What Is a Wide Area Network (WAN)?&lt;/h2&gt;

&lt;p&gt;Now imagine a student wants to contact someone from &lt;strong&gt;another school&lt;/strong&gt;. That’s &lt;strong&gt;outside the local network&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;There’s a &lt;strong&gt;security guard&lt;/strong&gt; at the gate — this is your &lt;strong&gt;router&lt;/strong&gt; or &lt;strong&gt;gateway&lt;/strong&gt;. The student must:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Ask the guard for permission.&lt;/li&gt;
  &lt;li&gt;Tell them who they want to contact.&lt;/li&gt;
  &lt;li&gt;Let the guard pass the message to the outside world.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
  &lt;p&gt;The &lt;strong&gt;gateway&lt;/strong&gt; connects your LAN to the &lt;strong&gt;internet&lt;/strong&gt; — the WAN (Wide Area Network).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So, just like you need permission to leave school, your &lt;strong&gt;devices need a gateway/router to access the internet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-ip-address-translation-nat&quot;&gt;Understanding IP Address Translation (NAT)&lt;/h2&gt;

&lt;p&gt;Devices inside your school have &lt;strong&gt;private roll numbers (IP addresses)&lt;/strong&gt;. But once they step out (go online), these roll numbers don’t work.&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;NAT (Network Address Translation)&lt;/strong&gt; comes in.&lt;/p&gt;

&lt;p&gt;NAT is like the &lt;strong&gt;receptionist&lt;/strong&gt; at the front desk who changes your name (IP address) to something that works outside.&lt;/p&gt;

&lt;p&gt;So:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Your laptop (192.168.x.x) wants to visit Google.&lt;/li&gt;
  &lt;li&gt;NAT translates your IP to a public one.&lt;/li&gt;
  &lt;li&gt;Google replies.&lt;/li&gt;
  &lt;li&gt;NAT maps the reply back to your device.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;NAT protects your private devices and helps them communicate with the outside world using a shared public IP.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-gateway&quot;&gt;What is a Gateway?&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;gateway&lt;/strong&gt; is both the &lt;strong&gt;entry&lt;/strong&gt; and &lt;strong&gt;exit point&lt;/strong&gt; for your LAN. It routes all communication &lt;strong&gt;between your network and the internet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Think of it as:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The &lt;strong&gt;main school gate&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Managed by a &lt;strong&gt;security guard (router)&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;No student (device) can talk to outsiders without passing through it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-port-forwarding&quot;&gt;What Is Port Forwarding?&lt;/h2&gt;

&lt;p&gt;Sometimes a guest wants to directly meet a student inside. Maybe someone wants to connect to your home server or IP camera.&lt;/p&gt;

&lt;p&gt;How will they reach the correct student?&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;Port Forwarding&lt;/strong&gt; helps.&lt;/p&gt;

&lt;p&gt;The router acts like:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;A receptionist.&lt;/li&gt;
  &lt;li&gt;Knows which student to call based on the port number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Port 80 → Web server (HTTP)&lt;/li&gt;
  &lt;li&gt;Port 22 → SSH&lt;/li&gt;
  &lt;li&gt;Port 3389 → Remote Desktop&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;You can configure your router to &lt;strong&gt;forward requests to specific devices&lt;/strong&gt; based on port numbers.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-dmz&quot;&gt;What Is a DMZ?&lt;/h2&gt;

&lt;p&gt;DMZ stands for &lt;strong&gt;Demilitarized Zone&lt;/strong&gt; — a special area of your network that is &lt;strong&gt;semi-public&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Imagine a &lt;strong&gt;guest area&lt;/strong&gt; in your school where outsiders can come in without entering classrooms.&lt;/p&gt;

&lt;p&gt;DMZ is used for:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Hosting public servers.&lt;/li&gt;
  &lt;li&gt;Keeping internal devices safe from external traffic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you don’t want to create a DMZ, you can just use &lt;strong&gt;port forwarding&lt;/strong&gt; to expose only specific services.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-takeaways&quot;&gt;Key Takeaways&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Concept&lt;/th&gt;
      &lt;th&gt;School Analogy&lt;/th&gt;
      &lt;th&gt;Real World Meaning&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;LAN&lt;/td&gt;
      &lt;td&gt;One school building&lt;/td&gt;
      &lt;td&gt;Local network of connected devices&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;WAN&lt;/td&gt;
      &lt;td&gt;Another school / internet&lt;/td&gt;
      &lt;td&gt;The broader internet&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;IP Address&lt;/td&gt;
      &lt;td&gt;Roll number&lt;/td&gt;
      &lt;td&gt;Unique device ID in a network&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Gateway&lt;/td&gt;
      &lt;td&gt;Main school gate&lt;/td&gt;
      &lt;td&gt;Router connecting LAN to internet&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;NAT&lt;/td&gt;
      &lt;td&gt;Receptionist&lt;/td&gt;
      &lt;td&gt;Changes internal IP to public IP&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Port Forwarding&lt;/td&gt;
      &lt;td&gt;Receptionist routing guests&lt;/td&gt;
      &lt;td&gt;Sends external requests to correct device&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;DMZ&lt;/td&gt;
      &lt;td&gt;Guest zone&lt;/td&gt;
      &lt;td&gt;Safe area for public-facing servers&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Understanding the fundamentals of networking doesn’t just make you sound smarter — it empowers you to make better decisions when designing, troubleshooting, or expanding your own network. Whether you’re setting up a homelab, configuring VLANs, or just trying to get a better handle on how your devices communicate, these core concepts are the building blocks for everything that comes next.&lt;/p&gt;

&lt;p&gt;Now that you’ve got a handle on IP addresses, subnetting, and gateways, you’re in a much better position to dive deeper — whether that’s into routing, firewall rules, or network segmentation.&lt;/p&gt;

&lt;p&gt;Stay tuned for future posts where we’ll break down more advanced topics and continue building your networking toolkit, one layer at a time.&lt;/p&gt;
</description>
        <pubDate>Sat, 26 Apr 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/understanding_networking_basics/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/understanding_networking_basics/</guid>
        
        <category>google</category>
        
        <category>networking</category>
        
        <category>wifi</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Google Nest WiFi Pro Review</title>
        <description>&lt;p&gt;The Google Nest WiFi Pro is Google’s latest iteration in the home mesh networking lineup. Designed to support WiFi 6E, this system promises improved speed, lower latency, and better performance in crowded environments. With a sleek, modern design and simple setup process, the Nest WiFi Pro targets users looking for a no-fuss upgrade to their existing home network — but is it worth the price?&lt;/p&gt;

&lt;p&gt;In this blog post, we will discuss the key features, performance, pros and cons, and ideal use cases for the Nest WiFi Pro to help you decide if it’s the right mesh solution for your home.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-case-fit&quot; id=&quot;markdown-toc-use-case-fit&quot;&gt;Use Case Fit&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;WiFi 6E Support&lt;/strong&gt;&lt;br /&gt;
The Nest WiFi Pro supports the 6 GHz band, giving compatible devices access to faster, less congested spectrum.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Tri-Band Mesh Networking&lt;/strong&gt;&lt;br /&gt;
Utilizes 2.4 GHz, 5 GHz, and 6 GHz bands to balance traffic efficiently and reduce congestion.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Built-In Thread Border Router&lt;/strong&gt;&lt;br /&gt;
Ready for &lt;strong&gt;Matter&lt;/strong&gt; and other smart home protocols, integrating easily with your connected devices.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Cloud-Based Management&lt;/strong&gt;&lt;br /&gt;
Uses the Google Home app for configuration and ongoing management, including parental controls and guest networks.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Backwards Compatibility&lt;/strong&gt;&lt;br /&gt;
While the Nest WiFi Pro works great on its own, it’s not backward compatible with older Google WiFi or Nest WiFi units.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;Testing the Nest WiFi Pro across various household scenarios yielded solid results:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Speed&lt;/strong&gt;: Near gigabit performance on the 6 GHz band for compatible devices.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Range&lt;/strong&gt;: Excellent coverage in open floor plans, with noticeable drops through thick walls — standard for high-frequency signals.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Latency&lt;/strong&gt;: Impressively low latency for gaming and video calls.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stability&lt;/strong&gt;: Very few drops, with automatic band steering functioning as expected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mesh network handled roaming well, automatically switching devices to the strongest node without noticeable interruptions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pros&quot;&gt;Pros&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Seamless setup and cloud integration&lt;/li&gt;
  &lt;li&gt;Great support for smart home devices and protocols&lt;/li&gt;
  &lt;li&gt;Reliable coverage with strong throughput&lt;/li&gt;
  &lt;li&gt;Clean aesthetic design fits into most home decor&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cons&quot;&gt;Cons&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;No backward compatibility with older Nest WiFi models&lt;/li&gt;
  &lt;li&gt;Limited advanced network customization for power users&lt;/li&gt;
  &lt;li&gt;Higher cost compared to similar mesh systems&lt;/li&gt;
  &lt;li&gt;Fully cloud-managed — no local web interface&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-case-fit&quot;&gt;Use Case Fit&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Best For&lt;/strong&gt;: Homes with WiFi 6E devices, users who want a clean, modern UI and automatic updates, and those already within the Google ecosystem.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Not Ideal For&lt;/strong&gt;: Advanced users looking for granular control or users with older Google WiFi systems they wish to expand upon.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Nest WiFi Pro&lt;/strong&gt; is a forward-looking mesh WiFi system that delivers excellent performance, future-proofing, and smart home readiness in one sleek package. While it may not satisfy network enthusiasts who want full control over every setting, it’s a fantastic choice for everyday users who value simplicity, speed, and reliability.&lt;/p&gt;

&lt;p&gt;If you’re ready to move into the 6 GHz future and want something that “just works,” the Nest WiFi Pro is a compelling option — albeit at a premium price.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Google Nest Wifi Pro, please review this document from &lt;a href=&quot;https://support.google.com/googlenest/answer/9548301?hl=en webpage&quot;&gt;Google&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 19 Apr 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/google_nest_wifi_pro_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/google_nest_wifi_pro_review/</guid>
        
        <category>google</category>
        
        <category>networking</category>
        
        <category>wifi</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding Snap Packages</title>
        <description>&lt;p&gt;In the world of Linux package management, maintaining software across different distributions has always been a challenge. Traditional package managers like APT and YUM rely on system-wide dependencies, which can lead to conflicts and compatibility issues. To solve these problems, Canonical introduced Snap packages, a universal, sandboxed software distribution method that works across multiple Linux distributions. With built-in dependency management, automatic updates, and a secure execution environment, Snap aims to simplify software installation and maintenance. However, despite its advantages, Snap has its share of drawbacks, leading to an ongoing debate about whether it truly improves the Linux ecosystem or introduces unnecessary complexity.&lt;/p&gt;

&lt;p&gt;In this blog post, we will compare Snap packages with traditional package management, examining their benefits, drawbacks, and overall impact on the Linux experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-are-snap-packages&quot; id=&quot;markdown-toc-what-are-snap-packages&quot;&gt;&lt;strong&gt;What Are Snap Packages?&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#key-features-of-snap-packages&quot; id=&quot;markdown-toc-key-features-of-snap-packages&quot;&gt;&lt;strong&gt;Key Features of Snap Packages&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-snap-packages-work&quot; id=&quot;markdown-toc-how-snap-packages-work&quot;&gt;&lt;strong&gt;How Snap Packages Work&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-snap-packages&quot; id=&quot;markdown-toc-using-snap-packages&quot;&gt;&lt;strong&gt;Using Snap Packages&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#install-a-snap-package&quot; id=&quot;markdown-toc-install-a-snap-package&quot;&gt;&lt;strong&gt;Install a Snap package:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#example---install-spotify&quot; id=&quot;markdown-toc-example---install-spotify&quot;&gt;&lt;strong&gt;Example - Install Spotify:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#list-installed-snaps&quot; id=&quot;markdown-toc-list-installed-snaps&quot;&gt;&lt;strong&gt;List installed Snaps:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#update-all-snaps&quot; id=&quot;markdown-toc-update-all-snaps&quot;&gt;&lt;strong&gt;Update all Snaps:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#remove-a-snap&quot; id=&quot;markdown-toc-remove-a-snap&quot;&gt;&lt;strong&gt;Remove a Snap:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#snap-vs-traditional-package-managers&quot; id=&quot;markdown-toc-snap-vs-traditional-package-managers&quot;&gt;&lt;strong&gt;Snap vs. Traditional Package Managers&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages-of-snap-packages&quot; id=&quot;markdown-toc-advantages-of-snap-packages&quot;&gt;&lt;strong&gt;Advantages of Snap Packages:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages-of-traditional-packages-aptyum&quot; id=&quot;markdown-toc-advantages-of-traditional-packages-aptyum&quot;&gt;&lt;strong&gt;Advantages of Traditional Packages (APT/YUM):&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#disadvantages-of-snap-packages&quot; id=&quot;markdown-toc-disadvantages-of-snap-packages&quot;&gt;&lt;strong&gt;Disadvantages of Snap Packages:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#disadvantages-of-traditional-packages&quot; id=&quot;markdown-toc-disadvantages-of-traditional-packages&quot;&gt;&lt;strong&gt;Disadvantages of Traditional Packages:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-criticisms-of-snap-packages&quot; id=&quot;markdown-toc-common-criticisms-of-snap-packages&quot;&gt;&lt;strong&gt;Common Criticisms of Snap Packages&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Traditional Linux package management has long relied on tools like:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;APT&lt;/strong&gt; (for Debian/Ubuntu-based systems)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;YUM/DNF&lt;/strong&gt; (for RHEL/Fedora-based systems)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While these package managers are efficient, they come with challenges:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Dependency issues&lt;/strong&gt; – Installing software can require manually resolving missing libraries.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Distro-specific compatibility&lt;/strong&gt; – Packages built for one distribution may not work on another.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Update inconsistencies&lt;/strong&gt; – Software updates rely on the distribution’s repository updates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To address these issues, &lt;strong&gt;Snap packages&lt;/strong&gt; were developed by Canonical, offering a &lt;strong&gt;self-contained, cross-distro package format&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-are-snap-packages&quot;&gt;&lt;strong&gt;What Are Snap Packages?&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Snap packages (&lt;strong&gt;Snaps&lt;/strong&gt;) bundle everything an application needs, including:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Application binaries&lt;/strong&gt; – The actual software.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dependencies&lt;/strong&gt; – No need to install missing libraries separately.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security settings&lt;/strong&gt; – Runs in a sandbox for enhanced security.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features-of-snap-packages&quot;&gt;&lt;strong&gt;Key Features of Snap Packages&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Cross-distribution compatibility&lt;/strong&gt; – Works on Ubuntu, Fedora, Arch, Debian, and more.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Automatic background updates&lt;/strong&gt; – Ensures apps are always up to date.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Sandboxed security&lt;/strong&gt; – Isolates apps from the rest of the system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Rollback support&lt;/strong&gt; – Easily revert to a previous version if needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unlike &lt;strong&gt;DEB&lt;/strong&gt; or &lt;strong&gt;RPM&lt;/strong&gt; packages, Snaps do not rely on system-wide dependencies.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-snap-packages-work&quot;&gt;&lt;strong&gt;How Snap Packages Work&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Snap packages are managed by &lt;strong&gt;Snapd&lt;/strong&gt;, a background service that:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Handles &lt;strong&gt;installation and updates&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Manages &lt;strong&gt;sandboxed execution&lt;/strong&gt; of Snap applications.&lt;/li&gt;
  &lt;li&gt;Provides &lt;strong&gt;consistent versioning&lt;/strong&gt; across distributions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Snaps use a &lt;strong&gt;SquashFS image&lt;/strong&gt;, which is mounted when executed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-snap-packages&quot;&gt;&lt;strong&gt;Using Snap Packages&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;If &lt;strong&gt;Snapd&lt;/strong&gt; is installed on your system, you can manage Snaps with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;snap&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;install-a-snap-package&quot;&gt;&lt;strong&gt;Install a Snap package:&lt;/strong&gt;&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &amp;lt;package-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;example---install-spotify&quot;&gt;&lt;strong&gt;Example - Install Spotify:&lt;/strong&gt;&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;spotify
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;list-installed-snaps&quot;&gt;&lt;strong&gt;List installed Snaps:&lt;/strong&gt;&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;update-all-snaps&quot;&gt;&lt;strong&gt;Update all Snaps:&lt;/strong&gt;&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap refresh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;remove-a-snap&quot;&gt;&lt;strong&gt;Remove a Snap:&lt;/strong&gt;&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap remove &amp;lt;package-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;snap-vs-traditional-package-managers&quot;&gt;&lt;strong&gt;Snap vs. Traditional Package Managers&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages-of-snap-packages&quot;&gt;&lt;strong&gt;Advantages of Snap Packages:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Universal compatibility – Works across multiple distributions.&lt;/li&gt;
  &lt;li&gt;Self-contained dependencies – No more missing libraries.&lt;/li&gt;
  &lt;li&gt;Automatic updates – Ensures software stays up to date.&lt;/li&gt;
  &lt;li&gt;Sandboxed security – Reduces system-wide vulnerabilities.&lt;/li&gt;
  &lt;li&gt;Rollback capability – Easily revert to a previous version.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages-of-traditional-packages-aptyum&quot;&gt;&lt;strong&gt;Advantages of Traditional Packages (APT/YUM):&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Better performance – Runs more efficiently as it uses system-wide dependencies.&lt;/li&gt;
  &lt;li&gt;Lower disk usage – No duplicate dependencies, reducing storage overhead.&lt;/li&gt;
  &lt;li&gt;More control over updates – Users decide when and how to update.&lt;/li&gt;
  &lt;li&gt;Works offline – Traditional packages don’t rely on Canonical’s Snap Store.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;disadvantages-of-snap-packages&quot;&gt;&lt;strong&gt;Disadvantages of Snap Packages:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Slower startup times – Due to sandboxing and bundling dependencies.&lt;/li&gt;
  &lt;li&gt;Higher disk usage – Each Snap includes its own dependencies.&lt;/li&gt;
  &lt;li&gt;Centralized distribution – All Snaps come from Canonical’s Snap Store, limiting flexibility.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;disadvantages-of-traditional-packages&quot;&gt;&lt;strong&gt;Disadvantages of Traditional Packages:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Dependency conflicts – Some software requires specific versions of libraries.&lt;/li&gt;
  &lt;li&gt;Distro-specific – Packages must be tailored for each distribution.&lt;/li&gt;
  &lt;li&gt;Manual updates required – Software updates depend on system upgrades.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-criticisms-of-snap-packages&quot;&gt;&lt;strong&gt;Common Criticisms of Snap Packages&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;Some Linux distributions, like Linux Mint, have disabled Snapd by default due to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Performance overhead – Snap apps can take longer to start.&lt;/li&gt;
  &lt;li&gt;Storage bloat – Bundled dependencies increase disk usage.&lt;/li&gt;
  &lt;li&gt;Forced automatic updates – Less control over when software updates occur.&lt;/li&gt;
  &lt;li&gt;Centralized ecosystem – Unlike APT and YUM, which support multiple repositories, Snaps rely solely on Canonical’s Snap Store.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Snap packages bring a modern approach to software distribution, offering a hassle-free installation process, cross-distro compatibility, and improved security through sandboxing. However, traditional package managers still excel in performance, system integration, and user control over updates. While Snaps provide a compelling alternative for users who prioritize convenience and security, those who value efficiency and flexibility may prefer sticking with APT, YUM, or other traditional package formats. Ultimately, the choice between Snap and traditional package management depends on the specific needs of the user and the software environment they operate in.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Snap packages, please review this &lt;a href=&quot;https://snapcraft.io/&quot;&gt;Snapcraft&lt;/a&gt; webpage.&lt;/p&gt;
</description>
        <pubDate>Sat, 12 Apr 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_snap_packages/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_snap_packages/</guid>
        
        <category>terminal</category>
        
        <category>security</category>
        
        <category>packages</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Splunk Forwarder Connection to Splunk Server</title>
        <description>&lt;p&gt;Splunk is a powerful platform for collecting, indexing, and analyzing log data. A crucial component of Splunk’s architecture is the &lt;strong&gt;Splunk Universal Forwarder (UF)&lt;/strong&gt;, which is responsible for transmitting data from remote systems to a &lt;strong&gt;Splunk Indexer&lt;/strong&gt; (often referred to as the Splunk Server). Understanding how this connection works is key to ensuring efficient log collection and monitoring.&lt;/p&gt;

&lt;p&gt;In this post, we’ll explore this connection and how to maintain an effective connection between a splunk forwarder and a splunk server.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#how-the-splunk-forwarder-connects-to-the-splunk-server&quot; id=&quot;markdown-toc-how-the-splunk-forwarder-connects-to-the-splunk-server&quot;&gt;&lt;strong&gt;How the Splunk Forwarder Connects to the Splunk Server&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#communication-flow&quot; id=&quot;markdown-toc-communication-flow&quot;&gt;&lt;strong&gt;Communication Flow&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#key-features-of-the-connection&quot; id=&quot;markdown-toc-key-features-of-the-connection&quot;&gt;&lt;strong&gt;Key Features of the Connection&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-role-of-forwarders-in-splunk-architecture&quot; id=&quot;markdown-toc-understanding-the-role-of-forwarders-in-splunk-architecture&quot;&gt;&lt;strong&gt;Understanding the Role of Forwarders in Splunk Architecture&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#types-of-forwarders&quot; id=&quot;markdown-toc-types-of-forwarders&quot;&gt;&lt;strong&gt;Types of Forwarders&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#indexer-responsibilities&quot; id=&quot;markdown-toc-indexer-responsibilities&quot;&gt;&lt;strong&gt;Indexer Responsibilities&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#connection-protocols&quot; id=&quot;markdown-toc-connection-protocols&quot;&gt;&lt;strong&gt;Connection Protocols&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting-forwarder-to-server-connection-issues&quot; id=&quot;markdown-toc-troubleshooting-forwarder-to-server-connection-issues&quot;&gt;&lt;strong&gt;Troubleshooting Forwarder-to-Server Connection Issues&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#common-issues&quot; id=&quot;markdown-toc-common-issues&quot;&gt;&lt;strong&gt;Common Issues&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#key-troubleshooting-steps&quot; id=&quot;markdown-toc-key-troubleshooting-steps&quot;&gt;&lt;strong&gt;Key Troubleshooting Steps&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-the-splunk-forwarder-connects-to-the-splunk-server&quot;&gt;&lt;strong&gt;How the Splunk Forwarder Connects to the Splunk Server&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;The Splunk Universal Forwarder is designed to collect logs from various sources and securely send them to a centralized Splunk Indexer. This communication follows a structured process.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;communication-flow&quot;&gt;&lt;strong&gt;Communication Flow&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The Universal Forwarder collects log data from system files, applications, or events.&lt;/li&gt;
  &lt;li&gt;It transmits the collected data over &lt;strong&gt;TCP (default port 9997)&lt;/strong&gt; to the Splunk Indexer.&lt;/li&gt;
  &lt;li&gt;The Splunk Indexer receives the data, processes it, and makes it available for search and analysis.&lt;/li&gt;
  &lt;li&gt;The forwarder does not index data locally; it acts purely as a lightweight data transport mechanism.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features-of-the-connection&quot;&gt;&lt;strong&gt;Key Features of the Connection&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Efficient Data Transport:&lt;/strong&gt; The Universal Forwarder is optimized to send data in a bandwidth-efficient manner.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Secure Transmission:&lt;/strong&gt; Data can be encrypted using &lt;strong&gt;SSL/TLS&lt;/strong&gt; for secure communication.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Load Balancing:&lt;/strong&gt; Forwarders can distribute data across multiple indexers to ensure high availability.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Checkpointing and Reliability:&lt;/strong&gt; The forwarder keeps track of sent data to avoid duplicate logs or data loss.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-role-of-forwarders-in-splunk-architecture&quot;&gt;&lt;strong&gt;Understanding the Role of Forwarders in Splunk Architecture&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;types-of-forwarders&quot;&gt;&lt;strong&gt;Types of Forwarders&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Universal Forwarder (UF):&lt;/strong&gt; A lightweight agent designed purely for forwarding data.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Heavy Forwarder (HF):&lt;/strong&gt; Can preprocess and filter data before forwarding.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;indexer-responsibilities&quot;&gt;&lt;strong&gt;Indexer Responsibilities&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The Splunk Indexer ingests the forwarded data.&lt;/li&gt;
  &lt;li&gt;It processes and stores the logs based on defined indexing rules.&lt;/li&gt;
  &lt;li&gt;It makes the data available for searching via Splunk’s search processing language (SPL).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;connection-protocols&quot;&gt;&lt;strong&gt;Connection Protocols&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The Splunk Universal Forwarder typically uses &lt;strong&gt;TCP (port 9997)&lt;/strong&gt; for log transmission.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;SSL/TLS encryption&lt;/strong&gt; can be enabled for secure forwarding.&lt;/li&gt;
  &lt;li&gt;Data can be sent in &lt;strong&gt;compressed format&lt;/strong&gt; to optimize bandwidth usage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting-forwarder-to-server-connection-issues&quot;&gt;&lt;strong&gt;Troubleshooting Forwarder-to-Server Connection Issues&lt;/strong&gt;&lt;/h2&gt;
&lt;h3 id=&quot;common-issues&quot;&gt;&lt;strong&gt;Common Issues&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The forwarder is not able to send data to the indexer.&lt;/li&gt;
  &lt;li&gt;Data is delayed or missing.&lt;/li&gt;
  &lt;li&gt;The indexer is not recognizing the forwarder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-troubleshooting-steps&quot;&gt;&lt;strong&gt;Key Troubleshooting Steps&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Verify Network Connectivity:&lt;/strong&gt; Ensure the forwarder can reach the Splunk Indexer on port &lt;strong&gt;9997&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Check Forwarder Logs:&lt;/strong&gt; Review Splunk logs for errors (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;splunkd.log&lt;/code&gt;).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Validate Firewall Rules:&lt;/strong&gt; Ensure port &lt;strong&gt;9997&lt;/strong&gt; is open and accessible.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Check Splunk Web UI:&lt;/strong&gt; Navigate to &lt;strong&gt;Settings &amp;gt; Forwarder Management&lt;/strong&gt; to confirm active connections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;The Splunk Universal Forwarder plays a crucial role in data collection and transmission to the Splunk Indexer. By understanding its communication methods, key features, and potential troubleshooting areas, organizations can ensure efficient and reliable log forwarding. Proper network configuration, security settings, and monitoring are essential to maintaining a stable Splunk deployment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about splunk forwarders, please review this article from &lt;a href=&quot;https://www.splunk.com/en_us/blog/learn/splunk-universal-forwarder.html&quot;&gt;Splunk Blogs&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 05 Apr 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/splunk_forwarder_connection_splunk_server/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/splunk_forwarder_connection_splunk_server/</guid>
        
        <category>splunk</category>
        
        <category>server</category>
        
        <category>monitoring</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Broadcast Storms and How to Prevent Them</title>
        <description>&lt;p&gt;A &lt;strong&gt;broadcast storm&lt;/strong&gt; is a network condition where excessive broadcast traffic overwhelms the network, leading to degraded performance or even a complete network failure. This phenomenon occurs when broadcast packets are continuously forwarded in a loop, consuming available bandwidth and processing power on network devices.&lt;/p&gt;

&lt;p&gt;In this post, we’ll explore what causes broadcast storms, their impact, and how to prevent them.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-broadcast-storm&quot; id=&quot;markdown-toc-what-is-a-broadcast-storm&quot;&gt;&lt;strong&gt;What is a Broadcast Storm?&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#causes-of-a-broadcast-storm&quot; id=&quot;markdown-toc-causes-of-a-broadcast-storm&quot;&gt;&lt;strong&gt;Causes of a Broadcast Storm&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#effects-of-a-broadcast-storm&quot; id=&quot;markdown-toc-effects-of-a-broadcast-storm&quot;&gt;&lt;strong&gt;Effects of a Broadcast Storm&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-prevent-broadcast-storms&quot; id=&quot;markdown-toc-how-to-prevent-broadcast-storms&quot;&gt;&lt;strong&gt;How to Prevent Broadcast Storms&lt;/strong&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#implement-spanning-tree-protocol-stp&quot; id=&quot;markdown-toc-implement-spanning-tree-protocol-stp&quot;&gt;&lt;strong&gt;Implement Spanning Tree Protocol (STP)&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#configure-broadcast-storm-control&quot; id=&quot;markdown-toc-configure-broadcast-storm-control&quot;&gt;&lt;strong&gt;Configure Broadcast Storm Control&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#use-vlans-to-limit-broadcast-domains&quot; id=&quot;markdown-toc-use-vlans-to-limit-broadcast-domains&quot;&gt;&lt;strong&gt;Use VLANs to Limit Broadcast Domains&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#enable-loop-prevention-on-edge-ports&quot; id=&quot;markdown-toc-enable-loop-prevention-on-edge-ports&quot;&gt;&lt;strong&gt;Enable Loop Prevention on Edge Ports&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#monitor-and-detect-anomalous-traffic&quot; id=&quot;markdown-toc-monitor-and-detect-anomalous-traffic&quot;&gt;&lt;strong&gt;Monitor and Detect Anomalous Traffic&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#control-dhcp-and-arp-traffic&quot; id=&quot;markdown-toc-control-dhcp-and-arp-traffic&quot;&gt;&lt;strong&gt;Control DHCP and ARP Traffic&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#ensure-proper-network-design&quot; id=&quot;markdown-toc-ensure-proper-network-design&quot;&gt;&lt;strong&gt;Ensure Proper Network Design&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-broadcast-storm&quot;&gt;&lt;strong&gt;What is a Broadcast Storm?&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;A broadcast storm happens when broadcast traffic is repeatedly forwarded throughout a network, usually due to a &lt;strong&gt;loop&lt;/strong&gt; in the network topology. Since broadcasts are sent to all devices within a broadcast domain, a storm can quickly consume available bandwidth, CPU resources, and network stability.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;causes-of-a-broadcast-storm&quot;&gt;&lt;strong&gt;Causes of a Broadcast Storm&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Network Loops:&lt;/strong&gt; When redundant links exist between switches without proper loop prevention mechanisms (e.g., spanning tree protocol).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Misconfigured or Failing Network Devices:&lt;/strong&gt; A faulty network switch, bridge, or router can incorrectly forward broadcast packets.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Malicious or Misconfigured Hosts:&lt;/strong&gt; A compromised or misconfigured device may generate excessive broadcast packets.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DHCP or ARP Flooding:&lt;/strong&gt; Overwhelming network devices with excessive DHCP or ARP requests can contribute to broadcast storms.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Infected or Malfunctioning Systems:&lt;/strong&gt; A computer infected with malware can generate high levels of broadcast traffic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;effects-of-a-broadcast-storm&quot;&gt;&lt;strong&gt;Effects of a Broadcast Storm&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;High CPU Utilization on Network Devices:&lt;/strong&gt; Switches and routers struggle to process the excessive traffic.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Severe Network Congestion:&lt;/strong&gt; Available bandwidth is consumed, making it difficult for legitimate traffic to pass.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Increased Latency and Packet Loss:&lt;/strong&gt; Critical applications may experience timeouts and disconnections.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Network-wide Outages:&lt;/strong&gt; If left unchecked, a broadcast storm can take down an entire network segment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-prevent-broadcast-storms&quot;&gt;&lt;strong&gt;How to Prevent Broadcast Storms&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Preventing a broadcast storm requires a combination of proper network design, loop prevention mechanisms, and monitoring tools. Below are the key strategies:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;implement-spanning-tree-protocol-stp&quot;&gt;&lt;strong&gt;Implement Spanning Tree Protocol (STP)&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Spanning Tree Protocol (STP)&lt;/strong&gt; and its variants (RSTP, MSTP) prevent loops by dynamically blocking redundant paths in a switched network. Ensure STP is enabled on all managed switches.&lt;/p&gt;

&lt;h3 id=&quot;configure-broadcast-storm-control&quot;&gt;&lt;strong&gt;Configure Broadcast Storm Control&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Many modern switches include &lt;strong&gt;storm control&lt;/strong&gt; settings to limit broadcast traffic:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Set thresholds to restrict broadcast, multicast, or unknown unicast traffic.&lt;/li&gt;
  &lt;li&gt;Configure automatic shutdown of a port if excessive broadcast traffic is detected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-vlans-to-limit-broadcast-domains&quot;&gt;&lt;strong&gt;Use VLANs to Limit Broadcast Domains&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;By segmenting a network into &lt;strong&gt;smaller VLANs&lt;/strong&gt;, you reduce the size of each broadcast domain, preventing storms from impacting the entire network.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;enable-loop-prevention-on-edge-ports&quot;&gt;&lt;strong&gt;Enable Loop Prevention on Edge Ports&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;If using unmanaged switches or hosts connected to the network, enable &lt;strong&gt;BPDU Guard&lt;/strong&gt; and &lt;strong&gt;PortFast&lt;/strong&gt; on access ports to prevent accidental loops.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;monitor-and-detect-anomalous-traffic&quot;&gt;&lt;strong&gt;Monitor and Detect Anomalous Traffic&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Use network monitoring tools like:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;sFlow or NetFlow:&lt;/strong&gt; To analyze network traffic patterns.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;SNMP-based Monitoring:&lt;/strong&gt; To track bandwidth usage and identify unusual spikes.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Wireshark or Packet Capture Tools:&lt;/strong&gt; To investigate the source of excessive broadcast packets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;control-dhcp-and-arp-traffic&quot;&gt;&lt;strong&gt;Control DHCP and ARP Traffic&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Implement &lt;strong&gt;DHCP Snooping&lt;/strong&gt; to prevent rogue DHCP servers from flooding the network.&lt;/li&gt;
  &lt;li&gt;Use &lt;strong&gt;Dynamic ARP Inspection (DAI)&lt;/strong&gt; to block excessive ARP requests from misconfigured or malicious hosts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;ensure-proper-network-design&quot;&gt;&lt;strong&gt;Ensure Proper Network Design&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Avoid &lt;strong&gt;cascading unmanaged switches&lt;/strong&gt;, as they can form loops without STP.&lt;/li&gt;
  &lt;li&gt;Deploy &lt;strong&gt;redundant links&lt;/strong&gt; with proper failover mechanisms, ensuring that unused paths do not create loops.&lt;/li&gt;
  &lt;li&gt;Regularly review network topology and switch configurations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Broadcast storms can cripple a network, causing severe performance degradation and outages. Fortunately, implementing best practices such as &lt;strong&gt;Spanning Tree Protocol, VLAN segmentation, broadcast storm control, and proactive monitoring&lt;/strong&gt; can prevent these storms from occurring.&lt;/p&gt;

&lt;p&gt;By designing a network with proper safeguards and regularly monitoring traffic, you can ensure a &lt;strong&gt;stable, reliable, and efficient&lt;/strong&gt; network infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about broadcast storms, please review this amazing article from &lt;a href=&quot;https://www.pingplotter.com/wisdom/article/weathering-a-broadcast-storm/&quot;&gt;PingPlotter&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 29 Mar 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/broadcast_storm/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/broadcast_storm/</guid>
        
        <category>networking</category>
        
        <category>switching</category>
        
        <category>routing</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>OpenWRT on the TP-Link EAP615-Wall - A Powerful Upgrade for Advanced Networks</title>
        <description>&lt;p&gt;The TP-Link EAP615-Wall is a compact, Wi-Fi 6 wall-mounted access point designed for dense deployments and high-speed wireless performance. While the stock TP-Link firmware is functional, flashing OpenWRT on this device unlocks advanced features and customization options that can transform how you manage and optimize your network. Let’s dive into how OpenWRT performs on a device like the TP-Link EAP615-Wall and whether it’s the right fit for your network.&lt;/p&gt;

&lt;p&gt;In this review, we’ll explore the benefits and potential drawbacks of running OpenWRT on the EAP615-Wall and how it performs in real-world scenarios.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-consider-openwrt&quot; id=&quot;markdown-toc-why-consider-openwrt&quot;&gt;&lt;strong&gt;Why Consider OpenWRT?&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance-on-the-eap615-wall&quot; id=&quot;markdown-toc-performance-on-the-eap615-wall&quot;&gt;&lt;strong&gt;Performance on the EAP615-Wall&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#potential-drawbacks&quot; id=&quot;markdown-toc-potential-drawbacks&quot;&gt;&lt;strong&gt;Potential Drawbacks&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-consider-openwrt&quot;&gt;&lt;strong&gt;Why Consider OpenWRT?&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;The stock firmware on TP-Link access points works well for basic setups, but when you’re managing multiple VLANs, advanced security, and traffic optimization, OpenWRT opens up a world of possibilities:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Advanced Network Control:&lt;/strong&gt; OpenWRT gives you deep control over firewall rules, VLAN tagging, and interface assignments — perfect for keeping traffic local.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Enhanced Wireless Performance:&lt;/strong&gt; You can fine-tune power levels, channel selection, and bandwidth, which is crucial when managing 12 access points without any nearby Wi-Fi interference.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Flexibility with Packages:&lt;/strong&gt; OpenWRT supports a huge library of additional packages, so you can add advanced tools like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;luci-app-sqm&lt;/code&gt; for traffic shaping or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wpad-openssl&lt;/code&gt; for improved wireless security.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance-on-the-eap615-wall&quot;&gt;&lt;strong&gt;Performance on the EAP615-Wall&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;The EAP615-Wall is a compact and powerful Wi-Fi 6 access point, and OpenWRT takes full advantage of its hardware:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Stable Mesh Networking:&lt;/strong&gt; If you’re using mesh configurations, OpenWRT offers better support and stability for wireless backhaul.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VLAN Integration:&lt;/strong&gt; With your existing VLAN setup on pfSense, OpenWRT makes it easy to align those networks on your WAPs without interference or sync issues.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Improved Security:&lt;/strong&gt; You get faster updates and community-driven security patches — critical when running IoT devices like cameras.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;potential-drawbacks&quot;&gt;&lt;strong&gt;Potential Drawbacks&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;While OpenWRT brings a lot of power, it’s not without some challenges:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Steep Learning Curve:&lt;/strong&gt; If you’re not familiar with OpenWRT, the sheer number of options can feel overwhelming.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Manual Configuration:&lt;/strong&gt; Stock firmware often comes pre-optimized for the hardware. With OpenWRT, you’ll spend more time tweaking settings for optimal performance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compatibility:&lt;/strong&gt; Not every feature of the EAP615-Wall’s hardware may be fully supported yet, depending on the OpenWRT version.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Running OpenWRT on the TP-Link EAP615-Wall brings a level of control and performance that stock firmware simply can’t match. With advanced features like VLAN support, traffic shaping, and flexible package management, it’s an excellent choice for anyone managing a complex network or looking to optimize wireless performance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;That said, OpenWRT isn’t a plug-and-play solution. It requires careful setup and a willingness to dive into network configuration. But if you’re ready to take your network’s reliability, security, and performance to the next level, the combination of OpenWRT and the EAP615-Wall is a powerful and flexible solution worth considering. However, overall it is a good option and something that should be considered.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about OpenWRT, please review their &lt;a href=&quot;https://openwrt.org/docs/start&quot;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 22 Mar 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/openwrt_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/openwrt_review/</guid>
        
        <category>openwrt</category>
        
        <category>networking</category>
        
        <category>waps</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>How ACL Masks Let You Fine-Tune File Permissions in Linux</title>
        <description>&lt;p&gt;Are you using Access Control Lists (ACLs) but are confused about the concept of masks? You’re not alone. Let’s dive into this important concept by taking a look at what they are and how they interact with Linux file system permissions.&lt;/p&gt;

&lt;p&gt;This blog post will break down ACL masks and how they are important with Linux file system permissions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-are-acl-masks&quot; id=&quot;markdown-toc-what-are-acl-masks&quot;&gt;What Are ACL Masks?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#adding-a-user-to-acl-and-understanding-masks&quot; id=&quot;markdown-toc-adding-a-user-to-acl-and-understanding-masks&quot;&gt;Adding a User to ACL and Understanding Masks&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#adding-another-user-and-modifying-the-mask&quot; id=&quot;markdown-toc-adding-another-user-and-modifying-the-mask&quot;&gt;Adding Another User and Modifying the Mask&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#effective-permissions-and-mask-adjustment&quot; id=&quot;markdown-toc-effective-permissions-and-mask-adjustment&quot;&gt;Effective Permissions and Mask Adjustment&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#default-masks-for-directories&quot; id=&quot;markdown-toc-default-masks-for-directories&quot;&gt;Default Masks for Directories&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Are you using Access Control Lists (ACLs) but are confused about the concept of masks? You’re not alone. Let’s dive into this important concept by taking a look at what they are and how they interact with Linux file system permissions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-are-acl-masks&quot;&gt;What Are ACL Masks?&lt;/h2&gt;

&lt;p&gt;ACL masks ensure permissions interoperability with programs and utilities that aren’t ACL-aware.&lt;/p&gt;

&lt;p&gt;An ACL mask on a file or directory represents the maximum permissions allowed to any user or group object that isn’t the owning user, group, or “other” class. Essentially, it translates ACL entries into POSIX permissions for backward compatibility.&lt;/p&gt;

&lt;p&gt;Let’s examine a newly created file we’ll be working with: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;securedfile.txt&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;ls&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-l&lt;/span&gt; securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You’ll see something like this:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;-rw-r--r--&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;.&lt;/span&gt; 1 user group 0 Aug 23 12:34 securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notice the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dot (.)&lt;/code&gt; after the permissions. This indicates an &lt;strong&gt;SELinux context&lt;/strong&gt;, which is unrelated to ACLs or ACL masks.&lt;/p&gt;

&lt;p&gt;To check the ACL entries for the file, use:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;getfacl securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will output:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# file: securedfile.txt&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# owner: user&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# group: group&lt;/span&gt;
user::rw-
group::r--
other::r--
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is a “minimal ACL,” meaning there are no extended ACL entries.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;adding-a-user-to-acl-and-understanding-masks&quot;&gt;Adding a User to ACL and Understanding Masks&lt;/h2&gt;

&lt;p&gt;Let’s grant a user named manager read permissions:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; u:manager:r securedfile.txt
&lt;span class=&quot;nb&quot;&gt;ls&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-l&lt;/span&gt; securedfile.txt
getfacl securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You’ll now see a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+ sign&lt;/code&gt; in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ls -l&lt;/code&gt; output, indicating ACLs are present:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;-rw-r--r--&lt;/span&gt;+ 1 user group 0 Aug 23 12:34 securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getfacl&lt;/code&gt; output now includes:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;user::rw-
user:manager:r--
group::r--
mask::r--
other::r--
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mask::r--&lt;/code&gt;line represents the maximum permissions allowed to named users or groups.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;adding-another-user-and-modifying-the-mask&quot;&gt;Adding Another User and Modifying the Mask&lt;/h2&gt;

&lt;p&gt;Now, let’s add another user, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;developer&lt;/code&gt;, with read and write permissions:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; u:developer:rw securedfile.txt
getfacl securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This changes the ACL:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;user::rw-
user:manager:r--
user:developer:rw-
group::r--
mask::rw-
other::r--
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since we gave &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;developer&lt;/code&gt; write permissions, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mask&lt;/code&gt; updated to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rw-&lt;/code&gt;, allowing up to read and write for named ACL users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;effective-permissions-and-mask-adjustment&quot;&gt;Effective Permissions and Mask Adjustment&lt;/h2&gt;

&lt;p&gt;We can manually adjust the mask to restrict effective permissions. Let’s set the mask to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;r--&lt;/code&gt; (read-only):&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; m::r securedfile.txt
getfacl securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;developer&lt;/code&gt; entry shows:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;user:developer:rw- &lt;span class=&quot;c&quot;&gt;#effective:r--&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Even though &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;developer&lt;/code&gt; was granted &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rw-&lt;/code&gt;, the mask limits them to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;r--&lt;/code&gt;. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ls -l&lt;/code&gt; output reflects this by showing:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;-rw-r--r--&lt;/span&gt;+ 1 user group 0 Aug 23 12:34 securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To add a user while respecting the mask, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-n&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; u:williams:rwx securedfile.txt
getfacl securedfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The output will show:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;user:williams:rwx &lt;span class=&quot;c&quot;&gt;#effective:r--&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since the mask is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;r--&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;williams&lt;/code&gt; only gets read permissions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;default-masks-for-directories&quot;&gt;Default Masks for Directories&lt;/h2&gt;

&lt;p&gt;To apply default ACL masks for all new files in a directory:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mkdir &lt;/span&gt;secureddirectory
setfacl &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; m::rX secureddirectory/
getfacl secureddirectory/
&lt;span class=&quot;nb&quot;&gt;mkdir &lt;/span&gt;secureddirectory/securedsubdirectory/
getfacl secureddirectory/securedsubdirectory/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This ensures new files inherit the specified mask settings.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;ACL masks ensure ACL security while maintaining compatibility with non-ACL-aware applications. They help enforce permissions boundaries effectively, ensuring system consistency while providing fine-grained access control.
 &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Understanding and using ACL masks effectively allows you to manage file permissions with precision, ensuring both security and flexibility.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Linux ACLs, please review this &lt;a href=&quot;https://www.redhat.com/en/blog/linux-access-control-lists&quot;&gt;RedHat Blog&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 Mar 2025 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/linux_acl_masks/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/linux_acl_masks/</guid>
        
        <category>linux</category>
        
        <category>acls</category>
        
        <category>permissions</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>KEA vs ISC DHCP for pfSense Configuration - Which One to Choose?</title>
        <description>&lt;p&gt;When configuring &lt;strong&gt;pfSense&lt;/strong&gt; as a DHCP server, you have two primary options: &lt;strong&gt;ISC DHCP&lt;/strong&gt; (the traditional choice) and &lt;strong&gt;KEA DHCP&lt;/strong&gt; (a modern alternative). Both serve the same fundamental purpose—&lt;strong&gt;dynamic IP address assignment&lt;/strong&gt;—but they differ in architecture, features, and performance.&lt;/p&gt;

&lt;p&gt;This blog post compares &lt;strong&gt;KEA DHCP&lt;/strong&gt; and &lt;strong&gt;ISC DHCP&lt;/strong&gt; to help you decide which is best for your &lt;strong&gt;pfSense deployment&lt;/strong&gt;.
&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#isc-dhcp-the-traditional-workhorse&quot; id=&quot;markdown-toc-isc-dhcp-the-traditional-workhorse&quot;&gt;ISC DHCP: The Traditional Workhorse&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-of-isc-dhcp&quot; id=&quot;markdown-toc-pros-of-isc-dhcp&quot;&gt;Pros of ISC DHCP&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-of-isc-dhcp&quot; id=&quot;markdown-toc-cons-of-isc-dhcp&quot;&gt;Cons of ISC DHCP&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kea-dhcp-the-next-generation&quot; id=&quot;markdown-toc-kea-dhcp-the-next-generation&quot;&gt;KEA DHCP: The Next Generation&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-of-kea-dhcp&quot; id=&quot;markdown-toc-pros-of-kea-dhcp&quot;&gt;Pros of KEA DHCP&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-of-kea-dhcp&quot; id=&quot;markdown-toc-cons-of-kea-dhcp&quot;&gt;Cons of KEA DHCP&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#which-one-should-you-use&quot; id=&quot;markdown-toc-which-one-should-you-use&quot;&gt;Which One Should You Use?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#use-isc-dhcp-if&quot; id=&quot;markdown-toc-use-isc-dhcp-if&quot;&gt;Use ISC DHCP if:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#use-kea-dhcp-if&quot; id=&quot;markdown-toc-use-kea-dhcp-if&quot;&gt;Use KEA DHCP if:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;isc-dhcp-the-traditional-workhorse&quot;&gt;ISC DHCP: The Traditional Workhorse&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ISC DHCP&lt;/strong&gt; (Internet Systems Consortium DHCP) has been the &lt;strong&gt;default DHCP server&lt;/strong&gt; for pfSense for many years. It’s widely used and well-supported, but it has some limitations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros-of-isc-dhcp&quot;&gt;Pros of ISC DHCP&lt;/h3&gt;
&lt;p&gt;✔ &lt;strong&gt;Mature and Stable&lt;/strong&gt; – Decades of development and widespread adoption.&lt;br /&gt;
✔ &lt;strong&gt;Deep pfSense Integration&lt;/strong&gt; – Works seamlessly with &lt;strong&gt;pfSense’s web interface&lt;/strong&gt;.&lt;br /&gt;
✔ &lt;strong&gt;Supports DHCP Failover&lt;/strong&gt; – Can be set up for &lt;strong&gt;load balancing and redundancy&lt;/strong&gt;.&lt;br /&gt;
✔ &lt;strong&gt;Static Mappings &amp;amp; Custom Options&lt;/strong&gt; – Easily configure &lt;strong&gt;static leases, PXE boot, and option overrides&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-of-isc-dhcp&quot;&gt;Cons of ISC DHCP&lt;/h3&gt;
&lt;p&gt;❌ &lt;strong&gt;Single-Threaded&lt;/strong&gt; – Performance bottlenecks under heavy loads.&lt;br /&gt;
❌ &lt;strong&gt;Configuration Reloads Disrupt Service&lt;/strong&gt; – Any configuration change requires a &lt;strong&gt;restart&lt;/strong&gt;, momentarily dropping active leases.&lt;br /&gt;
❌ &lt;strong&gt;End of Life in Sight&lt;/strong&gt; – ISC is &lt;strong&gt;phasing out support&lt;/strong&gt; for ISC DHCP in favor of KEA DHCP.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kea-dhcp-the-next-generation&quot;&gt;KEA DHCP: The Next Generation&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;KEA DHCP&lt;/strong&gt; is the &lt;strong&gt;modern replacement&lt;/strong&gt; for ISC DHCP, offering a &lt;strong&gt;more scalable and flexible&lt;/strong&gt; solution. It is actively developed by the &lt;strong&gt;Internet Systems Consortium (ISC)&lt;/strong&gt; and is expected to fully replace ISC DHCP in the future.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros-of-kea-dhcp&quot;&gt;Pros of KEA DHCP&lt;/h3&gt;
&lt;p&gt;✔ &lt;strong&gt;Multi-Threaded Performance&lt;/strong&gt; – Handles &lt;strong&gt;higher loads&lt;/strong&gt; more efficiently.&lt;br /&gt;
✔ &lt;strong&gt;Live Configuration Changes&lt;/strong&gt; – No need to restart the service when modifying settings.&lt;br /&gt;
✔ &lt;strong&gt;Database Support&lt;/strong&gt; – Stores lease data in &lt;strong&gt;MySQL, PostgreSQL, or Cassandra&lt;/strong&gt;, making it easier to manage in large environments.&lt;br /&gt;
✔ &lt;strong&gt;High Availability via Hooks&lt;/strong&gt; – Supports &lt;strong&gt;customizable HA setups&lt;/strong&gt; beyond traditional failover.&lt;br /&gt;
✔ &lt;strong&gt;REST API for Automation&lt;/strong&gt; – Enables &lt;strong&gt;dynamic, API-driven DHCP configurations&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-of-kea-dhcp&quot;&gt;Cons of KEA DHCP&lt;/h3&gt;
&lt;p&gt;❌ &lt;strong&gt;Limited pfSense Integration&lt;/strong&gt; – As of now, &lt;strong&gt;pfSense does not fully support KEA DHCP&lt;/strong&gt; through the web UI.&lt;br /&gt;
❌ &lt;strong&gt;More Complex Configuration&lt;/strong&gt; – Requires &lt;strong&gt;JSON-based configurations&lt;/strong&gt; instead of traditional text files.&lt;br /&gt;
❌ &lt;strong&gt;Some Advanced Features Require Paid Hooks&lt;/strong&gt; – Features like &lt;strong&gt;failover and lease reservation hooks&lt;/strong&gt; require a &lt;strong&gt;support subscription&lt;/strong&gt; from ISC.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;which-one-should-you-use&quot;&gt;Which One Should You Use?&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-isc-dhcp-if&quot;&gt;Use ISC DHCP if:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;You want &lt;strong&gt;full pfSense web UI integration&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;You need &lt;strong&gt;simple DHCP management&lt;/strong&gt; with traditional features.&lt;/li&gt;
  &lt;li&gt;You rely on &lt;strong&gt;pfSense’s built-in failover and static mappings&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-kea-dhcp-if&quot;&gt;Use KEA DHCP if:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;You need &lt;strong&gt;higher performance&lt;/strong&gt; in large environments.&lt;/li&gt;
  &lt;li&gt;You prefer &lt;strong&gt;database-backed DHCP management&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;You require &lt;strong&gt;real-time configuration changes&lt;/strong&gt; without service interruptions.&lt;/li&gt;
  &lt;li&gt;You want &lt;strong&gt;API-based automation&lt;/strong&gt; for dynamic networks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most &lt;strong&gt;pfSense users&lt;/strong&gt;, &lt;strong&gt;ISC DHCP is still the best choice&lt;/strong&gt; due to &lt;strong&gt;ease of configuration and full web UI support&lt;/strong&gt;. However, as &lt;strong&gt;KEA DHCP matures&lt;/strong&gt;, it will likely become the &lt;strong&gt;default DHCP solution&lt;/strong&gt; for pfSense in the future.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;While &lt;strong&gt;ISC DHCP&lt;/strong&gt; remains the default choice for pfSense due to its simplicity and &lt;strong&gt;tight integration&lt;/strong&gt;, &lt;strong&gt;KEA DHCP&lt;/strong&gt; offers &lt;strong&gt;significant advantages&lt;/strong&gt; in performance, scalability, and automation. If you manage a &lt;strong&gt;large network&lt;/strong&gt; or require &lt;strong&gt;dynamic configurations&lt;/strong&gt;, KEA might be worth the extra setup effort.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;For now, &lt;strong&gt;pfSense users should stick with ISC DHCP&lt;/strong&gt;, but keep an eye on &lt;strong&gt;future updates&lt;/strong&gt; as KEA DHCP continues to gain support. Eventually, pfSense will likely transition fully to KEA DHCP as &lt;strong&gt;ISC DHCP reaches end-of-life&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this DHCP transition within pfSense, please review this &lt;a href=&quot;https://forum.netgate.com/topic/188430/switch-over-from-isc-dhcp-to-kea-dhcp&quot;&gt;netgate forum discussion&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 08 Mar 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/server/kea_vs_isc_dhcp_for_pfsense/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/server/kea_vs_isc_dhcp_for_pfsense/</guid>
        
        <category>server</category>
        
        <category>network</category>
        
        <category>firewall</category>
        
        <category>pfsense</category>
        
        
        <category>Server</category>
        
      </item>
    
      <item>
        <title>Setting Cygwin as the Default Shell for SSH on Windows Server</title>
        <description>&lt;p&gt;If you have &lt;strong&gt;Cygwin&lt;/strong&gt; installed on a Windows Server, you may want to use it as the &lt;strong&gt;default terminal&lt;/strong&gt; when connecting via SSH. By default, Windows may use &lt;strong&gt;OpenSSH&lt;/strong&gt;, but configuring Cygwin properly ensures a more UNIX-like environment for remote management.&lt;/p&gt;

&lt;p&gt;In this post, we will show you a step-by-step process to configure Cygwin as the default shell.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#configure-ssh-host-config-in-cygwin&quot; id=&quot;markdown-toc-configure-ssh-host-config-in-cygwin&quot;&gt;Configure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-host-config&lt;/code&gt; in Cygwin&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#follow-the-ssh-configuration-prompts&quot; id=&quot;markdown-toc-follow-the-ssh-configuration-prompts&quot;&gt;Follow the SSH Configuration Prompts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#manage-windows-services&quot; id=&quot;markdown-toc-manage-windows-services&quot;&gt;Manage Windows Services&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verification&quot; id=&quot;markdown-toc-final-verification&quot;&gt;Final Verification&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configure-ssh-host-config-in-cygwin&quot;&gt;Configure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-host-config&lt;/code&gt; in Cygwin&lt;/h2&gt;

&lt;p&gt;First, navigate to the Cygwin binaries directory and run the SSH host configuration command.&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /cygdrive/c/cygwin64/bin
ssh-host-config
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;follow-the-ssh-configuration-prompts&quot;&gt;Follow the SSH Configuration Prompts&lt;/h2&gt;
&lt;p&gt;During the configuration, you will be prompted with several options. Select the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Should privilege separation be used?
    &lt;ul&gt;
      &lt;li&gt;Yes&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Do you want to install sshd as a service?
    &lt;ul&gt;
      &lt;li&gt;Yes&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Enter the value of CYGWIN for the daemon: &lt;strong&gt;ntsec&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Press Enter (leaving it as the default)&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This will configure Cygwin’s OpenSSH daemon &lt;strong&gt;cygsshd&lt;/strong&gt; to run as a Windows service.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;manage-windows-services&quot;&gt;Manage Windows Services&lt;/h2&gt;
&lt;p&gt;Next, ensure that the correct SSH service is running.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the Windows Services Application &lt;strong&gt;services.msc&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Disable the OpenSSH SSH Server service (if installed).&lt;/li&gt;
  &lt;li&gt;Ensure that the Cygwin &lt;strong&gt;cygsshd&lt;/strong&gt; service is running.
    &lt;ul&gt;
      &lt;li&gt;This should have been automatically configured during the installation of the OpenSSH package in Cygwin.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verification&quot;&gt;Final Verification&lt;/h2&gt;
&lt;p&gt;Once these steps are completed, test SSH access to the server. When you connect, it should launch a Cygwin shell instead of the default Windows command prompt.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;By configuring Cygwin as the default shell for SSH, you create a &lt;strong&gt;more UNIX-like environment&lt;/strong&gt; on your Windows Server, making remote management easier and more consistent for users familiar with Linux-based systems. This setup ensures that &lt;strong&gt;Cygwin’s OpenSSH daemon &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cygsshd&lt;/code&gt;&lt;/strong&gt; handles incoming SSH connections instead of Windows’ built-in OpenSSH service, preventing conflicts and providing access to the full suite of Cygwin tools.&lt;/p&gt;

&lt;p&gt;With this configuration in place, administrators can leverage &lt;strong&gt;Cygwin’s shell, utilities, and scripting capabilities&lt;/strong&gt; seamlessly over SSH, improving workflow efficiency and compatibility with Linux-based automation. Always verify that the correct SSH service is running and periodically check for any service disruptions to maintain a smooth experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Cygwin, please review their official &lt;a href=&quot;https://www.cygwin.com/docs.html&quot;&gt;Cygwin Documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 01 Mar 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/setting_cygwin_default_shell/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/setting_cygwin_default_shell/</guid>
        
        <category>windows</category>
        
        <category>shell</category>
        
        <category>cygwin</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Troubleshooting VLAN and Interface Synchronization Issues in pfSense HA</title>
        <description>&lt;p&gt;While configuring &lt;strong&gt;High Availability (HA)&lt;/strong&gt; between two pfSense firewalls (&lt;strong&gt;jpcfw1&lt;/strong&gt; and &lt;strong&gt;jpcfw2&lt;/strong&gt;), we encountered a synchronization issue with the &lt;strong&gt;SERVER&lt;/strong&gt; interface and VLAN. If &lt;strong&gt;jpcfw1&lt;/strong&gt; were to go down, the SERVER interface would &lt;strong&gt;not function properly on jpcfw2&lt;/strong&gt;. The issue presented itself in the following ways:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;DHCP Server settings on jpcfw2 were being overwritten by jpcfw1&lt;/strong&gt;, effectively disabling the DHCP server on jpcfw2.&lt;/li&gt;
  &lt;li&gt;The &lt;strong&gt;SERVER VLAN and interface settings remained intact on jpcfw2&lt;/strong&gt;, but DHCP settings failed to synchronize.&lt;/li&gt;
  &lt;li&gt;Manual configuration of DHCP settings on jpcfw2 was not persisting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This indicated a deeper issue with interface assignments within pfSense HA. In this post, we will explore how to address a pfSense high availability configuration issue between two firewalls!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#root-cause&quot; id=&quot;markdown-toc-root-cause&quot;&gt;Root Cause&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#why-did-this-happen&quot; id=&quot;markdown-toc-why-did-this-happen&quot;&gt;Why Did This Happen?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#verifying-the-issue&quot; id=&quot;markdown-toc-verifying-the-issue&quot;&gt;Verifying the Issue&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#solution&quot; id=&quot;markdown-toc-solution&quot;&gt;Solution&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-by-step-fix&quot; id=&quot;markdown-toc-step-by-step-fix&quot;&gt;&lt;strong&gt;Step-by-Step Fix&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-verification&quot; id=&quot;markdown-toc-final-verification&quot;&gt;Final Verification&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;root-cause&quot;&gt;Root Cause&lt;/h2&gt;

&lt;p&gt;After further investigation, we discovered that the &lt;strong&gt;SERVER interface was being incorrectly assigned to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;opt1&lt;/code&gt; on jpcfw2&lt;/strong&gt;, rather than &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;opt6&lt;/code&gt; as intended. This mismatch caused &lt;strong&gt;interface conflicts&lt;/strong&gt;, preventing proper synchronization between jpcfw1 and jpcfw2.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;why-did-this-happen&quot;&gt;Why Did This Happen?&lt;/h3&gt;

&lt;p&gt;It is likely that &lt;strong&gt;jpcfw1 previously had an opt1 interface that was later removed&lt;/strong&gt;. However, because pfSense HA synchronizes certain configurations, &lt;strong&gt;jpcfw2 still attempted to mirror this missing opt1 assignment&lt;/strong&gt;, causing a conflict with the correct SERVER interface settings. Since jpcfw1 no longer had an opt1 interface, this mismatch prevented proper synchronization of DHCP and interface settings.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;verifying-the-issue&quot;&gt;Verifying the Issue&lt;/h3&gt;

&lt;p&gt;To confirm the issue, we navigated to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Status &amp;gt; Interfaces&lt;/strong&gt; on jpcfw2: It showed the &lt;strong&gt;SERVER&lt;/strong&gt; interface assigned to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;opt1&lt;/code&gt; instead of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;opt6&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Status &amp;gt; DHCP Leases&lt;/strong&gt; on jpcfw1: The &lt;strong&gt;failover state was incorrect&lt;/strong&gt;, further proving the misconfiguration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;

&lt;p&gt;Once the problem was identified, we implemented the following workaround to correctly assign the &lt;strong&gt;SERVER&lt;/strong&gt; interface to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;opt6&lt;/code&gt; on jpcfw2.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-by-step-fix&quot;&gt;&lt;strong&gt;Step-by-Step Fix&lt;/strong&gt;&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Remove Existing VLAN and Interface Assignment&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Navigate to &lt;strong&gt;Interfaces &amp;gt; Assignments &amp;gt; VLANs&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Delete the existing &lt;strong&gt;SERVER VLAN&lt;/strong&gt; and interface assignment on &lt;strong&gt;jpcfw2&lt;/strong&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Create a Temporary Interface&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Under &lt;strong&gt;Interfaces &amp;gt; Interface Assignments&lt;/strong&gt;, create a new temporary VLAN and interface named &lt;strong&gt;“TESTING”&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;pfSense automatically assigned this new interface to &lt;strong&gt;opt1&lt;/strong&gt;, confirming that it was reserving opt1 improperly.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Recreate the SERVER VLAN and Interface&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;After assigning “TESTING” to opt1, we then &lt;strong&gt;recreated the SERVER VLAN and interface&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;This time, pfSense &lt;strong&gt;correctly assigned the SERVER interface to opt6&lt;/strong&gt;, resolving the mismatch.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reconfigure Network Settings&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;After the correct interface was assigned, we reconfigured:
        &lt;ul&gt;
          &lt;li&gt;&lt;strong&gt;NAT settings&lt;/strong&gt;&lt;/li&gt;
          &lt;li&gt;&lt;strong&gt;Virtual IP addresses&lt;/strong&gt;&lt;/li&gt;
          &lt;li&gt;&lt;strong&gt;DHCP Server settings&lt;/strong&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;Ensured they aligned with &lt;strong&gt;jpcfw1&lt;/strong&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-verification&quot;&gt;Final Verification&lt;/h2&gt;

&lt;p&gt;To confirm the issue was resolved:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Navigated to &lt;strong&gt;Status &amp;gt; DHCP Leases&lt;/strong&gt; on jpcfw1.&lt;/li&gt;
  &lt;li&gt;Verified that all &lt;strong&gt;failover groups&lt;/strong&gt; appeared normal.&lt;/li&gt;
  &lt;li&gt;Tested HA failover by manually disabling jpcfw1 and ensuring &lt;strong&gt;SERVER&lt;/strong&gt; traffic switched over seamlessly to jpcfw2.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;This issue was likely caused by &lt;strong&gt;an old opt1 interface that was previously removed on jpcfw1&lt;/strong&gt;. While the change may have seemed minor, pfSense HA continued to recognize &lt;strong&gt;opt1&lt;/strong&gt; on jpcfw2, causing an interface mismatch that disrupted synchronization.&lt;/p&gt;

&lt;p&gt;By using a &lt;strong&gt;temporary VLAN assignment trick&lt;/strong&gt;, we were able to force pfSense to correctly map the &lt;strong&gt;SERVER interface to opt6&lt;/strong&gt;, resolving the problem. After reconfiguring DHCP and NAT settings, failover functionality was restored, ensuring that &lt;strong&gt;jpcfw2 could seamlessly take over in the event of a failure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This case highlights the importance of &lt;strong&gt;interface consistency across HA firewalls&lt;/strong&gt;. When making changes to a primary firewall, it’s crucial to verify that the backup firewall is correctly synchronized, especially when removing or reassigning interfaces. Future interface modifications should be planned carefully to avoid similar issues.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about pfsense configurations, please review their official &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/&quot;&gt;pfSense Documentation&lt;/a&gt; from Netgate Docs.&lt;/p&gt;
</description>
        <pubDate>Sat, 22 Feb 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/troubleshooting_highavailability_pfsense_issues/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/troubleshooting_highavailability_pfsense_issues/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>networking</category>
        
        <category>server</category>
        
        <category>pfsense</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring the ausearch Command in Linux</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; command is a powerful tool for querying and analyzing audit logs in Linux systems. It is part of the &lt;strong&gt;auditd&lt;/strong&gt; package, which provides a framework for auditing system activities. This command allows system administrators to extract meaningful information from audit logs based on a variety of search parameters. In this post, we will explore how to effectively use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; command for different types of audits and troubleshooting scenarios.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-ausearch&quot; id=&quot;markdown-toc-what-is-ausearch&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt;?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#commonly-used-ausearch-options&quot; id=&quot;markdown-toc-commonly-used-ausearch-options&quot;&gt;Commonly Used ausearch Options&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-by-time-range&quot; id=&quot;markdown-toc-searching-by-time-range&quot;&gt;Searching by Time Range&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-by-event-type&quot; id=&quot;markdown-toc-searching-by-event-type&quot;&gt;Searching by Event Type&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-by-uid&quot; id=&quot;markdown-toc-searching-by-uid&quot;&gt;Searching by UID&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-for-a-specific-file-or-directory&quot; id=&quot;markdown-toc-searching-for-a-specific-file-or-directory&quot;&gt;Searching for a Specific File or Directory&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-by-event-id&quot; id=&quot;markdown-toc-searching-by-event-id&quot;&gt;Searching by Event ID&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-by-process-id-pid&quot; id=&quot;markdown-toc-searching-by-process-id-pid&quot;&gt;Searching by Process ID (PID)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#combining-filters&quot; id=&quot;markdown-toc-combining-filters&quot;&gt;Combining Filters&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-use-cases&quot; id=&quot;markdown-toc-example-use-cases&quot;&gt;Example Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#investigating-unauthorized-access-attempts&quot; id=&quot;markdown-toc-investigating-unauthorized-access-attempts&quot;&gt;Investigating Unauthorized Access Attempts&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#tracking-a-specific-file-modification&quot; id=&quot;markdown-toc-tracking-a-specific-file-modification&quot;&gt;Tracking a Specific File Modification&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#troubleshooting-system-errors&quot; id=&quot;markdown-toc-troubleshooting-system-errors&quot;&gt;Troubleshooting System Errors&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-ausearch&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt;?&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; is used to search through the logs generated by the &lt;strong&gt;audit daemon (auditd)&lt;/strong&gt;. These logs contain detailed records of system events such as user logins, file accesses, and changes to system configurations. The audit logs are typically stored in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/audit/audit.log&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This tool is helpful in scenarios where you need to review specific activities on the system, track down security incidents, or troubleshoot system behavior.&lt;/p&gt;

&lt;h2 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h2&gt;

&lt;p&gt;The basic syntax of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; command is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Where &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[options]&lt;/code&gt; are the various flags or filters used to specify what data you want to query from the audit logs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;commonly-used-ausearch-options&quot;&gt;Commonly Used ausearch Options&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-by-time-range&quot;&gt;Searching by Time Range&lt;/h3&gt;
&lt;p&gt;If you want to search for audit events that occurred within a specific time range, you can use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-ts&lt;/code&gt; (start time) and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-te&lt;/code&gt; (end time) options. The times should be provided in the format &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;YYYY-MM-DD HH:MM:SS&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-ts&lt;/span&gt; 2025-01-01 00:00:00 &lt;span class=&quot;nt&quot;&gt;-te&lt;/span&gt; 2025-01-10 23:59:59
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command will return all events between January 1, 2025, and January 10, 2025.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-by-event-type&quot;&gt;Searching by Event Type&lt;/h3&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-m&lt;/code&gt; option allows you to search for specific types of events. Common event types include &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;USER_ACCT&lt;/code&gt; for user account actions, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SYSCALL&lt;/code&gt; for system calls, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EXECVE&lt;/code&gt; for executed programs.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; USER_ACCT
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will return all user account events, such as login attempts or changes in user privileges.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-by-uid&quot;&gt;Searching by UID&lt;/h3&gt;
&lt;p&gt;You can filter events by user ID (UID) using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-ui&lt;/code&gt; option. This is particularly useful if you’re investigating actions performed by a specific user.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-ui&lt;/span&gt; 1001
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command will display all audit logs associated with UID &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1001&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-for-a-specific-file-or-directory&quot;&gt;Searching for a Specific File or Directory&lt;/h3&gt;
&lt;p&gt;To investigate activity on a specific file or directory, you can use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-f&lt;/code&gt; option followed by the path of the file or directory.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /etc/passwd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will show all events related to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/passwd&lt;/code&gt; file, such as file accesses or modifications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-by-event-id&quot;&gt;Searching by Event ID&lt;/h3&gt;
&lt;p&gt;If you know the event ID (typically a numeric value assigned to each event), you can use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-e&lt;/code&gt; option to search for it directly.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-e&lt;/span&gt; 12345
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This searches for a specific event with the ID &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;12345&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-by-process-id-pid&quot;&gt;Searching by Process ID (PID)&lt;/h3&gt;
&lt;p&gt;You can search for events related to a specific process by using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-p&lt;/code&gt; option, followed by the process ID (PID).&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; 1234
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will return all audit logs associated with PID &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1234&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;combining-filters&quot;&gt;Combining Filters&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; allows you to combine multiple search parameters. For example, you can search for events related to a specific user and time range:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-ui&lt;/span&gt; 1001 &lt;span class=&quot;nt&quot;&gt;-ts&lt;/span&gt; 2025-01-01 &lt;span class=&quot;nt&quot;&gt;-te&lt;/span&gt; 2025-01-10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will display events for UID &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1001&lt;/code&gt; that occurred between January 1, 2025, and January 10, 2025.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-use-cases&quot;&gt;Example Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;investigating-unauthorized-access-attempts&quot;&gt;Investigating Unauthorized Access Attempts&lt;/h3&gt;

&lt;p&gt;Suppose you’re investigating unauthorized access attempts on your system. You can search for failed login attempts by using the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; USER_LOGIN &lt;span class=&quot;nt&quot;&gt;-sv&lt;/span&gt; no
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will return all failed login attempts, where -sv no indicates unsuccessful events.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;tracking-a-specific-file-modification&quot;&gt;Tracking a Specific File Modification&lt;/h3&gt;
&lt;p&gt;If you’re concerned about changes to critical system files, you can search for modifications to files like /etc/passwd or /etc/shadow:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /etc/passwd &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; PATH
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will show any events related to access or modifications of the /etc/passwd file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;troubleshooting-system-errors&quot;&gt;Troubleshooting System Errors&lt;/h3&gt;
&lt;p&gt;If you’re troubleshooting a system crash or error, you can use ausearch to look for syscall errors or resource access issues:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ausearch &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; SYSCALL &lt;span class=&quot;nt&quot;&gt;-ts&lt;/span&gt; 2025-01-01 &lt;span class=&quot;nt&quot;&gt;-te&lt;/span&gt; 2025-01-10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This query will help you identify system calls that might have caused the issue.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; command is a versatile tool for querying and analyzing audit logs in Linux. With its powerful filtering options, it enables system administrators to investigate security incidents, track system events, and troubleshoot problems effectively. Whether you are monitoring system activity or auditing specific user actions, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; is an invaluable tool for managing and maintaining system security.&lt;/p&gt;

&lt;p&gt;By combining &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ausearch&lt;/code&gt; with other audit tools, you can enhance your ability to detect suspicious activities and maintain a secure Linux environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about ausearch, please review this &lt;a href=&quot;https://linux.die.net/man/8/ausearch&quot;&gt;ausearch Man Page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 Feb 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/exploring_ausearch_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/exploring_ausearch_command/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        <category>auditlogs</category>
        
        <category>auditing</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Updating Firmware on Your Rexing Dash Cam</title>
        <description>&lt;p&gt;Keeping your Rexing Dash Cam firmware up to date is essential for ensuring optimal performance, compatibility, and access to the latest features. Below is a detailed guide on how to update the firmware on your Rexing Dash Cam.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-update-firmware&quot; id=&quot;markdown-toc-why-update-firmware&quot;&gt;Why Update Firmware?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#standard-firmware-update-steps&quot; id=&quot;markdown-toc-standard-firmware-update-steps&quot;&gt;Standard Firmware Update Steps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#troubleshooting-failed-updates&quot; id=&quot;markdown-toc-troubleshooting-failed-updates&quot;&gt;Troubleshooting Failed Updates&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#important-tips&quot; id=&quot;markdown-toc-important-tips&quot;&gt;Important Tips&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-update-firmware&quot;&gt;Why Update Firmware?&lt;/h2&gt;
&lt;p&gt;Firmware updates often include:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Bug fixes.&lt;/li&gt;
  &lt;li&gt;Improved functionality.&lt;/li&gt;
  &lt;li&gt;Support for new features and technologies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Following the steps below ensures your dash cam stays reliable and up to date.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;standard-firmware-update-steps&quot;&gt;Standard Firmware Update Steps&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Format the Memory Card on the Dash Cam&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Use the Format function on your dash cam to prepare the memory card.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Download Firmware from Rexing Support&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Remove the memory card from the dash cam and insert it into your computer.&lt;/li&gt;
      &lt;li&gt;Visit the Rexing firmware download page: &lt;a href=&quot;https://www.rexingusa.com/support/firmware-tool/&quot;&gt;Firmware Tool&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;Follow the on-page instructions to download the appropriate firmware file.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Extract and Move the Firmware File&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;The downloaded firmware will be in a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.zip&lt;/code&gt; format. Extract the file to access the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bin&lt;/code&gt; firmware file.&lt;/li&gt;
      &lt;li&gt;Copy the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bin&lt;/code&gt; file to the root directory of your memory card (do not place it inside any folders).&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Install the Firmware on the Dash Cam&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Insert the memory card back into the dash cam while it is powered off.&lt;/li&gt;
      &lt;li&gt;Connect the dash cam to power. The update process will start automatically, indicated by the status light (the screen will remain off).&lt;/li&gt;
      &lt;li&gt;Wait for up to one minute for the update to complete.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Post-Update Cleanup&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;After the update, format the memory card again using the dash cam’s Format function. This step clears the firmware file to prevent repeated installations.&lt;/li&gt;
      &lt;li&gt;Hold the Power button to turn off the dash cam.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;troubleshooting-failed-updates&quot;&gt;Troubleshooting Failed Updates&lt;/h2&gt;

&lt;p&gt;If the standard update process fails, follow these steps to ensure a successful firmware update:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Re-Download Firmware&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Use the &lt;a href=&quot;https://www.rexingusa.com/support/firmware-tool/&quot;&gt;Firmware Tool&lt;/a&gt; to download the latest firmware file directly to the memory card.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Perform a Manual Firmware Update&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Insert the memory card into the dash cam and connect it to power.&lt;/li&gt;
      &lt;li&gt;Perform the following button sequence:
        &lt;ul&gt;
          &lt;li&gt;Hold the Power button for 5 seconds.&lt;/li&gt;
          &lt;li&gt;Release the Power button for 5 seconds.&lt;/li&gt;
          &lt;li&gt;Hold the Power button for another 5 seconds, then release it.&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;Wait for 1 minute while the update completes.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Finalize the Update&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;After the update, format the memory card to remove the firmware file.&lt;/li&gt;
      &lt;li&gt;Reboot the dash cam by holding the Power button.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Your dash cam should now be updated and ready for use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;important-tips&quot;&gt;Important Tips&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Always use a high-quality Micro SD card for firmware updates.&lt;/li&gt;
  &lt;li&gt;Ensure your dash cam is connected to a stable power source during the update.&lt;/li&gt;
  &lt;li&gt;Do not remove the memory card or disconnect power during the update process.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By following this guide, you can ensure a smooth firmware update experience for your Rexing Dash Cam, maintaining its reliability and functionality for all your driving needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Regularly updating the firmware on your Rexing Dash Cam is a simple yet crucial step to maintaining its reliability and unlocking its full potential. By following this guide, you ensure your dash cam remains in top working condition, ready to capture important moments on the road with improved features and stability. With these steps, you’ll also minimize the risk of encountering issues during the update process, ensuring a hassle-free experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more help with Rexing support, contact them at their &lt;a href=&quot;https://www.rexingusa.com/support/contact-us/&quot;&gt;Contact Us&lt;/a&gt; page.&lt;/p&gt;
</description>
        <pubDate>Sat, 08 Feb 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/updating_rexing_dashcam/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/updating_rexing_dashcam/</guid>
        
        <category>dashcam</category>
        
        <category>rexing</category>
        
        <category>firmware</category>
        
        <category>update</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Exploring Nagios for IT Monitoring</title>
        <description>&lt;p&gt;Nagios is a robust, industry-standard open-source solution for monitoring networks, servers, and applications. Renowned for its flexibility and extensive plugin ecosystem, Nagios empowers IT teams to identify and resolve issues proactively, ensuring high availability and performance across infrastructure.&lt;/p&gt;

&lt;p&gt;This review delves into Nagios’s core features, benefits, and how it compares to modern monitoring solutions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;&lt;strong&gt;Advantages&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#challenges&quot; id=&quot;markdown-toc-challenges&quot;&gt;&lt;strong&gt;Challenges&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features&quot;&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Comprehensive Monitoring&lt;/strong&gt;&lt;br /&gt;
Nagios provides extensive monitoring capabilities, from hardware and operating systems to applications and network devices, catering to a wide range of IT environments.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Alert Management&lt;/strong&gt;&lt;br /&gt;
Its customizable alerting system ensures administrators receive timely notifications via email, SMS, or integrated third-party tools.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Plugin Ecosystem&lt;/strong&gt;&lt;br /&gt;
Nagios’s rich library of community-developed plugins allows users to expand its capabilities to monitor virtually any service or application.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Data Retention and Reporting&lt;/strong&gt;&lt;br /&gt;
Historical performance data helps IT teams analyze trends, plan capacity, and prevent future incidents.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Distributed Monitoring&lt;/strong&gt;&lt;br /&gt;
Through tools like Nagios Remote Plugin Executor (NRPE), it supports monitoring across multiple geographic locations.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages&quot;&gt;&lt;strong&gt;Advantages&lt;/strong&gt;&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Scalability:&lt;/strong&gt; Nagios can handle small to enterprise-level environments with ease due to its modular architecture.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Flexibility:&lt;/strong&gt; Its open-source foundation allows for extensive customization, tailored to specific organizational needs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Community Support:&lt;/strong&gt; A vibrant community contributes plugins, documentation, and troubleshooting assistance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost Efficiency:&lt;/strong&gt; The open-source version is free, making it accessible for budget-conscious organizations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;challenges&quot;&gt;&lt;strong&gt;Challenges&lt;/strong&gt;&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Steep Learning Curve&lt;/strong&gt;&lt;br /&gt;
Nagios requires significant manual configuration, which can be daunting for newcomers.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;User Interface Limitations&lt;/strong&gt;&lt;br /&gt;
The default interface in Nagios Core is functional but outdated compared to modern alternatives. Enhanced visual tools like Nagios XI can address this gap at a cost.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Reliance on Plugins&lt;/strong&gt;&lt;br /&gt;
While plugins are a strength, heavy dependence on them can complicate maintenance and updates.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-cases&quot;&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Small to Medium Enterprises (SMEs):&lt;/strong&gt; Nagios provides SMEs with a cost-effective solution to monitor critical infrastructure without significant financial investment.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Enterprise Deployments:&lt;/strong&gt; In large-scale environments, Nagios offers distributed monitoring capabilities, ensuring no part of the infrastructure is overlooked.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Custom Monitoring Needs:&lt;/strong&gt; Organizations with unique monitoring requirements benefit from the flexibility of creating or customizing plugins.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;conclusion&quot;&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Nagios remains a dependable and widely used monitoring solution, excelling in flexibility and extensibility. While it may require a higher initial investment of time for setup and configuration, the long-term benefits of a stable, scalable, and cost-effective monitoring tool make it a strong contender in IT operations.&lt;/p&gt;

&lt;p&gt;For organizations seeking a robust solution with extensive community support, Nagios is an excellent choice that continues to stand the test of time in the evolving world of IT infrastructure monitoring.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Nagios, please review the &lt;a href=&quot;https://support.nagios.com/kb/&quot;&gt;Nagios Support Knowledgebase&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 01 Feb 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/nagios_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/nagios_review/</guid>
        
        <category>nagios</category>
        
        <category>monitoring</category>
        
        <category>opensource</category>
        
        <category>networkmonitoring</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Understanding the Difference Between `apt` and `apt-get`</title>
        <description>&lt;p&gt;When managing software packages on Debian-based Linux distributions like Ubuntu, two commonly used commands are &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;. Both are part of the Advanced Packaging Tool (APT) suite and facilitate package management tasks such as installation, removal, and updates.&lt;/p&gt;

&lt;p&gt;However, many users wonder which command to use and how they differ. This blog post will delve into the distinctions between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;, their unique features, and when to use each.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview-of-apt-and-apt-get&quot; id=&quot;markdown-toc-overview-of-apt-and-apt-get&quot;&gt;Overview of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#apt-get&quot; id=&quot;markdown-toc-apt-get&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#apt&quot; id=&quot;markdown-toc-apt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-differences-between-apt-and-apt-get&quot; id=&quot;markdown-toc-key-differences-between-apt-and-apt-get&quot;&gt;Key Differences Between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-commands-apt-vs-apt-get&quot; id=&quot;markdown-toc-common-commands-apt-vs-apt-get&quot;&gt;Common Commands: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; vs &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-updating-package-lists&quot; id=&quot;markdown-toc-1-updating-package-lists&quot;&gt;1. &lt;strong&gt;Updating Package Lists&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-upgrading-installed-packages&quot; id=&quot;markdown-toc-2-upgrading-installed-packages&quot;&gt;2. &lt;strong&gt;Upgrading Installed Packages&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-full-upgrade-including-removals-and-replacements&quot; id=&quot;markdown-toc-3-full-upgrade-including-removals-and-replacements&quot;&gt;3. &lt;strong&gt;Full Upgrade (Including Removals and Replacements)&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-installing-a-package&quot; id=&quot;markdown-toc-4-installing-a-package&quot;&gt;4. &lt;strong&gt;Installing a Package&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-removing-unused-dependencies&quot; id=&quot;markdown-toc-5-removing-unused-dependencies&quot;&gt;5. &lt;strong&gt;Removing Unused Dependencies&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-to-use-apt-or-apt-get&quot; id=&quot;markdown-toc-when-to-use-apt-or-apt-get&quot;&gt;When to Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#use-apt-if&quot; id=&quot;markdown-toc-use-apt-if&quot;&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; If:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#use-apt-get-if&quot; id=&quot;markdown-toc-use-apt-get-if&quot;&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; If:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#recommendations&quot; id=&quot;markdown-toc-recommendations&quot;&gt;Recommendations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview-of-apt-and-apt-get&quot;&gt;Overview of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/h2&gt;

&lt;h3 id=&quot;apt-get&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;Introduced in Debian in 1998, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; is a command-line tool designed for advanced users and scripts. It provides powerful and granular control over package management tasks but lacks some usability features compared to newer tools.&lt;/p&gt;

&lt;h3 id=&quot;apt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;Introduced in Ubuntu 16.04, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; is a more user-friendly command-line interface built on top of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;. It combines the functionality of multiple commands (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-cache&lt;/code&gt;, etc.) and introduces improved output formatting and additional features, making it ideal for interactive use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-differences-between-apt-and-apt-get&quot;&gt;Key Differences Between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Feature&lt;/th&gt;
      &lt;th&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/th&gt;
      &lt;th&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Usability&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Basic, script-oriented&lt;/td&gt;
      &lt;td&gt;User-friendly, interactive&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Verbose and raw&lt;/td&gt;
      &lt;td&gt;Simplified and formatted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Combined Commands&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Requires separate commands&lt;/td&gt;
      &lt;td&gt;Unified commands for easier use&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Interactive Prompts&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;No (non-interactive by default)&lt;/td&gt;
      &lt;td&gt;Includes interactive prompts&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Default Features&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Granular control, no auto-remove&lt;/td&gt;
      &lt;td&gt;Includes auto-remove for dependencies&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-commands-apt-vs-apt-get&quot;&gt;Common Commands: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; vs &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/h2&gt;

&lt;p&gt;Here are some examples of how similar tasks are performed using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:&lt;/p&gt;

&lt;h3 id=&quot;1-updating-package-lists&quot;&gt;1. &lt;strong&gt;Updating Package Lists&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get update
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt update
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-upgrading-installed-packages&quot;&gt;2. &lt;strong&gt;Upgrading Installed Packages&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get upgrade
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt upgrade
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-full-upgrade-including-removals-and-replacements&quot;&gt;3. &lt;strong&gt;Full Upgrade (Including Removals and Replacements)&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get dist-upgrade
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt full-upgrade
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-installing-a-package&quot;&gt;4. &lt;strong&gt;Installing a Package&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &amp;lt;package-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &amp;lt;package-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-removing-unused-dependencies&quot;&gt;5. &lt;strong&gt;Removing Unused Dependencies&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get autoremove
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; (Included automatically during &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt remove&lt;/code&gt;):
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt autoremove
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-to-use-apt-or-apt-get&quot;&gt;When to Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;&lt;/h2&gt;

&lt;h3 id=&quot;use-apt-if&quot;&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; If:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;You are working interactively on a terminal.&lt;/li&gt;
  &lt;li&gt;You prefer clean and concise output.&lt;/li&gt;
  &lt;li&gt;You want an easier-to-use interface that combines multiple commands.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;use-apt-get-if&quot;&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; If:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;You are writing scripts or automation tasks where detailed control and stability are essential.&lt;/li&gt;
  &lt;li&gt;You need backward compatibility with older systems or tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommendations&quot;&gt;Recommendations&lt;/h2&gt;

&lt;p&gt;For most users managing packages interactively, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; is the recommended choice due to its simplicity and user-friendly features. However, for scripting and complex package management scenarios, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; remains a robust and reliable tool.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Both &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; are powerful tools for managing software packages on Debian-based systems. Understanding their differences and strengths helps you choose the right tool for your specific needs. While &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; is designed for convenience and modern workflows, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt; retains its relevance for advanced and automated tasks. By selecting the appropriate command, you can optimize your Linux package management experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apt-get&lt;/code&gt;, please review the &lt;a href=&quot;https://linux.die.net/man/8/apt&quot;&gt;apt&lt;/a&gt; and &lt;a href=&quot;https://linux.die.net/man/8/apt-get&quot;&gt;apt-get&lt;/a&gt; man pages.&lt;/p&gt;
</description>
        <pubDate>Sat, 25 Jan 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/apt_vs_aptget_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/apt_vs_aptget_command/</guid>
        
        <category>linux</category>
        
        <category>debian</category>
        
        <category>ubuntu</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the `virsh` Command in Virtualization Management</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; command is a powerful utility for managing virtual machines (VMs) in Linux-based environments, especially those using KVM (Kernel-based Virtual Machine). As part of the libvirt toolkit, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; provides a command-line interface to manage hypervisor hosts and their associated virtual machines.&lt;/p&gt;

&lt;p&gt;This blog will explore what the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; command is, its common use cases, and examples of how to use it effectively for virtualization management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-virsh&quot; id=&quot;markdown-toc-what-is-virsh&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-virsh&quot; id=&quot;markdown-toc-why-use-virsh&quot;&gt;Why Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#commonly-used-virsh-commands&quot; id=&quot;markdown-toc-commonly-used-virsh-commands&quot;&gt;Commonly Used &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; Commands&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-managing-virtual-machines&quot; id=&quot;markdown-toc-1-managing-virtual-machines&quot;&gt;1. Managing Virtual Machines&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-creating-and-managing-vm-configurations&quot; id=&quot;markdown-toc-2-creating-and-managing-vm-configurations&quot;&gt;2. Creating and Managing VM Configurations&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-accessing-vm-consoles&quot; id=&quot;markdown-toc-3-accessing-vm-consoles&quot;&gt;3. Accessing VM Consoles&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-managing-snapshots&quot; id=&quot;markdown-toc-4-managing-snapshots&quot;&gt;4. Managing Snapshots&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-managing-storage-and-networking&quot; id=&quot;markdown-toc-5-managing-storage-and-networking&quot;&gt;5. Managing Storage and Networking&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#practical-example-creating-and-starting-a-virtual-machine&quot; id=&quot;markdown-toc-practical-example-creating-and-starting-a-virtual-machine&quot;&gt;Practical Example: Creating and Starting a Virtual Machine&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#tips-for-using-virsh&quot; id=&quot;markdown-toc-tips-for-using-virsh&quot;&gt;Tips for Using virsh&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-virsh&quot;&gt;What is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;?&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; is a command-line tool that interacts with the libvirt virtualization API. It allows users to perform a wide range of tasks related to virtualization, such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Managing virtual machine lifecycle (start, stop, reboot, etc.)&lt;/li&gt;
  &lt;li&gt;Creating, modifying, and deleting VMs&lt;/li&gt;
  &lt;li&gt;Viewing VM and hypervisor details&lt;/li&gt;
  &lt;li&gt;Managing storage pools and networks&lt;/li&gt;
  &lt;li&gt;Accessing VM consoles&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unlike graphical tools, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; offers a lightweight, scriptable interface, making it an essential tool for system administrators who need to manage virtualized environments efficiently.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;why-use-virsh&quot;&gt;Why Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;?&lt;/h2&gt;

&lt;p&gt;There are several reasons why system administrators prefer &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Efficiency&lt;/strong&gt;&lt;br /&gt;
The command-line nature of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; makes it faster for managing multiple VMs compared to graphical tools.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Remote Management&lt;/strong&gt;&lt;br /&gt;
With &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt;, you can manage virtual environments remotely over SSH or other secure connections.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Automation&lt;/strong&gt;&lt;br /&gt;
Commands can be incorporated into scripts for automating routine tasks, such as scheduled backups or mass VM deployments.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Fine-Grained Control&lt;/strong&gt;&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; offers more detailed and precise controls over VMs, storage, and networking compared to many GUI tools.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;commonly-used-virsh-commands&quot;&gt;Commonly Used &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; Commands&lt;/h2&gt;

&lt;p&gt;Here are some of the most commonly used &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; commands, grouped by functionality:&lt;/p&gt;

&lt;h3 id=&quot;1-managing-virtual-machines&quot;&gt;1. Managing Virtual Machines&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Start a VM&lt;/strong&gt;:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh start &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Stop a VM&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh shutdown &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Reboot a VM&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh reboot &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Forcefully Power Off a VM&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh destroy &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;List Running VMs&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;List All VMs (Running and Stopped)&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh list &lt;span class=&quot;nt&quot;&gt;--all&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-creating-and-managing-vm-configurations&quot;&gt;2. Creating and Managing VM Configurations&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Define a VM from an XML file&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh define &amp;lt;file.xml&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Undefine a VM (Remove from libvirt)&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh undefine &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-accessing-vm-consoles&quot;&gt;3. Accessing VM Consoles&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Open a console session to a VM&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh console &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
    &lt;p&gt;&lt;em&gt;(Press Ctrl+] to exit the console.)&lt;/em&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-managing-snapshots&quot;&gt;4. Managing Snapshots&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Create a snapshot&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh snapshot-create-as &amp;lt;vm-name&amp;gt; &amp;lt;snapshot-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;List snapshot&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh snapshot-list &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Revert to a snapshot&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh snapshot-revert &amp;lt;vm-name&amp;gt; &amp;lt;snapshot-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-managing-storage-and-networking&quot;&gt;5. Managing Storage and Networking&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;List storage pools&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh pool-list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;List active networks&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;virsh net-list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;practical-example-creating-and-starting-a-virtual-machine&quot;&gt;Practical Example: Creating and Starting a Virtual Machine&lt;/h2&gt;

&lt;p&gt;Here’s a practical example of using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; to create and start a virtual machine:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Create a VM XML File&lt;/strong&gt;
Create an XML configuration file (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vm-config.xml&lt;/code&gt;) with details about the VM, such as CPU, memory, storage, and network.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Define the VM&lt;/strong&gt;
Use the following command to define the VM:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;  virsh define vm-config.xml
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Start the VM&lt;/strong&gt;
Start the VM with:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;  virsh start &amp;lt;vm-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Verify the VM is Running&lt;/strong&gt;
Check the status of the VM:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;  virsh list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
    &lt;p&gt;&lt;br /&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;tips-for-using-virsh&quot;&gt;Tips for Using virsh&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Use Tab Completion&lt;/strong&gt;
Many &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; commands support tab completion, which can save time and prevent errors.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Leverage Help&lt;/strong&gt;
Run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh help&lt;/code&gt; to view a list of available commands or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh help &amp;lt;command&amp;gt;&lt;/code&gt; for detailed usage information.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Monitor Resources&lt;/strong&gt;
Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh dominfo &amp;lt;vm-name&amp;gt;&lt;/code&gt; to monitor resource usage (e.g., memory, CPUs) for a specific VM.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Script Automation&lt;/strong&gt;
Combine &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; commands in shell scripts to automate repetitive tasks like starting multiple VMs.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; command is an invaluable tool for system administrators managing virtual environments. Its flexibility, efficiency, and support for scripting make it a cornerstone of KVM-based virtualization. Whether you’re starting out or managing complex virtualized environments, mastering &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; will greatly enhance your workflow.&lt;/p&gt;

&lt;p&gt;By understanding the common commands and best practices, you can confidently use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;virsh&lt;/code&gt; to manage virtual machines, storage, and networking with ease.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Virsh, please review this &lt;a href=&quot;https://linux.die.net/man/1/virsh&quot;&gt;Virsh Man Page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 18 Jan 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_virsh_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_virsh_command/</guid>
        
        <category>linux</category>
        
        <category>vm</category>
        
        <category>virtualization</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the Purpose of the Cygwin Cache</title>
        <description>&lt;p&gt;Cygwin is a powerful tool that provides a Unix-like environment and command-line interface for Windows, bridging compatibility between Linux applications and Windows OS. For Cygwin to function properly, it relies on a vast collection of libraries, packages, and utilities, which users download and install to customize their environment. The official Cygwin mirrors, such as &lt;a href=&quot;http://mirrors.xmission.com/cygwin/&quot;&gt;mirrors.xmission.com/cygwin/&lt;/a&gt;, host these packages and provide an easy way for users to download and update them.&lt;/p&gt;

&lt;p&gt;However, storing the Cygwin cache locally on a personal or organizational server can be a valuable optimization. This article will discuss what the Cygwin cache is, its purpose, and the advantages of maintaining a local copy on your own server. Additionally, we’ll show how you can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; to fetch these files from your local mirror.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-the-cygwin-cache&quot; id=&quot;markdown-toc-what-is-the-cygwin-cache&quot;&gt;What is the Cygwin Cache?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#purpose-of-the-cygwin-cache&quot; id=&quot;markdown-toc-purpose-of-the-cygwin-cache&quot;&gt;Purpose of the Cygwin Cache&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-store-the-cygwin-cache-locally-on-a-server&quot; id=&quot;markdown-toc-why-store-the-cygwin-cache-locally-on-a-server&quot;&gt;Why Store the Cygwin Cache Locally on a Server?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-network-efficiency-and-bandwidth-savings&quot; id=&quot;markdown-toc-1-network-efficiency-and-bandwidth-savings&quot;&gt;1. &lt;strong&gt;Network Efficiency and Bandwidth Savings&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-faster-updates-and-installation&quot; id=&quot;markdown-toc-2-faster-updates-and-installation&quot;&gt;2. &lt;strong&gt;Faster Updates and Installation&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-version-control&quot; id=&quot;markdown-toc-3-version-control&quot;&gt;3. &lt;strong&gt;Version Control&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-reduced-dependency-on-external-servers&quot; id=&quot;markdown-toc-4-reduced-dependency-on-external-servers&quot;&gt;4. &lt;strong&gt;Reduced Dependency on External Servers&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-curl-to-access-the-local-cygwin-cache&quot; id=&quot;markdown-toc-using-curl-to-access-the-local-cygwin-cache&quot;&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; to Access the Local Cygwin Cache&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-set-up-a-local-cygwin-cache-on-a-server&quot; id=&quot;markdown-toc-how-to-set-up-a-local-cygwin-cache-on-a-server&quot;&gt;How to Set Up a Local Cygwin Cache on a Server&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-the-cygwin-cache&quot;&gt;What is the Cygwin Cache?&lt;/h2&gt;

&lt;p&gt;The Cygwin cache typically refers to the downloaded packages, updates, and utilities that are stored temporarily or persistently after installation. This cache includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Packages:&lt;/strong&gt; Individual Cygwin packages required to install or update the system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Libraries:&lt;/strong&gt; Necessary libraries for running applications.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dependency Files:&lt;/strong&gt; Files ensuring proper version dependencies between applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whenever a user installs or updates Cygwin, it fetches these components from an official mirror like &lt;a href=&quot;http://mirrors.xmission.com/&quot;&gt;mirrors.xmission.com&lt;/a&gt;, and saves them in a local cache directory. By default, this directory is located under the Cygwin setup’s download location, often within &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;C:\cygwin\packages&lt;/code&gt; or a user-specified directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;purpose-of-the-cygwin-cache&quot;&gt;Purpose of the Cygwin Cache&lt;/h2&gt;

&lt;p&gt;The Cygwin cache serves a few primary purposes:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Installation Optimization:&lt;/strong&gt; Once a package is downloaded, it remains in the cache, allowing users to reinstall or repair without needing to re-download.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dependency Management:&lt;/strong&gt; The cache helps track dependencies between installed packages, ensuring no files are accidentally removed that could break the system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Offline Availability:&lt;/strong&gt; Caching packages locally is useful for installing or updating packages when internet access is restricted or unavailable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-store-the-cygwin-cache-locally-on-a-server&quot;&gt;Why Store the Cygwin Cache Locally on a Server?&lt;/h2&gt;

&lt;p&gt;For organizations or users managing multiple Cygwin installations, storing the cache locally on their own server can bring several advantages:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-network-efficiency-and-bandwidth-savings&quot;&gt;1. &lt;strong&gt;Network Efficiency and Bandwidth Savings&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;If an organization has multiple Windows machines using Cygwin, each installation typically pulls packages from an external mirror, consuming significant bandwidth and slowing down installations. By maintaining a local server cache, all devices can pull packages from this single source, which saves bandwidth and reduces dependency on external internet resources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-faster-updates-and-installation&quot;&gt;2. &lt;strong&gt;Faster Updates and Installation&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;A local cache allows for faster updates and installations since files are fetched over a local network connection. This can drastically improve installation times, especially for large or frequent updates, which is advantageous in time-sensitive environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-version-control&quot;&gt;3. &lt;strong&gt;Version Control&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Cygwin packages and libraries are frequently updated. Organizations may want to control which versions are installed across systems to ensure compatibility with internal applications. With a local cache, administrators can maintain specific versions and prevent unplanned upgrades by selecting when to synchronize with the public Cygwin mirror.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-reduced-dependency-on-external-servers&quot;&gt;4. &lt;strong&gt;Reduced Dependency on External Servers&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Relying on external mirrors like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mirrors.xmission.com&lt;/code&gt; can introduce a risk if the server becomes temporarily unavailable or if internet connectivity issues arise. A local cache provides resilience, allowing installations and updates to proceed even when external connections are slow or unreliable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-curl-to-access-the-local-cygwin-cache&quot;&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; to Access the Local Cygwin Cache&lt;/h2&gt;

&lt;p&gt;Once you have a local Cygwin cache, you can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; to download packages or updates directly from your server. This can be particularly useful for automated scripts or setups that need to fetch specific files or packages.&lt;/p&gt;

&lt;p&gt;For example, if your local Cygwin mirror is hosted at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http://your-server-ip/cygwin/&lt;/code&gt;, you can use the following &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; command to access a package:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;curl &lt;span class=&quot;nt&quot;&gt;-O&lt;/span&gt; http://your-server-ip/cygwin/path/to/package
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;This allows for quick access to specific packages or updates directly from your server, reducing the time it takes to fetch these files from an external mirror. Additionally, automating installations and updates with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; can help streamline workflows for system administrators managing multiple Cygwin installations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-set-up-a-local-cygwin-cache-on-a-server&quot;&gt;How to Set Up a Local Cygwin Cache on a Server&lt;/h2&gt;

&lt;p&gt;Setting up a local Cygwin mirror is straightforward. Here’s a quick outline:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a Mirror Directory on the Server:&lt;/strong&gt; On your server, create a directory to store the Cygwin packages, such as /var/www/html/cygwin.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Synchronize with an Official Cygwin Mirror:&lt;/strong&gt; Use tools like rsync to pull packages from an official mirror:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rsync &lt;span class=&quot;nt&quot;&gt;-avz&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--delete-after&lt;/span&gt; rsync://mirrors.xmission.com/cygwin/ /var/www/html/cygwin/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;You can set up a cron job to regularly update this mirror. This cron job runs a rsync every morning at 6:30.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;30 6 &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; rsync &lt;span class=&quot;nt&quot;&gt;-a&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--delete&lt;/span&gt; rsync://mirrors.xmission.com/cygwin/ /var/www/html/cygwin/ 2&amp;gt;&amp;amp;1 &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;As of November 2024, the cygwin cache is about ~105GB, so you may want to store the cache on an external location, unless you have plenty of space on your machine.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Point Cygwin Installers to the Local Mirror:&lt;/strong&gt; During installation, point the Cygwin installer to your local server’s mirror, e.g., http://your-server-ip/cygwin/. This ensures all downloads and updates come from the local cache.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The Cygwin cache on mirrors like mirrors.xmission.com is essential for enabling users to download, install, and update Cygwin. However, by setting up a local Cygwin cache, organizations can reduce bandwidth usage, control version management, ensure quick access, and minimize reliance on external networks. These benefits make a local Cygwin cache an efficient option for companies or individuals managing multiple Cygwin installations on Windows systems.&lt;/p&gt;

&lt;p&gt;In addition, using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;curl&lt;/code&gt; with a local cache can simplify the process of fetching specific packages, allowing for a more controlled and flexible environment tailored to meet specific network and version requirements.&lt;/p&gt;

&lt;p&gt;By investing in a locally stored Cygwin cache, organizations can streamline system management, simplify troubleshooting, and maintain greater control over their Unix-like Windows environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Cygwin, please review this &lt;a href=&quot;https://cygwin.com/cygwin-ug-net.html&quot;&gt;Cygwin User Guide&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 11 Jan 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/cygwin_cache_benefits/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/cygwin_cache_benefits/</guid>
        
        <category>linux</category>
        
        <category>windows</category>
        
        <category>terminal</category>
        
        <category>shell</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Netgear M4300-8X8F Switch Review</title>
        <description>&lt;p&gt;When managing high-performance networks, having the right switch is essential to ensure seamless operations. The &lt;strong&gt;NETGEAR M4300-8X8F&lt;/strong&gt; switch is one of the top choices for network administrators who require flexibility, scalability, and enterprise-level features. This Layer 3 switch offers a modular design with 8x 10G Ethernet copper ports and 8x 10G fiber ports, making it an excellent fit for a variety of network configurations, including data centers, server rooms, and high-performance workspaces.&lt;/p&gt;

&lt;p&gt;In this review, we’ll cover the essential features, performance, and potential use cases for the &lt;strong&gt;NETGEAR M4300-8X8F&lt;/strong&gt; switch, helping you decide if it’s the right fit for your network infrastructure needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-modular-and-stackable-design&quot; id=&quot;markdown-toc-1-modular-and-stackable-design&quot;&gt;1. &lt;strong&gt;Modular and Stackable Design&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-layer-3-routing-capabilities&quot; id=&quot;markdown-toc-2-layer-3-routing-capabilities&quot;&gt;2. &lt;strong&gt;Layer 3 Routing Capabilities&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-advanced-security-features&quot; id=&quot;markdown-toc-3-advanced-security-features&quot;&gt;3. &lt;strong&gt;Advanced Security Features&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-efficient-power-management&quot; id=&quot;markdown-toc-4-efficient-power-management&quot;&gt;4. &lt;strong&gt;Efficient Power Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-web-based-and-command-line-management&quot; id=&quot;markdown-toc-5-web-based-and-command-line-management&quot;&gt;5. &lt;strong&gt;Web-Based and Command-Line Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-high-speed-networking&quot; id=&quot;markdown-toc-1-high-speed-networking&quot;&gt;1. &lt;strong&gt;High-Speed Networking&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-low-latency&quot; id=&quot;markdown-toc-2-low-latency&quot;&gt;2. &lt;strong&gt;Low Latency&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-redundant-stacking-links&quot; id=&quot;markdown-toc-3-redundant-stacking-links&quot;&gt;3. &lt;strong&gt;Redundant Stacking Links&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-enterprise-data-centers&quot; id=&quot;markdown-toc-1-enterprise-data-centers&quot;&gt;1. &lt;strong&gt;Enterprise Data Centers&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-video-editing-and-media-production&quot; id=&quot;markdown-toc-2-video-editing-and-media-production&quot;&gt;2. &lt;strong&gt;Video Editing and Media Production&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-high-density-virtualized-networks&quot; id=&quot;markdown-toc-3-high-density-virtualized-networks&quot;&gt;3. &lt;strong&gt;High-Density Virtualized Networks&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pros-and-cons&quot; id=&quot;markdown-toc-pros-and-cons&quot;&gt;Pros and Cons&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-modular-and-stackable-design&quot;&gt;1. &lt;strong&gt;Modular and Stackable Design&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;M4300-8X8F&lt;/strong&gt; is part of NETGEAR’s &lt;strong&gt;Modular Managed Switch&lt;/strong&gt; series. It offers eight 10GBase-T copper ports and eight 10G SFP+ fiber ports, allowing for flexible setups depending on your environment. This modularity ensures that the switch can grow with your needs, whether you need high-speed copper connections or fiber optic links.&lt;/p&gt;

&lt;p&gt;Additionally, the switch can be stacked with other M4300 models, providing seamless scalability. This allows multiple switches to function as a single unit with a shared control plane, simplifying management while offering high performance across the stack.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-layer-3-routing-capabilities&quot;&gt;2. &lt;strong&gt;Layer 3 Routing Capabilities&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Unlike many switches in its class, the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; supports &lt;strong&gt;Layer 3 static routing&lt;/strong&gt; and &lt;strong&gt;dynamic routing protocols&lt;/strong&gt; like &lt;strong&gt;RIP, OSPF, and BGP&lt;/strong&gt;. This makes it ideal for complex network environments that require advanced traffic management between different network segments.&lt;/p&gt;

&lt;p&gt;The switch also supports &lt;strong&gt;VLAN routing&lt;/strong&gt;, enabling it to efficiently route traffic between virtual local area networks without requiring an additional Layer 3 device, such as a router.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-advanced-security-features&quot;&gt;3. &lt;strong&gt;Advanced Security Features&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Security is always a concern in enterprise environments, and the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; delivers with advanced security features, including:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Access Control Lists (ACLs)&lt;/strong&gt; for granular control over data flow.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;802.1X authentication&lt;/strong&gt; for network access control.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DHCP Snooping&lt;/strong&gt; and &lt;strong&gt;Dynamic ARP Inspection&lt;/strong&gt; to protect against spoofing attacks.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Port security&lt;/strong&gt; to limit and manage the devices connecting to the network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-efficient-power-management&quot;&gt;4. &lt;strong&gt;Efficient Power Management&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;With &lt;strong&gt;Energy Efficient Ethernet (EEE)&lt;/strong&gt; and support for &lt;strong&gt;IEEE 802.3az&lt;/strong&gt;, the switch reduces power consumption during low-traffic periods, making it more eco-friendly and cost-efficient.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;PoE+&lt;/strong&gt; (Power over Ethernet) functionality isn’t available on this specific model, but its efficient power management still makes it a great choice for high-performance environments where energy savings are a priority.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-web-based-and-command-line-management&quot;&gt;5. &lt;strong&gt;Web-Based and Command-Line Management&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;M4300-8X8F&lt;/strong&gt; offers both a &lt;strong&gt;web-based GUI&lt;/strong&gt; for easy setup and configuration and a &lt;strong&gt;command-line interface (CLI)&lt;/strong&gt; for more advanced users. This dual management style allows you to choose the level of control and customization you need, whether you prefer an intuitive graphical interface or need to run more complex commands.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-high-speed-networking&quot;&gt;1. &lt;strong&gt;High-Speed Networking&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;With 10G Ethernet support across both copper and fiber ports, the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; is designed to handle high-bandwidth workloads. Whether you’re setting up &lt;strong&gt;server farms&lt;/strong&gt;, &lt;strong&gt;media streaming platforms&lt;/strong&gt;, or &lt;strong&gt;enterprise-grade networks&lt;/strong&gt;, this switch provides reliable and fast data transmission with virtually no bottlenecks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-low-latency&quot;&gt;2. &lt;strong&gt;Low Latency&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The switch offers &lt;strong&gt;low-latency performance&lt;/strong&gt;, which is crucial for latency-sensitive applications such as video streaming, real-time data analytics, and voice over IP (VoIP). The switch’s ability to quickly process and forward packets makes it a suitable choice for environments where delay could affect productivity or user experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-redundant-stacking-links&quot;&gt;3. &lt;strong&gt;Redundant Stacking Links&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;With its &lt;strong&gt;hot-swappable&lt;/strong&gt; components and stacking capabilities, the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; ensures that your network remains up and running even if individual units fail. The switch’s redundant stacking links allow for fault tolerance, meaning that the network can continue operating without interruptions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-enterprise-data-centers&quot;&gt;1. &lt;strong&gt;Enterprise Data Centers&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;NETGEAR M4300-8X8F&lt;/strong&gt; is well-suited for &lt;strong&gt;enterprise data centers&lt;/strong&gt; that require high-speed connections between servers and storage devices. Its combination of 10G copper and fiber ports ensures that data transfers are fast and efficient, while the Layer 3 capabilities make it an excellent choice for managing traffic between different network segments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-video-editing-and-media-production&quot;&gt;2. &lt;strong&gt;Video Editing and Media Production&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;For environments like &lt;strong&gt;video editing suites&lt;/strong&gt; or &lt;strong&gt;media production studios&lt;/strong&gt; that handle massive amounts of data, this switch’s low latency and 10G connections ensure that large files can be moved quickly between storage devices and workstations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-high-density-virtualized-networks&quot;&gt;3. &lt;strong&gt;High-Density Virtualized Networks&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;In &lt;strong&gt;virtualized environments&lt;/strong&gt; where multiple virtual machines or containers are being run across different physical hosts, the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; can provide the high bandwidth and low latency necessary to keep these systems running smoothly, even under heavy load.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pros-and-cons&quot;&gt;Pros and Cons&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Modular and Stackable&lt;/strong&gt;: Easily expandable with other M4300 switches.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;10G Ethernet&lt;/strong&gt;: 8 copper and 8 fiber ports for high-speed connectivity.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Layer 3 Routing&lt;/strong&gt;: Supports static and dynamic routing protocols.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Advanced Security&lt;/strong&gt;: Features like ACLs, 802.1X, and DHCP Snooping protect the network.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Low Latency&lt;/strong&gt;: Excellent for latency-sensitive applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;No PoE+ Support&lt;/strong&gt;: This specific model does not provide Power over Ethernet.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost&lt;/strong&gt;: High-end features come at a premium price.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Requires Network Expertise&lt;/strong&gt;: While easy to set up, some features may require networking knowledge for full utilization.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;NETGEAR M4300-8X8F&lt;/strong&gt; switch is a powerhouse for high-performance networks, offering an ideal mix of &lt;strong&gt;flexibility&lt;/strong&gt;, &lt;strong&gt;scalability&lt;/strong&gt;, and &lt;strong&gt;advanced features&lt;/strong&gt;. With 10G copper and fiber support, Layer 3 routing, and stackable architecture, this switch is perfect for businesses or environments that need a robust network solution capable of handling large volumes of data with low latency.&lt;/p&gt;

&lt;p&gt;While the price point may be higher than basic models, the &lt;strong&gt;M4300-8X8F&lt;/strong&gt; is an investment in reliable and scalable infrastructure, especially for enterprises, data centers, or media-heavy environments. If you’re seeking top-tier network performance and flexibility, the &lt;strong&gt;NETGEAR M4300-8X8F&lt;/strong&gt; is definitely worth considering.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this &lt;strong&gt;NETGEAR M4300-8X8F Switch&lt;/strong&gt;, review this &lt;a href=&quot;https://www.downloads.netgear.com/files/GDC/datasheet/en/M4300.pdf?_ga=2.150119222.108718623.1729798757-547215747.1729220097&quot;&gt;data sheet&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 04 Jan 2025 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/netgear_m4300-8x8f_switch_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/netgear_m4300-8x8f_switch_review/</guid>
        
        <category>reviews</category>
        
        <category>networking</category>
        
        <category>switch</category>
        
        <category>netgear</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Netgear GS724TPP 24 Port POE Smart Ethernet Switch Review</title>
        <description>&lt;p&gt;When it comes to managing multiple devices in a business or home network, having a reliable switch is crucial. One device that stands out in the field of PoE (Power over Ethernet) switches is the &lt;strong&gt;NETGEAR GS724TPP 24 Port POE Smart Ethernet Switch&lt;/strong&gt;. This device is packed with features that cater to both advanced users and those looking for a plug-and-play experience, making it a popular choice for expanding network infrastructure efficiently.&lt;/p&gt;

&lt;p&gt;In this review, we’ll explore the features, performance, and potential use cases of the NETGEAR GS724TPP, a powerful 24-port POE switch!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-24-ports-with-poe-support&quot; id=&quot;markdown-toc-1-24-ports-with-poe-support&quot;&gt;1. &lt;strong&gt;24 Ports with POE+ Support&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-smart-managed-features&quot; id=&quot;markdown-toc-2-smart-managed-features&quot;&gt;2. &lt;strong&gt;Smart Managed Features&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-web-based-gui&quot; id=&quot;markdown-toc-3-web-based-gui&quot;&gt;3. &lt;strong&gt;Web-Based GUI&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-flexible-mounting-options&quot; id=&quot;markdown-toc-4-flexible-mounting-options&quot;&gt;4. &lt;strong&gt;Flexible Mounting Options&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-advanced-security-features&quot; id=&quot;markdown-toc-5-advanced-security-features&quot;&gt;5. &lt;strong&gt;Advanced Security Features&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-high-bandwidth&quot; id=&quot;markdown-toc-1-high-bandwidth&quot;&gt;1. &lt;strong&gt;High Bandwidth&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-poe-power-distribution&quot; id=&quot;markdown-toc-2-poe-power-distribution&quot;&gt;2. &lt;strong&gt;PoE Power Distribution&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-cooling-and-noise&quot; id=&quot;markdown-toc-3-cooling-and-noise&quot;&gt;3. &lt;strong&gt;Cooling and Noise&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-power-efficiency&quot; id=&quot;markdown-toc-4-power-efficiency&quot;&gt;4. &lt;strong&gt;Power Efficiency&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-small-to-medium-sized-business-networks&quot; id=&quot;markdown-toc-1-small-to-medium-sized-business-networks&quot;&gt;1. &lt;strong&gt;Small to Medium-Sized Business Networks&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-ip-camera-systems&quot; id=&quot;markdown-toc-2-ip-camera-systems&quot;&gt;2. &lt;strong&gt;IP Camera Systems&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-wireless-access-point-expansion&quot; id=&quot;markdown-toc-3-wireless-access-point-expansion&quot;&gt;3. &lt;strong&gt;Wireless Access Point Expansion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pros-and-cons&quot; id=&quot;markdown-toc-pros-and-cons&quot;&gt;Pros and Cons&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-24-ports-with-poe-support&quot;&gt;1. &lt;strong&gt;24 Ports with POE+ Support&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;GS724TPP&lt;/strong&gt; provides 24 Gigabit Ethernet ports, all supporting &lt;strong&gt;PoE+ (Power over Ethernet Plus)&lt;/strong&gt;. With a PoE budget of 380W, this switch is capable of powering devices like IP cameras, VoIP phones, and wireless access points directly through the Ethernet cable, eliminating the need for additional power sources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-smart-managed-features&quot;&gt;2. &lt;strong&gt;Smart Managed Features&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;This switch falls under the category of &lt;strong&gt;smart managed&lt;/strong&gt; switches. It offers a balance between fully managed and unmanaged switches, providing essential network management capabilities like &lt;strong&gt;VLAN&lt;/strong&gt; support, &lt;strong&gt;Quality of Service (QoS)&lt;/strong&gt;, &lt;strong&gt;Link Aggregation&lt;/strong&gt;, and &lt;strong&gt;Access Control Lists (ACLs)&lt;/strong&gt; while remaining user-friendly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-web-based-gui&quot;&gt;3. &lt;strong&gt;Web-Based GUI&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The switch’s configuration is done through a simple &lt;strong&gt;web-based graphical user interface (GUI)&lt;/strong&gt;, making it easy to set up even if you don’t have extensive networking knowledge. For more advanced users, there are multiple layers of customization available.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-flexible-mounting-options&quot;&gt;4. &lt;strong&gt;Flexible Mounting Options&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;GS724TPP&lt;/strong&gt; is a 1U rackmount switch, perfect for businesses or tech enthusiasts who already have rack setups. However, it can also be used on a desktop if needed, offering flexibility in deployment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-advanced-security-features&quot;&gt;5. &lt;strong&gt;Advanced Security Features&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Security is a top priority, and this switch offers a variety of features to protect your network, such as:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Port security&lt;/strong&gt; to control unauthorized access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;802.1X authentication&lt;/strong&gt; to ensure only authenticated users access the network.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DHCP Snooping&lt;/strong&gt; to prevent unauthorized DHCP servers from offering IP addresses to clients.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;performance&quot;&gt;Performance&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-high-bandwidth&quot;&gt;1. &lt;strong&gt;High Bandwidth&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The GS724TPP supports &lt;strong&gt;Gigabit Ethernet&lt;/strong&gt; across all 24 ports, delivering high-speed data transfer rates of up to &lt;strong&gt;1000 Mbps&lt;/strong&gt;. Whether you’re using this for high-definition IP cameras, VoIP systems, or large data transfers, this switch can handle the load.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-poe-power-distribution&quot;&gt;2. &lt;strong&gt;PoE Power Distribution&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;With a &lt;strong&gt;380W PoE budget&lt;/strong&gt;, the switch can comfortably support multiple high-powered devices, such as &lt;strong&gt;PTZ IP cameras&lt;/strong&gt; or &lt;strong&gt;wireless access points&lt;/strong&gt;, without risk of overloading. Additionally, the switch automatically allocates power based on the device’s need, optimizing energy consumption.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-cooling-and-noise&quot;&gt;3. &lt;strong&gt;Cooling and Noise&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Though the switch features internal fans for cooling, they operate quietly under typical workloads. This makes it suitable for office environments where noise can be a concern.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-power-efficiency&quot;&gt;4. &lt;strong&gt;Power Efficiency&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;NETGEAR has built-in energy-efficient features, including &lt;strong&gt;auto power-down on unused ports&lt;/strong&gt;, helping reduce electricity consumption, making it an eco-friendly option.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-small-to-medium-sized-business-networks&quot;&gt;1. &lt;strong&gt;Small to Medium-Sized Business Networks&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The NETGEAR GS724TPP is ideal for &lt;strong&gt;small to medium-sized businesses&lt;/strong&gt; looking to expand their network capacity while providing power to PoE-enabled devices. Its balance of cost, performance, and advanced features make it a top choice for these environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-ip-camera-systems&quot;&gt;2. &lt;strong&gt;IP Camera Systems&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;With PoE+ support and a robust PoE budget, this switch is perfect for security systems. You can power up to 24 IP cameras over Ethernet, simplifying installation and reducing clutter.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-wireless-access-point-expansion&quot;&gt;3. &lt;strong&gt;Wireless Access Point Expansion&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;If you’re looking to improve your wireless network with multiple access points, the GS724TPP can power and manage these devices without the need for separate power sources.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pros-and-cons&quot;&gt;Pros and Cons&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;24 PoE+ Ports&lt;/strong&gt;: Provides power and data via Ethernet to 24 devices.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Smart Managed Features&lt;/strong&gt;: A great mix of ease-of-use and advanced control options.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;High PoE Budget&lt;/strong&gt;: The 380W PoE budget ensures power-hungry devices can be supported.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Quiet Operation&lt;/strong&gt;: Even with fans, the switch operates quietly, making it suitable for office use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;No Full CLI Support&lt;/strong&gt;: Lacks the advanced configuration options of fully managed switches.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Limited Layer 3 Capabilities&lt;/strong&gt;: This switch is more suitable for Layer 2 environments; it doesn’t have the advanced routing features of higher-end switches.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;NETGEAR GS724TPP 24 Port POE Smart Ethernet Switch&lt;/strong&gt; strikes a great balance between features, performance, and cost. With 24 Gigabit Ethernet ports, PoE+ support, and smart management features, this switch is versatile enough to handle a variety of network setups, from small businesses to home networks needing more power for PoE devices.&lt;/p&gt;

&lt;p&gt;If you’re looking for an affordable, high-performance switch that can power multiple devices while offering basic network management capabilities, the GS724TPP is an excellent choice. Its reliability, ease of use, and robust feature set make it a great investment for anyone looking to expand their network infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this &lt;strong&gt;NETGEAR GS724TPP 24 Port POE Smart Ethernet Switch&lt;/strong&gt;, review this &lt;a href=&quot;https://www.downloads.netgear.com/files/GDC/GS724TP/enus_ds_gs724tp_gs748tp_business_22may07.pdf&quot;&gt;data sheet&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 28 Dec 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/netgear_gs724tpp_switch_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/netgear_gs724tpp_switch_review/</guid>
        
        <category>reviews</category>
        
        <category>networking</category>
        
        <category>switch</category>
        
        <category>netgear</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>How to Generate Random Secure Passwords with OpenSSL</title>
        <description>&lt;p&gt;When it comes to security, one of the most critical tasks is generating strong, unpredictable passwords. If you’re working on a Linux system, particularly Red Hat Enterprise Linux (RHEL) 9, OpenSSL provides a simple yet powerful way to create secure passwords. In this post, we’ll focus on the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt;, which is a straightforward method to generate random, Base64-encoded passwords.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-command-openssl-rand--base64-16&quot; id=&quot;markdown-toc-understanding-the-command-openssl-rand--base64-16&quot;&gt;Understanding the Command: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-output&quot; id=&quot;markdown-toc-example-output&quot;&gt;Example Output&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-base64-encoding&quot; id=&quot;markdown-toc-why-use-base64-encoding&quot;&gt;Why Use Base64 Encoding?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-compact-yet-complex&quot; id=&quot;markdown-toc-1-compact-yet-complex&quot;&gt;1. Compact Yet Complex&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-safe-for-transmission&quot; id=&quot;markdown-toc-2-safe-for-transmission&quot;&gt;2. Safe for Transmission&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-security&quot; id=&quot;markdown-toc-3-security&quot;&gt;3. Security&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-it-works-byte-length-and-output-size&quot; id=&quot;markdown-toc-how-it-works-byte-length-and-output-size&quot;&gt;How It Works: Byte Length and Output Size&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-16-bytes&quot; id=&quot;markdown-toc-why-16-bytes&quot;&gt;Why 16 Bytes?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#practical-use-cases&quot; id=&quot;markdown-toc-practical-use-cases&quot;&gt;Practical Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-usage-in-scripts&quot; id=&quot;markdown-toc-example-usage-in-scripts&quot;&gt;Example Usage in Scripts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#strength-and-limitations&quot; id=&quot;markdown-toc-strength-and-limitations&quot;&gt;Strength and Limitations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-command-openssl-rand--base64-16&quot;&gt;Understanding the Command: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt;&lt;/h2&gt;

&lt;p&gt;Let’s break down the command step by step:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;openssl rand &lt;span class=&quot;nt&quot;&gt;-base64&lt;/span&gt; 16
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl&lt;/code&gt;: This invokes the OpenSSL toolkit, a widely-used open-source library that provides a variety of cryptographic functions.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rand&lt;/code&gt;: This subcommand tells OpenSSL to generate a random number or byte sequence.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-base64&lt;/code&gt;: This option encodes the output using the Base64 encoding scheme. Base64 is a way of representing binary data as ASCII text, using a set of 64 characters. It includes letters (both uppercase and lowercase), digits, and two special characters (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/&lt;/code&gt;), making it compact and readable.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;16&lt;/code&gt;: This specifies the number of bytes of random data to generate. Since Base64 encoding expands the data, the output will contain around 22 characters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-output&quot;&gt;Example Output&lt;/h2&gt;
&lt;p&gt;Running this command on your terminal will yield an output similar to the following:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;oP6c7wWGiR5PxB9eHQO97A&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This string consists of 22 characters, which are randomly selected from the Base64 character set. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;==&lt;/code&gt; at the end is part of the Base64 padding, ensuring that the length is a multiple of 4 characters.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-base64-encoding&quot;&gt;Why Use Base64 Encoding?&lt;/h2&gt;
&lt;p&gt;The choice of Base64 encoding in this command is intentional. Here’s why:&lt;/p&gt;

&lt;h3 id=&quot;1-compact-yet-complex&quot;&gt;1. Compact Yet Complex&lt;/h3&gt;
&lt;p&gt;Base64 encoding takes binary data and represents it using a readable set of 64 characters (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;A-Z&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;a-z&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;0-9&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/&lt;/code&gt;). This means the generated password is compact, but still complex enough to include a wide variety of characters.&lt;/p&gt;

&lt;h3 id=&quot;2-safe-for-transmission&quot;&gt;2. Safe for Transmission&lt;/h3&gt;
&lt;p&gt;Many systems — including URLs, APIs, and configuration files — may have restrictions on the types of characters they accept. Base64 is commonly used because it is text-based and contains only printable ASCII characters, making it safer for transmission in these contexts.&lt;/p&gt;

&lt;h3 id=&quot;3-security&quot;&gt;3. Security&lt;/h3&gt;
&lt;p&gt;The randomness of the generated password depends on OpenSSL’s cryptographically secure pseudo-random number generator (CSPRNG). The output of the command is highly unpredictable, providing 128 bits of entropy for the 16 bytes of random data. This level of entropy is considered secure for most password and cryptographic key needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-it-works-byte-length-and-output-size&quot;&gt;How It Works: Byte Length and Output Size&lt;/h2&gt;
&lt;p&gt;When you specify &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;16&lt;/code&gt; bytes with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt;, you’re telling OpenSSL to generate 16 random bytes. However, Base64 encoding inflates the output slightly. The Base64 encoding process expands the random data by about 33%, so a 16-byte input will result in roughly 22 characters in the output.&lt;/p&gt;

&lt;p&gt;To illustrate:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Input size: 16 bytes (128 bits)&lt;/li&gt;
  &lt;li&gt;Output size: 22 Base64 characters (including any padding, like =)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-16-bytes&quot;&gt;Why 16 Bytes?&lt;/h2&gt;
&lt;p&gt;Sixteen bytes is often considered a good balance between password length and security. It provides 128 bits of entropy, which is sufficient for most secure applications, including password generation. If needed, you can increase this length for stronger security by simply changing the byte size, but &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;16&lt;/code&gt; is a good starting point for most users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;practical-use-cases&quot;&gt;Practical Use Cases&lt;/h2&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt; command is highly versatile. Here are some scenarios where you might use it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Password generation:&lt;/strong&gt; Whether for local accounts, web applications, or configuration files, generating random, secure passwords is a core requirement of any security strategy.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;API keys:&lt;/strong&gt; Many services require secure API keys or tokens that need to be unpredictable and random.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Session identifiers:&lt;/strong&gt; For web applications, generating secure session tokens is critical for preventing attacks such as session hijacking.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-usage-in-scripts&quot;&gt;Example Usage in Scripts&lt;/h2&gt;
&lt;p&gt;You can easily incorporate this command into your scripts for automated password generation. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;PASSWORD&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;openssl rand &lt;span class=&quot;nt&quot;&gt;-base64&lt;/span&gt; 16&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Generated Password: &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PASSWORD&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will store the generated password in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PASSWORD&lt;/code&gt; variable, which can then be used in your script to set up user accounts, configure services, or store credentials.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;strength-and-limitations&quot;&gt;Strength and Limitations&lt;/h2&gt;
&lt;p&gt;The passwords generated by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt; are considered secure for most general purposes due to their high randomness and the use of a CSPRNG. However, it’s important to note that the inclusion of special characters like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;=&lt;/code&gt; might not be allowed in some systems or might require further encoding, depending on your use case.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;The command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl rand -base64 16&lt;/code&gt; offers a simple, effective way to generate secure, random passwords. By utilizing Base64 encoding, you get a compact and highly random password that can be safely used in a variety of contexts. Whether you’re managing servers, developing applications, or securing data, this command provides a reliable way to handle password generation without sacrificing security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openssl&lt;/code&gt;, review this &lt;a href=&quot;https://linux.die.net/man/1/openssl&quot;&gt;man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 21 Dec 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/generate_random_secure_passwords/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/generate_random_secure_passwords/</guid>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>password</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Microsoft Introduces New &quot;Windows App&quot; for Remote Desktop Access</title>
        <description>&lt;p&gt;Microsoft is set to enhance the remote desktop experience with the introduction of its new &lt;strong&gt;“Windows App”&lt;/strong&gt;, available for both Windows and Apple platforms. This secure remote tool allows users to access their Windows PCs from virtually any device, making it easier than ever to stay connected. This app can be downloaded from the Microsoft Store and has replaced the classic &lt;strong&gt;Microsoft Remote Desktop&lt;/strong&gt; application on macOS and iOS devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#user-notifications-and-concerns&quot; id=&quot;markdown-toc-user-notifications-and-concerns&quot;&gt;User Notifications and Concerns&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#functionality-across-platforms&quot; id=&quot;markdown-toc-functionality-across-platforms&quot;&gt;Functionality Across Platforms&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#new-features-and-optimizations&quot; id=&quot;markdown-toc-new-features-and-optimizations&quot;&gt;New Features and Optimizations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;user-notifications-and-concerns&quot;&gt;User Notifications and Concerns&lt;/h2&gt;

&lt;p&gt;Remote Desktop users on Mac have already received notifications regarding this rebranding through a new banner within the application. This banner indicates that an upcoming update will transition users from the classic remote client to the new Windows App. However, some Reddit users have voiced concerns over the app’s generic name, &lt;strong&gt;“Windows App,”&lt;/strong&gt; fearing it may hinder their ability to find help or support when needed. Users have expressed concerns about how they will search for solutions online or in community forums, given the app’s nondescript name.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;functionality-across-platforms&quot;&gt;Functionality Across Platforms&lt;/h2&gt;

&lt;p&gt;According to a recently published support page, the Windows App will offer varying levels of functionality across different platforms. Microsoft has confirmed that the app will be officially supported on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;macOS&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;iOS&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;iPadOS&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Web Browsers&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, certain features, such as dynamic resolution and multi-monitor support, will not be available on iOS devices. Additionally, users accessing the app through a web browser will miss out on many of the features that are available on computers or Apple smartphones. This inconsistency may impact user experience, especially for those who rely on specific functionalities in their remote work.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;new-features-and-optimizations&quot;&gt;New Features and Optimizations&lt;/h2&gt;

&lt;p&gt;On the &lt;a href=&quot;https://learn.microsoft.com/en-us/windows-app/get-started-connect-devices-desktops-apps?tabs=windows-avd%2Cwindows-w365%2Cwindows-devbox%2Cmacos-rds%2Cmacos-pc&amp;amp;pivots=azure-virtual-desktop&quot;&gt;Windows App&lt;/a&gt; support page for the Windows App, Microsoft has not elaborated on the reasons behind this unexpected rebranding. However, the new tool promises a host of features designed to improve user experience, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Multi-Monitor Support&lt;/strong&gt;: Seamlessly connect and use multiple displays, enhancing productivity for users who need more screen real estate.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Custom Display Resolutions&lt;/strong&gt;: Tailor the display settings to meet individual needs, allowing users to choose resolutions that fit their workflow.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dynamic Resolution Scaling&lt;/strong&gt;: Adjust the resolution in real-time based on the available bandwidth, ensuring smoother performance and reducing lag during remote sessions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Device Redirection&lt;/strong&gt;: Redirect audio and storage devices for enhanced functionality, allowing users to access local devices from their remote desktop.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Optimized for Microsoft Teams&lt;/strong&gt;: Improved integration for remote meetings and collaboration, providing a better experience for users relying on Teams for communication.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;As Microsoft rolls out the new Windows App for remote desktop access, users can expect a more flexible and feature-rich experience. While concerns about the app’s generic naming convention persist, the promise of new functionalities may ease the transition from the classic Remote Desktop application. Users are encouraged to explore its capabilities and provide feedback to help shape its future development. With the promise of improved functionality and user experience, the Windows App could redefine how we access our PCs remotely, making it an essential tool for modern work environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this new Microsoft &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Windows App&lt;/code&gt;, review this &lt;a href=&quot;https://learn.microsoft.com/en-us/windows-app/users&quot;&gt;this page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 14 Dec 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/microsofts_new_windows_app/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/microsofts_new_windows_app/</guid>
        
        <category>windows</category>
        
        <category>microsoft</category>
        
        <category>rdp</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Streamlining Remote Script Execution with SSH and Bash</title>
        <description>&lt;p&gt;In system administration, there are often situations where you need to execute scripts on remote machines. A common approach involves copying the script to the remote machine, then executing it. However, there’s a more streamlined way to do this without having to copy the script over first. This is where the power of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh&lt;/code&gt; and command redirection come into play.&lt;/p&gt;

&lt;p&gt;This guide will explain how the following command works to run a script on a remote machine without copying the script:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@remote_host &lt;span class=&quot;s1&quot;&gt;&apos;bash -s&apos;&lt;/span&gt; &amp;lt; /my/desired/directory/myscript.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#steps-for-ssh-key-authentication&quot; id=&quot;markdown-toc-steps-for-ssh-key-authentication&quot;&gt;Steps for SSH Key Authentication&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-command&quot; id=&quot;markdown-toc-understanding-the-command&quot;&gt;Understanding the Command&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#command-breakdown&quot; id=&quot;markdown-toc-command-breakdown&quot;&gt;Command Breakdown&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#what-happens-internally&quot; id=&quot;markdown-toc-what-happens-internally&quot;&gt;What Happens Internally?&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-this-method&quot; id=&quot;markdown-toc-why-use-this-method&quot;&gt;Why Use This Method?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-running-a-disk-check-remotely&quot; id=&quot;markdown-toc-example-running-a-disk-check-remotely&quot;&gt;Example: Running a Disk Check Remotely&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;For this method to work, passwordless SSH authentication should already be set up between your local machine and the remote host. If SSH key-based authentication isn’t configured, the command will still prompt for a password each time you run it, which could hinder automation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;steps-for-ssh-key-authentication&quot;&gt;Steps for SSH Key Authentication&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Generate SSH Keys:&lt;/strong&gt;
If you haven’t set up SSH keys, you can generate a key pair using the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-keygen &lt;span class=&quot;nt&quot;&gt;-t&lt;/span&gt; ecdsa &lt;span class=&quot;nt&quot;&gt;-b&lt;/span&gt; 384
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Copy the Public Key to the Remote Host:&lt;/strong&gt;
You can then copy the public key to the remote host:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-copy-id user@remote_host
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Test the Connection:&lt;/strong&gt;
Ensure that you can log in without a password by running:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@remote_host
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;If you authenticate without being prompted for a password, you’re all set.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-command&quot;&gt;Understanding the Command&lt;/h2&gt;

&lt;p&gt;Let’s break down the key components of the command and explain how they work:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;command-breakdown&quot;&gt;Command Breakdown&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@remote_host &lt;span class=&quot;s1&quot;&gt;&apos;bash -s&apos;&lt;/span&gt; &amp;lt; /my/desired/directory/myscript.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;ssh user@remote_host:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh&lt;/code&gt; command is used to establish a secure connection to a remote host.&lt;/li&gt;
  &lt;li&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;user&lt;/code&gt; with your remote username and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;remote_host&lt;/code&gt; with the hostname or IP address of the machine you’re targeting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;‘bash -s’:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;This part tells the remote machine to run a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; shell in a non-interactive mode (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-s&lt;/code&gt; flag).&lt;/li&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-s&lt;/code&gt; flag allows &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; to read from standard input, meaning it will receive the script content piped from the local machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&amp;lt; /my/desired/directory/myscript.sh:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;&lt;/code&gt; operator redirects the content of the script located on the local machine (in this case, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/my/desired/directory/myscript.sh&lt;/code&gt;) as input to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh&lt;/code&gt; command.&lt;/li&gt;
  &lt;li&gt;Essentially, it sends the script content over the SSH connection for execution on the remote machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-happens-internally&quot;&gt;What Happens Internally?&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The script &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;myscript.sh&lt;/code&gt; from your local machine is not copied to the remote machine.&lt;/li&gt;
  &lt;li&gt;Instead, it’s streamed over the SSH connection, where it’s immediately executed by the remote host’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; shell.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Think of it like this:&lt;/strong&gt; the local script’s content is passed as if it were typed directly into the terminal session on the remote machine.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-this-method&quot;&gt;Why Use This Method?&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;No Need to Transfer Files:&lt;/strong&gt;
There’s no need to use tools like scp to copy the script to the remote machine first. This saves time and avoids cluttering the remote system with temporary script files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick and Efficient:&lt;/strong&gt;
Ideal for running quick tasks or maintenance scripts on multiple remote machines without leaving any trace of the script behind.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Automation-Friendly:&lt;/strong&gt;
Since the script is executed directly from your local machine, you can easily integrate this method into larger automation workflows where you need to run scripts across multiple servers.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h2&gt;

&lt;p&gt;This command is particularly useful in the following scenarios:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Routine Maintenance:&lt;/strong&gt; Running simple scripts like updates or service restarts across many servers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ad-hoc Tasks:&lt;/strong&gt; Executing a one-off command on a remote system without the hassle of uploading the script.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Multi-server Management:&lt;/strong&gt; Ideal when managing a fleet of servers, allowing you to quickly execute commands on several systems in succession by changing the target host in your SSH command.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-running-a-disk-check-remotely&quot;&gt;Example: Running a Disk Check Remotely&lt;/h2&gt;

&lt;p&gt;Let’s say you have a script called check_disk.sh that checks for disk space usage, and you want to run it on a remote server.&lt;/p&gt;

&lt;p&gt;Your local script might look like this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;df&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-h&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To run this on the remote server &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;192.168.1.50&lt;/code&gt;, use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@192.168.1.50 &lt;span class=&quot;s1&quot;&gt;&apos;bash -s&apos;&lt;/span&gt; &amp;lt; /path/to/check_disk.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;check_disk.sh&lt;/code&gt; script is executed directly on the remote machine, and you’ll see the output of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;df -h&lt;/code&gt; command displayed in your local terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You may also run the below command to get the same results of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;df -h&lt;/code&gt;, however, this is just an example. This script can be much more in depth, and it will still execute successfully on the remote machine.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@192.168.1.50 &lt;span class=&quot;s1&quot;&gt;&apos;df -h&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh user@remote_host &apos;bash -s&apos; &amp;lt; /my/desired/directory/myscript.sh&lt;/code&gt; command is a simple but powerful tool for executing local scripts on remote systems without copying files. Whether you’re managing a handful of machines or a large infrastructure, this method can greatly simplify your workflow, saving you time and avoiding unnecessary file transfers.&lt;/p&gt;

&lt;p&gt;Remember, this approach relies on having SSH key-based authentication set up between the machines. Once that’s in place, you’re ready to efficiently manage remote systems with just a few commands!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; command, review this &lt;a href=&quot;https://linux.die.net/man/1/bash&quot;&gt;bash man page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 07 Dec 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/streamlining_remote_script_execution/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/streamlining_remote_script_execution/</guid>
        
        <category>linux</category>
        
        <category>ssh</category>
        
        <category>bash</category>
        
        <category>script</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Resolving ssh-keychain.dylib Code Signature Errors in macOS</title>
        <description>&lt;p&gt;When using SSH with a CAC (Common Access Card) on macOS, you might encounter an error related to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; during login. This issue often manifests as a long error message, but despite the error, you may still be able to log in. However, the constant appearance of the error message can be frustrating. The root cause is usually an invalid code signature on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;In this post, we’ll walk through a simple solution to resolve this code signature issue, ensuring a smoother experience when using your CAC for SSH authentication!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-problem&quot; id=&quot;markdown-toc-the-problem&quot;&gt;The Problem&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-solution-re-sign-the-ssh-keychaindylib-library&quot; id=&quot;markdown-toc-the-solution-re-sign-the-ssh-keychaindylib-library&quot;&gt;The Solution: Re-sign the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; Library&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-your-ssh-connection&quot; id=&quot;markdown-toc-test-your-ssh-connection&quot;&gt;Test Your SSH Connection:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-does-this-fix-work&quot; id=&quot;markdown-toc-why-does-this-fix-work&quot;&gt;Why Does This Fix Work?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-problem&quot;&gt;The Problem&lt;/h2&gt;

&lt;p&gt;When attempting to SSH into a remote server, you might see a message like this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh &lt;span class=&quot;nt&quot;&gt;-A&lt;/span&gt; HOSTNAME dlopen /usr/local/lib/ssh-keychain.dylib failed: dlopen&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;/usr/local/lib/ssh-keychain.dylib, 0x0002&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;: tried: &lt;span class=&quot;s1&quot;&gt;&apos;/usr/local/lib/ssh-keychain.dylib&apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;code signature invalid &lt;span class=&quot;k&quot;&gt;in&lt;/span&gt; &amp;lt;8978BDE8-8AE2-3EFE-833D-DC2C8781B6C4&amp;gt; &lt;span class=&quot;s1&quot;&gt;&apos;/usr/local/lib/ssh-keychain.dylib&apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;errno&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;sliceOffset&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x00018000, &lt;span class=&quot;nv&quot;&gt;codeBlobOffset&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x0001DFC0, &lt;span class=&quot;nv&quot;&gt;codeBlobSize&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x00004B40&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;, &lt;span class=&quot;s1&quot;&gt;&apos;/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/ssh-keychain.dylib&apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;no such file&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;, &lt;span class=&quot;s1&quot;&gt;&apos;/usr/local/lib/ssh-keychain.dylib&apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;code signature invalid &lt;span class=&quot;k&quot;&gt;in&lt;/span&gt; &amp;lt;8978BDE8-8AE2-3EFE-833D-DC2C8781B6C4&amp;gt; &lt;span class=&quot;s1&quot;&gt;&apos;/usr/local/lib/ssh-keychain.dylib&apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;errno&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;sliceOffset&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x00018000, &lt;span class=&quot;nv&quot;&gt;codeBlobOffset&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x0001DFC0, &lt;span class=&quot;nv&quot;&gt;codeBlobSize&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0x00004B40&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;This error occurs because macOS is trying to load the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; library, but its code signature is invalid. This usually happens after system upgrades or changes that impact third-party libraries.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-solution-re-sign-the-ssh-keychaindylib-library&quot;&gt;The Solution: Re-sign the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; Library&lt;/h2&gt;

&lt;p&gt;The simplest and most effective way to fix this error is by re-signing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; library using macOS’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;codesign&lt;/code&gt; tool. This will ensure the system can load the library without throwing an error.&lt;/p&gt;

&lt;p&gt;Here’s the command to re-sign the library:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;codesign &lt;span class=&quot;nt&quot;&gt;--force&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--deep&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--sign&lt;/span&gt; - /usr/local/lib/ssh-keychain.dylib
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command re-signs the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; library, ensuring macOS no longer rejects the file due to an invalid or missing signature.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-your-ssh-connection&quot;&gt;Test Your SSH Connection:&lt;/h2&gt;

&lt;p&gt;After re-signing the library, test your SSH connection again by using your CAC for authentication:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh &lt;span class=&quot;nt&quot;&gt;-A&lt;/span&gt; username@remote_server
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If the code signing process was successful, you should no longer see the long error message regarding the invalid &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; signature.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-does-this-fix-work&quot;&gt;Why Does This Fix Work?&lt;/h2&gt;
&lt;p&gt;macOS requires all code libraries to have a valid code signature. When a library like ssh-keychain.dylib has an invalid or missing signature, macOS refuses to load it, resulting in an error. The codesign tool allows you to re-sign libraries, verifying their integrity and allowing macOS to load them without issues.&lt;/p&gt;

&lt;p&gt;By using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--force&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--deep&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--sign -&lt;/code&gt; options, you are:&lt;/p&gt;

&lt;p&gt;Forcing the re-signing of the library (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--force&lt;/code&gt;).
Signing nested code if the library contains other bundles (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--deep&lt;/code&gt;).
Using a self-signed signature (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--sign -&lt;/code&gt;).
This ensures that the library will be accepted by macOS when SSH is trying to load it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;If you’re encountering the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dlopen /usr/local/lib/ssh-keychain.dylib&lt;/code&gt; failed error when SSH-ing into remote servers with your CAC, re-signing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keychain.dylib&lt;/code&gt; library is a quick and effective solution. This method prevents macOS from rejecting the library due to an invalid code signature, ensuring a smoother login experience without lengthy error messages.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Code Signatures&lt;/code&gt;, review this &lt;a href=&quot;https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html&quot;&gt;documentation archive&lt;/a&gt; from developer.apple.com.&lt;/p&gt;
</description>
        <pubDate>Sat, 30 Nov 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/resolving_sshkeychain_signature_errors/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/resolving_sshkeychain_signature_errors/</guid>
        
        <category>macos</category>
        
        <category>ssh</category>
        
        <category>cac</category>
        
        <category>troubleshooting</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Why Configuring KVStore in Splunk Properly is Important</title>
        <description>&lt;p&gt;In Splunk, data isn’t just stored in log files or indexed events—there’s also a more flexible, schema-less way to manage information known as &lt;strong&gt;KVStore&lt;/strong&gt;. Whether you’re running basic Splunk searches or operating advanced Splunk apps like ITSI or Enterprise Security, configuring KVStore properly is crucial for smooth operations. In this post, we will explore what KVStore is, why it’s so critical to Splunk, and how improper configuration can lead to disruptions in your environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-kvstore-in-splunk&quot; id=&quot;markdown-toc-what-is-kvstore-in-splunk&quot;&gt;What is KVStore in Splunk?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-is-kvstore-important&quot; id=&quot;markdown-toc-why-is-kvstore-important&quot;&gt;Why is KVStore Important?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#data-persistence&quot; id=&quot;markdown-toc-data-persistence&quot;&gt;Data Persistence&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#efficient-search&quot; id=&quot;markdown-toc-efficient-search&quot;&gt;Efficient Search&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#splunk-apps-dependency&quot; id=&quot;markdown-toc-splunk-apps-dependency&quot;&gt;Splunk Apps Dependency&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-impact-of-poor-kvstore-configuration&quot; id=&quot;markdown-toc-the-impact-of-poor-kvstore-configuration&quot;&gt;The Impact of Poor KVStore Configuration&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#example-error-kvstore-cant-communicate-because-port-8191-is-not-listening&quot; id=&quot;markdown-toc-example-error-kvstore-cant-communicate-because-port-8191-is-not-listening&quot;&gt;Example Error: “KVStore can’t communicate because port 8191 is not listening”&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-properly-configure-kvstore&quot; id=&quot;markdown-toc-how-to-properly-configure-kvstore&quot;&gt;How to Properly Configure KVStore&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-kvstore-in-splunk&quot;&gt;What is KVStore in Splunk?&lt;/h2&gt;

&lt;p&gt;KVStore (Key-Value Store) is a lightweight, NoSQL-style database built directly into Splunk. It is designed to store key-value pairs in a structured format without requiring a rigid schema. This makes it flexible for handling dynamic, unpredictable data that traditional databases may struggle with.&lt;/p&gt;

&lt;p&gt;KVStore is tightly integrated with the Splunk platform, enabling users to store, manage, and retrieve collections of records for a wide variety of tasks:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Data Enrichment&lt;/strong&gt;: KVStore allows users to store extra context or metadata that can be used to enrich events at search time. For example, user profiles, threat intelligence feeds, or asset inventories can be stored in KVStore, then dynamically retrieved to augment indexed events.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configuration Management&lt;/strong&gt;: Applications within Splunk can use KVStore to store and retrieve settings, metadata, and configuration data. This helps maintain consistent states across restarts and upgrades.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Lookups and Accelerations&lt;/strong&gt;: KVStore can be queried for quick lookups, helping to accelerate searches that would otherwise take longer if queried directly from indexed data.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Custom Dashboards and Apps&lt;/strong&gt;: Many Splunk apps, including popular solutions like ITSI (IT Service Intelligence) and Enterprise Security, rely on KVStore to persist data such as configurations, service states, and dashboard inputs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-is-kvstore-important&quot;&gt;Why is KVStore Important?&lt;/h2&gt;

&lt;p&gt;KVStore is essential for many operational and functional aspects of Splunk. Here are some key reasons why it’s important:&lt;/p&gt;

&lt;h3 id=&quot;data-persistence&quot;&gt;Data Persistence&lt;/h3&gt;

&lt;p&gt;Splunk operates as a real-time data processing platform, but many applications need to store data that persists across sessions. KVStore provides this persistence layer by retaining information between Splunk restarts. Without KVStore, dashboards, configurations, and lookups that rely on persistent data would be incomplete or non-functional.&lt;/p&gt;

&lt;h3 id=&quot;efficient-search&quot;&gt;Efficient Search&lt;/h3&gt;

&lt;p&gt;One of the core strengths of Splunk is its powerful search capabilities, and KVStore enhances this by allowing fast lookups for dynamic or frequently accessed data. Instead of repeatedly searching through large datasets, KVStore allows Splunk to quickly retrieve key-value pairs, significantly improving search performance. For example, if you’re running a search that requires joining event data with external contextual data, KVStore acts as a high-speed cache for efficient lookups.&lt;/p&gt;

&lt;h3 id=&quot;splunk-apps-dependency&quot;&gt;Splunk Apps Dependency&lt;/h3&gt;

&lt;p&gt;Many Splunk applications depend heavily on KVStore for their core functionality. Notable apps like &lt;strong&gt;Enterprise Security&lt;/strong&gt; and &lt;strong&gt;ITSI&lt;/strong&gt; store service configurations, dashboard inputs, and enriched data in KVStore. If KVStore is not configured properly or is down, these apps may not work correctly, leading to data loss or application failure. For example, ITSI uses KVStore to track real-time service health scores—if KVStore fails, the entire app’s monitoring capability could be impacted.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-impact-of-poor-kvstore-configuration&quot;&gt;The Impact of Poor KVStore Configuration&lt;/h2&gt;

&lt;p&gt;Although KVStore is a robust feature, improper configuration can lead to significant issues. A common issue is when the port used by KVStore (typically &lt;strong&gt;8191&lt;/strong&gt;) is blocked or not listening. This can result in communication breakdowns between the KVStore service and Splunk.&lt;/p&gt;

&lt;h3 id=&quot;example-error-kvstore-cant-communicate-because-port-8191-is-not-listening&quot;&gt;Example Error: “KVStore can’t communicate because port 8191 is not listening”&lt;/h3&gt;

&lt;p&gt;This error message typically indicates that the MongoDB instance powering KVStore is either not running or is being blocked by a firewall. Without access to port 8191, Splunk cannot communicate with the KVStore, leading to failed lookups, missing configurations, and malfunctioning apps.&lt;/p&gt;

&lt;p&gt;Here’s what can go wrong if KVStore isn’t functioning properly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Dashboards Fail to Load&lt;/strong&gt;: Dashboards that depend on KVStore-stored data, such as those in Splunk ITSI or custom apps, may fail to load or display incorrect information.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Search Performance Drops&lt;/strong&gt;: If KVStore is down, searches that rely on KVStore for fast lookups will take significantly longer as they will need to query slower external sources or search indexed data.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;App Errors&lt;/strong&gt;: Apps that depend on KVStore for configurations or state tracking may generate errors or stop working altogether. In severe cases, this can lead to loss of important data or misconfigurations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Data Loss&lt;/strong&gt;: Without KVStore running, persistent data that apps rely on will not be stored. For instance, in the case of Splunk Enterprise Security, threat lists or risk analysis data might not be available, affecting your security monitoring capabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-properly-configure-kvstore&quot;&gt;How to Properly Configure KVStore&lt;/h2&gt;

&lt;p&gt;To avoid issues, ensure that KVStore is properly configured and running. Here are key steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ensure Port 8191 is Open&lt;/strong&gt;: KVStore communicates over port &lt;strong&gt;8191&lt;/strong&gt;, so make sure your firewall or security policies allow traffic on this port. If you’re using a firewall like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; or &lt;strong&gt;pfSense&lt;/strong&gt;, confirm the rule for this port is open.&lt;/p&gt;

&lt;p&gt;Use the following command to check if the port is open and listening:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;netstat &lt;span class=&quot;nt&quot;&gt;-tuln&lt;/span&gt; | &lt;span class=&quot;nb&quot;&gt;grep &lt;/span&gt;8191
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Monitor KVStore Health&lt;/strong&gt;: Regularly check the health of the KVStore service using the following Splunk command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo&lt;/span&gt; /opt/splunk/bin/splunk show kvstore-status
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If KVStore is not running, restart the splunk service:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart splunk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Review Logs&lt;/strong&gt;: If KVStore is not working correctly, review the MongoDB logs located in the $SPLUNK_HOME/var/log/splunk/kvstore.log or whereever your logs are located for potential issues.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Backup KVStore Data&lt;/strong&gt;: To prevent data loss, ensure regular backups of KVStore. This is especially important if you’re using KVStore for critical operational data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;KVStore is an integral part of Splunk, offering data persistence, fast lookups, and supporting a wide range of apps. Misconfigurations or communication errors—such as a blocked port 8191—can cause serious disruptions to your Splunk environment. Ensuring KVStore is properly configured and monitored is essential for maintaining performance and preventing service interruptions.&lt;/p&gt;

&lt;p&gt;Whether you’re using it for configuration management, search accelerations, or supporting Splunk apps, a properly configured KVStore can save you time, resources, and headaches in the long run.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;KVStore&lt;/code&gt;, review this &lt;a href=&quot;https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/aboutkvstorecollections/&quot;&gt;official splunk document&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 23 Nov 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/configuring_kvstore_in_splunk/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/configuring_kvstore_in_splunk/</guid>
        
        <category>linux</category>
        
        <category>splunk</category>
        
        <category>logging</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding ACLs in Linux</title>
        <description>&lt;p&gt;In Linux, file permissions play a vital role in controlling access to files and directories. Traditional file permissions (read, write, execute) may not always provide the fine-grained access control you need, especially in shared environments. This is where Access Control Lists (ACLs) come in, allowing you to set more specific permissions for individual users or groups.&lt;/p&gt;

&lt;p&gt;Two important commands for managing ACLs are &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setfacl&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getfacl&lt;/code&gt;. This post outlines how to use these commands to better manage access permissions on your Linux system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-are-acls&quot; id=&quot;markdown-toc-what-are-acls&quot;&gt;What Are ACLs?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-setfacl&quot; id=&quot;markdown-toc-what-is-setfacl&quot;&gt;What is setfacl?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#syntax&quot; id=&quot;markdown-toc-syntax&quot;&gt;Syntax&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#common-options&quot; id=&quot;markdown-toc-common-options&quot;&gt;Common Options:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#examples-of-setfacl-usage&quot; id=&quot;markdown-toc-examples-of-setfacl-usage&quot;&gt;Examples of setfacl Usage:&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#1-granting-read-permission-to-a-specific-user&quot; id=&quot;markdown-toc-1-granting-read-permission-to-a-specific-user&quot;&gt;1. Granting Read Permission to a Specific User&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#2-granting-write-permission-to-a-group&quot; id=&quot;markdown-toc-2-granting-write-permission-to-a-group&quot;&gt;2. Granting Write Permission to a Group&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#3-removing-an-acl-entry&quot; id=&quot;markdown-toc-3-removing-an-acl-entry&quot;&gt;3. Removing an ACL Entry&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#4-setting-default-acls-on-a-directory&quot; id=&quot;markdown-toc-4-setting-default-acls-on-a-directory&quot;&gt;4. Setting Default ACLs on a Directory&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-getfacl&quot; id=&quot;markdown-toc-what-is-getfacl&quot;&gt;What is getfacl?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#syntax-1&quot; id=&quot;markdown-toc-syntax-1&quot;&gt;Syntax&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#common-options-1&quot; id=&quot;markdown-toc-common-options-1&quot;&gt;Common Options:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#examples-of-getfacl-usage&quot; id=&quot;markdown-toc-examples-of-getfacl-usage&quot;&gt;Examples of getfacl Usage:&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#1-displaying-acls-for-a-file&quot; id=&quot;markdown-toc-1-displaying-acls-for-a-file&quot;&gt;1. Displaying ACLs for a File&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#2-displaying-acls-for-a-directory-recursively&quot; id=&quot;markdown-toc-2-displaying-acls-for-a-directory-recursively&quot;&gt;2. Displaying ACLs for a Directory Recursively&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#removing-acls&quot; id=&quot;markdown-toc-removing-acls&quot;&gt;Removing ACLs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-are-acls&quot;&gt;What Are ACLs?&lt;/h2&gt;

&lt;p&gt;Access Control Lists (ACLs) provide an additional, more flexible permission mechanism for file systems. Unlike standard permissions (owner, group, others), ACLs allow you to set specific permissions for multiple users or groups on a per-file or per-directory basis. This enables more granular control of file access, making ACLs especially useful in complex environments with multiple users and groups.&lt;/p&gt;

&lt;p&gt;For example, you can grant read access to one user, write access to another, and full control to a third, all on the same file or directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-setfacl&quot;&gt;What is setfacl?&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setfacl&lt;/code&gt; command is used to modify the ACLs of files and directories. With setfacl, you can add, modify, or remove specific users or group permissions without affecting the standard owner-group-other permission scheme.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;syntax&quot;&gt;Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of setfacl is:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] ACL file
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Where ACL defines the access control list entries, and file is the file or directory to which you are applying the ACL.&lt;/p&gt;

&lt;h3 id=&quot;common-options&quot;&gt;Common Options:&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-m or --modify&lt;/code&gt;: Modify an ACL entry. &lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-x or --remove&lt;/code&gt;: Remove an ACL entry. &lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-b or --remove-all&lt;/code&gt;: Remove all ACL entries. &lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-d or --default&lt;/code&gt;: Set a default ACL for new files and directories within a directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;examples-of-setfacl-usage&quot;&gt;Examples of setfacl Usage:&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;1-granting-read-permission-to-a-specific-user&quot;&gt;1. Granting Read Permission to a Specific User&lt;/h4&gt;
&lt;p&gt;If you want to give a user named jane read permission to a file called example.txt, run the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; u:jane:r example.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;u:jane:r&lt;/code&gt; specifies that user &lt;strong&gt;jane&lt;/strong&gt; should have &lt;strong&gt;read&lt;/strong&gt; (r) access to the file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;2-granting-write-permission-to-a-group&quot;&gt;2. Granting Write Permission to a Group&lt;/h4&gt;
&lt;p&gt;To &lt;strong&gt;give&lt;/strong&gt; write permissions to a group named &lt;strong&gt;devgroup&lt;/strong&gt; for a file called &lt;strong&gt;project.txt&lt;/strong&gt;, use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; g:devgroup:w project.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;3-removing-an-acl-entry&quot;&gt;3. Removing an ACL Entry&lt;/h4&gt;
&lt;p&gt;To &lt;strong&gt;remove&lt;/strong&gt; the &lt;strong&gt;read&lt;/strong&gt; permission for user &lt;strong&gt;jane&lt;/strong&gt; from &lt;strong&gt;example.txt&lt;/strong&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-x&lt;/span&gt; u:jane example.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This removes the ACL entry for user jane on example.txt.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;4-setting-default-acls-on-a-directory&quot;&gt;4. Setting Default ACLs on a Directory&lt;/h4&gt;

&lt;p&gt;To set default ACLs on a directory so that all new files created within it inherit the ACL permissions, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-d&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; u:jane:rwx /shared/directory
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will give jane read, write, and execute (rwx) permissions on all new files created inside /shared/directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-getfacl&quot;&gt;What is getfacl?&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getfacl&lt;/code&gt; command is used to retrieve and display the ACLs of files and directories. It shows both the traditional owner-group-other permissions and any additional ACL entries.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;syntax-1&quot;&gt;Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of getfacl is:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;getfacl &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] file
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Where &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;file&lt;/code&gt; is the file or directory whose ACLs you want to view.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;common-options-1&quot;&gt;Common Options:&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--omit-header&lt;/code&gt;: Omit the comment header from the output. &lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-R or --recursive&lt;/code&gt;: Recursively display ACLs for all files in a directory. &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;examples-of-getfacl-usage&quot;&gt;Examples of getfacl Usage:&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;1-displaying-acls-for-a-file&quot;&gt;1. Displaying ACLs for a File&lt;/h4&gt;

&lt;p&gt;To view the ACLs for a file called example.txt, run the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;getfacl example.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;The output will look something like this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;file: example.txt
owner: root
group: root
user::rw-
user:jane:r--
group::r--
mask::r--
other::r--
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This shows the ACLs for the file, including the standard owner (root), group (root), and other permissions, as well as the specific ACL entry for user jane.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;2-displaying-acls-for-a-directory-recursively&quot;&gt;2. Displaying ACLs for a Directory Recursively&lt;/h4&gt;
&lt;p&gt;To display ACLs for all files in a directory, including subdirectories:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;getfacl &lt;span class=&quot;nt&quot;&gt;-R&lt;/span&gt; /shared/directory
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will list the ACLs for every file and subdirectory under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/shared/directory&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;removing-acls&quot;&gt;Removing ACLs&lt;/h2&gt;

&lt;p&gt;If you no longer need ACLs on a file or directory, you can &lt;strong&gt;remove&lt;/strong&gt; them entirely using setfacl with the &lt;strong&gt;-b&lt;/strong&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setfacl &lt;span class=&quot;nt&quot;&gt;-b&lt;/span&gt; example.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This &lt;strong&gt;removes&lt;/strong&gt; all ACLs from &lt;strong&gt;example.txt&lt;/strong&gt;, leaving only the standard file permissions in place.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;ACLs provide fine-grained control over file and directory permissions, allowing you to grant or restrict access to specific users or groups. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setfacl&lt;/code&gt; is used to modify ACLs, allowing you to set, modify, or remove permissions for specific users and groups. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getfacl&lt;/code&gt; retrieves and displays the ACLs of a file or directory, providing insight into who has access and what type of access they have. Default ACLs can be set for directories to ensure that new files created inside the directory inherit predefined ACLs. By using setfacl and getfacl, you can achieve more granular and flexible control over file access in shared environments, enhancing security and collaboration on Linux systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setfacl&lt;/code&gt;, review this &lt;a href=&quot;https://linux.die.net/man/1/setfacl&quot;&gt;setfacl man page&lt;/a&gt;, and for more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getfacl&lt;/code&gt;, review this &lt;a href=&quot;https://linux.die.net/man/1/getfacl&quot;&gt;getfacl man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 16 Nov 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_acls_linux/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_acls_linux/</guid>
        
        <category>linux</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Port Redirection on RHEL Servers</title>
        <description>&lt;p&gt;In a Red Hat Enterprise Linux (RHEL) environment, port redirection is a powerful tool for managing network traffic. By redirecting ports, you can control how traffic is routed to services on your server, enhancing both security and flexibility. This post will explore why port redirection is important, when it should be configured, and how to do so using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-port-redirection&quot; id=&quot;markdown-toc-what-is-port-redirection&quot;&gt;What is Port Redirection?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-is-port-redirection-important&quot; id=&quot;markdown-toc-why-is-port-redirection-important&quot;&gt;Why is Port Redirection Important?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-security&quot; id=&quot;markdown-toc-1-security&quot;&gt;1. &lt;strong&gt;Security&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-resource-management&quot; id=&quot;markdown-toc-2-resource-management&quot;&gt;2. &lt;strong&gt;Resource Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-compliance&quot; id=&quot;markdown-toc-3-compliance&quot;&gt;3. &lt;strong&gt;Compliance&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-load-balancing-and-traffic-management&quot; id=&quot;markdown-toc-4-load-balancing-and-traffic-management&quot;&gt;4. &lt;strong&gt;Load Balancing and Traffic Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-should-port-redirection-be-configured-using-firewalld&quot; id=&quot;markdown-toc-when-should-port-redirection-be-configured-using-firewalld&quot;&gt;When Should Port Redirection be Configured Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-simplifying-firewall-rules&quot; id=&quot;markdown-toc-1-simplifying-firewall-rules&quot;&gt;1. &lt;strong&gt;Simplifying Firewall Rules&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-persistent-and-dynamic-rules&quot; id=&quot;markdown-toc-2-persistent-and-dynamic-rules&quot;&gt;2. &lt;strong&gt;Persistent and Dynamic Rules&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-zone-based-security&quot; id=&quot;markdown-toc-3-zone-based-security&quot;&gt;3. &lt;strong&gt;Zone-Based Security&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-integration-with-other-services&quot; id=&quot;markdown-toc-4-integration-with-other-services&quot;&gt;4. &lt;strong&gt;Integration with Other Services&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-configure-port-redirection-using-firewalld&quot; id=&quot;markdown-toc-how-to-configure-port-redirection-using-firewalld&quot;&gt;How to Configure Port Redirection Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-redirecting-a-port&quot; id=&quot;markdown-toc-1-redirecting-a-port&quot;&gt;1. &lt;strong&gt;Redirecting a Port&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-making-the-configuration-permanent&quot; id=&quot;markdown-toc-2-making-the-configuration-permanent&quot;&gt;2. Making the Configuration Permanent&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-redirecting-traffic-to-a-different-ip-address&quot; id=&quot;markdown-toc-3-redirecting-traffic-to-a-different-ip-address&quot;&gt;3. Redirecting Traffic to a Different IP Address&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-viewing-and-removing-port-redirection-rules&quot; id=&quot;markdown-toc-4-viewing-and-removing-port-redirection-rules&quot;&gt;4. Viewing and Removing Port Redirection Rules&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-port-redirection&quot;&gt;What is Port Redirection?&lt;/h2&gt;

&lt;p&gt;Port redirection, also known as port forwarding or port mapping, involves rerouting network traffic from one port to another. This technique is commonly used to allow services running on non-standard ports to be accessible through standard ports, or to redirect traffic for load balancing or security purposes.&lt;/p&gt;

&lt;p&gt;For example, you might want to redirect traffic from port 80 (HTTP) to port 8080, where your web server is actually running. Or, you might forward traffic from a high, unprivileged port to a lower, privileged port that requires elevated permissions to bind to.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-is-port-redirection-important&quot;&gt;Why is Port Redirection Important?&lt;/h2&gt;

&lt;p&gt;Port redirection is crucial for several reasons:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-security&quot;&gt;1. &lt;strong&gt;Security&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;By redirecting traffic from well-known ports to non-standard ports, you can obscure your services from attackers who often target common ports. This security-by-obscurity approach can be an additional layer in your defense strategy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-resource-management&quot;&gt;2. &lt;strong&gt;Resource Management&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Some services may need to run on privileged ports, but due to security or configuration constraints, they are configured to run on higher, non-privileged ports. Port redirection allows these services to be accessible on their expected ports without compromising the system’s integrity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-compliance&quot;&gt;3. &lt;strong&gt;Compliance&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;In some cases, compliance with organizational policies or industry standards may require services to be accessible on specific ports. Port redirection can help meet these requirements without having to reconfigure the services themselves.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-load-balancing-and-traffic-management&quot;&gt;4. &lt;strong&gt;Load Balancing and Traffic Management&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Port redirection can be used to distribute traffic across multiple servers or services, helping to balance the load and improve performance. By redirecting traffic based on port, you can efficiently manage where and how traffic is handled on your network.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-should-port-redirection-be-configured-using-firewalld&quot;&gt;When Should Port Redirection be Configured Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;?&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; is a dynamic firewall management tool in RHEL that supports network/firewall zones to define the trust level of network connections or interfaces. Configuring port redirection using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; is appropriate in several scenarios:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-simplifying-firewall-rules&quot;&gt;1. &lt;strong&gt;Simplifying Firewall Rules&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;When managing complex firewall configurations, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; allows you to set up port redirection within its zone-based framework, making it easier to manage and visualize the flow of traffic.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-persistent-and-dynamic-rules&quot;&gt;2. &lt;strong&gt;Persistent and Dynamic Rules&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; supports both permanent and runtime configurations. This means you can set up port redirection rules that persist across reboots or only apply them temporarily, depending on your needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-zone-based-security&quot;&gt;3. &lt;strong&gt;Zone-Based Security&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;With &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;, you can apply port redirection rules specific to particular zones. This is useful when different parts of your network have varying security requirements, allowing you to tailor your redirection rules accordingly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-integration-with-other-services&quot;&gt;4. &lt;strong&gt;Integration with Other Services&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; integrates well with other services and tools on RHEL, such as SELinux and NetworkManager. This makes it easier to manage port redirection in a way that’s consistent with your overall security posture.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-configure-port-redirection-using-firewalld&quot;&gt;How to Configure Port Redirection Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt;&lt;/h2&gt;

&lt;p&gt;Configuring port redirection with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewalld&lt;/code&gt; is straightforward. Here’s how you can set it up:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-redirecting-a-port&quot;&gt;1. &lt;strong&gt;Redirecting a Port&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;To redirect traffic from one port to another, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--add-forward-port&lt;/code&gt; option. For example, to redirect traffic from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;port 80&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;port 8080&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--zone&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;public &lt;span class=&quot;nt&quot;&gt;--add-forward-port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;80:proto&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;tcp:toport&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;8080
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-making-the-configuration-permanent&quot;&gt;2. Making the Configuration Permanent&lt;/h3&gt;
&lt;p&gt;If you want the port redirection rule to persist after a reboot, add the –permanent flag:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--zone&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;public &lt;span class=&quot;nt&quot;&gt;--add-forward-port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;80:proto&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;tcp:toport&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;8080 &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After making the change permanent, reload firewalld to apply the configuration:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-redirecting-traffic-to-a-different-ip-address&quot;&gt;3. Redirecting Traffic to a Different IP Address&lt;/h3&gt;
&lt;p&gt;You can also redirect traffic to a different IP address. For example, to redirect traffic from port 80 to port 8080 on IP address 192.168.1.100:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--zone&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;public &lt;span class=&quot;nt&quot;&gt;--add-forward-port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;80:proto&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;tcp:toaddr&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;192.168.1.100:toport&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;8080 &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-viewing-and-removing-port-redirection-rules&quot;&gt;4. Viewing and Removing Port Redirection Rules&lt;/h3&gt;
&lt;p&gt;To view the current port redirection rules, use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--zone&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;public &lt;span class=&quot;nt&quot;&gt;--list-forward-ports&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To remove a port redirection rule, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--remove-forward-port&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--zone&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;public &lt;span class=&quot;nt&quot;&gt;--remove-forward-port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;80:proto&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;tcp:toport&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;8080 &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Port redirection is an essential tool for managing and securing network traffic on RHEL servers. By using firewalld to configure port redirection, you gain a flexible, integrated, and manageable way to control how traffic flows to and from your services. Whether for security, resource management, or compliance, understanding and implementing port redirection can help you maintain a secure and efficient server environment.&lt;/p&gt;

&lt;p&gt;📝 For more information about port redirection, review this &lt;a href=&quot;https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters#redirecting-traffic-from-a-non-standard-port-to-make-the-web-service-accessible-on-a-standard-port_assembly_configuring-nat-using-firewalld&quot;&gt;official RedHat documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 09 Nov 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/port_redirection/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/port_redirection/</guid>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Creating Custom Commands with Scripts in `/usr/local/bin`</title>
        <description>&lt;p&gt;In Linux, the ability to create custom commands allows you to streamline your workflow by automating repetitive tasks or creating shortcuts for complex commands. One of the most effective ways to do this is by placing your scripts in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; directory. This directory is reserved for locally installed software and custom scripts, making it an ideal location for your custom commands. In this blog post, we’ll break down how to create these custom scripts to improve your workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-usrlocalbin&quot; id=&quot;markdown-toc-why-use-usrlocalbin&quot;&gt;Why Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-of-using-usrlocalbin&quot; id=&quot;markdown-toc-benefits-of-using-usrlocalbin&quot;&gt;Benefits of Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#creating-a-custom-command&quot; id=&quot;markdown-toc-creating-a-custom-command&quot;&gt;Creating a Custom Command&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-write-the-script&quot; id=&quot;markdown-toc-step-1-write-the-script&quot;&gt;Step 1: Write the Script&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-make-the-script-executable&quot; id=&quot;markdown-toc-step-2-make-the-script-executable&quot;&gt;Step 2: Make the Script Executable&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#managing-custom-commands&quot; id=&quot;markdown-toc-managing-custom-commands&quot;&gt;Managing Custom Commands&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-usrlocalbin&quot;&gt;Why Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; directory is included in the system’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$PATH&lt;/code&gt; environment variable by default. This means that any executable placed in this directory can be run from anywhere in the terminal without needing to specify its full path. Placing your scripts here ensures they are easily accessible and can be used like any other system command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-of-using-usrlocalbin&quot;&gt;Benefits of Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Global Accessibility&lt;/strong&gt;: Scripts placed in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; can be executed from any directory in your terminal, making them readily available at all times.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Organized Script Management&lt;/strong&gt;: Keeping your custom scripts in a dedicated directory like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; helps maintain an organized file structure, separating your custom commands from other system files.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;No Need for Sudo&lt;/strong&gt;: Unlike other system directories, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; does not require &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; privileges to execute scripts, provided they have the appropriate permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;creating-a-custom-command&quot;&gt;Creating a Custom Command&lt;/h2&gt;

&lt;p&gt;Creating a custom command involves writing a script, making it executable, and placing it in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; directory. Let’s walk through this process step-by-step.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-1-write-the-script&quot;&gt;Step 1: Write the Script&lt;/h3&gt;

&lt;p&gt;First, create a script that performs the desired task. For example, let’s create a simple script that displays a custom message:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Welcome to your custom command!&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Save this script with a descriptive name, such as welcome.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-make-the-script-executable&quot;&gt;Step 2: Make the Script Executable&lt;/h3&gt;

&lt;p&gt;To make the script executable, use the chmod command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;chmod&lt;/span&gt; +x welcome
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command grants the script execute permissions, allowing it to be run as a command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Now, you can run the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;welcome&lt;/code&gt; command from anywhere in the terminal:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;welcome
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The output will be:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Welcome to your custom command...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;managing-custom-commands&quot;&gt;Managing Custom Commands&lt;/h2&gt;
&lt;p&gt;Once your script is in /usr/local/bin, it functions like any other command on your system. Here are a few tips for managing your custom commands:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Updating Commands:&lt;/strong&gt; If you need to update the script, you can edit it directly in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; directory using a text editor like nano or vim.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Removing Commands:&lt;/strong&gt; To remove a custom command, simply delete the script from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Permissions:&lt;/strong&gt; Ensure your scripts have the correct permissions. If a script is not executable, you can make it so with chmod +x.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Creating custom commands with scripts in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/bin&lt;/code&gt; is a powerful way to enhance your Linux experience. Whether you’re automating tasks, creating shortcuts, or building tools, this approach allows you to personalize your workflow and make your system work better for you. By following the steps outlined in this guide, you can easily create and manage your own custom commands, integrating them seamlessly into your daily routine.&lt;/p&gt;
</description>
        <pubDate>Sat, 02 Nov 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/creating_custom_commands_linux/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/creating_custom_commands_linux/</guid>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>scripts</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Password-Protect a ZIP Folder in Windows Using 7-Zip</title>
        <description>&lt;p&gt;In today’s digital age, protecting your sensitive information is crucial. Whether you’re sharing confidential files with colleagues or backing up important data, ensuring that only authorized individuals can access your files is essential. One effective way to secure your files is by password-protecting them before sending or storing them.&lt;/p&gt;

&lt;p&gt;ZIP files are a common format for compressing and packaging multiple files into a single archive. However, by default, ZIP files don’t include password protection. Thankfully, 7-Zip, a popular and powerful file compression tool, allows you to easily add password protection to your ZIP files, providing an extra layer of security.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll walk you through the process of using 7-Zip to password-protect a ZIP folder on your Windows machine. We’ll cover everything from downloading and installing 7-Zip to setting up password protection for your ZIP files. By the end of this tutorial, you’ll be able to securely compress and protect your files with ease.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-youll-need&quot; id=&quot;markdown-toc-what-youll-need&quot;&gt;What You’ll Need&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#steps-to-password-protect-your-zip-file&quot; id=&quot;markdown-toc-steps-to-password-protect-your-zip-file&quot;&gt;Steps to Password-Protect Your ZIP File&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#tips-for-using-password-protected-zip-files&quot; id=&quot;markdown-toc-tips-for-using-password-protected-zip-files&quot;&gt;Tips for Using Password-Protected ZIP Files&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-youll-need&quot;&gt;What You’ll Need&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;A Windows computer&lt;/li&gt;
  &lt;li&gt;7-Zip installed (You can download it from &lt;a href=&quot;https://www.7-zip.org/&quot;&gt;7-Zip’s official website&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;steps-to-password-protect-your-zip-file&quot;&gt;Steps to Password-Protect Your ZIP File&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Install 7-Zip&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Download 7-Zip:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Go to the &lt;a href=&quot;https://www.7-zip.org/&quot;&gt;7-Zip download page&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;Choose the appropriate version for your Windows (32-bit or 64-bit).&lt;/li&gt;
      &lt;li&gt;Click the download link and save the installer file to your computer.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Install 7-Zip:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Run the downloaded installer file.&lt;/li&gt;
      &lt;li&gt;Follow the on-screen instructions to complete the installation.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a Password-Protected ZIP File&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Add Folder to Archive:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Right-click on the zip folder you want to secure/protect.&lt;/li&gt;
      &lt;li&gt;Hover over the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;7-Zip&lt;/code&gt; option in the context menu.&lt;/li&gt;
      &lt;li&gt;Select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Add to archive…&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configure Archive Settings:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;In the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Add to Archive&lt;/code&gt; window, you’ll see several settings options.&lt;/li&gt;
      &lt;li&gt;Ensure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;zip&lt;/code&gt; is selected under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Archive format&lt;/code&gt; for compatibility.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Set Password Protection:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Scroll down to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Encryption&lt;/code&gt; section.&lt;/li&gt;
      &lt;li&gt;Enter your desired password in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter password&lt;/code&gt; field.&lt;/li&gt;
      &lt;li&gt;Confirm your password by entering it again in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Reenter password&lt;/code&gt; field.&lt;/li&gt;
      &lt;li&gt;For better security, choose &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Zip Crypto&lt;/code&gt; as the encryption method from the dropdown menu.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Create the Archive:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OK&lt;/code&gt; to create the ZIP file with password protection.&lt;/li&gt;
      &lt;li&gt;7-Zip will compress the folder and save it as a ZIP file with the password you specified.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;tips-for-using-password-protected-zip-files&quot;&gt;Tips for Using Password-Protected ZIP Files&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Remember Your Password:&lt;/strong&gt; Ensure you remember the password you set, as losing it means losing access to the contents of the ZIP file.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Choose a Strong Password:&lt;/strong&gt; Use a combination of letters, numbers, and special characters for a stronger password.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Test Your ZIP File:&lt;/strong&gt; Before sharing or storing your ZIP file, test it to make sure the password protection works as expected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Using 7-Zip to password-protect your ZIP files is a simple yet effective way to secure your sensitive information. By following the steps outlined above, you can ensure that your files are protected and accessible only to those who have the correct password.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;7-Zip&lt;/code&gt;, review the &lt;a href=&quot;https://www.7-zip.org/faq.html&quot;&gt;7-Zip FAQ’s page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 26 Oct 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/password_protect_zip_folder/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/password_protect_zip_folder/</guid>
        
        <category>windows</category>
        
        <category>security</category>
        
        <category>7zip</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Securing SSH Access - Disabling Password Authentication vs. Locking User Accounts</title>
        <description>&lt;p&gt;When it comes to securing SSH access on a Linux system, two effective methods are disabling password authentication and locking user accounts. Each approach offers distinct advantages and considerations. In this blog post, we’ll break down both methods to help you choose the best option for your critical security needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#disabling-password-authentication&quot; id=&quot;markdown-toc-disabling-password-authentication&quot;&gt;Disabling Password Authentication&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#details&quot; id=&quot;markdown-toc-details&quot;&gt;Details&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#locking-user-accounts&quot; id=&quot;markdown-toc-locking-user-accounts&quot;&gt;Locking User Accounts&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-1&quot; id=&quot;markdown-toc-pros-1&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-1&quot; id=&quot;markdown-toc-cons-1&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#details-1&quot; id=&quot;markdown-toc-details-1&quot;&gt;Details&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disabling-password-authentication&quot;&gt;Disabling Password Authentication&lt;/h2&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Increased Security&lt;/strong&gt;: By setting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PasswordAuthentication no&lt;/code&gt; in your SSH configuration, you ensure that only key-based authentication is allowed. This significantly reduces the risk of brute force attacks and password guessing attacks, as there are no passwords to be exploited.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compliance&lt;/strong&gt;: Many security policies and best practices mandate disabling password authentication to meet stricter security standards. Key-based authentication is considered more secure and is often required for compliance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Initial Setup Required&lt;/strong&gt;: Before disabling password authentication, you must ensure that all users have their SSH keys set up properly. Failure to do so may lock out legitimate users who rely on password authentication.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Recovery Challenges&lt;/strong&gt;: If you lose access to your SSH keys or forget them, you may face difficulties regaining access to the server. Physical access or a recovery method will be necessary to restore access.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;details&quot;&gt;Details&lt;/h3&gt;

&lt;p&gt;To disable password authentication, follow these steps:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Edit the SSH Configuration File&lt;/strong&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;nano /etc/ssh/sshd_config
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;

    &lt;p&gt;Locate the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PasswordAuthentication&lt;/code&gt; directive and set it to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;no&lt;/code&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; PasswordAuthentication no
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Reload SSHD&lt;/strong&gt;:&lt;/p&gt;

    &lt;p&gt;After making the change, reload or restart the SSH service for the changes to take effect:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl reload sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;

    &lt;p&gt;or&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;locking-user-accounts&quot;&gt;Locking User Accounts&lt;/h2&gt;

&lt;h3 id=&quot;pros-1&quot;&gt;Pros&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;User Account Control&lt;/strong&gt;: Locking a user account prevents that user from logging in, regardless of the authentication method. This is useful for temporarily or permanently disabling an account.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Granular Control&lt;/strong&gt;: This method provides more fine-grained control over individual user accounts and their login abilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;Cons&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Not SSH Specific&lt;/strong&gt;: Locking the user account affects &lt;strong&gt;ALL&lt;/strong&gt; types of login, not just SSH. If your goal is solely to restrict SSH access, this method might be overkill.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Requires User Management&lt;/strong&gt;: Each user account needs to be managed individually. This can be cumbersome if you need to manage multiple users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;details-1&quot;&gt;Details&lt;/h3&gt;

&lt;p&gt;To lock a user account:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Disable Password and Account Expiry&lt;/strong&gt;:&lt;/p&gt;

    &lt;p&gt;Set the account to expire immediately and disable password aging using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chage&lt;/code&gt;:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;chage &lt;span class=&quot;nt&quot;&gt;-I&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-1&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-M&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-1&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-E&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-1&lt;/span&gt; USERNAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Lock the User Account&lt;/strong&gt;:&lt;/p&gt;

    &lt;p&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;usermod&lt;/code&gt; to lock the account, preventing login:&lt;/p&gt;

    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;usermod &lt;span class=&quot;nt&quot;&gt;-L&lt;/span&gt; USERNAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Reversing Changes&lt;/strong&gt;:&lt;/p&gt;

    &lt;p&gt;To unlock the user, you can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;usermod -U USERNAME&lt;/code&gt; and adjust password expiry settings with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chage&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Disabling Password Authentication&lt;/strong&gt;: This method focuses on securing SSH access by enforcing key-based authentication, which enhances security against password-based attacks. It is often the preferred choice for SSH-specific security.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Locking User Accounts&lt;/strong&gt;: This approach restricts login for specific users regardless of the authentication method, offering broader account management. It is useful for managing user access more comprehensively.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Choosing between these methods depends on your specific security requirements and administrative preferences. For a targeted approach to securing SSH, disabling password authentication is generally recommended. For more comprehensive user management, account locking may be more suitable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;usermod&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chage&lt;/code&gt; commands described above, review the &lt;a href=&quot;https://linux.die.net/man/8/usermod&quot;&gt;usermod&lt;/a&gt; and the &lt;a href=&quot;https://linux.die.net/man/1/chage&quot;&gt;chage&lt;/a&gt; man pages .&lt;/p&gt;
</description>
        <pubDate>Sat, 19 Oct 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/disabling_password_locking_account/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/disabling_password_locking_account/</guid>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>ssh</category>
        
        <category>authentication</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Mastering the `screen` Command in Linux</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command in Linux is a terminal multiplexer that allows you to manage multiple terminal sessions from a single window. This powerful utility provides the ability to detach and reattach terminal sessions, making it invaluable for long-running processes, remote work, and multitasking on the command line.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview-of-the-screen-command&quot; id=&quot;markdown-toc-overview-of-the-screen-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; Command&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-screen&quot; id=&quot;markdown-toc-installing-screen&quot;&gt;Installing screen&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-use-cases&quot; id=&quot;markdown-toc-common-use-cases&quot;&gt;Common Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#starting-a-new-screen-session&quot; id=&quot;markdown-toc-starting-a-new-screen-session&quot;&gt;Starting a New Screen Session&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#detaching-from-a-session&quot; id=&quot;markdown-toc-detaching-from-a-session&quot;&gt;Detaching from a Session&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#reattaching-to-a-session&quot; id=&quot;markdown-toc-reattaching-to-a-session&quot;&gt;Reattaching to a Session&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#naming-screen-sessions&quot; id=&quot;markdown-toc-naming-screen-sessions&quot;&gt;Naming Screen Sessions&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#splitting-the-screen&quot; id=&quot;markdown-toc-splitting-the-screen&quot;&gt;Splitting the Screen&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#creating-windows&quot; id=&quot;markdown-toc-creating-windows&quot;&gt;Creating Windows&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#closing-a-window&quot; id=&quot;markdown-toc-closing-a-window&quot;&gt;Closing a Window&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-usage&quot; id=&quot;markdown-toc-example-usage&quot;&gt;Example Usage&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview-of-the-screen-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; Command&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command enables you to create, manage, and navigate between multiple terminal sessions within a single window. Each session runs independently, and you can detach from a session and reattach later without interrupting the running processes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command is:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;command&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Options&lt;/strong&gt;: Various options to control the behavior of screen.
&lt;strong&gt;Command&lt;/strong&gt;: Optional command to run within the screen session.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-screen&quot;&gt;Installing screen&lt;/h2&gt;

&lt;p&gt;Before using the screen command, ensure that it is installed on your system. On most Linux distributions, you can install it using the package manager.&lt;/p&gt;

&lt;p&gt;For Red Hat-based systems (RHEL, Fedora, CentOS), use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;screen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-use-cases&quot;&gt;Common Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;starting-a-new-screen-session&quot;&gt;Starting a New Screen Session&lt;/h3&gt;

&lt;p&gt;To start a new screen session, simply type:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will open a new screen session, and you will be placed in a new shell.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;detaching-from-a-session&quot;&gt;Detaching from a Session&lt;/h3&gt;

&lt;p&gt;To detach from the current screen session without terminating it, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-D&lt;/code&gt;. You will be returned to the original terminal, and the screen session will continue running in the background.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;reattaching-to-a-session&quot;&gt;Reattaching to a Session&lt;/h3&gt;

&lt;p&gt;To reattach to a previously detached screen session, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-r&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you have multiple detached sessions, you can list them with:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then, reattach to a specific session by its ID:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; &amp;lt;session_id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;naming-screen-sessions&quot;&gt;Naming Screen Sessions&lt;/h3&gt;

&lt;p&gt;To make it easier to manage multiple sessions, you can name them using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-S&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; mysession
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You can then reattach to this session by name:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; mysession
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;splitting-the-screen&quot;&gt;Splitting the Screen&lt;/h3&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command allows you to split the terminal window into multiple regions. To split the screen horizontally, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;. To split it vertically, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;|&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To switch between regions, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Tab&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;creating-windows&quot;&gt;Creating Windows&lt;/h3&gt;

&lt;p&gt;You can create multiple windows within a screen session. To create a new window, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;C&lt;/code&gt;. To switch between windows, press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by the window number (e.g., 0, 1, 2, etc.).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;closing-a-window&quot;&gt;Closing a Window&lt;/h3&gt;

&lt;p&gt;To close the current window, simply exit the shell within that window by typing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;exit&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-usage&quot;&gt;Example Usage&lt;/h2&gt;
&lt;p&gt;Here are some practical examples of using the screen command:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Start a new named screen session:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; mysession
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Detach from the session:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;D&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reattach to the named session:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; mysession
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Split the screen horizontally and create a new window:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;, then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;C&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Switch between windows:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-A&lt;/code&gt; followed by the window number.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command is a versatile tool that enhances your command-line productivity by allowing you to manage multiple terminal sessions within a single window. Whether you need to run long-term processes, work remotely, or multitask efficiently, mastering the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command can greatly improve your Linux experience. By learning how to create, detach, reattach, and manage screen sessions, you can take full advantage of this powerful utility.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; command, review the &lt;a href=&quot;https://linux.die.net/man/1/screen&quot;&gt;screen man page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 12 Oct 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/mastering_linux_screen_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/mastering_linux_screen_command/</guid>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring the Linux Locate Command</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command in Linux is a fast and efficient utility used to find the location of files and directories on the system. Unlike the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find&lt;/code&gt; command, which searches the directory hierarchy in real-time, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; relies on a prebuilt database to quickly fetch results. This makes it an invaluable tool for system administrators and users who need to quickly locate files without performing exhaustive searches.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview-of-the-locate-command&quot; id=&quot;markdown-toc-overview-of-the-locate-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; Command&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-locate&quot; id=&quot;markdown-toc-installing-locate&quot;&gt;Installing locate&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-use-cases&quot; id=&quot;markdown-toc-common-use-cases&quot;&gt;Common Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#finding-files-by-name&quot; id=&quot;markdown-toc-finding-files-by-name&quot;&gt;Finding Files by Name&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#using-wildcards&quot; id=&quot;markdown-toc-using-wildcards&quot;&gt;Using Wildcards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#using-regular-expressions&quot; id=&quot;markdown-toc-using-regular-expressions&quot;&gt;Using Regular Expressions&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#limiting-the-number-of-results&quot; id=&quot;markdown-toc-limiting-the-number-of-results&quot;&gt;Limiting the Number of Results&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#updating-the-database&quot; id=&quot;markdown-toc-updating-the-database&quot;&gt;Updating the Database&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#excluding-specific-directories&quot; id=&quot;markdown-toc-excluding-specific-directories&quot;&gt;Excluding Specific Directories&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-usage&quot; id=&quot;markdown-toc-example-usage&quot;&gt;Example Usage&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview-of-the-locate-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; Command&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command is part of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mlocate&lt;/code&gt; package, which maintains an index of the filesystem in a database. This database is updated periodically, usually via a cron job, to reflect changes in the filesystem. When you run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt;, it searches this database for matching filenames, providing results much faster than real-time searches.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] pattern
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Options&lt;/strong&gt;: Various options to refine and control the search.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Pattern&lt;/strong&gt;: The search pattern, which can include wildcards and regular expressions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-locate&quot;&gt;Installing locate&lt;/h2&gt;
&lt;p&gt;Before using the locate command, ensure that the mlocate package is installed on your system. On most Linux distributions, you can install it using the package manager.&lt;/p&gt;

&lt;p&gt;For Red Hat-based systems (RHEL, Fedora, CentOS), use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;mlocate
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For Debian-based systems (Ubuntu, Debian), use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;mlocate
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After installation, update the database with the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;updatedb
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-use-cases&quot;&gt;Common Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;finding-files-by-name&quot;&gt;Finding Files by Name&lt;/h3&gt;
&lt;p&gt;To locate a file by name, simply provide the filename as the search pattern:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate filename
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will return all files and directories that match the given filename.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;using-wildcards&quot;&gt;Using Wildcards&lt;/h3&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command supports wildcards, allowing you to perform more flexible searches. For example, to find all .txt files:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;using-regular-expressions&quot;&gt;Using Regular Expressions&lt;/h3&gt;
&lt;p&gt;You can also use regular expressions to search for patterns. For instance, to find files that start with “doc” and end with “.txt”:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;^doc.*\.txt$&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;limiting-the-number-of-results&quot;&gt;Limiting the Number of Results&lt;/h3&gt;
&lt;p&gt;To limit the number of search results, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-n&lt;/code&gt; option followed by the desired number:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 10 filename
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will display only the first 10 matches.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;updating-the-database&quot;&gt;Updating the Database&lt;/h3&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command relies on the database, which may not always be up-to-date. To manually update the database, use the updatedb command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;updatedb
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;excluding-specific-directories&quot;&gt;Excluding Specific Directories&lt;/h3&gt;
&lt;p&gt;To exclude specific directories from the search, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exclude&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;--exclude&lt;/span&gt; /path/to/exclude pattern
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will omit the specified directory from the search results.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-usage&quot;&gt;Example Usage&lt;/h2&gt;
&lt;p&gt;Here are some practical examples of using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Find a specific file:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate myfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Find all &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.conf&lt;/code&gt; files:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Find files with a name matching a regular expression:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;backup_[0-9]{4}.tar.gz&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Limit the number of search results to 5:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 5 myfile.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Exclude a specific directory from the search:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;locate &lt;span class=&quot;nt&quot;&gt;--exclude&lt;/span&gt; /home/user/private &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;.doc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command is a powerful and efficient tool for quickly finding files and directories on a Linux system. By leveraging its capabilities, you can save time and streamline your workflow. Remember to periodically update the database to ensure accurate search results. Whether you are a system administrator or a casual user, mastering the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command can significantly enhance your file management tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;locate&lt;/code&gt; command, review the &lt;a href=&quot;https://linux.die.net/man/1/locate&quot;&gt;locate man page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 05 Oct 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/exploring_linux_locate_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/exploring_linux_locate_command/</guid>
        
        <category>linux</category>
        
        <category>search</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Linux Last Command</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command in Linux is a simple yet powerful tool used to display the login history of users on a system. It reads data from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/wtmp&lt;/code&gt; file and shows a list of all the users who have logged in and out since that file was created. This command is invaluable for system administrators who need to track user activity and diagnose potential security issues. With various options to filter and format the output, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command offers a detailed view of login sessions and system reboots.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#overview-of-the-last-command&quot; id=&quot;markdown-toc-overview-of-the-last-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; Command&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-use-cases&quot; id=&quot;markdown-toc-common-use-cases&quot;&gt;Common Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#displaying-all-login-records&quot; id=&quot;markdown-toc-displaying-all-login-records&quot;&gt;Displaying All Login Records&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#displaying-login-records-for-a-specific-user&quot; id=&quot;markdown-toc-displaying-login-records-for-a-specific-user&quot;&gt;Displaying Login Records for a Specific User&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#useful-options&quot; id=&quot;markdown-toc-useful-options&quot;&gt;Useful Options&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#limiting-the-number-of-entries&quot; id=&quot;markdown-toc-limiting-the-number-of-entries&quot;&gt;Limiting the Number of Entries&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#showing-reboots&quot; id=&quot;markdown-toc-showing-reboots&quot;&gt;Showing Reboots&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#excluding-ip-addresses&quot; id=&quot;markdown-toc-excluding-ip-addresses&quot;&gt;Excluding IP Addresses&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#displaying-only-ip-addresses&quot; id=&quot;markdown-toc-displaying-only-ip-addresses&quot;&gt;Displaying Only IP Addresses&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-usage&quot; id=&quot;markdown-toc-example-usage&quot;&gt;Example Usage&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;overview-of-the-last-command&quot;&gt;Overview of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; Command&lt;/h2&gt;

&lt;p&gt;The primary purpose of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command is to track user logins and reboots. By default, it shows the most recent entries first, allowing system administrators to quickly see who has accessed the system and when.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;username] &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;tty&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Options:&lt;/strong&gt; Various options to filter and format the output.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Username:&lt;/strong&gt; Optional. Specify a particular user to see their login history.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;TTY:&lt;/strong&gt; Optional. Specify a particular terminal to see logins from that terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-use-cases&quot;&gt;Common Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;displaying-all-login-records&quot;&gt;Displaying All Login Records&lt;/h3&gt;
&lt;p&gt;To display all login records, simply run the last command without any options:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will output a list of all users who have logged into the system, along with their login times, durations, and the IP addresses (if applicable).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;displaying-login-records-for-a-specific-user&quot;&gt;Displaying Login Records for a Specific User&lt;/h3&gt;
&lt;p&gt;To see the login history of a specific user, you can specify the username:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last username
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;username&lt;/code&gt; with the actual username. This will filter the output to show only the login records for that particular user.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;useful-options&quot;&gt;Useful Options&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;limiting-the-number-of-entries&quot;&gt;Limiting the Number of Entries&lt;/h3&gt;
&lt;p&gt;To limit the output to a specific number of entries, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-n&lt;/code&gt; option followed by the number:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display the 10 most recent login records.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;showing-reboots&quot;&gt;Showing Reboots&lt;/h3&gt;
&lt;p&gt;To include system reboots in the output, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-x&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-x&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is particularly useful for tracking system reboots and understanding system uptime.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;excluding-ip-addresses&quot;&gt;Excluding IP Addresses&lt;/h3&gt;
&lt;p&gt;To exclude IP addresses from the output, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-i&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This can make the output cleaner and more focused on the login times and durations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;displaying-only-ip-addresses&quot;&gt;Displaying Only IP Addresses&lt;/h3&gt;
&lt;p&gt;Conversely, to display only the IP addresses without hostnames, use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-d&lt;/code&gt; option:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-usage&quot;&gt;Example Usage&lt;/h2&gt;

&lt;p&gt;Here are some practical examples of using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command:&lt;/p&gt;

&lt;p&gt;Display all login records:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Display login records for user &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;john&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last john
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Display the last 5 login records:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 5
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command is an essential tool for system administrators to monitor user logins and system reboots. Its simplicity and versatility make it easy to quickly gather important information about who has accessed the system and when. By leveraging the various options available, you can customize the output to meet your specific needs and maintain better control over your Linux environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the last command, review the &lt;a href=&quot;https://linux.die.net/man/1/last&quot;&gt;last man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 28 Sep 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_linux_last_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_linux_last_command/</guid>
        
        <category>linux</category>
        
        <category>authentication</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Network Information Service (NIS) and Its Future in Red Hat</title>
        <description>&lt;p&gt;Network Information Service (NIS), originally known as Yellow Pages (YP), is a client-server directory service protocol for distributing system configuration data such as user and host names between computers on a network. It has been a staple in Unix and Unix-like systems for decades, providing a central directory for authentication and configuration management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-nis&quot; id=&quot;markdown-toc-what-is-nis&quot;&gt;What is NIS?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#how-nis-works&quot; id=&quot;markdown-toc-how-nis-works&quot;&gt;How NIS Works&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages-of-nis&quot; id=&quot;markdown-toc-advantages-of-nis&quot;&gt;Advantages of NIS&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#disadvantages-of-nis&quot; id=&quot;markdown-toc-disadvantages-of-nis&quot;&gt;Disadvantages of NIS&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-future-of-nis-in-red-hat&quot; id=&quot;markdown-toc-the-future-of-nis-in-red-hat&quot;&gt;The Future of NIS in Red Hat&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#red-hat-identity-management-idm&quot; id=&quot;markdown-toc-red-hat-identity-management-idm&quot;&gt;Red Hat Identity Management (IdM)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#transitioning-from-nis-to-idm&quot; id=&quot;markdown-toc-transitioning-from-nis-to-idm&quot;&gt;Transitioning from NIS to IdM&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-nis&quot;&gt;What is NIS?&lt;/h2&gt;

&lt;p&gt;NIS was designed by Sun Microsystems (now part of Oracle) to centralize the administration of Unix systems. By using NIS, system administrators could maintain consistent user and host information across multiple machines, simplifying the management of networked environments. NIS can manage:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;User accounts&lt;/li&gt;
  &lt;li&gt;Passwords&lt;/li&gt;
  &lt;li&gt;Hostnames&lt;/li&gt;
  &lt;li&gt;Group information&lt;/li&gt;
  &lt;li&gt;Network services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;how-nis-works&quot;&gt;How NIS Works&lt;/h3&gt;

&lt;p&gt;NIS operates using a client-server architecture. The NIS server maintains a set of databases (maps) containing the relevant information, while NIS clients query the server to retrieve this information as needed. Key components of NIS include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;NIS Server (ypserv)&lt;/strong&gt;: The server that holds the master copy of the NIS database and responds to queries from clients.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;NIS Client (ypbind)&lt;/strong&gt;: The client daemon that binds to an NIS server to retrieve information.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;NIS Database Tools (yp-tools)&lt;/strong&gt;: A set of tools for managing and querying the NIS databases.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Administrators configure NIS domains to logically group the machines that share the same NIS server. Each client within a domain can access the centralized data provided by the NIS server, ensuring consistency and simplifying management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages-of-nis&quot;&gt;Advantages of NIS&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Centralized Management&lt;/strong&gt;: One central repository for user and configuration data reduces administrative overhead.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Consistency&lt;/strong&gt;: Ensures uniformity across systems in a network.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Scalability&lt;/strong&gt;: Suitable for large-scale deployments across multiple systems.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;disadvantages-of-nis&quot;&gt;Disadvantages of NIS&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Security&lt;/strong&gt;: NIS transmits data unencrypted, making it vulnerable to interception.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Complexity&lt;/strong&gt;: Can be complex to set up and maintain, especially in larger environments.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Legacy Technology&lt;/strong&gt;: As a mature technology, it lacks some of the modern security and management features found in newer solutions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-future-of-nis-in-red-hat&quot;&gt;The Future of NIS in Red Hat&lt;/h2&gt;

&lt;p&gt;Despite its long-standing presence in Unix and Linux environments, NIS is becoming obsolete. Red Hat has announced that NIS will no longer be supported in RHEL 9. This decision reflects the broader industry trend of moving towards more secure and robust identity management solutions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;red-hat-identity-management-idm&quot;&gt;Red Hat Identity Management (IdM)&lt;/h3&gt;

&lt;p&gt;The replacement for NIS in Red Hat environments is Red Hat Identity Management (IdM). IdM provides a comprehensive and secure identity management solution, offering features that far surpass those of NIS, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Kerberos-based Authentication&lt;/strong&gt;: Provides secure, encrypted authentication.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;LDAP Directory&lt;/strong&gt;: Stores user, host, and service information in a secure and scalable manner.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Single Sign-On (SSO)&lt;/strong&gt;: Simplifies user access across multiple systems and applications.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Integrated Certificate Authority (CA)&lt;/strong&gt;: Manages public key infrastructure (PKI) for SSL/TLS encryption.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Policy Management&lt;/strong&gt;: Allows fine-grained access control and policy enforcement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;transitioning-from-nis-to-idm&quot;&gt;Transitioning from NIS to IdM&lt;/h3&gt;

&lt;p&gt;Migrating from NIS to IdM involves several steps, including:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Assessing Current NIS Configuration&lt;/strong&gt;: Understanding the current setup and data structure.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Setting Up IdM&lt;/strong&gt;: Installing and configuring the IdM server and clients.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Migrating Data&lt;/strong&gt;: Moving user, host, and other relevant information from NIS to IdM.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Testing&lt;/strong&gt;: Ensuring that the new setup works correctly and securely.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Decommissioning NIS&lt;/strong&gt;: Phasing out NIS servers and ensuring all clients are switched to IdM.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;NIS has played a crucial role in Unix and Linux environments for decades, providing centralized management of user and system information. However, with the evolving needs for security and scalability, it is being phased out in favor of more modern solutions like Red Hat Identity Management. As organizations prepare for RHEL 9 and beyond, transitioning to IdM will provide a more secure and feature-rich identity management solution.&lt;/p&gt;

&lt;p&gt;By understanding the history and functionality of NIS, as well as the benefits of modern alternatives, system administrators can make informed decisions about their network management strategies..&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 NIS will no longer be supported in RHEL 9, review &lt;a href=&quot;https://access.redhat.com/solutions/5991271&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;📝 For more information about Red Hat idM, review &lt;a href=&quot;https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/installing_identity_management/index#proc_providing-feedback-on-red-hat-documentation_installing-identity-management&quot;&gt;this official Red Hat document&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 21 Sep 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_nis/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_nis/</guid>
        
        <category>linux</category>
        
        <category>authentication</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>How to Install VirtualBox on macOS</title>
        <description>&lt;p&gt;VirtualBox is a widely-used, cross-platform virtualization software that allows you to create and manage virtual machines (VMs) on your Mac. Running different operating systems simultaneously, VirtualBox is perfect for software testing, development, and running applications in isolated environments. In this blog post, we will guide you through the process of installing VirtualBox on macOS, ensuring you have everything set up for your virtualization needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-virtualbox&quot; id=&quot;markdown-toc-downloading-virtualbox&quot;&gt;Downloading VirtualBox&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-virtualbox&quot; id=&quot;markdown-toc-installing-virtualbox&quot;&gt;Installing VirtualBox&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-virtualbox-extension-pack&quot; id=&quot;markdown-toc-installing-virtualbox-extension-pack&quot;&gt;Installing VirtualBox Extension Pack&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#note&quot; id=&quot;markdown-toc-note&quot;&gt;Note:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Before we start, ensure you have:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;A Mac with a 64-bit processor&lt;/li&gt;
  &lt;li&gt;Running macOS 10.11 or higher, as of June 2024.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-virtualbox&quot;&gt;Downloading VirtualBox&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Visit the VirtualBox Download Page&lt;/strong&gt;: Open your web browser and go to the &lt;a href=&quot;https://www.virtualbox.org/wiki/Downloads&quot;&gt;VirtualBox download page&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select the Correct Package&lt;/strong&gt;: Download the latest available version for your macOS. Ensure you choose the package based on your CPU (Intel or ARM64).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-virtualbox&quot;&gt;Installing VirtualBox&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Open the Downloaded File&lt;/strong&gt;: The downloaded file will be stored in your Downloads folder. Locate and open the VirtualBox .dmg file.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Start the Installation Process&lt;/strong&gt;: Double-click on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;VirtualBox.pkg&lt;/code&gt; to begin the installation process.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Follow the Installation Wizard&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;Click the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Continue&lt;/code&gt; button on the installation wizard.&lt;/li&gt;
      &lt;li&gt;You can change the installation location by clicking &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Change Install Location&lt;/code&gt;. To proceed with the default location, simply click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Install&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Authorize the Installation&lt;/strong&gt;: Enter your admin credentials to authorize the installation and click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Install Software&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Installation Complete&lt;/strong&gt;: On successful installation, the VirtualBox launcher will now be in your Applications folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-virtualbox-extension-pack&quot;&gt;Installing VirtualBox Extension Pack&lt;/h2&gt;

&lt;p&gt;The VirtualBox Extension Pack provides additional features such as support for USB 2.0 and 3.0 devices, webcam access, and VirtualBox Remote Desktop Protocol (VRDP).&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Download the Extension Pack&lt;/strong&gt;: Visit the &lt;a href=&quot;https://www.virtualbox.org/wiki/Downloads&quot;&gt;VirtualBox Extension Pack download page&lt;/a&gt; and download the extension pack version matching your VirtualBox version.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Install the Extension Pack&lt;/strong&gt;:&lt;/p&gt;
    &lt;ul&gt;
      &lt;li&gt;Open Terminal and run the following command (replace the file name with the actual downloaded file name):
        &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;VBoxManage extpack &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; ~/Downloads/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;        &lt;/div&gt;
      &lt;/li&gt;
      &lt;li&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Y&lt;/code&gt; to accept the license terms and complete the installation.&lt;/li&gt;
      &lt;li&gt;On successful installation, you will see the message: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Successfully installed &quot;Oracle VM VirtualBox Extension Pack&quot;&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;note&quot;&gt;Note:&lt;/h3&gt;
&lt;p&gt;If you receive an error while trying to install the extension pack via the terminal, make sure you give the terminal the necessary permissions:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Go to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;System Settings&lt;/code&gt; &amp;gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Privacy &amp;amp; Security&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Click the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+&lt;/code&gt; (plus sign), then add and enable Terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Once VirtualBox is installed, you can create a new virtual machine by clicking the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;New&lt;/code&gt; button and following the steps to set up your new machine. Make sure to select the correct operating system version during the setup. This step-by-step guide should help you install VirtualBox on your macOS system smoothly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the VirtualBox installation on MacOS, review &lt;a href=&quot;https://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions&quot;&gt;these alternate instructions&lt;/a&gt;..&lt;/p&gt;
</description>
        <pubDate>Sat, 14 Sep 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/install_virtualbox_macos/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/install_virtualbox_macos/</guid>
        
        <category>macos</category>
        
        <category>virtualbox</category>
        
        <category>hypervisor</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Hyper-V is Not Dead - Understanding the Future of Microsoft&apos;s Hypervisor</title>
        <description>&lt;p&gt;In the world of virtualization, VMware often dominates the conversation. However, recent changes following &lt;a href=&quot;https://investors.broadcom.com/news-releases/news-release-details/broadcom-completes-acquisition-vmware&quot;&gt;Broadcom’s acquisition of VMware&lt;/a&gt; have caused frustration among customers and partners, leading many to explore alternatives. One significant contender that frequently comes up is Hyper-V, Microsoft’s hypervisor technology. Contrary to popular belief, Hyper-V is not being discontinued, and here’s why it’s still a viable and powerful option for virtualization. In this blog post, we will explain why Hyper-V remains a viable and powerful option for virtualization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-state-of-hyper-v&quot; id=&quot;markdown-toc-the-state-of-hyper-v&quot;&gt;The State of Hyper-V&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#misunderstanding-the-discontinuation-rumors&quot; id=&quot;markdown-toc-misunderstanding-the-discontinuation-rumors&quot;&gt;Misunderstanding the Discontinuation Rumors&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#the-importance-of-hyper-v-to-microsoft&quot; id=&quot;markdown-toc-the-importance-of-hyper-v-to-microsoft&quot;&gt;The Importance of Hyper-V to Microsoft&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#what-actually-got-discontinued&quot; id=&quot;markdown-toc-what-actually-got-discontinued&quot;&gt;What Actually Got Discontinued?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#differences-between-hyper-v-server-and-windows-server-hyper-v&quot; id=&quot;markdown-toc-differences-between-hyper-v-server-and-windows-server-hyper-v&quot;&gt;Differences Between Hyper-V Server and Windows Server Hyper-V&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#licensing-considerations&quot; id=&quot;markdown-toc-licensing-considerations&quot;&gt;Licensing Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-state-of-hyper-v&quot;&gt;The State of Hyper-V&lt;/h2&gt;

&lt;p&gt;Hyper-V remains a key player in the business and enterprise virtualization market. It holds the largest market share after VMware, integrates seamlessly with mainstream services like Veeam, and enjoys robust support within the IT community. Despite ongoing rumors, Hyper-V is not going anywhere. These misconceptions often stem from sensationalist headlines and misinterpretations of Microsoft’s announcements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;misunderstanding-the-discontinuation-rumors&quot;&gt;Misunderstanding the Discontinuation Rumors&lt;/h3&gt;

&lt;p&gt;The rumor mill suggests that Hyper-V was discontinued after Windows Server 2019 and that it will disappear once 2019 reaches its end of life. This is simply not true. Windows Server 2022, which has been available for a few years now, includes Hyper-V. Microsoft has also announced ongoing improvements to Hyper-V, including features like clustering and live migration between different generations of CPU, similar to VMware’s Enhanced vMotion Compatibility (EVC).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;the-importance-of-hyper-v-to-microsoft&quot;&gt;The Importance of Hyper-V to Microsoft&lt;/h3&gt;

&lt;p&gt;Hyper-V is integral to several of Microsoft’s key products and services:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Microsoft Azure&lt;/strong&gt;: This massive cloud platform runs on Hyper-V, underscoring its critical role.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Windows Security Features&lt;/strong&gt;: Some of the newest security enhancements in Windows are powered by Hyper-V.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Xbox&lt;/strong&gt;: Even Microsoft’s gaming console relies on Hyper-V for certain functionalities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Given its extensive use across various products, Microsoft is not going to halt the development of Hyper-V anytime soon.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-actually-got-discontinued&quot;&gt;What Actually Got Discontinued?&lt;/h2&gt;

&lt;p&gt;The confusion primarily arises from the discontinuation of Microsoft Hyper-V Server, not Hyper-V itself. Microsoft Hyper-V Server was a standalone edition of Windows Server designed exclusively to run Hyper-V without any additional roles or features. It was similar to VMware’s free ESXi hypervisor, offering a feature-limited version for free.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;differences-between-hyper-v-server-and-windows-server-hyper-v&quot;&gt;Differences Between Hyper-V Server and Windows Server Hyper-V&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Microsoft Hyper-V Server&lt;/strong&gt;: This was a stripped-down, “Core” version of Windows Server that only ran Hyper-V, with no graphical interface or additional server roles.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Windows Server Hyper-V&lt;/strong&gt;: This is the full version of Windows Server where Hyper-V is one of many features you can enable. It continues to be developed and supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By discontinuing Microsoft Hyper-V Server, Microsoft is simplifying its product lineup but not eliminating Hyper-V from Windows Server.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;licensing-considerations&quot;&gt;Licensing Considerations&lt;/h2&gt;

&lt;p&gt;A common concern is that the discontinuation of Microsoft Hyper-V Server might mean higher costs due to licensing. However, this concern is largely unfounded:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Licensing Hyper-V&lt;/strong&gt;: Hyper-V is part of Windows Server, so there is no separate licensing fee for using it. If you have a Windows Server license, you can use Hyper-V.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Windows Licensing&lt;/strong&gt;: Whether you run virtual machines on Hyper-V, VMware, Xen, or KVM, if they are Windows VMs, you need to license the physical hardware they run on.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most users, the discontinuation of Microsoft Hyper-V Server makes little practical difference. If your infrastructure includes Windows workloads, you likely already have the necessary licenses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The narrative that Hyper-V is being phased out is incorrect. Hyper-V continues to be a critical component of Microsoft’s ecosystem, with ongoing development and support. For those seeking an alternative to VMware, Hyper-V remains a powerful and viable option. The discontinuation of Microsoft Hyper-V Server, a free and limited version of Hyper-V, does not impact the full-featured Hyper-V that is part of Windows Server. In essence, Hyper-V is far from dead and continues to be a cornerstone of virtualization technology.&lt;/p&gt;

&lt;p&gt;Stay informed and make sure to base your decisions on accurate information. Hyper-V is here to stay, providing a robust alternative in the virtualization landscape.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the Hyper-V role on Windows server, review &lt;a href=&quot;https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/hyper-v-on-windows-server&quot;&gt;this Microsoft article&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 07 Sep 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/hyperv_not_dead/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/hyperv_not_dead/</guid>
        
        <category>windows</category>
        
        <category>windows_server</category>
        
        <category>hypervisor</category>
        
        <category>hyper-v</category>
        
        <category>security</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>Understanding iCloud Private Relay</title>
        <description>&lt;p&gt;In an age where online privacy is becoming increasingly crucial, Apple has introduced iCloud Private Relay, a feature designed to protect user privacy and enhance security while browsing the internet. Here’s a closer look at what iCloud Private Relay is, how it works, and why it’s important for your digital life.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-icloud-private-relay&quot; id=&quot;markdown-toc-what-is-icloud-private-relay&quot;&gt;What is iCloud Private Relay?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-does-icloud-private-relay-work&quot; id=&quot;markdown-toc-how-does-icloud-private-relay-work&quot;&gt;How Does iCloud Private Relay Work?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-icloud-private-relay-matters&quot; id=&quot;markdown-toc-why-icloud-private-relay-matters&quot;&gt;Why iCloud Private Relay Matters&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-enhanced-privacy&quot; id=&quot;markdown-toc-1-enhanced-privacy&quot;&gt;1. Enhanced Privacy&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-secure-connections&quot; id=&quot;markdown-toc-2-secure-connections&quot;&gt;2. Secure Connections&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-better-browsing-experience&quot; id=&quot;markdown-toc-3-better-browsing-experience&quot;&gt;3. Better Browsing Experience&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-protection-against-targeted-advertising&quot; id=&quot;markdown-toc-4-protection-against-targeted-advertising&quot;&gt;4. Protection Against Targeted Advertising&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-enable-icloud-private-relay&quot; id=&quot;markdown-toc-how-to-enable-icloud-private-relay&quot;&gt;How to Enable iCloud Private Relay&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#limitations-and-considerations&quot; id=&quot;markdown-toc-limitations-and-considerations&quot;&gt;Limitations and Considerations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-icloud-private-relay&quot;&gt;What is iCloud Private Relay?&lt;/h2&gt;

&lt;p&gt;iCloud Private Relay is a privacy feature included with an iCloud+ subscription that helps protect your internet privacy. When enabled, it ensures that your web browsing activity in Safari is encrypted and that your IP address and location are masked from trackers and websites.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-does-icloud-private-relay-work&quot;&gt;How Does iCloud Private Relay Work?&lt;/h2&gt;

&lt;p&gt;iCloud Private Relay uses a dual-hop architecture to protect your privacy:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;First Relay (Apple)&lt;/strong&gt;: When you browse a website, your request is first sent through a relay operated by Apple. Here, your IP address is stripped and replaced with an approximate region-based IP address, ensuring that the website you visit cannot pinpoint your exact location.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Second Relay (Trusted Partner)&lt;/strong&gt;: The stripped request is then sent to a second relay operated by a trusted Apple partner. This second relay assigns you a new, temporary IP address and decrypts the web address you want to visit, finally directing you to your destination.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By splitting these tasks between two separate entities, iCloud Private Relay ensures that no single party has access to both your IP address and your browsing activity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-icloud-private-relay-matters&quot;&gt;Why iCloud Private Relay Matters&lt;/h2&gt;

&lt;h3 id=&quot;1-enhanced-privacy&quot;&gt;1. Enhanced Privacy&lt;/h3&gt;
&lt;p&gt;iCloud Private Relay prevents websites and network providers from building a detailed profile about your online behavior. By masking your IP address and encrypting your browsing activity, it makes it harder for advertisers and data brokers to track you across the web.&lt;/p&gt;

&lt;h3 id=&quot;2-secure-connections&quot;&gt;2. Secure Connections&lt;/h3&gt;
&lt;p&gt;All connections through iCloud Private Relay are encrypted, protecting your data from potential eavesdroppers and ensuring that your internet traffic is secure, even on public Wi-Fi networks.&lt;/p&gt;

&lt;h3 id=&quot;3-better-browsing-experience&quot;&gt;3. Better Browsing Experience&lt;/h3&gt;
&lt;p&gt;With iCloud Private Relay, you can enjoy a more private and secure browsing experience without compromising on speed or performance. The feature works seamlessly in the background, requiring no extra effort from the user.&lt;/p&gt;

&lt;h3 id=&quot;4-protection-against-targeted-advertising&quot;&gt;4. Protection Against Targeted Advertising&lt;/h3&gt;
&lt;p&gt;By hiding your IP address, iCloud Private Relay makes it difficult for advertisers to serve you targeted ads based on your location or browsing history, leading to a less intrusive online experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-enable-icloud-private-relay&quot;&gt;How to Enable iCloud Private Relay&lt;/h2&gt;

&lt;p&gt;Enabling iCloud Private Relay is straightforward. Here’s how to do it on your Apple devices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;On iPhone or iPad:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Open the &lt;strong&gt;Settings&lt;/strong&gt; app.&lt;/li&gt;
      &lt;li&gt;Tap on your name at the top to access &lt;strong&gt;Apple ID&lt;/strong&gt; settings.&lt;/li&gt;
      &lt;li&gt;Select &lt;strong&gt;iCloud&lt;/strong&gt; &amp;gt; &lt;strong&gt;Private Relay&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Toggle the switch to turn on iCloud Private Relay.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;On Mac:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Open &lt;strong&gt;System Preferences&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Click on &lt;strong&gt;Apple ID&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Select &lt;strong&gt;iCloud&lt;/strong&gt; in the sidebar.&lt;/li&gt;
      &lt;li&gt;Check the box next to &lt;strong&gt;Private Relay&lt;/strong&gt; to enable it.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;limitations-and-considerations&quot;&gt;Limitations and Considerations&lt;/h2&gt;

&lt;p&gt;While iCloud Private Relay offers significant privacy benefits, there are some limitations to be aware of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Availability&lt;/strong&gt;: iCloud Private Relay is available with an iCloud+ subscription, which includes paid iCloud storage plans.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Safari Only&lt;/strong&gt;: The feature currently works only with Safari. Other browsers and apps are not covered by iCloud Private Relay.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Regional Restrictions&lt;/strong&gt;: Some countries may have restrictions on the use of iCloud Private Relay due to local laws and regulations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;iCloud Private Relay is a powerful tool in Apple’s suite of privacy features, designed to give users more control over their online privacy and security. By encrypting your browsing activity and masking your IP address, it helps ensure that your online activities remain private and secure. As concerns about digital privacy continue to grow, features like iCloud Private Relay represent a significant step forward in protecting user data and enhancing the overall internet experience.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about iCloud Private relay, review &lt;a href=&quot;https://support.apple.com/en-us/102602&quot;&gt;this Apple article&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 31 Aug 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/icloud_private_relay/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/icloud_private_relay/</guid>
        
        <category>macos</category>
        
        <category>security</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Configuring Microsoft Remote Desktop Outside of the App Store</title>
        <description>&lt;p&gt;System administrators and IT professionals often seek streamlined methods for deploying software across multiple systems without relying on user intervention or third-party platforms like the Mac App Store. Responding to this need, Microsoft has made its Remote Desktop application available as a standalone installer, independent of the App Store.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-the-standalone-installer&quot; id=&quot;markdown-toc-why-use-the-standalone-installer&quot;&gt;Why Use the Standalone Installer?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-the-standalone-installer&quot; id=&quot;markdown-toc-downloading-the-standalone-installer&quot;&gt;Downloading the Standalone Installer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#keeping-the-application-updated&quot; id=&quot;markdown-toc-keeping-the-application-updated&quot;&gt;Keeping the Application Updated&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-the-standalone-installer&quot;&gt;Why Use the Standalone Installer?&lt;/h2&gt;

&lt;p&gt;The standalone installer for Microsoft Remote Desktop provides several benefits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Ease of Deployment&lt;/strong&gt;: Admins can distribute the application using standard package management tools without requiring users to interact with the Mac App Store.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Consistent Updates&lt;/strong&gt;: The standalone version can be kept up-to-date via Microsoft AutoUpdate, ensuring it stays in sync with the App Store releases.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Streamlined Management&lt;/strong&gt;: This method aligns with how other software packages are managed, simplifying the workflow for System administrators.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-the-standalone-installer&quot;&gt;Downloading the Standalone Installer&lt;/h2&gt;

&lt;p&gt;To obtain the standalone version of Microsoft Remote Desktop, follow these steps:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Visit the Download Page&lt;/strong&gt;: Navigate to the official download page for MacAdmins at &lt;a href=&quot;http://macadmins.software&quot;&gt;macadmins.software&lt;/a&gt;. This site provides links to various Microsoft software packages tailored for administrative deployment.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Direct Download Link&lt;/strong&gt;: For a quick download, you can use the direct link provided by Microsoft: &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=868963&quot;&gt;Microsoft Remote Desktop Standalone Installer&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;keeping-the-application-updated&quot;&gt;Keeping the Application Updated&lt;/h2&gt;

&lt;p&gt;One of the significant advantages of using the standalone installer is its compatibility with Microsoft AutoUpdate. This ensures that Microsoft Remote Desktop stays updated alongside other Microsoft applications like Office and Skype for Business.&lt;/p&gt;

&lt;p&gt;To ensure automatic updates:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Install Microsoft AutoUpdate&lt;/strong&gt;: If not already installed, you can obtain Microsoft AutoUpdate from the same download page. It’s typically bundled with other Microsoft applications, so you may already have it on your systems.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Enable AutoUpdate&lt;/strong&gt;: Once installed, Microsoft AutoUpdate will handle updates for Microsoft Remote Desktop, keeping it in sync with the App Store releases.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The availability of Microsoft Remote Desktop as a standalone installer is a significant improvement for System Administrators, simplifying the deployment and management of this essential tool. By using the standalone installer and leveraging Microsoft AutoUpdate, administrators can ensure that their systems remain up-to-date and secure, all while streamlining the overall management processes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and to download the standalone installer, visit &lt;a href=&quot;http://macadmins.software&quot;&gt;macadmins.software&lt;/a&gt; or use the direct link: &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=868963&quot;&gt;Microsoft Remote Desktop Standalone Installer&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 24 Aug 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/configuring_microsoft_remote_desktop/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/configuring_microsoft_remote_desktop/</guid>
        
        <category>macos</category>
        
        <category>rdp</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Using Vi to Replace Multiple Words in a Linux File</title>
        <description>&lt;p&gt;When working with text files in Linux, you might often need to replace multiple instances of a word with another word. One of the most powerful tools for this task is Vi (or Vim), a versatile and widely-used text editor. In this post, we’ll explore how to efficiently replace words using Vi.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#replacing-words-with-vi&quot; id=&quot;markdown-toc-replacing-words-with-vi&quot;&gt;Replacing Words with Vi&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-by-step-guide&quot; id=&quot;markdown-toc-step-by-step-guide&quot;&gt;Step-by-Step Guide&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#example&quot; id=&quot;markdown-toc-example&quot;&gt;Example&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-tips&quot; id=&quot;markdown-toc-additional-tips&quot;&gt;Additional Tips&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;replacing-words-with-vi&quot;&gt;Replacing Words with Vi&lt;/h2&gt;

&lt;p&gt;Vi provides a powerful search and replace functionality. The command for replacing words throughout the entire file is:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vim
:%s/oldword/replacementword/g
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Let’s break down this command:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:%s&lt;/code&gt; – This part of the command tells Vi to search and replace in the entire file. The % symbol specifies that the operation should be performed on all lines.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;oldword&lt;/code&gt; – This is the word you want to replace.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;replacementword&lt;/code&gt; – This is the word that will replace oldword.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/g&lt;/code&gt; – This global flag ensures that all occurrences of oldword on each line are replaced. Without this flag, only the first occurrence on each line would be replaced.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-by-step-guide&quot;&gt;Step-by-Step Guide&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Open the File in Vi: Start by opening your file in Vi. For example:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vi filename.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Enter Command Mode: Ensure you are in command mode by pressing Esc.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Execute the Replace Command:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:%s/oldword/replacementword/g&lt;/code&gt; and press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Vi will then search the entire file and replace every occurrence of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;oldword&lt;/code&gt; with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;replacementword&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;example&quot;&gt;Example&lt;/h3&gt;
&lt;p&gt;Suppose you have a file example.txt with the following content:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;The &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;quick&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; brown fox jumps over the lazy dog.
The &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;quick&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; brown fox is very &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;quick&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; and very clever.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To replace the word &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;quick&lt;/code&gt; with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;swift&lt;/code&gt;, you would:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Open the file in Vi:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vi example.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Enter command mode by pressing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Esc&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Execute the replace command:&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;:%s/quick/swift/g
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After running the command, the file content would be:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;The &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;swift&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; brown fox jumps over the lazy dog.
The &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;swift&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; brown fox is very &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;swift&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; and very clever.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-tips&quot;&gt;Additional Tips&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Case Sensitivity: By default, the search is case-sensitive. To perform a &lt;strong&gt;case-insensitive&lt;/strong&gt; search and replace, add the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;i&lt;/code&gt; flag like this:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;:%s/oldword/replacementword/gi
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Confirm Each Replacement: If you want Vi to prompt you for confirmation before each replacement, add the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;c&lt;/code&gt; flag:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;:%s/oldword/replacementword/gc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Specific Line Range: You can limit the replace operation to a specific range of lines by specifying the range. For example, to replace words only in lines 10 to 20:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;:10,20s/oldword/replacementword/g
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Using Vi to replace words in a file is a quick and powerful way to edit text in Linux. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:%s/oldword/replacementword/g&lt;/code&gt; command allows you to perform global replacements efficiently. With additional flags and options, you can customize the search and replace functionality to suit your needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and specific details about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vi&lt;/code&gt; command, refer to &lt;a href=&quot;https://linux.die.net/man/1/vi&quot;&gt;vi man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 17 Aug 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/replace_multiple_words_with_vi/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/replace_multiple_words_with_vi/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the Difference Between Switch User Commands</title>
        <description>&lt;p&gt;When managing a Linux system, especially as an administrator, you often need to switch user accounts to perform tasks with different permissions. Two common commands for switching users are &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;. While they may seem similar, there are subtle but important differences between them. This blog post will explore differences in these switch user commands, including potential security implications and best practices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#command-breakdown&quot; id=&quot;markdown-toc-command-breakdown&quot;&gt;Command Breakdown&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#sudo-su---testuser&quot; id=&quot;markdown-toc-sudo-su---testuser&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#sudo--iu-testuser&quot; id=&quot;markdown-toc-sudo--iu-testuser&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-differences&quot; id=&quot;markdown-toc-key-differences&quot;&gt;Key Differences&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#command-execution&quot; id=&quot;markdown-toc-command-execution&quot;&gt;Command Execution&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#process-chain&quot; id=&quot;markdown-toc-process-chain&quot;&gt;Process Chain&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#environment-setup&quot; id=&quot;markdown-toc-environment-setup&quot;&gt;Environment Setup&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-implications&quot; id=&quot;markdown-toc-security-implications&quot;&gt;Security Implications&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#sudo-su---testuser-1&quot; id=&quot;markdown-toc-sudo-su---testuser-1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#sudo--iu-testuser-1&quot; id=&quot;markdown-toc-sudo--iu-testuser-1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-considerations&quot; id=&quot;markdown-toc-additional-considerations&quot;&gt;Additional Considerations&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#audit-and-logging&quot; id=&quot;markdown-toc-audit-and-logging&quot;&gt;Audit and Logging&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#shell-history&quot; id=&quot;markdown-toc-shell-history&quot;&gt;Shell History&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#simplicity-and-best-practices&quot; id=&quot;markdown-toc-simplicity-and-best-practices&quot;&gt;Simplicity and Best Practices&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;command-breakdown&quot;&gt;Command Breakdown&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sudo-su---testuser&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt;&lt;/strong&gt;: Runs a command with superuser (root) privileges.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su - testuser&lt;/code&gt;&lt;/strong&gt;: Switches the current user to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; and starts a new login shell.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When combined, this command first uses &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; to gain root privileges and then uses &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su -&lt;/code&gt; to switch to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; user. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-&lt;/code&gt; option with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; ensures a login shell, resetting environment variables as if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; had logged in directly and executing the user’s login scripts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sudo--iu-testuser&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt;&lt;/strong&gt;: Runs a command with superuser privileges.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-iu&lt;/code&gt;&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-i&lt;/code&gt;&lt;/strong&gt;: Initiates a login shell as the specified user (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt;).&lt;/li&gt;
      &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-u&lt;/code&gt;&lt;/strong&gt;: Specifies the user to switch to.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This command tells &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; to directly switch to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; user and start a login shell, ensuring that the environment is set up as if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; had logged in directly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-differences&quot;&gt;Key Differences&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;command-execution&quot;&gt;Command Execution&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/strong&gt;: Involves two steps: gaining root privileges with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; and then switching to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/strong&gt;: Directly switches to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt;, making it more streamlined.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;process-chain&quot;&gt;Process Chain&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/strong&gt;: Creates an additional process (the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; command running as root) before switching to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/strong&gt;: Fewer processes are involved as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; directly switches to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;environment-setup&quot;&gt;Environment Setup&lt;/h3&gt;

&lt;p&gt;Both commands set up the environment as if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;testuser&lt;/code&gt; had logged in directly. However, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt; is preferred for its directness and efficiency.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-implications&quot;&gt;Security Implications&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sudo-su---testuser-1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Process Chain Vulnerability&lt;/strong&gt;: The intermediate &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; command running as root could be a potential point of vulnerability if the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; command or inherited environment variables are compromised.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;: Involves an extra layer of privilege escalation, which could expose the system to more risks if misused.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sudo--iu-testuser-1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Direct Execution&lt;/strong&gt;: This approach is generally considered more secure because it directly performs the user switch, minimizing potential vulnerabilities.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cleaner Environment&lt;/strong&gt;: Ensures a clean environment setup by minimizing the inheritance of environment variables from the previous user session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-considerations&quot;&gt;Additional Considerations&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;audit-and-logging&quot;&gt;Audit and Logging&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/strong&gt;: Provides clearer logging, as it directly shows the command used to switch users.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/strong&gt;: May add complexity to the logs due to the additional &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; process.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;shell-history&quot;&gt;Shell History&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo su - testuser&lt;/code&gt;&lt;/strong&gt;: Involves two shells (one from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; and one from the final user), which can complicate shell history management.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/strong&gt;: Initiates a single clean shell session, making it easier to manage shell history.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;simplicity-and-best-practices&quot;&gt;Simplicity and Best Practices&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt;&lt;/strong&gt;: Simpler, more direct, and adheres to best practices by minimizing unnecessary privilege escalation steps. It is preferred for improved security and maintainability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Security&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt; is generally more secure due to fewer privilege escalation steps and cleaner environment handling.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Simplicity&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt; is simpler and more efficient.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Best Practice&lt;/strong&gt;: For improved security and maintainability, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -iu testuser&lt;/code&gt; is typically preferred.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While both commands achieve the same end result, understanding these differences helps in making informed decisions about security and system administration practices.&lt;/p&gt;

&lt;p&gt;By choosing the more secure and efficient command, you can ensure better management of user privileges and enhance the overall security of your Linux systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and specific details about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;su&lt;/code&gt; command, refer to &lt;a href=&quot;https://linux.die.net/man/1/su&quot;&gt;su man page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 10 Aug 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_su_options/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_su_options/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Changing the Default Location of the AuthorizedKeysFile</title>
        <description>&lt;p&gt;In SSH (Secure Shell) configurations, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; is a critical file that specifies the location of public keys used for user authentication. By default, this file is located in the user’s home directory under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ssh/authorized_keys&lt;/code&gt;. However, for security reasons, you might want to change the default location of this file. This blog post will explain how to change the default location of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; and why doing so can enhance the security of your server.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-change-the-default-location&quot; id=&quot;markdown-toc-why-change-the-default-location&quot;&gt;Why Change the Default Location?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#steps-to-change-the-default-location&quot; id=&quot;markdown-toc-steps-to-change-the-default-location&quot;&gt;Steps to Change the Default Location&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-edit-the-ssh-daemon-configuration&quot; id=&quot;markdown-toc-1-edit-the-ssh-daemon-configuration&quot;&gt;1. Edit the SSH Daemon Configuration&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-modify-the-authorizedkeysfile-directive&quot; id=&quot;markdown-toc-2-modify-the-authorizedkeysfile-directive&quot;&gt;2. Modify the AuthorizedKeysFile Directive&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-create-the-new-directory-structure&quot; id=&quot;markdown-toc-3-create-the-new-directory-structure&quot;&gt;3. Create the New Directory Structure&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-move-existing-authorized-keys&quot; id=&quot;markdown-toc-4-move-existing-authorized-keys&quot;&gt;4. Move Existing Authorized Keys&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-restart-the-ssh-service&quot; id=&quot;markdown-toc-5-restart-the-ssh-service&quot;&gt;5. Restart the SSH Service&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-verify-the-configuration&quot; id=&quot;markdown-toc-6-verify-the-configuration&quot;&gt;6. Verify the Configuration&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-change-the-default-location&quot;&gt;Why Change the Default Location?&lt;/h2&gt;

&lt;p&gt;The default location of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; is widely known, which can be a potential security risk. Attackers who gain access to a user’s home directory can easily locate and tamper with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.ssh/authorized_keys&lt;/code&gt; file. Changing the location of this file can obscure its presence, adding an additional layer of security. Here are some key reasons to consider changing the default location:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Obfuscation&lt;/strong&gt;: By moving the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt;, you make it harder for an attacker to find and manipulate it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Custom Security Policies&lt;/strong&gt;: In environments with strict security policies, placing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; in a more secure or less obvious location can help comply with those policies.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Centralized Management&lt;/strong&gt;: On systems with multiple users, it might be beneficial to store all &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; entries in a central location for easier management and monitoring.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;steps-to-change-the-default-location&quot;&gt;Steps to Change the Default Location&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-edit-the-ssh-daemon-configuration&quot;&gt;1. Edit the SSH Daemon Configuration&lt;/h3&gt;

&lt;p&gt;First, you need to edit the SSH daemon configuration file, typically located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/ssh/sshd_config&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;nano /etc/ssh/sshd_config
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-modify-the-authorizedkeysfile-directive&quot;&gt;2. Modify the AuthorizedKeysFile Directive&lt;/h3&gt;
&lt;p&gt;Locate the AuthorizedKeysFile directive in the configuration file. By default, it looks like this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#AuthorizedKeysFile .ssh/authorized_keys&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Uncomment the line and change the path to your desired location. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;AuthorizedKeysFile /etc/ssh/keys/%u/authorized_keys
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In this example, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;%u&lt;/code&gt; is a placeholder for the username. This configuration stores each user’s authorized keys in a separate directory under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/ssh/keys/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-create-the-new-directory-structure&quot;&gt;3. Create the New Directory Structure&lt;/h3&gt;
&lt;p&gt;Create the new directory structure and set appropriate permissions. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo mkdir&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; /etc/ssh/keys
&lt;span class=&quot;nb&quot;&gt;sudo mkdir&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; /etc/ssh/keys/yourusername
&lt;span class=&quot;nb&quot;&gt;sudo chown &lt;/span&gt;yourusername:yourusername /etc/ssh/keys/yourusername
&lt;span class=&quot;nb&quot;&gt;sudo chmod &lt;/span&gt;700 /etc/ssh/keys/yourusername
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-move-existing-authorized-keys&quot;&gt;4. Move Existing Authorized Keys&lt;/h3&gt;
&lt;p&gt;Move the existing authorized_keys file to the new location:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo mv&lt;/span&gt; /home/yourusername/.ssh/authorized_keys /etc/ssh/keys/yourusername/
&lt;span class=&quot;nb&quot;&gt;sudo chown &lt;/span&gt;yourusername:yourusername /etc/ssh/keys/yourusername/authorized_keys
&lt;span class=&quot;nb&quot;&gt;sudo chmod &lt;/span&gt;600 /etc/ssh/keys/yourusername/authorized_keys
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-restart-the-ssh-service&quot;&gt;5. Restart the SSH Service&lt;/h3&gt;
&lt;p&gt;Finally, restart the SSH service to apply the changes:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-verify-the-configuration&quot;&gt;6. Verify the Configuration&lt;/h3&gt;
&lt;p&gt;Test the configuration by attempting to log in with SSH to ensure that the new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AuthorizedKeysFile&lt;/code&gt; location is being used correctly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Changing the default location of the AuthorizedKeysFile can significantly enhance the security of your SSH setup by making it more difficult for attackers to locate and manipulate the file. This simple change, combined with other security best practices, can help protect your server from unauthorized access. Implement this strategy to add an extra layer of security to your SSH configuration and reduce the risk of compromise.&lt;/p&gt;

&lt;p&gt;By taking proactive steps to secure your authentication files, you can maintain an elite security posture and safeguard your server from potential threats.&lt;/p&gt;
</description>
        <pubDate>Sat, 03 Aug 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/changing_authorizedkeysfile_location/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/changing_authorizedkeysfile_location/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        <category>monitoring</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Monitoring User Logins on a RHEL Server</title>
        <description>&lt;p&gt;As a system administrator, keeping track of user login activities on your Red Hat Enterprise Linux (RHEL) server is essential for maintaining security and accountability. RHEL provides several commands that allow you to monitor and review login sessions, both successful and failed. This blog post will guide you through some of the most useful commands for tracking user logins on your RHEL server.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#commands-to-track-user-logins&quot; id=&quot;markdown-toc-commands-to-track-user-logins&quot;&gt;Commands to Track User Logins&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-last-command&quot; id=&quot;markdown-toc-1-last-command&quot;&gt;1. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; Command&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-lastb-command&quot; id=&quot;markdown-toc-2-lastb-command&quot;&gt;2. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lastb&lt;/code&gt; Command&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-who-command&quot; id=&quot;markdown-toc-3-who-command&quot;&gt;3. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;who&lt;/code&gt; Command&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-w-command&quot; id=&quot;markdown-toc-4-w-command&quot;&gt;4. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;w&lt;/code&gt; Command&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-journalctl-command&quot; id=&quot;markdown-toc-5-journalctl-command&quot;&gt;5. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;journalctl&lt;/code&gt; Command&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-checking-varlogsecure&quot; id=&quot;markdown-toc-6-checking-varlogsecure&quot;&gt;6. Checking /var/log/secure&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;commands-to-track-user-logins&quot;&gt;Commands to Track User Logins&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-last-command&quot;&gt;1. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; Command&lt;/h3&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;last&lt;/code&gt; command displays a list of the most recent login sessions on the system. This includes information such as the username, terminal, IP address, date, and duration of the session.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To see a specific number of recent logins, you can limit the output by using the -n option followed by the number of entries you want to display.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;last &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-lastb-command&quot;&gt;2. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lastb&lt;/code&gt; Command&lt;/h3&gt;

&lt;p&gt;The lastb command is similar to last, but it shows failed login attempts. This can be useful for identifying unauthorized login attempts.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;lastb
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-who-command&quot;&gt;3. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;who&lt;/code&gt; Command&lt;/h3&gt;
&lt;p&gt;The who command shows who is currently logged into the system.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;who&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-w-command&quot;&gt;4. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;w&lt;/code&gt; Command&lt;/h3&gt;
&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;w&lt;/code&gt; command displays information about the users currently logged in and their processes. This includes the login name, terminal, remote host, login time, idle time, JCPU, PCPU, and the command being executed.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;w
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-journalctl-command&quot;&gt;5. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;journalctl&lt;/code&gt; Command&lt;/h3&gt;
&lt;p&gt;If your system uses systemd, you can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;journalctl&lt;/code&gt; to review logs for login activities.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;journalctl &lt;span class=&quot;nt&quot;&gt;-u&lt;/span&gt; sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display logs related to the SSH daemon, which handles SSH logins. You can also filter logs for a specific time frame.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;journalctl &lt;span class=&quot;nt&quot;&gt;-u&lt;/span&gt; sshd &lt;span class=&quot;nt&quot;&gt;--since&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;2023-05-30&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--until&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;2023-06-01&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-checking-varlogsecure&quot;&gt;6. Checking /var/log/secure&lt;/h3&gt;
&lt;p&gt;The /var/log/secure file logs authentication-related messages, including successful and failed login attempts.&lt;/p&gt;

&lt;p&gt;To find lines indicating when a session was opened for a user, you can use the grep command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;session opened for user&quot;&lt;/span&gt; /var/log/secure
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;By using these commands, you can gather comprehensive information about user login activities on your RHEL server. Monitoring these logs regularly helps in identifying unauthorized access attempts and maintaining overall system security. Implement these practices to ensure your server remains secure and to keep an audit trail of login activities for accountability.&lt;/p&gt;

&lt;p&gt;Understanding and utilizing these tools effectively allows you to manage user access and detect potential security threats, thereby enhancing the security posture of your RHEL server.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and specific details about monitoring user logins in RHEL, refer to this &lt;a href=&quot;https://www.redhat.com/sysadmin/monitor-users-linux&quot;&gt;Redhat article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 27 Jul 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/monitoring_user_logins/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/monitoring_user_logins/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        <category>monitoring</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Configuring Sudo Access - Wheel Group vs. /etc/sudoers.d/USERNAME File</title>
        <description>&lt;p&gt;In Unix-like operating systems, granting a user elevated privileges can be achieved using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; command. Proper configuration of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; access is crucial for system security and administration. Two common methods for configuring &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; access are using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wheel&lt;/code&gt; group and creating specific files in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/sudoers.d/&lt;/code&gt; directory. This post will compare these two methods, discussing their advantages, disadvantages, and best use cases.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-sudo&quot; id=&quot;markdown-toc-understanding-sudo&quot;&gt;Understanding Sudo&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-1-using-the-wheel-group&quot; id=&quot;markdown-toc-method-1-using-the-wheel-group&quot;&gt;Method 1: Using the Wheel Group&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#what-is-the-wheel-group&quot; id=&quot;markdown-toc-what-is-the-wheel-group&quot;&gt;What is the Wheel Group?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#configuration-steps&quot; id=&quot;markdown-toc-configuration-steps&quot;&gt;Configuration Steps&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#disadvantages&quot; id=&quot;markdown-toc-disadvantages&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#method-2-using-etcsudoersdusername-file&quot; id=&quot;markdown-toc-method-2-using-etcsudoersdusername-file&quot;&gt;Method 2: Using /etc/sudoers.d/username File&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#what-is-etcsudoersd&quot; id=&quot;markdown-toc-what-is-etcsudoersd&quot;&gt;What is /etc/sudoers.d/?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#configuration-steps-1&quot; id=&quot;markdown-toc-configuration-steps-1&quot;&gt;Configuration Steps&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages-1&quot; id=&quot;markdown-toc-advantages-1&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#disadvantages-1&quot; id=&quot;markdown-toc-disadvantages-1&quot;&gt;Disadvantages&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#best-use-cases&quot; id=&quot;markdown-toc-best-use-cases&quot;&gt;Best Use Cases&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#when-to-use-the-wheel-group&quot; id=&quot;markdown-toc-when-to-use-the-wheel-group&quot;&gt;When to Use the Wheel Group&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#when-to-use-etcsudoersd&quot; id=&quot;markdown-toc-when-to-use-etcsudoersd&quot;&gt;When to Use /etc/sudoers.d/&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-sudo&quot;&gt;Understanding Sudo&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; command allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. Configuration of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; access is managed by the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/sudoers&lt;/code&gt; file, which should be edited with care to avoid syntax errors that could prevent all users from gaining &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; access.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-1-using-the-wheel-group&quot;&gt;Method 1: Using the Wheel Group&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-is-the-wheel-group&quot;&gt;What is the Wheel Group?&lt;/h3&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wheel&lt;/code&gt; group is a special user group used in Unix-like operating systems to control access to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; command. Users in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wheel&lt;/code&gt; group are granted &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; privileges as defined in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/sudoers&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;configuration-steps&quot;&gt;Configuration Steps&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Check for Wheel Group Definition&lt;/strong&gt;: Ensure the following line is present and uncommented in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/sudoers&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;%wheel &lt;span class=&quot;nv&quot;&gt;ALL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=(&lt;/span&gt;ALL&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; ALL
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This line grants all users in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wheel&lt;/code&gt; group permission to run any command as any user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add User to Wheel Group&lt;/strong&gt;: Add a user to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wheel&lt;/code&gt; group using the following command:&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;usermod &lt;span class=&quot;nt&quot;&gt;-aG&lt;/span&gt; wheel username
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages&quot;&gt;Advantages&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Simplicity&lt;/strong&gt;: Adding a user to the wheel group is straightforward.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Centralized Management&lt;/strong&gt;: Easier to manage a group of users who need sudo access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Standard Practice&lt;/strong&gt;: Common in many Unix-like systems and familiar to most system administrators.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;disadvantages&quot;&gt;Disadvantages&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Granularity&lt;/strong&gt;: Less granular control; all users in the wheel group get the same level of sudo access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Potential Overuse&lt;/strong&gt;: If many users are added to the wheel group, it can be harder to track who has sudo privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;method-2-using-etcsudoersdusername-file&quot;&gt;Method 2: Using /etc/sudoers.d/username File&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-is-etcsudoersd&quot;&gt;What is /etc/sudoers.d/?&lt;/h3&gt;

&lt;p&gt;The /etc/sudoers.d/ directory allows you to create separate configuration files for each user or group, which are included by the main /etc/sudoers file. This method helps organize and manage sudo privileges more granularly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;configuration-steps-1&quot;&gt;Configuration Steps&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Create a Sudoers File&lt;/strong&gt;: Create a file in /etc/sudoers.d/ named after the user (e.g., username):
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;visudo &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /etc/sudoers.d/username
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Define Privileges&lt;/strong&gt;: Add the necessary sudo privileges for the user in the file. For example:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;username &lt;span class=&quot;nv&quot;&gt;ALL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=(&lt;/span&gt;postgres&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; /bin/bash     &lt;span class=&quot;c&quot;&gt;#provides the user access to the postgres suers bash&lt;/span&gt;
username &lt;span class=&quot;nv&quot;&gt;ALL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=(&lt;/span&gt;ALL&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; /usr/bin/systemctl &lt;span class=&quot;c&quot;&gt;#provides the user access to run all systemctl commands; ie start/stop/restart services&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages-1&quot;&gt;Advantages&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Granularity&lt;/strong&gt;: Allows fine-grained control over sudo privileges on a per-user basis.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Organized Configuration&lt;/strong&gt;: Keeps the main /etc/sudoers file clean and easier to manage.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Flexibility&lt;/strong&gt;: Different users can have different levels of sudo access as needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;disadvantages-1&quot;&gt;Disadvantages&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Management Overhead&lt;/strong&gt;: Requires managing multiple files, which can be cumbersome for many users.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Complexity&lt;/strong&gt;: More complex setup compared to using the wheel group.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;best-use-cases&quot;&gt;Best Use Cases&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;when-to-use-the-wheel-group&quot;&gt;When to Use the Wheel Group&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Small User Base&lt;/strong&gt;: Ideal for systems with a small number of users needing sudo access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Uniform Privileges&lt;/strong&gt;: Suitable when all sudo users need the same level of access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Standard Administration&lt;/strong&gt;: Fits well in environments where the wheel group is the standard for sudo access control.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;when-to-use-etcsudoersd&quot;&gt;When to Use /etc/sudoers.d/&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Large User Base&lt;/strong&gt;: Beneficial for systems with a large number of users needing varying levels of sudo access.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Granular Control&lt;/strong&gt;: Perfect for environments where different users require different sudo privileges.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security-Focused&lt;/strong&gt;: Useful in systems requiring strict control and auditing of sudo privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Both the wheel group and /etc/sudoers.d/ directory methods are effective for managing sudo access, but they serve different needs. The wheel group offers simplicity and ease of use for uniform sudo access, while the /etc/sudoers.d/ directory provides more granular control and flexibility. By understanding the strengths and limitations of each method, system administrators can choose the best approach for their specific environment, ensuring a balance between usability and security.&lt;/p&gt;

&lt;p&gt;Whether you manage a small team or a large organization, configuring sudo access properly is a critical task that can enhance both security and operational efficiency. Choose the method that aligns with your administrative needs and security policies to maintain a robust and secure system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and specific details about managing sudo access, refer to this &lt;a href=&quot;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/managing-sudo-access_configuring-basic-system-settings&quot;&gt;Redhat article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 20 Jul 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/configuring_sudo_access/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/configuring_sudo_access/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        <category>permissions</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the Difference Between LAMP and LEMP Web Stacks - Which is Preferred?</title>
        <description>&lt;p&gt;When it comes to building and deploying web applications, choosing the right stack is crucial for performance, scalability, and ease of development. Two of the most popular web stacks are &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt;. Both have their strengths and are widely used in the industry, but they cater to different needs and preferences. In this blog post, we’ll explore the differences between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt; stacks, and help you determine which might be the better choice for your next project.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-web-stack&quot; id=&quot;markdown-toc-what-is-a-web-stack&quot;&gt;What is a Web Stack?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-lamp-stack&quot; id=&quot;markdown-toc-the-lamp-stack&quot;&gt;The LAMP Stack&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#components&quot; id=&quot;markdown-toc-components&quot;&gt;Components&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#overview&quot; id=&quot;markdown-toc-overview&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages&quot; id=&quot;markdown-toc-advantages&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-lemp-stack&quot; id=&quot;markdown-toc-the-lemp-stack&quot;&gt;The LEMP Stack&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#components-1&quot; id=&quot;markdown-toc-components-1&quot;&gt;Components&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#overview-1&quot; id=&quot;markdown-toc-overview-1&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advantages-1&quot; id=&quot;markdown-toc-advantages-1&quot;&gt;Advantages&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#comparing-lamp-and-lemp&quot; id=&quot;markdown-toc-comparing-lamp-and-lemp&quot;&gt;Comparing LAMP and LEMP&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#performance&quot; id=&quot;markdown-toc-performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#ease-of-use&quot; id=&quot;markdown-toc-ease-of-use&quot;&gt;Ease of Use&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#scalability&quot; id=&quot;markdown-toc-scalability&quot;&gt;Scalability&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#use-cases&quot; id=&quot;markdown-toc-use-cases&quot;&gt;Use Cases&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#which-is-preferred&quot; id=&quot;markdown-toc-which-is-preferred&quot;&gt;Which is Preferred?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-web-stack&quot;&gt;What is a Web Stack?&lt;/h2&gt;

&lt;p&gt;A web stack is a collection of software technologies used together to build and run web applications. It typically includes an operating system, a web server, a database server, and a programming language. The components of a web stack work together to serve web pages and handle dynamic content, database interactions, and user requests.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-lamp-stack&quot;&gt;The LAMP Stack&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;components&quot;&gt;Components&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Linux&lt;/strong&gt;: The operating system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apache&lt;/strong&gt;: The web server.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;MySQL&lt;/strong&gt;: The database management system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt;: The programming language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;overview&quot;&gt;Overview&lt;/h3&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; stack has been a staple in web development for many years. It is an open-source stack, which means all its components are freely available and widely supported. Here’s a closer look at each component:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Linux&lt;/strong&gt;: Known for its stability and security, Linux is the foundation of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; stack.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apache&lt;/strong&gt;: A highly configurable and robust web server, Apache powers a significant portion of the web.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;MySQL&lt;/strong&gt;: A relational database management system known for its reliability and performance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt;: A server-side scripting language that is particularly well-suited for web development.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages&quot;&gt;Advantages&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Maturity and Stability&lt;/strong&gt;: Each component of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; stack is well-established and has a large community of users and developers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Flexibility&lt;/strong&gt;: The stack is highly customizable and can be tailored to meet specific requirements.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Wide Support&lt;/strong&gt;: Extensive documentation and community support make it easier to find solutions to common problems.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-lemp-stack&quot;&gt;The LEMP Stack&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;components-1&quot;&gt;Components&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Linux&lt;/strong&gt;: The operating system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Nginx&lt;/strong&gt;: The web server (pronounced “Engine-X”).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;MySQL (or MariaDB)&lt;/strong&gt;: The database management system.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt;: The programming language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;overview-1&quot;&gt;Overview&lt;/h3&gt;

&lt;p&gt;The LEMP stack is a modern alternative to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; stack, offering some key differences, particularly in the web server component:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Linux&lt;/strong&gt;: The same stable and secure operating system as in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Nginx&lt;/strong&gt;: A high-performance web server known for its speed and efficiency in handling concurrent connections.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;MySQL (or MariaDB)&lt;/strong&gt;: Like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt; can use MySQL or its fork, MariaDB.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt;: Often implemented via PHP-FPM (FastCGI Process Manager) for better performance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advantages-1&quot;&gt;Advantages&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Performance&lt;/strong&gt;: Nginx is optimized for handling static content and can manage higher loads and concurrent connections more efficiently than Apache.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Scalability&lt;/strong&gt;: Nginx’s event-driven architecture allows it to scale more effectively with fewer resources.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configuration&lt;/strong&gt;: Easier to set up for certain tasks, particularly in high-traffic scenarios.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;comparing-lamp-and-lemp&quot;&gt;Comparing LAMP and LEMP&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;performance&quot;&gt;Performance&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Nginx vs. Apache&lt;/strong&gt;: Nginx generally outperforms Apache in terms of handling static content and managing high traffic volumes. Apache excels in flexibility and module support.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Database Performance&lt;/strong&gt;: Both stacks typically use MySQL or MariaDB, so database performance is similar.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;ease-of-use&quot;&gt;Ease of Use&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Configuration&lt;/strong&gt;: Apache’s configuration is considered more straightforward for many users, especially beginners. Nginx configuration, while powerful, has a steeper learning curve.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Community and Support&lt;/strong&gt;: Both stacks have robust communities, but &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt;, being older, has a broader range of resources and support.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;scalability&quot;&gt;Scalability&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Nginx&lt;/strong&gt;: Designed with scalability in mind, Nginx can handle more simultaneous connections and is more efficient under load.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Apache&lt;/strong&gt;: While scalable, Apache can require more resources to achieve the same level of performance as Nginx.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-cases&quot;&gt;Use Cases&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;LAMP&lt;/strong&gt;: Best suited for applications where flexibility, ease of configuration, and extensive module support are needed. Ideal for traditional web hosting environments.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;LEMP&lt;/strong&gt;: Preferred for high-traffic websites, applications requiring efficient load handling, and modern web applications where performance is critical.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;which-is-preferred&quot;&gt;Which is Preferred?&lt;/h2&gt;

&lt;p&gt;The choice between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt; ultimately depends on your specific requirements:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Choose LAMP if&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;You need a tried-and-true stack with extensive community support.&lt;/li&gt;
      &lt;li&gt;Flexibility and ease of configuration are priorities.&lt;/li&gt;
      &lt;li&gt;Your application does not demand extreme performance optimization.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Choose LEMP if&lt;/strong&gt;:
    &lt;ul&gt;
      &lt;li&gt;You require high performance and efficient resource management.&lt;/li&gt;
      &lt;li&gt;Scalability is a significant concern.&lt;/li&gt;
      &lt;li&gt;You are comfortable with a steeper learning curve for potentially better results.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Both &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt; stacks offer powerful solutions for web development, each with its strengths and ideal use cases. By understanding the differences between these stacks, you can make an informed decision that aligns with your project’s needs and goals. Whether you prioritize the stability and flexibility of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LAMP&lt;/code&gt; or the performance and scalability of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LEMP&lt;/code&gt;, both stacks provide a solid foundation for building robust web applications.&lt;/p&gt;
</description>
        <pubDate>Sat, 13 Jul 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/lamp_vs_lemp_web_stacks/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/lamp_vs_lemp_web_stacks/</guid>
        
        <category>devops</category>
        
        <category>process</category>
        
        <category>webstacks</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>The DevOps Toolkit - A Comprehensive Guide</title>
        <description>&lt;p&gt;DevOps has revolutionized the way software development and operations teams work together, creating a more streamlined and efficient process for delivering software. At its core, DevOps is about breaking down the traditional barriers between development and operations, fostering a culture of collaboration and shared responsibility. In this blog post, we’ll explore the essential tools and concepts that form the backbone of DevOps, helping you understand how they fit together to create a seamless workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#cicd-tool&quot; id=&quot;markdown-toc-cicd-tool&quot;&gt;CI/CD Tool&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cloud-platform&quot; id=&quot;markdown-toc-cloud-platform&quot;&gt;Cloud Platform&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#docker&quot; id=&quot;markdown-toc-docker&quot;&gt;Docker&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#kubernetes&quot; id=&quot;markdown-toc-kubernetes&quot;&gt;Kubernetes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monitoring&quot; id=&quot;markdown-toc-monitoring&quot;&gt;Monitoring&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#terraform&quot; id=&quot;markdown-toc-terraform&quot;&gt;Terraform&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ansible&quot; id=&quot;markdown-toc-ansible&quot;&gt;Ansible&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#visual-studio-code&quot; id=&quot;markdown-toc-visual-studio-code&quot;&gt;Visual Studio Code&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#git&quot; id=&quot;markdown-toc-git&quot;&gt;Git&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#linux&quot; id=&quot;markdown-toc-linux&quot;&gt;Linux&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cicd-tool&quot;&gt;CI/CD Tool&lt;/h2&gt;

&lt;p&gt;At the very core of DevOps lies the CI/CD pipeline, an automated sequence of steps that takes code from development to production. Continuous Integration (CI) and Continuous Deployment (CD) tools are crucial in this pipeline, enabling automated testing, building, and deployment of applications. The most popular and widely used CI/CD tool is Jenkins, but there are many alternatives like GitLab CI, GitHub Actions, and CircleCI. These tools help automate the release process, integrating seamlessly with version control systems like Git, container registries like Docker Hub, and cloud platforms. They enable pipeline as code, often defined in Jenkinsfile or similar formats.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;cloud-platform&quot;&gt;Cloud Platform&lt;/h2&gt;

&lt;p&gt;Deploying applications requires a robust and scalable environment, and that’s where cloud platforms come into play. AWS, Azure, and Google Cloud are the leading cloud service providers offering virtual instances, security configurations, and a wide range of services to host and manage applications. These platforms provide the infrastructure needed to deploy, scale, and secure applications, making them indispensable in the DevOps toolkit.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;docker&quot;&gt;Docker&lt;/h2&gt;

&lt;p&gt;Docker has revolutionized how applications are packaged and deployed. By encapsulating software into standardized units called containers, Docker ensures that applications run consistently across different environments. Containers include everything the software needs to run, such as libraries, system tools, and runtime. This approach simplifies the development and deployment process, allowing applications to be quickly deployed and scaled. Docker images are often created as part of the CI/CD pipeline and deployed on cloud platforms like AWS.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;kubernetes&quot;&gt;Kubernetes&lt;/h2&gt;

&lt;p&gt;While Docker simplifies application packaging, Kubernetes takes container management to the next level. Kubernetes is a container orchestration platform that automates the deployment, scaling, and operation of containerized applications. It handles tasks such as restarting failed containers, scaling applications based on demand, and managing a network of containers across multiple servers. Kubernetes provides features like auto-healing, load balancing, and automated rollouts, making it essential for managing complex, distributed systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monitoring&quot;&gt;Monitoring&lt;/h2&gt;

&lt;p&gt;With the scale and complexity of modern applications, effective monitoring is crucial. Monitoring tools like Prometheus provide comprehensive solutions for collecting, storing, and visualizing metrics. These tools alert DevOps teams to potential issues, such as security attacks or performance bottlenecks, ensuring that problems are identified and addressed promptly. Prometheus, in particular, integrates well with Kubernetes, offering detailed insights into the health and performance of containerized applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;terraform&quot;&gt;Terraform&lt;/h2&gt;

&lt;p&gt;Infrastructure as Code (IaC) tools like Terraform enable the automation of infrastructure setup and management. Terraform allows you to define your infrastructure in code, making it easy to recreate environments and manage changes. This approach is vital for recovering from disasters, scaling infrastructure, and ensuring consistency across environments. By scripting the setup of resources on platforms like AWS, Terraform streamlines the provisioning process, making infrastructure management more efficient and reliable.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ansible&quot;&gt;Ansible&lt;/h2&gt;

&lt;p&gt;Configuration management tools like Ansible are essential for managing server configurations and performing system updates at scale. Ansible allows you to write scripts that automate tasks such as installing packages, applying security patches, and configuring services. This is particularly useful in large-scale environments where manual management would be impractical. Ansible scripts can be executed across hundreds or thousands of servers, providing a consistent and efficient way to manage configurations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;visual-studio-code&quot;&gt;Visual Studio Code&lt;/h2&gt;

&lt;p&gt;Writing and managing code is a central part of DevOps, and having a powerful code editor is crucial. Visual Studio Code (VS Code) is a popular choice due to its extensive plugin ecosystem and support for a wide range of languages and tools. VS Code enhances productivity with features like autocompletion, error checking, and integrated terminal, making it easier to write and debug scripts, configuration files, and application code.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;git&quot;&gt;Git&lt;/h2&gt;

&lt;p&gt;Collaboration and version control are fundamental in DevOps, and Git is the go-to tool for managing code changes. Git allows teams to track changes, collaborate on code, and maintain a history of modifications. It supports branching and merging, facilitating parallel development and seamless integration of features. Understanding Git is essential for managing code repositories, whether for application code, infrastructure as code, or CI/CD pipelines.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;linux&quot;&gt;Linux&lt;/h2&gt;

&lt;p&gt;A strong understanding of Linux and the command line is indispensable in DevOps. Many DevOps tools and environments, including Docker and Kubernetes, are built on Linux. Knowledge of Linux commands, shell scripting, and system administration is crucial for managing servers, debugging issues, and automating tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Building effective DevOps processes requires a deep understanding of how to integrate and leverage these tools. While learning each tool individually is important, mastering the ability to combine them in a cohesive workflow is the key to success. Deploying applications from Jenkins to a Kubernetes cluster running on AWS, managing infrastructure with Terraform, and monitoring with Prometheus are just a few examples of how these tools work together.&lt;/p&gt;

&lt;p&gt;Understanding the underlying concepts and best practices is essential, as it allows you to adapt and replace tools as needed. Our DevOps Bootcamp and upcoming DevSecOps course are designed to teach you how to build comprehensive DevOps processes, providing the knowledge and skills to tackle real-world challenges effectively.&lt;/p&gt;

&lt;p&gt;If you’re ready to dive deeper and master the art of DevOps, join us and take the next step in your journey towards becoming a proficient DevOps engineer!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and specific details about the DevOps process, refer to this &lt;a href=&quot;https://atlasiko.com/blog/devops/devops-process-step-by-step/&quot;&gt;article&lt;/a&gt;. This article from &lt;a href=&quot;https://www.atlassian.com/microservices/cloud-computing/infrastructure-as-code&quot;&gt;Atlassian&lt;/a&gt; has great details concerning infrastrucutre as code (IAC) as well, which is a key component of DevOps.&lt;/p&gt;
</description>
        <pubDate>Sat, 06 Jul 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/devops_toolkit_guide/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/devops_toolkit_guide/</guid>
        
        <category>devops</category>
        
        <category>process</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Understanding tmux - Your Ultimate Productivity Companion</title>
        <description>&lt;p&gt;Imagine you’re a developer knee-deep in Vim or NeoVim, juggling multiple CLI tools, or perhaps you’re a DevOps wizard tailing logs and managing deployment workflows. If you’re spending a lot of time in the terminal and haven’t yet explored the wonders of tmux, you’re missing out. If you’re not already using Team UX (tmux), it’s time to start. Imagine logging into your Linux server with one command and performing multiple tasks within seconds. That’s the power of tmux.&lt;/p&gt;

&lt;p&gt;Let’s walk you through why tmux is a game-changer and how it can revolutionize your workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-tmux&quot; id=&quot;markdown-toc-why-tmux&quot;&gt;Why Tmux?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#what-is-tmux&quot; id=&quot;markdown-toc-what-is-tmux&quot;&gt;What is Tmux?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#tmux-benefits&quot; id=&quot;markdown-toc-tmux-benefits&quot;&gt;Tmux Benefits&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#getting-started-with-tmux&quot; id=&quot;markdown-toc-getting-started-with-tmux&quot;&gt;Getting Started with Tmux&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#launching-tmux&quot; id=&quot;markdown-toc-launching-tmux&quot;&gt;Launching Tmux&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#windows-in-tmux&quot; id=&quot;markdown-toc-windows-in-tmux&quot;&gt;Windows in Tmux&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#panes-in-tmux&quot; id=&quot;markdown-toc-panes-in-tmux&quot;&gt;Panes in Tmux&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#renaming-windows-and-sessions&quot; id=&quot;markdown-toc-renaming-windows-and-sessions&quot;&gt;Renaming Windows and Sessions&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#detaching-and-reattaching&quot; id=&quot;markdown-toc-detaching-and-reattaching&quot;&gt;Detaching and Reattaching&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#creating-and-switching-sessions&quot; id=&quot;markdown-toc-creating-and-switching-sessions&quot;&gt;Creating and Switching Sessions&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#copy-mode&quot; id=&quot;markdown-toc-copy-mode&quot;&gt;Copy Mode&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#customization&quot; id=&quot;markdown-toc-customization&quot;&gt;Customization&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-tmux&quot;&gt;Why Tmux?&lt;/h2&gt;

&lt;p&gt;Tmux is more than just a terminal multiplexer; it’s a superpower for your command line. In this mini-course, starting with this video, I’ll dive into why tmux is indispensable, how it operates, and showcase its features and functionalities. In subsequent videos, I’ll guide you through customizing tmux for a visually appealing setup and demonstrate how I leverage tmux for maximum productivity in my daily workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-is-tmux&quot;&gt;What is Tmux?&lt;/h3&gt;

&lt;p&gt;Tmux stands for “terminal multiplexer.” But what does that mean? Let me break it down for you. Traditionally, when you log into a terminal, you’re confined to a single pseudo terminal instance at a time. With tmux, however, you can have multiple pseudo terminal logins tied to a single terminal session. This multiplexing capability allows for unparalleled flexibility and productivity. You can detach from a session, work on other tasks, and seamlessly reattach to your tmux environment with everything still running.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;tmux-benefits&quot;&gt;Tmux Benefits&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Persistence&lt;/strong&gt;: Your tmux session persists across sessions. Detach, switch tasks, or even log out, and when you return, everything is exactly where you left it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Session Sharing&lt;/strong&gt;: Tmux allows for session sharing, enabling collaborative work and pair programming.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Multiple Windows and Panes&lt;/strong&gt;: With tmux, you can organize your workflow into multiple windows and panes, making multitasking a breeze.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;getting-started-with-tmux&quot;&gt;Getting Started with Tmux&lt;/h2&gt;

&lt;p&gt;Let’s dive into tmux and explore its core functionalities.&lt;/p&gt;

&lt;p&gt;First, make sure tmux is installed by checking which version is installed:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;tmux &lt;span class=&quot;nt&quot;&gt;-V&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If not, install it:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt-get &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;tmux   &lt;span class=&quot;c&quot;&gt;#ubuntu&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;tmux       &lt;span class=&quot;c&quot;&gt;#rhel&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;launching-tmux&quot;&gt;Launching Tmux&lt;/h3&gt;

&lt;p&gt;To start tmux, simply enter the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tmux&lt;/code&gt; in your terminal. You’ll enter a multiplexed terminal environment, indicated by the green status bar at the bottom.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;windows-in-tmux&quot;&gt;Windows in Tmux&lt;/h3&gt;

&lt;p&gt;Tmux allows you to create multiple windows within a session. Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;C&lt;/code&gt;, to create a new window. Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by a number, to switch between windows.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;panes-in-tmux&quot;&gt;Panes in Tmux&lt;/h3&gt;

&lt;p&gt;Panes enable you to split your terminal window into multiple sections. Split horizontally with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;%&lt;/code&gt;, and vertically with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;&lt;/code&gt;. Navigate between panes using arrow keys or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt; combined with arrow keys.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;renaming-windows-and-sessions&quot;&gt;Renaming Windows and Sessions&lt;/h3&gt;

&lt;p&gt;You can easily rename windows and sessions in tmux. Enter command mode with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:&lt;/code&gt;, then use commands like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rename-window&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rename-session&lt;/code&gt; to give them meaningful names.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;detaching-and-reattaching&quot;&gt;Detaching and Reattaching&lt;/h3&gt;

&lt;p&gt;Detach from a tmux session with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;D&lt;/code&gt;. Reattach to a session using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tmux attach&lt;/code&gt;. You can list all sessions with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tmux ls&lt;/code&gt; and switch between them with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;creating-and-switching-sessions&quot;&gt;Creating and Switching Sessions&lt;/h3&gt;

&lt;p&gt;To create a new tmux session, simply run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tmux&lt;/code&gt; again. Switch between sessions using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + B&lt;/code&gt;, followed by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;, then navigating with arrow keys.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;copy-mode&quot;&gt;Copy Mode&lt;/h3&gt;

&lt;p&gt;Copy mode allows you to copy and paste text within tmux.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter copy mode:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Press Ctrl + B, then [&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Navigate to the desired text and press Space to start selection.&lt;/p&gt;

&lt;p&gt;Move to the end of the text and press Enter to copy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exit copy mode:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Press Ctrl + B, then ] to paste.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;customization&quot;&gt;Customization&lt;/h3&gt;

&lt;p&gt;Edit your tmux configuration:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vi ~/.tmux.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add the following lines for mouse support and vim-like keybindings:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; mouse on
setw &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; mode-keys vi
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;You’ve learned the basics of tmux. With its powerful features, tmux can significantly boost your productivity. Experiment with different configurations and keybindings to tailor it to your workflow. tmux empowers users to take control of their terminal environment, optimizing productivity and streamlining workflow management. Whether you’re a developer, system administrator, or anyone who spends a significant amount of time in the terminal, integrating tmux into your toolkit is sure to elevate your command-line experience to new heights. Embrace tmux, and unlock the true potential of your terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and details about tmux, you can review multiple locations, a few are list below :&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;tmux &lt;a href=&quot;https://linux.die.net/man/1/tmux&quot;&gt;man page&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;this &lt;a href=&quot;https://gist.github.com/MohamedAlaa/2961058&quot;&gt;GitHub page&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://tmuxcheatsheet.com&quot;&gt;tmuxcheatsheet.com&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 29 Jun 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_tmux/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_tmux/</guid>
        
        <category>tmux</category>
        
        <category>terminal</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Overview of GitHub Codespaces</title>
        <description>&lt;p&gt;GitHub Codespaces revolutionizes the development experience by offering cloud-hosted development environments that are accessible from anywhere, eliminating the need for complex local setup and configuration. In this guide, we’ll delve into the details of GitHub Codespaces, exploring its functionalities, benefits, and usage.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-codespace&quot; id=&quot;markdown-toc-what-is-a-codespace&quot;&gt;What is a codespace?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-github-codespaces&quot; id=&quot;markdown-toc-benefits-of-github-codespaces&quot;&gt;Benefits of GitHub Codespaces&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-github-codespaces&quot; id=&quot;markdown-toc-using-github-codespaces&quot;&gt;Using GitHub Codespaces&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-codespace&quot;&gt;What is a codespace?&lt;/h2&gt;

&lt;p&gt;A codespace is a development environment hosted in the cloud, powered by GitHub. It provides developers with a customizable workspace tailored to their project’s requirements. By leveraging Configuration-as-Code principles, developers can define the environment’s settings and tools directly within their repository, ensuring consistency across contributors.&lt;/p&gt;

&lt;p&gt;Each codespace is hosted within a Docker container running on a virtual machine, offering scalability and flexibility in resource allocation. Developers can choose from a range of virtual machine configurations to suit their needs, ensuring optimal performance and productivity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-github-codespaces&quot;&gt;Benefits of GitHub Codespaces&lt;/h2&gt;

&lt;p&gt;GitHub Codespaces offers a myriad of benefits for developers, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Preconfigured Development Environment:&lt;/strong&gt; Work in an environment that’s specifically configured for your repository, ensuring all necessary tools and configurations are readily available.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Resource Accessibility:&lt;/strong&gt; Access powerful compute resources remotely, eliminating constraints imposed by local hardware limitations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Platform Agnostic:&lt;/strong&gt; Work seamlessly across different devices with just a web browser, enabling productivity from anywhere.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Editor Flexibility:&lt;/strong&gt; Choose your preferred code editor, whether it’s the VS Code web client or a desktop-based application.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Project Segmentation:&lt;/strong&gt; Utilize multiple codespaces to work on separate projects or branches simultaneously, facilitating efficient project management.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Collaborative Development:&lt;/strong&gt; Leverage tools like Live Share to engage in real-time collaborative coding sessions with team members.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Seamless Deployment:&lt;/strong&gt; Publish web applications directly from a codespace, streamlining the deployment process and facilitating feedback collection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-github-codespaces&quot;&gt;Using GitHub Codespaces&lt;/h2&gt;

&lt;p&gt;To start developing with GitHub Codespaces, developers can create a codespace from a template or directly from a repository branch or commit. The platform offers various templates tailored to specific use cases, enabling developers to kickstart their projects effortlessly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;GitHub Codespaces represents a paradigm shift in modern software development, offering a streamlined and collaborative development experience. By providing cloud-hosted development environments accessible from anywhere, GitHub empowers developers to focus on building great software without the hassle of environment setup and configuration.&lt;/p&gt;

&lt;p&gt;Ready to elevate your development workflow? Dive into GitHub Codespaces and experience the future of cloud-based development.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information and detailed instructions on getting started with GitHub Codespaces, refer to the &lt;a href=&quot;https://docs.github.com/en/codespaces&quot;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 22 Jun 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/github_codespaces_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/github_codespaces_overview/</guid>
        
        <category>github</category>
        
        <category>codespaces</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Enhancing SSH Security with Two-Factor Authentication on RHEL</title>
        <description>&lt;p&gt;In today’s digital landscape, where cyber threats are becoming increasingly sophisticated, securing your server infrastructure is paramount. One of the most effective ways to bolster security is by implementing two-factor authentication (2FA). By requiring users to provide two forms of identification, 2FA adds an extra layer of protection against unauthorized access. The 2FA can be either password &amp;amp; TOTP or ssh-key &amp;amp; TOTP.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll walk you through the process of setting up two-factor authentication using Google Authenticator and Pluggable Authentication Modules (PAM) in SSH on Red Hat Enterprise Linux (RHEL). Google Authenticator generates time-based one-time passwords (TOTPs), providing an additional level of security beyond traditional password authentication.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-install-google-authenticator&quot; id=&quot;markdown-toc-step-1-install-google-authenticator&quot;&gt;Step 1: Install Google Authenticator&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-configure-google-authenticator-for-a-user&quot; id=&quot;markdown-toc-step-2-configure-google-authenticator-for-a-user&quot;&gt;Step 2: Configure Google Authenticator for a User&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-configure-ssh-to-use-google-authenticator&quot; id=&quot;markdown-toc-step-3-configure-ssh-to-use-google-authenticator&quot;&gt;Step 3: Configure SSH to Use Google Authenticator&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-configure-ssh-to-allow-2fa&quot; id=&quot;markdown-toc-step-4-configure-ssh-to-allow-2fa&quot;&gt;Step 4: Configure SSH to Allow 2FA&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-restart-ssh-service&quot; id=&quot;markdown-toc-step-5-restart-ssh-service&quot;&gt;Step 5: Restart SSH Service&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-6-test-2fa&quot; id=&quot;markdown-toc-step-6-test-2fa&quot;&gt;Step 6: Test 2FA&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;SSH access to your RHEL server as the root user or with sudo privileges.&lt;/li&gt;
  &lt;li&gt;Google Authenticator installed on your mobile device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-install-google-authenticator&quot;&gt;Step 1: Install Google Authenticator&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;google-authenticator &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EPEL repository&lt;/code&gt; must be installed/configured in order to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;google-authenticator&lt;/code&gt;. You may download the EPEL repository by running the following command :&lt;/em&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-configure-google-authenticator-for-a-user&quot;&gt;Step 2: Configure Google Authenticator for a User&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Log into the server as the user for whom you want to enable 2FA.&lt;/li&gt;
  &lt;li&gt;Run the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;google-authenticator&lt;/code&gt; command.&lt;/li&gt;
  &lt;li&gt;Answer the prompts to enable TOTP, disallow multiple uses of the same token, allow time skew, and enable rate-limiting.
    &lt;ul&gt;
      &lt;li&gt;Do you want authentication tokens to be time-based (y/n) : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;Initially, if you are prompted for a code from the app, enter : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-1&lt;/code&gt;, to skip&lt;/li&gt;
      &lt;li&gt;You will then be provided with 5 emergency codes, &lt;strong&gt;save those in a safe place&lt;/strong&gt;.&lt;/li&gt;
      &lt;li&gt;Do you want me to update your “/root/.google_authenticator” file (y/n) : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;Do you want to disallow multiple uses of the same authentication token? ….. (y/n) : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;By default, a new token is generated every 30 seconds by the mobile app. In order to compensate for possible time-skew between the client and the server,….Do you want to do so? (y/n) : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;If the computer that you are logging into isn’t hardened against brute-force login attempts, you can enable rate-limiting for the authentication module. By default, this limits attackers to no more than 3 login attempts every 30s. Do you want to enable rate-limiting? (y/n) : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-configure-ssh-to-use-google-authenticator&quot;&gt;Step 3: Configure SSH to Use Google Authenticator&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Open the SSH PAM configuration file:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/pam.d/sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Comment out the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;auth     substack    password-auth&lt;/code&gt; line at the top of the file.&lt;/li&gt;
  &lt;li&gt;Add the following lines to the bottom of the file:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;auth required pam_google_authenticator.so &lt;span class=&quot;nv&quot;&gt;secret&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/home/&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;USER&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;/.ssh/.google_authenticatorauth required pam_permit.so
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Move the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.google_authenticator&lt;/code&gt; directory to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/&lt;/code&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mv&lt;/span&gt; ~/.google_authenticator ~/.ssh/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-configure-ssh-to-allow-2fa&quot;&gt;Step 4: Configure SSH to Allow 2FA&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Open the SSH server configuration file:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/ssh/sshd_config
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Add or modify the following line:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ChallengeResponseAuthentication &lt;span class=&quot;nb&quot;&gt;yes
&lt;/span&gt;AuthenticationMethods publickey,password publickey,keyboard-interactive
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
    &lt;p&gt;&lt;br /&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;step-5-restart-ssh-service&quot;&gt;Step 5: Restart SSH Service&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-6-test-2fa&quot;&gt;Step 6: Test 2FA&lt;/h2&gt;

&lt;p&gt;Log out of your SSH session and attempt to log back in. You will be prompted for your TOTP code after entering your SSH password. Also, if you are using ssh keys for authentication, you will be prompted for a password, however, the server/machine really wants the TOTP code from Google Authenticator, provide the TOTP code and you will be able to successfully login.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In an era where security breaches are commonplace, implementing robust security measures is essential to safeguard sensitive data and protect against unauthorized access. Two-factor authentication (2FA) offers an additional layer of defense by requiring users to provide two forms of identification before gaining access to a system.&lt;/p&gt;

&lt;p&gt;By following the steps outlined in this guide, you can enhance the security of your RHEL server infrastructure with 2FA using Google Authenticator and PAM. By requiring both a password or ssh-key and a time-based one-time password (TOTP), you can significantly reduce the risk of unauthorized access and mitigate the impact of potential security threats.&lt;/p&gt;

&lt;p&gt;Investing in robust security measures like 2FA is not only a proactive step towards protecting your organization’s assets but also a critical aspect of maintaining trust and credibility with your users. With the threat landscape constantly evolving, implementing strong security practices is more important than ever to ensure the integrity and confidentiality of your data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the 2FA, you can refer to &lt;a href=&quot;https://www.cloudflare.com/learning/security/two-factor-authentication/&quot;&gt;this Cloudflare article&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 15 Jun 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/enhancing_ssh_security_with_2fa/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/enhancing_ssh_security_with_2fa/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Configuring RAID on Dell PowerEdge Servers</title>
        <description>&lt;p&gt;If you’re setting up a Dell PowerEdge server, configuring RAID is an essential step to ensure data redundancy and performance. In this guide, we’ll walk through the process of creating a RAID configuration on a 13th generation PowerEdge server using the Device Settings menu.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#step-by-step-guide&quot; id=&quot;markdown-toc-step-by-step-guide&quot;&gt;Step-by-Step Guide&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-access-device-settings&quot; id=&quot;markdown-toc-1-access-device-settings&quot;&gt;1. Access Device Settings&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-choose-raid-controller&quot; id=&quot;markdown-toc-2-choose-raid-controller&quot;&gt;2. Choose RAID Controller&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-create-virtual-disk&quot; id=&quot;markdown-toc-3-create-virtual-disk&quot;&gt;3. Create Virtual Disk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-verify-or-change-configuration&quot; id=&quot;markdown-toc-4-verify-or-change-configuration&quot;&gt;4. Verify or Change Configuration&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-by-step-guide&quot;&gt;Step-by-Step Guide&lt;/h2&gt;

&lt;h3 id=&quot;1-access-device-settings&quot;&gt;1. Access Device Settings&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Press the &lt;strong&gt;F2&lt;/strong&gt; key during POST to enter the System Setup Menu.&lt;/li&gt;
  &lt;li&gt;Alternatively, press &lt;strong&gt;F10&lt;/strong&gt; during POST, select &lt;strong&gt;System Setup&lt;/strong&gt;, then &lt;strong&gt;Hardware Settings&lt;/strong&gt; from the LifeCycle Controller menu.&lt;/li&gt;
  &lt;li&gt;Click on &lt;strong&gt;Device Settings&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-choose-raid-controller&quot;&gt;2. Choose RAID Controller&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Select the RAID controller you want to configure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-create-virtual-disk&quot;&gt;3. Create Virtual Disk&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Click on &lt;strong&gt;Main Menu&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click on &lt;strong&gt;Configuration Management&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Select &lt;strong&gt;Create Virtual Disk&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose RAID level and physical disks configuration.&lt;/li&gt;
  &lt;li&gt;Choose Physical Disks From “typically Unconfigured Capacity”&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Select Physical Disk&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Choose media type, select interface type, and locial section size.&lt;/li&gt;
  &lt;li&gt;Next, choose which physical disks will be used to configure the RAID.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Apply Changes&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Enter virtual disk name, then confirm the disk size, and other options.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Create Virtual Disk&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;strong&gt;When creating a virtual disk, ALL DATA will be wiped from ALL DRIVES!!!&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
  &lt;li&gt;Confirm and click &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-verify-or-change-configuration&quot;&gt;4. Verify or Change Configuration&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Click &lt;strong&gt;Virtual Disk Management&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Verify the virtual disk summary including name, size, and status.&lt;/li&gt;
  &lt;li&gt;Click on any virtual disk to verify or change its configuration details.&lt;/li&gt;
  &lt;li&gt;You can change the name and other settings under &lt;strong&gt;Advanced&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click &lt;strong&gt;Apply Changes&lt;/strong&gt; after making any modifications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Configuring RAID on Dell PowerEdge servers is crucial for data integrity and system performance. By following these steps, you can create a RAID configuration that meets your specific requirements and ensures the reliability of your server storage.&lt;/p&gt;

&lt;p&gt;For more detailed instructions and troubleshooting tips, refer to the official documentation provided by Dell.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the RAID configurations, you can refer to this &lt;a href=&quot;https://www.dell.com/support/kbdoc/en-us/000128635/dell-servers-what-are-the-raid-levels-and-their-specifications#:~:text=If%20one%20disk%20fails%2C%20the,the%20failure%20of%20one%20disk.&quot;&gt;Dell Knowledge Base Article&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 08 Jun 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/configuring_raid_dell_poweredge/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/configuring_raid_dell_poweredge/</guid>
        
        <category>dell</category>
        
        <category>raid</category>
        
        <category>server</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Creating a Bootable USB Drive with dd Command on MacOS</title>
        <description>&lt;p&gt;If you need to create a bootable USB drive from an ISO file on your macOS system, you’re in the right place. In this guide, we’ll walk you through the process step by step using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dd&lt;/code&gt; command on MacOS. This method is commonly used on Unix-like systems like macOS to create bootable USB drives.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#preparing-the-usb-drive&quot; id=&quot;markdown-toc-preparing-the-usb-drive&quot;&gt;Preparing the USB Drive&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-verify-the-usb-device-path&quot; id=&quot;markdown-toc-1-verify-the-usb-device-path&quot;&gt;1. Verify the USB Device Path&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-unmount-the-usb-device&quot; id=&quot;markdown-toc-2-unmount-the-usb-device&quot;&gt;2. Unmount the USB Device&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-create-the-disk-image&quot; id=&quot;markdown-toc-3-create-the-disk-image&quot;&gt;3. Create the Disk Image&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-eject-the-usb-device&quot; id=&quot;markdown-toc-4-eject-the-usb-device&quot;&gt;4. Eject the USB Device&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;preparing-the-usb-drive&quot;&gt;Preparing the USB Drive&lt;/h2&gt;

&lt;p&gt;Before we start, ensure you have the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The ISO file of the operating system you want to create a bootable USB drive for.&lt;/li&gt;
  &lt;li&gt;A USB drive with sufficient storage capacity.&lt;/li&gt;
  &lt;li&gt;Access to a macOS system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, let’s dive into the process:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-verify-the-usb-device-path&quot;&gt;1. Verify the USB Device Path&lt;/h3&gt;

&lt;p&gt;First, you need to identify the path to your USB device. Open Terminal and use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;diskutil&lt;/code&gt; command to list all disks:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;diskutil list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Look for your USB device in the list, usually listed as /dev/disk#.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-unmount-the-usb-device&quot;&gt;2. Unmount the USB Device&lt;/h3&gt;

&lt;p&gt;Once you’ve identified the USB device path, unmount it using the following command (replace disk# with your USB device number):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;diskutil unmountDisk /dev/disk#
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-create-the-disk-image&quot;&gt;3. Create the Disk Image&lt;/h3&gt;

&lt;p&gt;Navigate to the directory containing the ISO file in Terminal. Then, use the dd command to create the disk image. Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rhel-9.4-x86_64-boot.iso&lt;/code&gt; with the name of your ISO file, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/rdisk#&lt;/code&gt; with your USB device path:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo dd &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;bs&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1m &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;rhel-9.4-x86_64-boot.iso &lt;span class=&quot;nv&quot;&gt;of&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;/dev/rdisk#
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Ensure you replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/rdisk#&lt;/code&gt; with the correct path to your USB device. You can verify this using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;diskutil list&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-eject-the-usb-device&quot;&gt;4. Eject the USB Device&lt;/h3&gt;
&lt;p&gt;After the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dd&lt;/code&gt; command completes, eject the USB device using either of the following methods:&lt;/p&gt;

&lt;p&gt;Using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;diskutil&lt;/code&gt; command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;diskutil eject /dev/disk#
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or, you may be presented with a GUI prompt to safely eject the USB device once the dd command has finished.&lt;/p&gt;

&lt;p&gt;That’s it! Your bootable USB drive is now ready for use. You can use it to install or boot into the operating system from any compatible device.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Creating a bootable USB drive on macOS using the dd command is a reliable method for preparing installation media or bootable disks, but remember to double-check the device paths to avoid accidental data loss. By following the steps outlined in this guide, you can confidently create bootable USB drives from ISO files with ease. Remember to verify the USB device path and exercise caution when using the dd command to avoid any unintended data loss. With this knowledge, you’re ready to tackle any bootable USB drive creation task efficiently.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dd&lt;/code&gt; command, you can refer to the &lt;a href=&quot;https://linux.die.net/man/1/dd&quot;&gt;dd man page&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 01 Jun 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/creating-bootable-usb-with-dd/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/creating-bootable-usb-with-dd/</guid>
        
        <category>terminal</category>
        
        <category>linux</category>
        
        <category>macos</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Adding Search to Jekyll Site</title>
        <description>&lt;p&gt;Implementing search functionality in a Jekyll-based website presents a unique challenge due to its lack of server-side execution. However, with a clever workaround, you can enable lightning-fast search capabilities for your Jekyll site using client-side techniques.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll walk through the process of setting up Jekyll Instant Search, a powerful search feature that allows users to quickly find relevant content on your site. By leveraging JSON (JavaScript Object Notation) and simple scripting, we’ll transform your Jekyll data into a searchable format without the need for complex backend infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-implement-jekyll-instant-search&quot; id=&quot;markdown-toc-how-to-implement-jekyll-instant-search&quot;&gt;How to implement Jekyll Instant Search&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1---create-a-json-file&quot; id=&quot;markdown-toc-step-1---create-a-json-file&quot;&gt;Step 1 - Create a JSON file&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2---save-the-search-script&quot; id=&quot;markdown-toc-step-2---save-the-search-script&quot;&gt;Step 2 - Save the search script&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-3---create-a-jekyll-search-page&quot; id=&quot;markdown-toc-step-3---create-a-jekyll-search-page&quot;&gt;Step 3 - Create a Jekyll search page&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-implement-jekyll-instant-search&quot;&gt;How to implement Jekyll Instant Search&lt;/h2&gt;

&lt;p&gt;Since Jekyll has no server side execution, we have to rely on storing all the required content in a single file and search our keyword from that file.&lt;/p&gt;

&lt;p&gt;We will be creating a JSON file in which we will store page title, page link, category, tags, description(if needed) etc., JSON(JavaScript Object Notation) is a human readable way to store data in key-value pairs(it can take other forms as well).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-1---create-a-json-file&quot;&gt;Step 1 - Create a JSON file&lt;/h3&gt;

&lt;p&gt;Create a file in the root of your Jekyll blog and name it &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.json&lt;/code&gt;. Now, copy the code &lt;a href=&quot;https://raw.githubusercontent.com/jamisonjcjohnson/jamisonjcjohnson.github.io/master/search.json&quot;&gt;here&lt;/a&gt; and save it.&lt;/p&gt;

&lt;p&gt;What it does is that it converts your Jekyll data from all the posts and puts it as key value pair which can then be easily read by a search script.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2---save-the-search-script&quot;&gt;Step 2 - Save the search script&lt;/h3&gt;

&lt;p&gt;Save the search script available &lt;a href=&quot;https://raw.githubusercontent.com/jamisonjcjohnson/jamisonjcjohnson.github.io/master/search-script.js&quot;&gt;here&lt;/a&gt; and save it as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search-script.js&lt;/code&gt; (or any name that you prefer) on the root of your repo.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-3---create-a-jekyll-search-page&quot;&gt;Step 3 - Create a Jekyll search page&lt;/h3&gt;

&lt;p&gt;Create a page with the name &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;search.html&lt;/code&gt; and add the following in it :&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Html Elements for Search --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search-container&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search-input&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search blog...&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;ul&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;results-container&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Script pointing to search-script.js --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;script &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;src=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;/path/to/search-script.js&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Configuration --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;SimpleJekyllSearch&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;searchInput&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;search-input&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;resultsContainer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;results-container&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;json&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;/search.json&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;})&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now your search is ready! Now when you navigate to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yourwebaddress/search&lt;/code&gt;, you will see your new search page. Try to type something in the input field and see if it fetches any result.&lt;/p&gt;

&lt;p&gt;If the search doesn’t work then use inspection » console option on chrome browser to see what the error was. Many times the JSON created will be invalid because of some special character.&lt;/p&gt;

&lt;p&gt;There are many other configurations that can be tweaked. Please visit &lt;a href=&quot;https://github.com/christian-fei/Simple-Jekyll-Search&quot;&gt;this repository&lt;/a&gt; to know more.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;With these three simple steps, you can empower your Jekyll website with instant search capabilities, enhancing user experience and enabling efficient content discovery. By leveraging client-side technologies and adhering to best practices, you can achieve fast and reliable search functionality without compromising the simplicity and elegance of the Jekyll framework.&lt;/p&gt;

</description>
        <pubDate>Wed, 29 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/adding_search_to_jekyll_site/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/adding_search_to_jekyll_site/</guid>
        
        <category>jekyll</category>
        
        <category>website</category>
        
        <category>html</category>
        
        <category>json</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Unveiling the New CompTIA Xpert Series Certifications</title>
        <description>&lt;p&gt;Prepare for the debut of the CompTIA Xpert Series certifications, tailored for seasoned IT professionals with extensive industry experience who seek to validate their mastery of essential technologies. The series is poised to commence with certifications in data science, cloud networking, and cybersecurity.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll discuss the new CompTIA Xpert Series certifications in detail.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#demonstrate-your-expertise&quot; id=&quot;markdown-toc-demonstrate-your-expertise&quot;&gt;Demonstrate Your Expertise&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#introducing-comptia-datax&quot; id=&quot;markdown-toc-introducing-comptia-datax&quot;&gt;Introducing CompTIA DataX&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#introducing-comptia-cloudnetx&quot; id=&quot;markdown-toc-introducing-comptia-cloudnetx&quot;&gt;Introducing CompTIA CloudNetX&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#introducing-comptia-securityx&quot; id=&quot;markdown-toc-introducing-comptia-securityx&quot;&gt;Introducing CompTIA SecurityX&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;demonstrate-your-expertise&quot;&gt;Demonstrate Your Expertise&lt;/h2&gt;

&lt;p&gt;Experienced tech professionals will cultivate toolsets, technology, and industry-specific knowledge, skills, and abilities. This will enable them to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Lead discussions on the business implications of emerging tech&lt;/li&gt;
  &lt;li&gt;Recommend optimal and impactful technologies&lt;/li&gt;
  &lt;li&gt;Leverage specialized expertise as a trusted advisor&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;introducing-comptia-datax&quot;&gt;Introducing CompTIA DataX&lt;/h2&gt;

&lt;p&gt;Enter the realm of CompTIA DataX, an advanced data science certification designed to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Validate proficiency in data analysis and AI-driven predictive modeling&lt;/li&gt;
  &lt;li&gt;Focus on the responsibilities of senior data scientists&lt;/li&gt;
  &lt;li&gt;Serve as a natural progression from roles aligned with CompTIA Data+&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;introducing-comptia-cloudnetx&quot;&gt;Introducing CompTIA CloudNetX&lt;/h2&gt;

&lt;p&gt;Discover CompTIA CloudNetX, an advanced networking certification aimed to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Validate expertise in designing and managing complex, hybrid IT infrastructures&lt;/li&gt;
  &lt;li&gt;Address the requirements of network architects, infrastructure architects, enterprise architects, and cloud architects&lt;/li&gt;
  &lt;li&gt;Seamlessly build upon the foundations laid by CompTIA Network+ and CompTIA Cloud+&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;introducing-comptia-securityx&quot;&gt;Introducing CompTIA SecurityX&lt;/h2&gt;

&lt;p&gt;Witness the evolution of CompTIA Advanced Security Practitioner (CASP+) into SecurityX, the pinnacle of CompTIA Security+ certifications. This certification will:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Validate the expertise of seasoned security professionals with a decade of IT experience and five years in security&lt;/li&gt;
  &lt;li&gt;Focus on the roles of senior security engineers and security architects&lt;/li&gt;
  &lt;li&gt;Offer a logical progression from Security+-aligned roles&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The launch of the CompTIA Xpert Series certifications marks an exciting development for IT professionals seeking to advance their careers and stay relevant in today’s dynamic IT industry. Whether you’re looking to specialize in cybersecurity, cloud computing, networking, or other areas, the Xpert Series certifications provide a valuable opportunity to showcase your expertise and differentiate yourself in the job market.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the CompTIA Xpert Series certifications, you can refer to the official &lt;a href=&quot;https://www.comptia.org/certifications/xpert-series#overview&quot;&gt;CompTIA website&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sun, 26 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/unveiling_comptia_xpert_series/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/unveiling_comptia_xpert_series/</guid>
        
        <category>comptia</category>
        
        <category>certifications</category>
        
        <category>education</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Exploring the Watch Command</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;watch&lt;/code&gt; command is a powerful utility available in Unix-like operating systems that allows users to execute a command repeatedly at specified intervals and view the output in real-time. This command can be incredibly useful for monitoring system activity, tracking changes, and observing command output over time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#getting-started-with-watch&quot; id=&quot;markdown-toc-getting-started-with-watch&quot;&gt;Getting Started with Watch&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#monitoring-system-resources&quot; id=&quot;markdown-toc-monitoring-system-resources&quot;&gt;Monitoring System Resources&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#tracking-file-changes&quot; id=&quot;markdown-toc-tracking-file-changes&quot;&gt;Tracking File Changes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;getting-started-with-watch&quot;&gt;Getting Started with Watch&lt;/h2&gt;

&lt;p&gt;To use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;watch&lt;/code&gt; command, simply open your terminal and type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;watch&lt;/code&gt; followed by the command you want to execute. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;watch &lt;span class=&quot;nb&quot;&gt;date&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display the current date and time in your terminal, updating every 2 seconds by default. You can customize the update interval by specifying the -n option followed by the desired number of seconds:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;watch &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 5 &lt;span class=&quot;nb&quot;&gt;df&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-h&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will show disk usage information (df -h) every 5 seconds.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;monitoring-system-resources&quot;&gt;Monitoring System Resources&lt;/h2&gt;

&lt;p&gt;One common use case for the watch command is monitoring system resources such as CPU usage, memory usage, and disk activity. For example, you can use the following commands to monitor CPU and memory usage in real-time:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;watch &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 1 &lt;span class=&quot;s1&quot;&gt;&apos;ps -eo %cpu,%mem,cmd | head -10&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display the top 10 processes consuming CPU and memory every second.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;tracking-file-changes&quot;&gt;Tracking File Changes&lt;/h2&gt;

&lt;p&gt;You can also use the watch command to track changes in files or directories. For example, if you want to monitor changes in a specific file, you can use the cat command along with watch:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;watch &lt;span class=&quot;nt&quot;&gt;-n&lt;/span&gt; 2 &lt;span class=&quot;s1&quot;&gt;&apos;cat /var/log/messages | tail -n 5&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display the last 5 lines of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/messages&lt;/code&gt; file every 2 seconds, allowing you to track new log entries as they occur.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The watch command is a versatile tool that can be used for a wide range of monitoring and tracking tasks in Unix-like systems. By leveraging its capabilities, you can keep an eye on system activity, track changes in files, and more, all from the comfort of your terminal.&lt;/p&gt;

&lt;p&gt;Experiment with different commands and options to discover how watch can enhance your workflow and help you stay informed about your system’s status in real-time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;watch&lt;/code&gt; command, you can refer to the &lt;a href=&quot;https://linux.die.net/man/1/watch&quot;&gt;Linux Man Page&lt;/a&gt; for this command!&lt;/p&gt;
</description>
        <pubDate>Thu, 23 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/exploring_watch_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/exploring_watch_command/</guid>
        
        <category>redhat</category>
        
        <category>terminal</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Generating a SOS Report for RedHat Support</title>
        <description>&lt;p&gt;When encountering issues with your RedHat system, generating a System Overview Snapshot (SOS) report can provide valuable information for troubleshooting and seeking support from RedHat. An SOS report captures system configuration, logs, and diagnostic information, helping RedHat Support engineers analyze the problem efficiently.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll walk you through the steps to generate an SOS report for RedHat Support.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-access-terminal&quot; id=&quot;markdown-toc-step-1-access-terminal&quot;&gt;Step 1: Access Terminal&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-run-the-sos-command&quot; id=&quot;markdown-toc-step-2-run-the-sos-command&quot;&gt;Step 2: Run the SOS Command&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-follow-the-prompts&quot; id=&quot;markdown-toc-step-3-follow-the-prompts&quot;&gt;Step 3: Follow the Prompts&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-wait-for-the-report-to-generate&quot; id=&quot;markdown-toc-step-4-wait-for-the-report-to-generate&quot;&gt;Step 4: Wait for the Report to Generate&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-5-locate-the-generated-report&quot; id=&quot;markdown-toc-step-5-locate-the-generated-report&quot;&gt;Step 5: Locate the Generated Report&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-6-share-the-report-with-redhat-support&quot; id=&quot;markdown-toc-step-6-share-the-report-with-redhat-support&quot;&gt;Step 6: Share the Report with RedHat Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-access-terminal&quot;&gt;Step 1: Access Terminal&lt;/h2&gt;

&lt;p&gt;To generate an SOS report, you’ll need to access the terminal on your RedHat system. You can do this by opening the Terminal application or using SSH to connect remotely.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-run-the-sos-command&quot;&gt;Step 2: Run the SOS Command&lt;/h2&gt;

&lt;p&gt;Once you’re in the terminal, run the following command to generate the SOS report:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;sosreport
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You may be prompted to enter your password. Once entered, the SOS report generation process will begin.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-follow-the-prompts&quot;&gt;Step 3: Follow the Prompts&lt;/h2&gt;
&lt;p&gt;During the SOS report generation, you may encounter prompts asking for additional information. Answer the prompts accordingly to provide context for the report. You will be asked to enter a case id that you are generating this report for, this is optional.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-wait-for-the-report-to-generate&quot;&gt;Step 4: Wait for the Report to Generate&lt;/h2&gt;
&lt;p&gt;The SOS report generation process may take some time, depending on the size and complexity of your system. Be patient and allow the command to complete its execution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-5-locate-the-generated-report&quot;&gt;Step 5: Locate the Generated Report&lt;/h2&gt;
&lt;p&gt;Once the SOS report is generated, you’ll receive a message indicating the location of the report file. Typically, the report is saved in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/tmp&lt;/code&gt; directory.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-6-share-the-report-with-redhat-support&quot;&gt;Step 6: Share the Report with RedHat Support&lt;/h2&gt;
&lt;p&gt;After locating the SOS report file, you can share it with RedHat Support for analysis and assistance. You can upload the report to the RedHat Customer Portal or attach it to your support ticket.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Generating an SOS report is a crucial step in troubleshooting issues on your RedHat system. By providing comprehensive system information, logs, and diagnostics, the SOS report empowers RedHat Support engineers to diagnose and resolve problems effectively.&lt;/p&gt;

&lt;p&gt;We hope this guide has been helpful in guiding you through the process of generating an SOS report for RedHat Support. If you encounter any issues or have questions, don’t hesitate to reach out to RedHat Support for assistance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about RedHat SOS Reports, you can refer to this &lt;a href=&quot;https://access.redhat.com/solutions/3592&quot;&gt;RedHat Knowledgebase Article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 20 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/generating_redhat_sos_report/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/generating_redhat_sos_report/</guid>
        
        <category>redhat</category>
        
        <category>linux</category>
        
        <category>sosreport</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Creating a Clickable Table of Contents in Microsoft Word on Mac</title>
        <description>&lt;p&gt;If you’re working on a document in Microsoft Word on your Mac and want to create a clickable table of contents, you’re in the right place. A clickable table of contents allows readers to navigate through your document effortlessly by simply clicking on the headings or sections listed in the table.&lt;/p&gt;

&lt;p&gt;In this guide, we’ll walk you through the steps to create a clickable table of contents in Microsoft Word on your Mac.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#step-1-format-your-headings&quot; id=&quot;markdown-toc-step-1-format-your-headings&quot;&gt;Step 1: Format Your Headings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-2-insert-a-table-of-contents&quot; id=&quot;markdown-toc-step-2-insert-a-table-of-contents&quot;&gt;Step 2: Insert a Table of Contents&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-3-make-the-table-of-contents-clickable&quot; id=&quot;markdown-toc-step-3-make-the-table-of-contents-clickable&quot;&gt;Step 3: Make the Table of Contents Clickable&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#step-4-test-your-clickable-table-of-contents&quot; id=&quot;markdown-toc-step-4-test-your-clickable-table-of-contents&quot;&gt;Step 4: Test Your Clickable Table of Contents&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-1-format-your-headings&quot;&gt;Step 1: Format Your Headings&lt;/h2&gt;

&lt;p&gt;Before you can create a clickable table of contents, you need to ensure that your document is properly formatted with headings. To do this:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Select the text you want to format as a heading.&lt;/li&gt;
  &lt;li&gt;Go to the “Home” tab in the Word toolbar.&lt;/li&gt;
  &lt;li&gt;Choose a heading style from the “Styles” group, such as “Heading 1” for main sections and “Heading 2” for sub-sections.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-2-insert-a-table-of-contents&quot;&gt;Step 2: Insert a Table of Contents&lt;/h2&gt;

&lt;p&gt;Once your headings are formatted correctly, you can insert a table of contents into your document:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Place your cursor where you want the table of contents to appear.&lt;/li&gt;
  &lt;li&gt;Go to the “References” tab in the Word toolbar.&lt;/li&gt;
  &lt;li&gt;Click on “Table of Contents” in the “Table of Contents” group.&lt;/li&gt;
  &lt;li&gt;Choose a pre-designed table of contents format, or select “Custom Table of Contents” for more options.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-3-make-the-table-of-contents-clickable&quot;&gt;Step 3: Make the Table of Contents Clickable&lt;/h2&gt;

&lt;p&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;strong&gt;NOTE : In newer versions of Office for Mac this section may not be necessary. I tested this with Word for Mac via a Microsoft 365 Subscription.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;To make your table of contents clickable, you’ll need to enable the “Insert Hyperlink” feature for each heading:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Scroll to your table of contents.&lt;/li&gt;
  &lt;li&gt;Click on the first heading in your table.&lt;/li&gt;
  &lt;li&gt;Go to the “Insert” tab in the Word toolbar.&lt;/li&gt;
  &lt;li&gt;Click on “Link” in the “Links” group.&lt;/li&gt;
  &lt;li&gt;In the dialog box that appears, select “Place in This Document” on the left.&lt;/li&gt;
  &lt;li&gt;Choose the corresponding heading from the list.&lt;/li&gt;
  &lt;li&gt;Click “OK” to create the hyperlink.&lt;/li&gt;
  &lt;li&gt;Repeat this process for each heading in your table of contents.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;step-4-test-your-clickable-table-of-contents&quot;&gt;Step 4: Test Your Clickable Table of Contents&lt;/h2&gt;

&lt;p&gt;Once you’ve linked all the headings in your table of contents, it’s time to test it out:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Save your document.&lt;/li&gt;
  &lt;li&gt;Scroll to the table of contents.&lt;/li&gt;
  &lt;li&gt;Click on each heading to ensure that it navigates to the correct section in the document.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thanks it! You’ve successfully created a clickable table of contents in Microsoft Word on your Mac. Now, readers can easily navigate your document with just a click.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Adding a clickable table of contents to your document can improve its usability and make it more reader-friendly. With Microsoft Word’s built-in features, creating a clickable table of contents on your Mac is a simple and effective way to enhance your documents.&lt;/p&gt;

&lt;p&gt;We hope this guide has been helpful in guiding you through the process of creating a clickable table of contents.&lt;/p&gt;
</description>
        <pubDate>Fri, 17 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/clickable_toc_word_mac/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/clickable_toc_word_mac/</guid>
        
        <category>word</category>
        
        <category>mac</category>
        
        <category>office</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Sending Email from Terminal in RHEL 9</title>
        <description>&lt;p&gt;Sending emails from the terminal in Red Hat Enterprise Linux 9 (RHEL 9) can be achieved using the Postfix service, which is the default SMTP server for Red Hat or CentOS systems. Postfix is a powerful program that can send and receive emails using the SMTP protocol. In this post, we will show you a step-by-step guide to configure and use Postfix for sending emails from your RHEL 9 terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-postfix&quot; id=&quot;markdown-toc-installing-postfix&quot;&gt;Installing Postfix&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuring-postfix&quot; id=&quot;markdown-toc-configuring-postfix&quot;&gt;Configuring Postfix&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#updating-configuration-and-restarting-postfix&quot; id=&quot;markdown-toc-updating-configuration-and-restarting-postfix&quot;&gt;Updating Configuration and Restarting Postfix&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sending-a-test-email&quot; id=&quot;markdown-toc-sending-a-test-email&quot;&gt;Sending a Test Email&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-postfix&quot;&gt;Installing Postfix&lt;/h2&gt;

&lt;p&gt;First, you need to install the Postfix package by running the following command in your terminal:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;postfix
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuring-postfix&quot;&gt;Configuring Postfix&lt;/h2&gt;

&lt;p&gt;After installing Postfix, you need to configure it by editing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/postfix/main.cf&lt;/code&gt; file. Append or modify the following parameters according to your SMTP server settings:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;myhostname&lt;/code&gt;: Set the hostname of your server, such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;example.com&lt;/code&gt;. This should typically be the fully qualified domain name of the server.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;relayhost&lt;/code&gt;: Specify the IP address or hostname of the relay server you want to use, such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[smtp.gmail.com]:587&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;smtp_use_tls&lt;/code&gt;: Set it to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yes&lt;/code&gt; if your relay server supports TLS encryption, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;no&lt;/code&gt; otherwise.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;smtp_sasl_auth_enable&lt;/code&gt;: Set it to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yes&lt;/code&gt; if your relay server requires SASL authentication, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;no&lt;/code&gt; otherwise.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;smtp_sasl_password_maps&lt;/code&gt;: Specify the file containing the username and password for your relay server, such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hash:/etc/postfix/sasl_passwd&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;smtp_sasl_security_options&lt;/code&gt;: Set it to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;noanonymous&lt;/code&gt; to prevent anonymous authentication.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;myhostname &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; example.com
relayhost &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;smtp.gmail.com]:587
smtp_use_tls &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;yes
&lt;/span&gt;smtp_sasl_auth_enable &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;yes
&lt;/span&gt;smtp_sasl_password_maps &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;hash&lt;/span&gt;:/etc/postfix/sasl_passwd
smtp_sasl_security_options &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; noanonymous
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Next, create the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/postfix/sasl_passwd&lt;/code&gt; file and enter your relay server’s credentials in the following format:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;smtp.gmail.com]:587 username@gmail.com:password
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;updating-configuration-and-restarting-postfix&quot;&gt;Updating Configuration and Restarting Postfix&lt;/h2&gt;
&lt;p&gt;Once you’ve configured Postfix and added your relay server’s credentials, update the Postfix configuration and restart the service by running the following commands:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;postmap /etc/postfix/sasl_passwd
&lt;span class=&quot;nb&quot;&gt;sudo chmod &lt;/span&gt;600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart postfix
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sending-a-test-email&quot;&gt;Sending a Test Email&lt;/h2&gt;
&lt;p&gt;To verify that Postfix is working properly, you can use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;s-nail&lt;/code&gt; command to send a test email from your terminal. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; “This is a &lt;span class=&quot;nb&quot;&gt;test &lt;/span&gt;email” | s-nail &lt;span class=&quot;nt&quot;&gt;-s&lt;/span&gt; “Test” recipient@example.com
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should receive the test email in your recipient’s inbox shortly. If not, check the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/postfix/sasl_passwd&lt;/code&gt; file for any errors or warnings.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In conclusion, sending emails from the terminal in RHEL 9 using Postfix is a straightforward process that can be accomplished by following a few simple steps. By configuring Postfix with the appropriate SMTP server settings and relay server credentials, you can quickly set up your system to send emails efficiently.&lt;/p&gt;

&lt;p&gt;Postfix offers a reliable and powerful solution for handling email delivery, making it a valuable tool for system administrators and developers alike. With its ability to integrate seamlessly with various SMTP servers and support for authentication and encryption, Postfix provides a flexible and secure email delivery mechanism.&lt;/p&gt;

&lt;p&gt;By mastering the process of sending emails from the terminal in RHEL 9, you can enhance your productivity and streamline your workflow. Whether you’re sending notifications, alerts, or reports, having the ability to send emails directly from your terminal can be a valuable asset in your toolkit.&lt;/p&gt;
</description>
        <pubDate>Tue, 14 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/send_email_from_terminal/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/send_email_from_terminal/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>terminal</category>
        
        <category>email</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring ProtonMail and the Proton Suite</title>
        <description>&lt;p&gt;In today’s digital age, privacy and security are paramount concerns for individuals and businesses alike. With the increasing threat of data breaches and surveillance, it’s essential to safeguard our online communications. ProtonMail and the Proton suite of tools offer a comprehensive solution for secure email communication and beyond. In this post, we’ll explore the features and benefits of ProtonMail and other tools in the Proton suite.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#protonmail-encrypted-email-communication&quot; id=&quot;markdown-toc-protonmail-encrypted-email-communication&quot;&gt;ProtonMail: Encrypted Email Communication&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-proton-suite-of-tools&quot; id=&quot;markdown-toc-the-proton-suite-of-tools&quot;&gt;The Proton Suite of Tools&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#protonvpn&quot; id=&quot;markdown-toc-protonvpn&quot;&gt;ProtonVPN&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#protoncalendar&quot; id=&quot;markdown-toc-protoncalendar&quot;&gt;ProtonCalendar&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#protondrive&quot; id=&quot;markdown-toc-protondrive&quot;&gt;ProtonDrive&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;protonmail-encrypted-email-communication&quot;&gt;ProtonMail: Encrypted Email Communication&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ProtonMail&lt;/strong&gt; is an encrypted email service that prioritizes user privacy and security. Founded in 2014 by scientists from CERN (the European Organization for Nuclear Research), ProtonMail utilizes end-to-end encryption to ensure that only the sender and recipient can access the contents of an email. Key features of ProtonMail include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;End-to-End Encryption&lt;/strong&gt;: All emails sent and received through ProtonMail are encrypted, preventing unauthorized access to the email contents.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Zero-Access Encryption&lt;/strong&gt;: ProtonMail employs zero-access encryption, which means that even ProtonMail employees cannot access the contents of users’ emails.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Anonymous Account Creation&lt;/strong&gt;: Users can create ProtonMail accounts without providing personally identifiable information, enhancing privacy and anonymity.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Two-Factor Authentication (2FA)&lt;/strong&gt;: ProtonMail offers 2FA options to add an extra layer of security to user accounts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-proton-suite-of-tools&quot;&gt;The Proton Suite of Tools&lt;/h2&gt;

&lt;p&gt;In addition to ProtonMail, the Proton suite includes a range of other privacy-focused tools designed to protect users’ online activities. Some notable tools in the Proton suite include:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;protonvpn&quot;&gt;ProtonVPN&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ProtonVPN&lt;/strong&gt; is a secure virtual private network (VPN) service that encrypts users’ internet traffic and routes it through secure servers. With ProtonVPN, users can browse the internet anonymously and access geo-restricted content without compromising their privacy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;protoncalendar&quot;&gt;ProtonCalendar&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ProtonCalendar&lt;/strong&gt; is a privacy-focused calendar application that offers end-to-end encryption for user data. With ProtonCalendar, users can schedule events, set reminders, and manage their schedules securely.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;protondrive&quot;&gt;ProtonDrive&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ProtonDrive&lt;/strong&gt; is a secure cloud storage solution that allows users to store and sync files securely across devices. With end-to-end encryption and zero-knowledge architecture, ProtonDrive ensures that user data remains private and inaccessible to third parties.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;ProtonMail and the Proton suite of tools represent a commitment to privacy, security, and freedom of expression in the digital world. Whether you’re sending emails, browsing the internet, managing your schedule, or storing files in the cloud, Proton’s suite of tools offers the peace of mind that your data remains protected from prying eyes. By embracing Proton’s secure communication tools, you can take control of your online privacy and communicate with confidence.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to the &lt;a href=&quot;https://proton.me/support&quot;&gt;Official Proton Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 11 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/exploring_proton_mail/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/exploring_proton_mail/</guid>
        
        <category>proton</category>
        
        <category>email</category>
        
        <category>encryption</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Overview of GitLab - Your One-Stop DevOps Solution</title>
        <description>&lt;p&gt;GitLab has emerged as a cornerstone tool for managing DevOps workflows, offering comprehensive solutions for version control, continuous integration (CI), continuous deployment (CD), and application performance monitoring (APM). In this post, we’ll delve into why GitLab stands out as a versatile and powerful platform for modern software development.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-devops-with-gitlab&quot; id=&quot;markdown-toc-understanding-devops-with-gitlab&quot;&gt;Understanding DevOps with GitLab&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#consolidating-your-tool-stack&quot; id=&quot;markdown-toc-consolidating-your-tool-stack&quot;&gt;Consolidating Your Tool Stack&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features-of-gitlab&quot; id=&quot;markdown-toc-key-features-of-gitlab&quot;&gt;Key Features of GitLab&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#version-control-and-collaboration&quot; id=&quot;markdown-toc-version-control-and-collaboration&quot;&gt;Version Control and Collaboration&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cicd-pipelines&quot; id=&quot;markdown-toc-cicd-pipelines&quot;&gt;CI/CD Pipelines&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#package-registry&quot; id=&quot;markdown-toc-package-registry&quot;&gt;Package Registry&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#application-performance-monitoring&quot; id=&quot;markdown-toc-application-performance-monitoring&quot;&gt;Application Performance Monitoring&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-devops-with-gitlab&quot;&gt;Understanding DevOps with GitLab&lt;/h2&gt;

&lt;p&gt;Before we dive into GitLab’s features, let’s understand the essence of DevOps. DevOps encompasses the processes involved in building, testing, deploying, and monitoring software applications. GitLab plays a pivotal role in streamlining these processes by offering robust CI/CD pipelines and APM capabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;consolidating-your-tool-stack&quot;&gt;Consolidating Your Tool Stack&lt;/h2&gt;

&lt;p&gt;In a typical software development environment, various tools are used for issue tracking, source control, CI/CD, and monitoring. GitLab aims to simplify this complexity by providing a unified platform that covers all these aspects. By consolidating your tool stack, you can avoid vendor lock-in and streamline your development workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features-of-gitlab&quot;&gt;Key Features of GitLab&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;version-control-and-collaboration&quot;&gt;Version Control and Collaboration&lt;/h3&gt;

&lt;p&gt;GitLab offers powerful version control features similar to GitHub, making it easy for teams to collaborate on code repositories. Its intuitive UI and seamless merge request workflow enhance productivity and collaboration among team members.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cicd-pipelines&quot;&gt;CI/CD Pipelines&lt;/h3&gt;

&lt;p&gt;One of GitLab’s standout features is its CI/CD pipelines, which enable teams to automate the build, test, and deployment processes. With GitLab CI/CD, you can define custom pipelines using YAML configuration files, visualize pipeline stages, and deploy applications with confidence.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;package-registry&quot;&gt;Package Registry&lt;/h3&gt;

&lt;p&gt;GitLab provides a built-in package registry for storing and managing dependencies used in your applications. Whether you’re working with npm packages or Docker containers, GitLab’s package registry offers a secure and centralized repository for your artifacts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;application-performance-monitoring&quot;&gt;Application Performance Monitoring&lt;/h3&gt;

&lt;p&gt;While GitLab’s APM capabilities may not match those of specialized tools like Datadog or New Relic, it provides essential monitoring features to track application performance and troubleshoot issues. With built-in monitoring tools, GitLab helps teams identify performance bottlenecks and optimize their applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;GitLab is more than just a version control system; it’s a comprehensive DevOps platform that empowers teams to build, test, deploy, and monitor software applications efficiently. Whether you’re a startup, a small organization, or a large enterprise, GitLab offers the flexibility and scalability to meet your development needs. By embracing GitLab, you can streamline your DevOps processes, accelerate software delivery, and drive innovation in your organization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to the &lt;a href=&quot;https://docs.gitlab.com&quot;&gt;Official GitLab Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Wed, 08 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/gitlab_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/gitlab_overview/</guid>
        
        <category>gitlab</category>
        
        <category>devops</category>
        
        <category>cicd</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Overview of JFrog Artifactory</title>
        <description>&lt;p&gt;JFrog Artifactory is a universal binary repository manager that serves as a central hub for managing various types of build artifacts, compiled binaries, and dependencies, regardless of the technologies you’re using. Whether you’re working with Python, JavaScript, C#, Ruby, or any other language, Artifactory supports various different package types explicitly, along with a generic repository type for everything else. This provides you with a single source of truth for all your commercial and open-source binaries, artifacts, and dependencies.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#user-and-group-management&quot; id=&quot;markdown-toc-user-and-group-management&quot;&gt;User and Group Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#repository-management&quot; id=&quot;markdown-toc-repository-management&quot;&gt;Repository Management&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#permission-control&quot; id=&quot;markdown-toc-permission-control&quot;&gt;Permission Control&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#integration-with-cicd-pipelines&quot; id=&quot;markdown-toc-integration-with-cicd-pipelines&quot;&gt;Integration with CI/CD Pipelines&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#advanced-features-and-extensibility&quot; id=&quot;markdown-toc-advanced-features-and-extensibility&quot;&gt;Advanced Features and Extensibility&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;user-and-group-management&quot;&gt;User and Group Management&lt;/h2&gt;

&lt;p&gt;Artifactory allows you to tightly control access to your platform through user and group management. By navigating to the administration module and then to Identity and Access, you can create users with specific privileges, assign them to groups, and define permissions based on your organization’s requirements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;repository-management&quot;&gt;Repository Management&lt;/h2&gt;

&lt;p&gt;Repositories in JFrog Artifactory are categorized into three types: local, remote, and virtual. Local repositories store code locally on your machine, while remote repositories cache dependencies from external sources. Virtual repositories act as an envelope around local and remote repositories, providing a unified interface for your projects.&lt;/p&gt;

&lt;p&gt;Creating and managing repositories is made easy with Artifactory’s intuitive interface. You can quickly set up repositories for different package types and let Artifactory handle the configuration for you. Additionally, Artifactory provides a “Set Me Up” feature that generates commands for building, tagging, and pushing Docker containers to repositories, streamlining the setup process.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;permission-control&quot;&gt;Permission Control&lt;/h2&gt;

&lt;p&gt;Artifactory enables granular control over repository access and operations through permissions. By defining permission targets and associating them with users or groups, you can specify who has access to which repositories and what actions they can perform. This ensures secure and efficient management of your artifacts and dependencies.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;integration-with-cicd-pipelines&quot;&gt;Integration with CI/CD Pipelines&lt;/h2&gt;

&lt;p&gt;One of the key strengths of JFrog Artifactory is its seamless integration with CI/CD pipelines. By integrating Artifactory into your pipeline, you can automate the storage and retrieval of artifacts, streamline the deployment process, and ensure consistency across your development workflow. Artifactory supports integration with popular CI/CD tools such as Jenkins, GitLab CI/CD, and CircleCI, enabling you to leverage its capabilities within your existing workflows.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;advanced-features-and-extensibility&quot;&gt;Advanced Features and Extensibility&lt;/h2&gt;

&lt;p&gt;In addition to its core functionalities, JFrog Artifactory offers a range of advanced features and extensibility options to cater to diverse use cases. From built-in support for Docker registries and Helm repositories to comprehensive vulnerability detection with JFrog Xray, Artifactory provides a robust platform for managing your entire artifact lifecycle. Furthermore, Artifactory’s RESTful API and extensive plugin ecosystem allow you to extend its capabilities and integrate with third-party tools seamlessly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;JFrog Artifactory is more than just a binary repository manager; it’s a comprehensive solution for managing your entire artifact lifecycle. With its user-friendly interface, powerful features, and seamless integrations, Artifactory empowers development teams to streamline their workflows, enhance collaboration, and ensure the reliability and security of their software projects.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to the &lt;a href=&quot;https://jfrog.com/help/&quot;&gt;JFrog Official Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sun, 05 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/artifactory_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/artifactory_overview/</guid>
        
        <category>jfrog</category>
        
        <category>artifactory</category>
        
        <category>repository</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Overview of Prometheus and Grafana</title>
        <description>&lt;p&gt;Prometheus and Grafana are essential tools for monitoring and visualizing metrics in modern IT environments. Prometheus, a robust monitoring tool, helps you keep a close eye on your infrastructure devices, including servers, networking devices, and batch jobs. It collects various metrics such as CPU utilization, memory usage, and network bandwidth, providing valuable insights into the health and performance of your systems.&lt;/p&gt;

&lt;p&gt;Grafana, on the other hand, is a powerful dashboarding tool that takes visualization to the next level. With Grafana, you can create stunning dashboards and visualizations that allow you to monitor and analyze your Prometheus data in real-time. By integrating Prometheus with Grafana, you can gain deeper insights into your system’s performance and make informed decisions to optimize efficiency.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prometheus-architecture&quot; id=&quot;markdown-toc-prometheus-architecture&quot;&gt;Prometheus Architecture&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#prometheus-features&quot; id=&quot;markdown-toc-prometheus-features&quot;&gt;Prometheus Features&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#grafana-integration&quot; id=&quot;markdown-toc-grafana-integration&quot;&gt;Grafana Integration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prometheus-architecture&quot;&gt;Prometheus Architecture&lt;/h2&gt;

&lt;p&gt;At its core, Prometheus consists of three main components: the retrieval component, the time-series database (TSDB), and the HTTP server. These components work together to efficiently collect, store, and serve time-series data, providing you with a comprehensive view of your system’s metrics.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prometheus-features&quot;&gt;Prometheus Features&lt;/h2&gt;

&lt;p&gt;Prometheus offers several key features that make it a valuable tool for monitoring and alerting. It stores metrics as key-value pairs, making it easy to query and analyze data. Prometheus Query Language (PromQL) allows you to perform powerful queries on your data, while HTTP-based data collection simplifies the monitoring setup. Additionally, Prometheus supports multiple modes of graphing and dashboarding, making it easy to visualize your data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;grafana-integration&quot;&gt;Grafana Integration&lt;/h2&gt;

&lt;p&gt;Grafana integrates seamlessly with Prometheus, allowing you to create custom dashboards and visualizations that provide valuable insights into your system’s performance. With Grafana, you can create rich, interactive dashboards that help you monitor and analyze your Prometheus data in real-time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In conclusion, Prometheus and Grafana are powerful tools that work together to provide comprehensive monitoring and visualization solutions for modern IT environments. Prometheus collects and stores metrics, while Grafana helps you visualize and analyze that data in real-time. Together, they form a powerful toolset for monitoring and optimizing the performance of your systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to this &lt;a href=&quot;https://grafana.com/docs/grafana/latest/getting-started/get-started-grafana-prometheus/&quot;&gt;Grafana Article&lt;/a&gt; about getting started with Grafana and Prometheus.&lt;/p&gt;

</description>
        <pubDate>Thu, 02 May 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/prometheus_grafana_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/prometheus_grafana_overview/</guid>
        
        <category>prometheus</category>
        
        <category>grafana</category>
        
        <category>network</category>
        
        <category>monitoring</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding Keycloak - An Overview</title>
        <description>&lt;p&gt;If you’re in search of an identity and access management system without breaking the bank, Keycloak might be the solution for you. Keycloak is an open-source identity and access management software that offers a range of features to help manage user authentication and authorization efficiently.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features-of-keycloak&quot; id=&quot;markdown-toc-key-features-of-keycloak&quot;&gt;Key Features of Keycloak&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#documentation-and-support&quot; id=&quot;markdown-toc-documentation-and-support&quot;&gt;Documentation and Support&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installation-and-configuration&quot; id=&quot;markdown-toc-installation-and-configuration&quot;&gt;Installation and Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features-of-keycloak&quot;&gt;Key Features of Keycloak&lt;/h2&gt;

&lt;p&gt;Keycloak provides several key features that make it a popular choice among professionals:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Single Sign-On (SSO) Solution&lt;/strong&gt;: Allows users to log in to multiple applications using a single set of credentials.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Support for Multiple Protocols&lt;/strong&gt;: Supports protocols such as OpenID Connect, OAuth 2.0, and SAML 2.0 for seamless integration with various applications.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Centralized Management&lt;/strong&gt;: Offers centralized management for administrators and users, simplifying user authentication and access control.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Social Login&lt;/strong&gt;: Enables users to log in using social media accounts via OpenID Connect or SAML 2.0.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Scalability and Performance&lt;/strong&gt;: High-performance, lightweight, and scalable, with clustering features for scalability, performance, and high availability.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Customization&lt;/strong&gt;: Provides built-in themes and customization options to tailor the look and feel of the authentication process to meet specific requirements or branding needs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Password Policies and Multi-Tenancy&lt;/strong&gt;: Supports various password policies and allows for the creation of a multi-tenant environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;documentation-and-support&quot;&gt;Documentation and Support&lt;/h2&gt;

&lt;p&gt;Keycloak offers comprehensive documentation and community support to assist users in installation, configuration, and troubleshooting:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Documentation&lt;/strong&gt;: Detailed guides are available for installation, migration, and configuration, covering both bare-metal server setups and containerized environments like Docker.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Community Support&lt;/strong&gt;: Users can connect with professionals worldwide via community forums for assistance and to report vulnerabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation-and-configuration&quot;&gt;Installation and Configuration&lt;/h2&gt;

&lt;p&gt;Installing Keycloak, especially with Docker, is straightforward:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Docker Installation&lt;/strong&gt;: Simply copy and paste the provided Docker command, customize the user ID and password, and access the admin console to configure realms, users, and applications.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Server Guide&lt;/strong&gt;: For production environments, it’s recommended to configure a database like PostgreSQL and SSL certificates. The server guide provides detailed instructions for configuration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Keycloak offers a robust and cost-effective solution for identity and access management needs. With its extensive features, ease of use, and strong community support, Keycloak stands out as a reliable choice for organizations seeking to enhance security and user authentication processes. In the next video, we’ll demonstrate how to install and configure Keycloak, so stay tuned and subscribe for updates.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to the &lt;a href=&quot;https://www.keycloak.org/documentation&quot;&gt;Official Keycloak Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Mon, 29 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/keycloak_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/keycloak_overview/</guid>
        
        <category>keycloak</category>
        
        <category>SSO</category>
        
        <category>authentication</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding Backup Types - Full, Differential, and Incremental</title>
        <description>&lt;p&gt;Implementing a comprehensive backup strategy is essential for safeguarding critical data and ensuring business continuity. In this blog post, we’ll explore the differences between three common backup types: Full, Differential, and Incremental backups.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#full-backup&quot; id=&quot;markdown-toc-full-backup&quot;&gt;Full Backup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#differential-backup&quot; id=&quot;markdown-toc-differential-backup&quot;&gt;Differential Backup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#incremental-backup&quot; id=&quot;markdown-toc-incremental-backup&quot;&gt;Incremental Backup&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#choosing-the-right-backup-strategy&quot; id=&quot;markdown-toc-choosing-the-right-backup-strategy&quot;&gt;Choosing the Right Backup Strategy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;full-backup&quot;&gt;Full Backup&lt;/h2&gt;

&lt;p&gt;A Full backup involves copying all data from a source to a destination. It creates a complete replica of the data at a specific point in time, providing a comprehensive backup solution. While Full backups consume more storage space and require longer backup windows, they offer the advantage of quick and straightforward data restoration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Characteristics:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Captures all data.&lt;/li&gt;
  &lt;li&gt;Requires significant storage space and time.&lt;/li&gt;
  &lt;li&gt;Provides comprehensive data recovery capability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;differential-backup&quot;&gt;Differential Backup&lt;/h2&gt;

&lt;p&gt;A Differential backup captures only the data that has changed since the last Full backup. It includes all modifications made since the last Full backup, regardless of whether they were part of previous Differential backups. While Differential backups require less storage space and time compared to Full backups, they necessitate longer restoration times as they accumulate changes over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Characteristics:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Copies data changed since the last Full backup.&lt;/li&gt;
  &lt;li&gt;Requires less storage space and time compared to Full backups.&lt;/li&gt;
  &lt;li&gt;Longer restoration times compared to Incremental backups.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;incremental-backup&quot;&gt;Incremental Backup&lt;/h2&gt;

&lt;p&gt;An Incremental backup captures only the data that has changed since the last backup, whether it was a Full, Differential, or Incremental backup. It backs up only the modified or newly created files since the last backup operation, resulting in minimal storage space and time requirements. However, Incremental backups may lead to longer restoration times, as data recovery involves retrieving multiple backup sets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Characteristics:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Backs up data changed since the last backup operation.&lt;/li&gt;
  &lt;li&gt;Requires minimal storage space and time.&lt;/li&gt;
  &lt;li&gt;Longer restoration times compared to Full backups.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;choosing-the-right-backup-strategy&quot;&gt;Choosing the Right Backup Strategy&lt;/h2&gt;

&lt;p&gt;Selecting the appropriate backup strategy depends on factors such as data volume, storage capacity, backup frequency, and recovery objectives. Here are some considerations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Full Backup&lt;/strong&gt;: Ideal for critical data that requires frequent access and rapid recovery. Suitable for smaller datasets or when storage space is not a constraint.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Differential Backup&lt;/strong&gt;: Balances storage efficiency with data recovery speed. Suitable for moderate-sized datasets with moderate change rates.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Incremental Backup&lt;/strong&gt;: Maximizes storage efficiency but may lead to longer restoration times. Ideal for large datasets with relatively low change rates and sufficient bandwidth for data recovery.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Understanding the differences between Full, Differential, and Incremental backups is crucial for designing an effective backup strategy. By evaluating factors such as data volume, storage capacity, and recovery requirements, organizations can implement backup solutions that prioritize data protection, storage efficiency, and recovery speed.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to this &lt;a href=&quot;https://www.nakivo.com/blog/backup-types-explained/&quot;&gt;Nakivo blog post&lt;/a&gt; about the different backup types.&lt;/p&gt;

</description>
        <pubDate>Fri, 26 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/understanding_backup_types/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/understanding_backup_types/</guid>
        
        <category>backups</category>
        
        <category>data</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Overview of Deduplication</title>
        <description>&lt;p&gt;Deduplication is a critical technology in online backup and recovery solutions. In this article, we’ll delve into the basics of deduplication, its types, and why it’s essential for efficient data management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#types-of-deduplication&quot; id=&quot;markdown-toc-types-of-deduplication&quot;&gt;Types of Deduplication&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#file-level-deduplication&quot; id=&quot;markdown-toc-file-level-deduplication&quot;&gt;File-Level Deduplication&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#block-level-deduplication&quot; id=&quot;markdown-toc-block-level-deduplication&quot;&gt;Block-Level Deduplication&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-block-level-deduplication&quot; id=&quot;markdown-toc-understanding-block-level-deduplication&quot;&gt;Understanding Block-Level Deduplication&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-block-level-deduplication&quot; id=&quot;markdown-toc-benefits-of-block-level-deduplication&quot;&gt;Benefits of Block-Level Deduplication&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;types-of-deduplication&quot;&gt;Types of Deduplication&lt;/h2&gt;

&lt;p&gt;There are two main types of deduplication: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;file-level deduplication&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;block-level deduplication&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;file-level-deduplication&quot;&gt;File-Level Deduplication&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;File-level deduplication&lt;/code&gt; identifies identical files across multiple users and stores only one copy of each file in the data center. However, if any user modifies their file, the system treats it as a unique file, resulting in redundant storage of slightly modified files.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;block-level-deduplication&quot;&gt;Block-Level Deduplication&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Block-level deduplication&lt;/code&gt; breaks files into smaller blocks or chunks and compares them across users. It only stores unique blocks, significantly reducing storage space and bandwidth usage. This method is more efficient as it identifies and eliminates duplicate data at a granular level.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-block-level-deduplication&quot;&gt;Understanding Block-Level Deduplication&lt;/h2&gt;

&lt;p&gt;Block-level deduplication operates by dividing files into blocks and storing only unique blocks in the data center. Let’s illustrate this with an example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Mike, Tim, and James each have files with blocks numbered 1 to 5.&lt;/li&gt;
  &lt;li&gt;Each user backs up their files to the same data center.&lt;/li&gt;
  &lt;li&gt;The deduplication software identifies common blocks across users and stores them only once.&lt;/li&gt;
  &lt;li&gt;Unique blocks are backed up individually, minimizing storage requirements and bandwidth usage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-block-level-deduplication&quot;&gt;Benefits of Block-Level Deduplication&lt;/h2&gt;

&lt;p&gt;Block-level deduplication offers several advantages:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Efficient Storage Utilization&lt;/strong&gt;: By storing only unique data blocks, it optimizes storage space, reducing costs associated with data storage.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Bandwidth Optimization&lt;/strong&gt;: Minimizes bandwidth usage during backup and restoration processes, enhancing data transfer efficiency.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Granular Restoration&lt;/strong&gt;: Enables precise data restoration by identifying and assembling the required blocks, ensuring accurate file recovery.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Deduplication, especially block-level deduplication, is a crucial component of modern backup and recovery solutions. It optimizes storage utilization, minimizes bandwidth consumption, and facilitates efficient data management. Understanding the fundamentals of deduplication empowers teams to implement robust data protection strategies and mitigate storage-related challenges effectively.&lt;/p&gt;

</description>
        <pubDate>Tue, 23 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/deduplication_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/deduplication_overview/</guid>
        
        <category>deduplication</category>
        
        <category>backups</category>
        
        <category>data</category>
        
        <category>reviews</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Overview of SonarQube</title>
        <description>&lt;p&gt;SonarQube is an open-source platform designed to continuously inspect code quality, detect bugs, vulnerabilities, and security vulnerabilities, and provide insights into code maintainability. It offers a comprehensive set of features for static code analysis, code coverage, code duplication detection, and more. In this blog post, we’ll provide an overview of SonarQube, its key features, and how it may benefit development teams.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#static-code-analysis&quot; id=&quot;markdown-toc-static-code-analysis&quot;&gt;Static Code Analysis&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#code-quality-metrics&quot; id=&quot;markdown-toc-code-quality-metrics&quot;&gt;Code Quality Metrics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#continuous-inspection&quot; id=&quot;markdown-toc-continuous-inspection&quot;&gt;Continuous Inspection&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#security-vulnerability-detection&quot; id=&quot;markdown-toc-security-vulnerability-detection&quot;&gt;Security Vulnerability Detection&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#customizable-quality-gates&quot; id=&quot;markdown-toc-customizable-quality-gates&quot;&gt;Customizable Quality Gates&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#integration-with-ides-and-cicd-tools&quot; id=&quot;markdown-toc-integration-with-ides-and-cicd-tools&quot;&gt;Integration with IDEs and CI/CD Tools&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits&quot; id=&quot;markdown-toc-benefits&quot;&gt;Benefits&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#improved-code-quality&quot; id=&quot;markdown-toc-improved-code-quality&quot;&gt;Improved Code Quality&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#enhanced-security&quot; id=&quot;markdown-toc-enhanced-security&quot;&gt;Enhanced Security&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#increased-developer-productivity&quot; id=&quot;markdown-toc-increased-developer-productivity&quot;&gt;Increased Developer Productivity&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#consistent-code-standards&quot; id=&quot;markdown-toc-consistent-code-standards&quot;&gt;Consistent Code Standards&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;static-code-analysis&quot;&gt;Static Code Analysis&lt;/h3&gt;
&lt;p&gt;SonarQube performs static code analysis to identify coding issues, such as bugs, code smells, and security vulnerabilities, by analyzing source code without executing it. It supports multiple programming languages, including Java, JavaScript, Python, C#, and more.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;code-quality-metrics&quot;&gt;Code Quality Metrics&lt;/h3&gt;
&lt;p&gt;The platform provides various code quality metrics, such as cyclomatic complexity, code duplication, and maintainability index, to assess the overall quality of the codebase. These metrics help developers understand areas for improvement and prioritize refactoring efforts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;continuous-inspection&quot;&gt;Continuous Inspection&lt;/h3&gt;
&lt;p&gt;SonarQube integrates seamlessly into the development workflow, allowing developers to run code analysis automatically as part of the continuous integration (CI) process. This ensures that code quality checks are performed consistently with every code change, helping teams catch issues early in the development cycle.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;security-vulnerability-detection&quot;&gt;Security Vulnerability Detection&lt;/h3&gt;
&lt;p&gt;SonarQube includes built-in security rules to detect common security vulnerabilities, such as SQL injection, cross-site scripting (XSS), and sensitive data exposure. It helps teams identify and remediate security flaws before they manifest into serious security breaches.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;customizable-quality-gates&quot;&gt;Customizable Quality Gates&lt;/h3&gt;
&lt;p&gt;Quality gates in SonarQube allow teams to define thresholds for code quality metrics and security vulnerabilities. If the code fails to meet the predefined criteria, the build pipeline can be blocked, preventing low-quality code from being deployed to production.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;integration-with-ides-and-cicd-tools&quot;&gt;Integration with IDEs and CI/CD Tools&lt;/h3&gt;
&lt;p&gt;SonarQube integrates with popular integrated development environments (IDEs) such as Visual Studio Code, IntelliJ IDEA, and Eclipse, allowing developers to view code quality issues directly within their development environment. Additionally, it integrates with CI/CD tools like Jenkins, GitLab CI, and Azure DevOps for automated code analysis in CI pipelines.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits&quot;&gt;Benefits&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;improved-code-quality&quot;&gt;Improved Code Quality&lt;/h3&gt;
&lt;p&gt;By continuously monitoring code quality and identifying potential issues early in the development process, SonarQube helps teams improve the overall quality of their codebase.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;enhanced-security&quot;&gt;Enhanced Security&lt;/h3&gt;
&lt;p&gt;SonarQube’s built-in security rules and vulnerability detection capabilities help teams identify and address security vulnerabilities, reducing the risk of security breaches in applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;increased-developer-productivity&quot;&gt;Increased Developer Productivity&lt;/h3&gt;
&lt;p&gt;By automating code analysis and providing actionable insights into code quality, SonarQube enables developers to focus their efforts on writing high-quality code and delivering value to end users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;consistent-code-standards&quot;&gt;Consistent Code Standards&lt;/h3&gt;
&lt;p&gt;SonarQube enforces consistent code standards and best practices across development teams, ensuring that all code contributions meet the required quality criteria.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;SonarQube is a powerful tool for code quality management and continuous inspection, offering a range of features to help development teams build better software. By integrating static code analysis, security vulnerability detection, and code quality metrics into the development workflow, SonarQube enables teams to deliver high-quality, secure, and maintainable code efficiently.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to the offficial &lt;a href=&quot;https://docs.sonarsource.com/sonarqube/latest/&quot;&gt;SonarQube Documentation&lt;/a&gt; for additional information.&lt;/p&gt;
</description>
        <pubDate>Sat, 20 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/sonarqube_overview/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/sonarqube_overview/</guid>
        
        <category>sonarqube</category>
        
        <category>code</category>
        
        <category>codereview</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Elastic vs. Splunk - A Comparative Analysis</title>
        <description>&lt;p&gt;When it comes to log management and analysis, two prominent solutions often come to mind: Elastic and Splunk. Both platforms offer powerful features for collecting, indexing, searching, and visualizing log data, but they have distinct differences in terms of architecture, scalability, pricing, and ease of use. In this blog post, we’ll compare Elastic and Splunk across numerous aspects to help you make an informed decision about which solution best suits your needs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#elastic&quot; id=&quot;markdown-toc-elastic&quot;&gt;Elastic&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#overview&quot; id=&quot;markdown-toc-overview&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#splunk&quot; id=&quot;markdown-toc-splunk&quot;&gt;Splunk&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#overview-1&quot; id=&quot;markdown-toc-overview-1&quot;&gt;Overview&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#key-features-1&quot; id=&quot;markdown-toc-key-features-1&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-1&quot; id=&quot;markdown-toc-pros-1&quot;&gt;Pros&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-1&quot; id=&quot;markdown-toc-cons-1&quot;&gt;Cons&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#comparison&quot; id=&quot;markdown-toc-comparison&quot;&gt;Comparison&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#scalability&quot; id=&quot;markdown-toc-scalability&quot;&gt;Scalability&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#ease-of-use&quot; id=&quot;markdown-toc-ease-of-use&quot;&gt;Ease of Use&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pricing&quot; id=&quot;markdown-toc-pricing&quot;&gt;Pricing&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;elastic&quot;&gt;Elastic&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;overview&quot;&gt;Overview&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;https://www.elastic.co&quot;&gt;Elastic&lt;/a&gt;, also known as the Elastic Stack or ELK Stack, is an open-source platform that includes Elasticsearch for search and analytics, Logstash for log data collection and processing, and Kibana for data visualization and exploration. It’s highly scalable, flexible, and widely adopted for log management, monitoring, and observability use cases.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features&quot;&gt;Key Features&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Distributed architecture for scalability and high availability.&lt;/li&gt;
  &lt;li&gt;Support for various data types and sources, including logs, metrics, and APM traces.&lt;/li&gt;
  &lt;li&gt;Rich querying capabilities using the Lucene query syntax and Elasticsearch Query DSL.&lt;/li&gt;
  &lt;li&gt;Extensive ecosystem with integrations for data ingestion, enrichment, and analysis.&lt;/li&gt;
  &lt;li&gt;Open-source with commercial support options available from Elastic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Open-source and freely available.&lt;/li&gt;
  &lt;li&gt;Scalable and flexible architecture.&lt;/li&gt;
  &lt;li&gt;Rich querying and visualization capabilities.&lt;/li&gt;
  &lt;li&gt;Active community and ecosystem.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Requires significant expertise for setup and configuration.&lt;/li&gt;
  &lt;li&gt;Limited out-of-the-box features compared to Splunk.&lt;/li&gt;
  &lt;li&gt;Can be resource-intensive to operate at scale.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;splunk&quot;&gt;Splunk&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;overview-1&quot;&gt;Overview&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.splunk.com/Documentation&quot;&gt;Splunk&lt;/a&gt; is a proprietary software platform that provides a range of solutions for log management, security, IT operations, and business analytics. It offers a unified platform for collecting, indexing, and analyzing machine-generated data from various sources, including logs, metrics, and events.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features-1&quot;&gt;Key Features&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;User-friendly interface with intuitive search and visualization tools.&lt;/li&gt;
  &lt;li&gt;Robust security features for compliance and threat detection.&lt;/li&gt;
  &lt;li&gt;Machine learning capabilities for anomaly detection and predictive analytics.&lt;/li&gt;
  &lt;li&gt;Splunkbase marketplace for extending functionality with apps and add-ons.&lt;/li&gt;
  &lt;li&gt;Enterprise-grade support and professional services offerings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros-1&quot;&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Easy to use with a rich set of out-of-the-box features.&lt;/li&gt;
  &lt;li&gt;Comprehensive security and compliance capabilities.&lt;/li&gt;
  &lt;li&gt;Mature ecosystem with extensive documentation and support.&lt;/li&gt;
  &lt;li&gt;Robust machine learning and analytics capabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Proprietary and costly licensing model.&lt;/li&gt;
  &lt;li&gt;Limited scalability compared to Elastic’s distributed architecture.&lt;/li&gt;
  &lt;li&gt;Dependency on vendor for updates and support.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;comparison&quot;&gt;Comparison&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;scalability&quot;&gt;Scalability&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Elastic&lt;/strong&gt;: Highly scalable with a distributed architecture that supports horizontal scaling across clusters.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Splunk&lt;/strong&gt;: Scalable but may require additional infrastructure and licensing for large deployments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;ease-of-use&quot;&gt;Ease of Use&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Elastic&lt;/strong&gt;: Requires expertise for setup and configuration, but offers flexibility and customization options.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Splunk&lt;/strong&gt;: User-friendly interface with intuitive search and visualization tools, suitable for both technical and non-technical users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pricing&quot;&gt;Pricing&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Elastic&lt;/strong&gt;: Open-source with commercial support options available, offering cost-effective solutions for organizations of all sizes.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Splunk&lt;/strong&gt;: Proprietary licensing model based on data volume and feature usage, which can be expensive for large-scale deployments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Both Elastic and Splunk offer powerful solutions for log management and analysis, but they cater to different needs and preferences. Elastic is well-suited for organizations looking for an open-source, scalable platform with rich querying capabilities and flexibility in deployment options. On the other hand, Splunk is ideal for organizations that prioritize ease of use, comprehensive security features, and enterprise-grade support. Ultimately, the choice between Elastic and Splunk depends on factors such as budget, technical requirements, and organizational goals.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to this &lt;a href=&quot;https://betterstack.com/community/comparisons/splunk-vs-elastic-stack-elk/&quot;&gt;BetterStack article&lt;/a&gt; for additional information.&lt;/p&gt;
</description>
        <pubDate>Wed, 17 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/elastic_vs_splunk/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/elastic_vs_splunk/</guid>
        
        <category>elastic</category>
        
        <category>splunk</category>
        
        <category>logmanagement</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding the Commercial Use Suspected Message in TeamViewer Free Version</title>
        <description>&lt;p&gt;TeamViewer is a popular remote desktop software used by millions of users worldwide for remote access, support, and collaboration. While the free version of TeamViewer offers many features, users may encounter a message stating “Commercial Use Suspected,” prompting them to purchase a commercial license. In this blog post, we’ll explore what this message means, why it appears, and how users can address it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-the-commercial-use-suspected-message&quot; id=&quot;markdown-toc-what-is-the-commercial-use-suspected-message&quot;&gt;What is the “Commercial Use Suspected” Message?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-does-the-message-appear&quot; id=&quot;markdown-toc-why-does-the-message-appear&quot;&gt;Why Does the Message Appear?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#addressing-the-message&quot; id=&quot;markdown-toc-addressing-the-message&quot;&gt;Addressing the Message&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-the-commercial-use-suspected-message&quot;&gt;What is the “Commercial Use Suspected” Message?&lt;/h2&gt;

&lt;p&gt;The “Commercial Use Suspected” message in TeamViewer’s free version is a notification that appears when the software detects usage patterns that indicate commercial or business-related use. TeamViewer’s free version is intended for personal, non-commercial use only, and the software’s algorithms analyze usage behavior to identify potential commercial usage.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-does-the-message-appear&quot;&gt;Why Does the Message Appear?&lt;/h2&gt;

&lt;p&gt;The “Commercial Use Suspected” message may appear for several reasons, including:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Frequent or Extended Sessions:&lt;/strong&gt; If a user consistently connects to remote devices for extended periods or conducts frequent remote sessions, TeamViewer may interpret this as commercial use.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Multiple Connections to Different Devices:&lt;/strong&gt; Connecting to multiple devices regularly, especially if they belong to different users or organizations, may trigger the suspicion of commercial usage.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Commercial Network Environments:&lt;/strong&gt; Using TeamViewer within a corporate network or business environment can also trigger the message, as TeamViewer assumes that such usage is for commercial purposes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;addressing-the-message&quot;&gt;Addressing the Message&lt;/h2&gt;

&lt;p&gt;If you encounter the “Commercial Use Suspected” message while using TeamViewer’s free version, there are a few steps you can take to address it:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Confirm Personal Use:&lt;/strong&gt; If you’re using TeamViewer for personal, non-commercial purposes, you can submit a declaration of personal use to TeamViewer. This declaration helps TeamViewer understand your usage pattern and confirm that it’s for non-commercial use. This process is detailed &lt;a href=&quot;https://community.teamviewer.com/English/kb/articles/5265-commercial-use-suspected&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Upgrade to a Commercial License:&lt;/strong&gt; Alternatively, if you’re using TeamViewer for business or commercial purposes, you’ll need to purchase a commercial license. TeamViewer offers various licensing options tailored to businesses of all sizes, providing additional features and support.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Contact TeamViewer Support:&lt;/strong&gt; If you believe that the message was triggered incorrectly or have questions about licensing and usage, you can contact TeamViewer’s support team for assistance. They can provide guidance on resolving the issue and help you choose the right licensing option for your needs. You may contact &lt;a href=&quot;https://www.teamviewer.com/en-us/global/support/customer-support/&quot;&gt;TeamViewer Support here&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The “Commercial Use Suspected” message in TeamViewer’s free version is a notification designed to identify potential commercial usage of the software. While encountering this message may be inconvenient for users who intended to use TeamViewer for personal purposes, it reflects TeamViewer’s commitment to enforcing its licensing terms and protecting its commercial interests. By understanding why the message appears and taking appropriate actions such as submitting a declaration of personal use or purchasing a commercial license, users can continue to enjoy the benefits of TeamViewer while ensuring compliance with its terms of use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For detailed instructions, you can refer to the &lt;a href=&quot;https://community.teamviewer.com/English/kb/articles/5265-commercial-use-suspected&quot;&gt;Official TeamViewer Documentation&lt;/a&gt; concerning this specific issue.&lt;/p&gt;
</description>
        <pubDate>Sun, 14 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/teamviewer_commercial_use_suspected/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/teamviewer_commercial_use_suspected/</guid>
        
        <category>remote</category>
        
        <category>remote-access</category>
        
        <category>teamviewer</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Overview and Review of AnyDesk</title>
        <description>&lt;p&gt;AnyDesk is a popular remote desktop software that enables users to access and control computers remotely from anywhere. It offers a range of features designed to facilitate seamless collaboration, troubleshooting, and file sharing between devices. In this overview, we’ll explore the key aspects of AnyDesk and compare it with its closest competitors in the remote desktop software market.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#features&quot; id=&quot;markdown-toc-features&quot;&gt;Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#easy-setup-and-installation&quot; id=&quot;markdown-toc-easy-setup-and-installation&quot;&gt;Easy Setup and Installation&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cross-platform-compatibility&quot; id=&quot;markdown-toc-cross-platform-compatibility&quot;&gt;Cross-Platform Compatibility&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#high-performance-and-low-latency&quot; id=&quot;markdown-toc-high-performance-and-low-latency&quot;&gt;High Performance and Low Latency&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#security-and-privacy&quot; id=&quot;markdown-toc-security-and-privacy&quot;&gt;Security and Privacy&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#file-transfer-and-collaboration-tools&quot; id=&quot;markdown-toc-file-transfer-and-collaboration-tools&quot;&gt;File Transfer and Collaboration Tools&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#comparison-with-competitors&quot; id=&quot;markdown-toc-comparison-with-competitors&quot;&gt;Comparison with Competitors&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#teamviewer&quot; id=&quot;markdown-toc-teamviewer&quot;&gt;TeamViewer&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#remote-desktop-protocol-rdp&quot; id=&quot;markdown-toc-remote-desktop-protocol-rdp&quot;&gt;Remote Desktop Protocol (RDP)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;features&quot;&gt;Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;easy-setup-and-installation&quot;&gt;Easy Setup and Installation&lt;/h3&gt;

&lt;p&gt;AnyDesk provides a simple and straightforward installation process, allowing users to set up remote desktop connections quickly. With minimal configuration required, users can initiate remote sessions within minutes, making it ideal for both individuals and businesses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cross-platform-compatibility&quot;&gt;Cross-Platform Compatibility&lt;/h3&gt;

&lt;p&gt;One of AnyDesk’s strengths is its cross-platform compatibility, supporting various operating systems including Windows, macOS, Linux, Android, and iOS. This versatility ensures that users can access and control remote devices regardless of their preferred platform, enhancing flexibility and accessibility.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;high-performance-and-low-latency&quot;&gt;High Performance and Low Latency&lt;/h3&gt;

&lt;p&gt;AnyDesk is known for its high performance and low latency, providing smooth and responsive remote desktop experiences even over low-bandwidth connections. Its efficient data transmission algorithms minimize lag and latency, ensuring a fluid user experience during remote sessions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;security-and-privacy&quot;&gt;Security and Privacy&lt;/h3&gt;

&lt;p&gt;Security is a top priority for AnyDesk, and the software incorporates robust encryption and authentication mechanisms to protect data and privacy during remote sessions. Features such as TLS 1.2 encryption, RSA 2048 asymmetric key exchange, and optional two-factor authentication (2FA) enhance security and prevent unauthorized access.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;file-transfer-and-collaboration-tools&quot;&gt;File Transfer and Collaboration Tools&lt;/h3&gt;

&lt;p&gt;AnyDesk offers built-in file transfer capabilities, allowing users to seamlessly transfer files and documents between local and remote devices during remote sessions. Additionally, collaboration tools such as chat, whiteboard, and screen annotation enable effective communication and collaboration between remote users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;comparison-with-competitors&quot;&gt;Comparison with Competitors&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;teamviewer&quot;&gt;TeamViewer&lt;/h3&gt;

&lt;p&gt;AnyDesk’s closest competitor is TeamViewer, another popular remote desktop software. While both platforms offer similar features such as cross-platform compatibility, high performance, and security, there are some differences in pricing and licensing models. TeamViewer is often perceived as more expensive, especially for commercial use, whereas AnyDesk offers competitive pricing plans tailored to individual users, small businesses, and enterprises.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;remote-desktop-protocol-rdp&quot;&gt;Remote Desktop Protocol (RDP)&lt;/h3&gt;

&lt;p&gt;Remote Desktop Protocol (RDP), developed by Microsoft, is another alternative to AnyDesk for remote desktop access. While RDP is included with Windows operating systems and offers basic remote access functionality, it lacks some of the advanced features and performance optimizations found in AnyDesk. Additionally, RDP may require additional configuration and setup, making it less user-friendly for non-technical users.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Overall, AnyDesk is a reliable and feature-rich remote desktop software solution suitable for individuals, businesses, and IT professionals. With its very easy setup, cross-platform compatibility, high performance, and robust security features, AnyDesk provides an efficient and secure way to access and control remote devices from anywhere. When compared to its competitors such as TeamViewer and Remote Desktop Protocol (RDP), AnyDesk offers a compelling combination of functionality, affordability, and user-friendliness, making it a preferred choice for remote desktop access and collaboration. See &lt;a href=&quot;https://anydesk.com/en/professional-use&quot;&gt;this link&lt;/a&gt; for a comparison between the professional and personal usage of AnyDesk Remote Desktop.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For AnyDesk configuration instructions, you can refer to the &lt;a href=&quot;https://support.anydesk.com/knowledge/quick-start-guide&quot;&gt;AnyDesk Quick Start Guide&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 11 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/anydesk_review/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/anydesk_review/</guid>
        
        <category>remote</category>
        
        <category>remote-access</category>
        
        <category>rdp</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Fixing &quot;Outlook Rules Not Supported for This Account&quot; Error on Mac</title>
        <description>&lt;p&gt;If you’ve encountered the “Rules are not supported for this account” error message in the Outlook app on your Mac, you’re not alone. While Microsoft no longer supports Client Rules on Outlook for Mac, there are still ways to work around this issue. In this guide, we’ll walk you through the steps to fix this error and regain access to Client Rules on your Mac.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2024/outlook_rules_not_supported/outlook_rules_not_supported1.png&quot; alt=&quot;Fixing &amp;quot;Outlook Rules Not Supported for This Account&amp;quot; Error on Mac&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#switch-back-to-legacy-outlook-for-mac&quot; id=&quot;markdown-toc-switch-back-to-legacy-outlook-for-mac&quot;&gt;Switch Back to Legacy Outlook for Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#set-rules-through-the-outlook-web&quot; id=&quot;markdown-toc-set-rules-through-the-outlook-web&quot;&gt;Set Rules Through the Outlook Web&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#force-quit-and-restart-outlook&quot; id=&quot;markdown-toc-force-quit-and-restart-outlook&quot;&gt;Force Quit and Restart Outlook&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#delete-and-recreate-rules-in-outlook&quot; id=&quot;markdown-toc-delete-and-recreate-rules-in-outlook&quot;&gt;Delete and Recreate Rules in Outlook&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;switch-back-to-legacy-outlook-for-mac&quot;&gt;Switch Back to Legacy Outlook for Mac&lt;/h2&gt;

&lt;p&gt;Microsoft’s new version of Outlook for Mac only supports Server Rules, not Client Rules. However, you can revert to the legacy version of Outlook to continue using Client Rules.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open the Outlook app on your Mac.&lt;/li&gt;
  &lt;li&gt;Click on “Outlook” in the menu bar and deselect the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;New Outlook&lt;/code&gt; option or select the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Legacy Outlook&lt;/code&gt; option, this will vary depending on your version of Mac OS.&lt;/li&gt;
  &lt;li&gt;If prompted for feedback, submit it or cancel.&lt;/li&gt;
  &lt;li&gt;Click “Revert” to confirm your selection.&lt;/li&gt;
  &lt;li&gt;Alternatively, click “Help” in the menu bar and select “Revert to Legacy Outlook.”&lt;/li&gt;
  &lt;li&gt;Once Outlook restarts in the legacy version, go to “Tools” &amp;gt; “Rules…” and click the “+ Add” button to create new rules.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;set-rules-through-the-outlook-web&quot;&gt;Set Rules Through the Outlook Web&lt;/h2&gt;

&lt;p&gt;You can also configure Outlook Client Rules using the web browser:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open Safari (or any web browser) and go to Outlook.com.&lt;/li&gt;
  &lt;li&gt;Sign in to your account.&lt;/li&gt;
  &lt;li&gt;Click the gear icon for Settings.&lt;/li&gt;
  &lt;li&gt;Select “Rules” in the Mail settings.&lt;/li&gt;
  &lt;li&gt;Click “+ Add new rule” to configure your rules.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;force-quit-and-restart-outlook&quot;&gt;Force Quit and Restart Outlook&lt;/h2&gt;

&lt;p&gt;If Client Rules still aren’t working after switching to the legacy version, try force quitting and restarting Outlook:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Click the Apple logo in the menu bar and select “Force Quit Outlook.”&lt;/li&gt;
  &lt;li&gt;Choose “Microsoft Outlook” from the list and click “Force Quit.”&lt;/li&gt;
  &lt;li&gt;Wait a few minutes, then reopen Outlook.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;delete-and-recreate-rules-in-outlook&quot;&gt;Delete and Recreate Rules in Outlook&lt;/h2&gt;

&lt;p&gt;As a last resort, you can delete and recreate your rules:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open Outlook on your Mac.&lt;/li&gt;
  &lt;li&gt;Go to “Tools” &amp;gt; “Rules…” and select the rules you want to delete.&lt;/li&gt;
  &lt;li&gt;Click the “- Remove” button and confirm the deletion.&lt;/li&gt;
  &lt;li&gt;Repeat this process for all rules you want to delete.&lt;/li&gt;
  &lt;li&gt;Click the “+ Add” button to create new rules and configure them as needed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By following these steps, you can address the “Outlook Rules Not Supported for This Account” error and continue using Client Rules on your Mac with the legacy version of Outlook.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;While the shift away from Client Rules in Outlook for Mac may be frustrating for some users, the workaround provided here allows you to continue using this feature by reverting to the legacy version of the application. By following these steps, you can maintain productivity and efficiency in managing your email workflow on your Mac.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information, you can refer to this &lt;a href=&quot;https://answers.microsoft.com/en-us/outlook_com/forum/all/rules-are-not-supported-for-this-account-message/68f85fbe-c714-44b5-abf0-3419052a4de6&quot;&gt;Microsoft Forum&lt;/a&gt; for additional information.&lt;/p&gt;
</description>
        <pubDate>Mon, 08 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/outlook_rules_not_supported/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/outlook_rules_not_supported/</guid>
        
        <category>macos</category>
        
        <category>outlook</category>
        
        <category>email</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Deep Dive into the Dell PowerVault MD1400 Direct-Attached Storage</title>
        <description>&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2024/dell_md1400_storage/dell_md1400_storage1.png&quot; alt=&quot;Deep Dive into the Dell PowerVault MD1400 Direct-Attached Storage 1&quot; /&gt;
&lt;img src=&quot;/static/assets/img/blog/2024/dell_md1400_storage/dell_md1400_storage2.png&quot; alt=&quot;Deep Dive into the Dell PowerVault MD1400 Direct-Attached Storage 2&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The Dell PowerVault MD1400 is a high-performance, scalable storage solution designed to meet the demands of modern data-intensive applications. As a direct-attached storage (DAS) system, the MD1400 provides reliable and cost-effective storage expansion for servers and workstations, making it an ideal choice for small to medium-sized businesses and enterprise environments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#high-scalability&quot; id=&quot;markdown-toc-high-scalability&quot;&gt;High Scalability&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#redundant-design&quot; id=&quot;markdown-toc-redundant-design&quot;&gt;Redundant Design&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#flexible-connectivity&quot; id=&quot;markdown-toc-flexible-connectivity&quot;&gt;Flexible Connectivity&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advanced-management&quot; id=&quot;markdown-toc-advanced-management&quot;&gt;Advanced Management&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#deployment-scenarios&quot; id=&quot;markdown-toc-deployment-scenarios&quot;&gt;Deployment Scenarios&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#high-performance-computing&quot; id=&quot;markdown-toc-high-performance-computing&quot;&gt;High-Performance Computing&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#virtualization-infrastructure&quot; id=&quot;markdown-toc-virtualization-infrastructure&quot;&gt;Virtualization Infrastructure&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#media-and-entertainment&quot; id=&quot;markdown-toc-media-and-entertainment&quot;&gt;Media and Entertainment&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;high-scalability&quot;&gt;High Scalability&lt;/h3&gt;

&lt;p&gt;The MD1400 offers extensive scalability options, allowing organizations to start with a minimal configuration and easily expand storage capacity as their needs grow. With support for up to twelve 3.5-inch or 2.5-inch SAS, NL-SAS, or SSD drives, the MD1400 can accommodate a wide range of storage requirements, from basic file storage to high-performance database workloads.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;redundant-design&quot;&gt;Redundant Design&lt;/h3&gt;

&lt;p&gt;Built with redundancy in mind, the MD1400 features redundant power supplies and fans to ensure continuous operation and minimize the risk of downtime due to hardware failures. Additionally, hot-swappable drive carriers and redundant SAS controllers provide fault tolerance and seamless operation during drive replacements or maintenance activities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;flexible-connectivity&quot;&gt;Flexible Connectivity&lt;/h3&gt;

&lt;p&gt;The MD1400 offers flexible connectivity options, including SAS and iSCSI interfaces, to support diverse deployment scenarios. Whether connected directly to a server via SAS or integrated into a storage network using iSCSI, the MD1400 provides high-speed data transfer and seamless integration with existing infrastructure.&lt;/p&gt;

&lt;h3 id=&quot;advanced-management&quot;&gt;Advanced Management&lt;/h3&gt;

&lt;p&gt;With Dell’s Storage Manager software, administrators can easily configure, monitor, and manage the MD1400 storage array from a centralized management console. The intuitive interface allows for quick deployment of storage resources, performance optimization, and proactive monitoring of system health and performance metrics.&lt;/p&gt;

&lt;h2 id=&quot;deployment-scenarios&quot;&gt;Deployment Scenarios&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;high-performance-computing&quot;&gt;High-Performance Computing&lt;/h3&gt;

&lt;p&gt;In high-performance computing (HPC) environments, the MD1400 can be used to store and manage large datasets for scientific simulations, engineering analysis, and other compute-intensive workloads. By leveraging the MD1400’s high-speed SAS connectivity and SSD options, organizations can achieve the performance and scalability required for demanding computational tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;virtualization-infrastructure&quot;&gt;Virtualization Infrastructure&lt;/h3&gt;

&lt;p&gt;For virtualized environments, the MD1400 can serve as a cost-effective storage expansion solution for hypervisor hosts, providing additional storage capacity for virtual machine (VM) deployments. By connecting the MD1400 directly to the host servers, organizations can eliminate the need for complex storage area network (SAN) configurations and achieve simplified management and deployment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;media-and-entertainment&quot;&gt;Media and Entertainment&lt;/h3&gt;

&lt;p&gt;In media and entertainment production workflows, the MD1400 can be used to store and archive large media files, such as high-definition video footage and digital assets. With its high-capacity storage options and flexible connectivity, the MD1400 enables content creators to efficiently manage and access their media assets while maintaining optimal performance and reliability.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The Dell PowerVault MD1400 Direct-Attached Storage offers a powerful combination of scalability, reliability, and flexibility, making it an ideal storage solution for a wide range of applications and deployment scenarios. With its redundant design, advanced management features, and high-performance capabilities, the MD1400 provides organizations with the storage infrastructure they need to support their evolving business needs and drive innovation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the Dell PowerVault MD1400 Direct-Attached Storage, you can refer to the &lt;a href=&quot;https://www.dell.com/support/home/en-us/product-support/product/storage-md1400/docs&quot;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 05 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/dell_md1400_storage/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/dell_md1400_storage/</guid>
        
        <category>networking</category>
        
        <category>storage</category>
        
        <category>dell</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Deep Dive into the Juniper SRX345 Firewall</title>
        <description>&lt;p&gt;The Juniper SRX345 is a high-performance, next-generation firewall designed to provide advanced security features and comprehensive threat protection for enterprise networks. With its robust architecture and feature-rich capabilities, the SRX345 offers unparalleled security and reliability for organizations of all sizes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#advanced-threat-prevention&quot; id=&quot;markdown-toc-advanced-threat-prevention&quot;&gt;Advanced Threat Prevention&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#application-visibility-and-control&quot; id=&quot;markdown-toc-application-visibility-and-control&quot;&gt;Application Visibility and Control&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#unified-policy-management&quot; id=&quot;markdown-toc-unified-policy-management&quot;&gt;Unified Policy Management&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#scalable-performance&quot; id=&quot;markdown-toc-scalable-performance&quot;&gt;Scalable Performance&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#deployment-scenarios&quot; id=&quot;markdown-toc-deployment-scenarios&quot;&gt;Deployment Scenarios&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#data-center-security&quot; id=&quot;markdown-toc-data-center-security&quot;&gt;Data Center Security&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#branch-office-connectivity&quot; id=&quot;markdown-toc-branch-office-connectivity&quot;&gt;Branch Office Connectivity&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cloud-integration&quot; id=&quot;markdown-toc-cloud-integration&quot;&gt;Cloud Integration&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advanced-threat-prevention&quot;&gt;Advanced Threat Prevention&lt;/h3&gt;

&lt;p&gt;The SRX345 firewall integrates advanced threat prevention technologies, including intrusion prevention system (IPS), antivirus, and web filtering, to detect and block malicious traffic in real-time. By inspecting traffic at multiple layers of the network stack, the SRX345 effectively mitigates a wide range of security threats, including malware, ransomware, and advanced persistent threats (APTs).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;application-visibility-and-control&quot;&gt;Application Visibility and Control&lt;/h3&gt;

&lt;p&gt;With application visibility and control (AVC) capabilities, the SRX345 firewall enables administrators to monitor and control application usage within the network. By identifying and categorizing applications based on their behavior and characteristics, the SRX345 allows organizations to enforce granular policies to regulate access and prioritize critical applications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;unified-policy-management&quot;&gt;Unified Policy Management&lt;/h3&gt;

&lt;p&gt;The SRX345 firewall offers unified policy management features, allowing administrators to define and enforce security policies across the entire network infrastructure. With a centralized policy management interface, organizations can streamline the configuration and deployment of security policies, ensuring consistent protection and compliance across all network segments.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;scalable-performance&quot;&gt;Scalable Performance&lt;/h3&gt;

&lt;p&gt;Built on a scalable architecture, the SRX345 firewall delivers high-performance throughput and low latency, making it ideal for demanding enterprise environments. With support for hardware acceleration and multi-core processing, the SRX345 can handle high volumes of traffic and maintain optimal performance under heavy load conditions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;deployment-scenarios&quot;&gt;Deployment Scenarios&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;data-center-security&quot;&gt;Data Center Security&lt;/h3&gt;

&lt;p&gt;In data center environments, the SRX345 firewall provides comprehensive security for mission-critical applications and sensitive data. By segmenting network traffic, enforcing access controls, and inspecting traffic for threats, the SRX345 helps organizations maintain a secure and compliant data center infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;branch-office-connectivity&quot;&gt;Branch Office Connectivity&lt;/h3&gt;

&lt;p&gt;For branch office connectivity, the SRX345 firewall offers integrated routing and security features, enabling organizations to establish secure connections between remote locations and central data centers. With support for virtual private networks (VPNs) and dynamic routing protocols, the SRX345 ensures reliable and secure communication across distributed networks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cloud-integration&quot;&gt;Cloud Integration&lt;/h3&gt;

&lt;p&gt;With native cloud integration capabilities, the SRX345 firewall enables organizations to extend their security policies and controls to cloud environments seamlessly. By integrating with cloud orchestration platforms and virtualization technologies, the SRX345 provides consistent security enforcement across on-premises and cloud-based infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The Juniper SRX345 firewall offers a comprehensive suite of security features and advanced capabilities to protect enterprise networks from evolving cyber threats. With its scalable performance, unified policy management, and flexible deployment options, the SRX345 is an ideal choice for organizations seeking robust security solutions to safeguard their critical assets and infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the Juniper SRX345, you can refer to the Juniper &lt;a href=&quot;https://www.juniper.net/documentation/product/us/en/srx345/&quot;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Tue, 02 Apr 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/juniper_srx345_firewall/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/juniper_srx345_firewall/</guid>
        
        <category>networking</category>
        
        <category>firewall</category>
        
        <category>juniper</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Understanding the tr Command</title>
        <description>&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command in Linux is a powerful tool used for translating or deleting characters. It stands for “translate” or “transliterate.” With &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt;, you can perform various text transformation tasks, such as replacing characters, converting lowercase to uppercase (and vice versa), deleting specific characters, and more.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-options&quot; id=&quot;markdown-toc-common-options&quot;&gt;Common Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#examples&quot; id=&quot;markdown-toc-examples&quot;&gt;Examples&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#example-1-translating-characters&quot; id=&quot;markdown-toc-example-1-translating-characters&quot;&gt;Example 1: Translating Characters&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#example-2-deleting-characters&quot; id=&quot;markdown-toc-example-2-deleting-characters&quot;&gt;Example 2: Deleting Characters&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#example-3-squeezing-repeated-characters&quot; id=&quot;markdown-toc-example-3-squeezing-repeated-characters&quot;&gt;Example 3: Squeezing Repeated Characters&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h2&gt;

&lt;p&gt;The basic syntax of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;options] SET1 &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;SET2]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt;: Specifies the set of characters to be replaced or deleted.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET2&lt;/code&gt;: Specifies the set of characters to replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt; with.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-options&quot;&gt;Common Options&lt;/h2&gt;

&lt;p&gt;Here are some common options used with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-d&lt;/code&gt;: Deletes characters in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-s&lt;/code&gt;: Squeezes repeated occurrences of characters in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt; to a single occurrence.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-c&lt;/code&gt;: Complements &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt;; replaces characters not in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-t&lt;/code&gt;: Truncate &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET1&lt;/code&gt; to the length of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET2&lt;/code&gt; if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SET2&lt;/code&gt; is shorter.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;examples&quot;&gt;Examples&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;example-1-translating-characters&quot;&gt;Example 1: Translating Characters&lt;/h3&gt;

&lt;p&gt;To convert all lowercase characters in a file to uppercase, you can use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;:lower:] &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;:upper:] &amp;lt; input.txt &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; output.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;example-2-deleting-characters&quot;&gt;Example 2: Deleting Characters&lt;/h3&gt;

&lt;p&gt;To remove all digits from a text file, you can use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; 0-9 &amp;lt; input.txt &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; output.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;example-3-squeezing-repeated-characters&quot;&gt;Example 3: Squeezing Repeated Characters&lt;/h3&gt;

&lt;p&gt;To squeeze repeated occurrences of whitespace characters into a single space, you can use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos; &apos;&lt;/span&gt; &amp;lt; input.txt &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; output.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command is a versatile tool for manipulating text in Linux. By mastering its usage and understanding its options, you can perform a wide range of text transformation tasks efficiently. Whether you need to translate characters, delete specific characters, or squeeze repeated occurrences, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command has got you covered.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tr&lt;/code&gt; command, you can refer to the &lt;a href=&quot;https://linux.die.net/man/1/tr&quot;&gt;tr man page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sat, 30 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_tr_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_tr_command/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring Vagrant - A Comprehensive Guide</title>
        <description>&lt;p&gt;Vagrant is an open-source tool that enables developers to create and manage lightweight, reproducible, and portable development environments. It aims to streamline the process of setting up and configuring development environments by automating the creation of virtual machines (VMs) using a simple and consistent workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#how-vagrant-works&quot; id=&quot;markdown-toc-how-vagrant-works&quot;&gt;How Vagrant Works&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#key-components-of-vagrant&quot; id=&quot;markdown-toc-key-components-of-vagrant&quot;&gt;Key Components of Vagrant:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#comparing-vagrant-with-other-virtualization-software&quot; id=&quot;markdown-toc-comparing-vagrant-with-other-virtualization-software&quot;&gt;Comparing Vagrant with Other Virtualization Software&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#vagrant-vs-traditional-virtualization-software-eg-virtualbox-vmware&quot; id=&quot;markdown-toc-vagrant-vs-traditional-virtualization-software-eg-virtualbox-vmware&quot;&gt;Vagrant vs. Traditional Virtualization Software (e.g., VirtualBox, VMware):&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vagrant-vs-containerization-platforms-eg-docker&quot; id=&quot;markdown-toc-vagrant-vs-containerization-platforms-eg-docker&quot;&gt;Vagrant vs. Containerization Platforms (e.g., Docker):&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-vagrant-works&quot;&gt;How Vagrant Works&lt;/h2&gt;

&lt;p&gt;Vagrant works by leveraging virtualization technologies such as VirtualBox, VMware, Hyper-V, and Docker to create isolated development environments. It uses a configuration file (typically written in Ruby or YAML) called Vagrantfile to define the specifications of the VM, including the base image, networking settings, shared folders, and provisioning scripts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-components-of-vagrant&quot;&gt;Key Components of Vagrant:&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Vagrantfile&lt;/strong&gt;: This is the core configuration file used by Vagrant to define the characteristics of the VM.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Boxes&lt;/strong&gt;: Boxes are pre-configured base images that serve as the starting point for creating VMs. Vagrant allows users to download and use pre-built boxes from a repository or create custom boxes tailored to specific requirements.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Providers&lt;/strong&gt;: Vagrant supports multiple providers, including VirtualBox, VMware, Hyper-V, and Docker. The provider is responsible for creating and managing the VMs based on the specifications defined in the Vagrantfile.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Provisioning&lt;/strong&gt;: Vagrant offers built-in support for provisioning tools like shell scripts, Ansible, Chef, and Puppet to automate the configuration and setup of software packages and dependencies within the VM.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;comparing-vagrant-with-other-virtualization-software&quot;&gt;Comparing Vagrant with Other Virtualization Software&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vagrant-vs-traditional-virtualization-software-eg-virtualbox-vmware&quot;&gt;Vagrant vs. Traditional Virtualization Software (e.g., VirtualBox, VMware):&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Abstraction Level&lt;/strong&gt;: Vagrant abstracts away the complexity of virtualization by providing a simple, command-line interface and a consistent workflow for managing VMs. Traditional virtualization software requires manual configuration and management of VMs through graphical user interfaces.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configuration Management&lt;/strong&gt;: Vagrant emphasizes automation and reproducibility through its declarative configuration files (Vagrantfile) and provisioning scripts. Traditional virtualization software may lack built-in support for automated configuration management.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Portability&lt;/strong&gt;: Vagrant environments are portable across different host operating systems and virtualization platforms, allowing developers to share development environments seamlessly. Traditional virtualization software may have limitations in terms of portability and compatibility.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vagrant-vs-containerization-platforms-eg-docker&quot;&gt;Vagrant vs. Containerization Platforms (e.g., Docker):&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Resource Isolation&lt;/strong&gt;: Vagrant provides full virtualization, which offers stronger isolation between VMs but requires more resources. Containerization platforms like Docker use lightweight, OS-level virtualization, resulting in lower resource overhead and faster startup times.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Workflow&lt;/strong&gt;: Vagrant is designed for creating and managing development environments with multiple VMs and complex configurations. Docker, on the other hand, focuses on packaging and running applications in lightweight, isolated containers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;: Vagrant is well-suited for scenarios where developers need to replicate production-like environments with multiple VMs and provisioned software stacks. Docker is often preferred for building and deploying microservices-based applications using container orchestration platforms like Kubernetes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Vagrant simplifies the process of creating, managing, and sharing development environments by providing a consistent and automated workflow. Its support for many virtualization providers and provisioning tools makes it a versatile choice for developers seeking to streamline their development workflows and improve collaboration.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Vagrant  you can refer to the &lt;a href=&quot;https://developer.hashicorp.com/vagrant/docs&quot;&gt;Official Vagrant Documentation&lt;/a&gt;. Also &lt;a href=&quot;https://www.virtualizationhowto.com/2023/12/vagrant-boxes-create-virtual-machines-in-seconds-on-virtualbox-hyper-v-and-vmware/#h-what-are-vagrant-boxes&quot;&gt;Virtualization How To&lt;/a&gt; has created an amazing and very detailed blog post about Vagrant.&lt;/p&gt;
</description>
        <pubDate>Wed, 27 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/exploring_vagrant/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/exploring_vagrant/</guid>
        
        <category>vagrant</category>
        
        <category>virtualization</category>
        
        <category>virtual machines</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Selecting the Preferred NTP Server for Time Synchronization</title>
        <description>&lt;p&gt;Accurate time synchronization is crucial for the proper functioning of servers. The Network Time Protocol (NTP) plays an important role in ensuring that systems maintain synchronized time. When configuring NTP for your systems, it’s important to choose reliable and accurate NTP servers. In this guide, we will explore the process of selecting a preferred NTP server for time synchronization.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-choose-a-preferred-ntp-server&quot; id=&quot;markdown-toc-why-choose-a-preferred-ntp-server&quot;&gt;Why Choose a Preferred NTP Server?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#steps-to-select-a-preferred-ntp-server&quot; id=&quot;markdown-toc-steps-to-select-a-preferred-ntp-server&quot;&gt;Steps to Select a Preferred NTP Server&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-identify-public-ntp-servers&quot; id=&quot;markdown-toc-1-identify-public-ntp-servers&quot;&gt;1. Identify Public NTP Servers&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-choose-ntp-servers-close-to-your-location&quot; id=&quot;markdown-toc-2-choose-ntp-servers-close-to-your-location&quot;&gt;2. Choose NTP Servers Close to Your Location&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-check-server-reliability&quot; id=&quot;markdown-toc-3-check-server-reliability&quot;&gt;3. Check Server Reliability&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-verify-server-stratum&quot; id=&quot;markdown-toc-4-verify-server-stratum&quot;&gt;4. Verify Server Stratum&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-configure-ntp-clients&quot; id=&quot;markdown-toc-5-configure-ntp-clients&quot;&gt;5. Configure NTP Clients&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-monitor-ntp-synchronization&quot; id=&quot;markdown-toc-6-monitor-ntp-synchronization&quot;&gt;6. Monitor NTP Synchronization&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-choose-a-preferred-ntp-server&quot;&gt;Why Choose a Preferred NTP Server?&lt;/h2&gt;

&lt;p&gt;Selecting a preferred NTP server is essential for several reasons:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Accuracy&lt;/strong&gt;: A reliable NTP server provides accurate time information, helping your systems maintain precise timekeeping.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Redundancy&lt;/strong&gt;: Choosing multiple NTP servers allows for redundancy. If one server becomes unreachable, others can still provide accurate time.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Geographic Location&lt;/strong&gt;: Selecting NTP servers geographically close to your location reduces network latency and improves synchronization accuracy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;steps-to-select-a-preferred-ntp-server&quot;&gt;Steps to Select a Preferred NTP Server&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-identify-public-ntp-servers&quot;&gt;1. Identify Public NTP Servers&lt;/h3&gt;

&lt;p&gt;Several organizations provide public NTP servers that you can use for time synchronization. Websites like &lt;a href=&quot;https://www.pool.ntp.org/&quot;&gt;pool.ntp.org&lt;/a&gt; offer a list of public NTP servers categorized by region.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-choose-ntp-servers-close-to-your-location&quot;&gt;2. Choose NTP Servers Close to Your Location&lt;/h3&gt;

&lt;p&gt;Consider the geographic location of NTP servers when making your selection. Opt for servers that are physically close to your systems to minimize network latency.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-check-server-reliability&quot;&gt;3. Check Server Reliability&lt;/h3&gt;

&lt;p&gt;Review the reliability of the NTP servers you are considering. Look for servers with a history of high availability and low downtime.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-verify-server-stratum&quot;&gt;4. Verify Server Stratum&lt;/h3&gt;

&lt;p&gt;The stratum of an NTP server indicates its distance from the primary reference time source. Lower stratum numbers represent servers closer to the reference source. Choose servers with lower stratum values for more accurate timekeeping.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-configure-ntp-clients&quot;&gt;5. Configure NTP Clients&lt;/h3&gt;

&lt;p&gt;Once you’ve selected preferred NTP servers, configure your systems (NTP clients) to use these servers for time synchronization. Update the NTP configuration files with the chosen server addresses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-monitor-ntp-synchronization&quot;&gt;6. Monitor NTP Synchronization&lt;/h3&gt;

&lt;p&gt;Regularly monitor the synchronization status of your NTP clients to ensure that they are successfully synchronizing with the preferred servers. Use commands like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ntpq&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chronyc&lt;/code&gt; to check synchronization status.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Selecting the right preferred NTP server for time synchronization is a critical step in maintaining accurate and reliable timekeeping across your systems. By choosing servers based on accuracy, redundancy, and geographic proximity, you can enhance the overall stability and performance of your computer systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about NTP configurations, you can refer to the &lt;a href=&quot;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sect-date_and_time_configuration-command_line_configuration-network_time_protocol&quot;&gt;RedHat Customer Portal Documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sun, 24 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/selecting_preferred_ntp_server/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/selecting_preferred_ntp_server/</guid>
        
        <category>ntp</category>
        
        <category>time</category>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Configuring a NTP Server and Synchronizing Time with a Client</title>
        <description>&lt;p&gt;In this guide, we will walk through the process of configuring a Network Time Protocol (NTP) server on a RHEL 9 system and then demonstrate how to connect a RHEL 9 client to this server to synchronize time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#configuring-ntp-server&quot; id=&quot;markdown-toc-configuring-ntp-server&quot;&gt;Configuring NTP Server&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-install-chrony-package&quot; id=&quot;markdown-toc-step-1-install-chrony-package&quot;&gt;Step 1: Install Chrony Package&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-configure-ntp&quot; id=&quot;markdown-toc-step-2-configure-ntp&quot;&gt;Step 2: Configure NTP&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-3-start-and-enable-chronyd-service&quot; id=&quot;markdown-toc-step-3-start-and-enable-chronyd-service&quot;&gt;Step 3: Start and Enable chronyd Service&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-4-configuring-the-firewall-for-chronyd&quot; id=&quot;markdown-toc-step-4-configuring-the-firewall-for-chronyd&quot;&gt;Step 4: Configuring the firewall for chronyd&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#synchronizing-time-on-rhel-9-client&quot; id=&quot;markdown-toc-synchronizing-time-on-rhel-9-client&quot;&gt;Synchronizing Time on RHEL 9 Client&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#step-1-install-chrony-package-1&quot; id=&quot;markdown-toc-step-1-install-chrony-package-1&quot;&gt;Step 1: Install Chrony Package&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-2-configure-chrony&quot; id=&quot;markdown-toc-step-2-configure-chrony&quot;&gt;Step 2: Configure Chrony&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-3-start-and-enable-chrony-service&quot; id=&quot;markdown-toc-step-3-start-and-enable-chrony-service&quot;&gt;Step 3: Start and Enable Chrony Service&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#step-4-verify-time-synchronization&quot; id=&quot;markdown-toc-step-4-verify-time-synchronization&quot;&gt;Step 4: Verify Time Synchronization&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuring-ntp-server&quot;&gt;Configuring NTP Server&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-1-install-chrony-package&quot;&gt;Step 1: Install Chrony Package&lt;/h3&gt;

&lt;p&gt;First, ensure that the chrony package is installed on your server:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;chrony
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-2-configure-ntp&quot;&gt;Step 2: Configure NTP&lt;/h3&gt;

&lt;p&gt;Edit the NTP configuration file at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/chrony.conf&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/chrony.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add NTP server entries, or modify existing ones, to point to reliable time servers. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;server time.nist.gov iburst
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Comment out the existing server entry. By default, it will be set to the public servers from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pool.ntp.org&lt;/code&gt; project.&lt;/p&gt;

&lt;p&gt;Uncomment the &lt;strong&gt;allow IP&lt;/strong&gt; section to allow clients on your local network to connect to your time server. &lt;strong&gt;NOTE:&lt;/strong&gt; If client instances reside on a different subnet or IP address range, you’ll need to specify it here (below). For this example, our client instances all reside on the 192.168.1.0/24 subnet.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Allow NTP client access from local network.&lt;/span&gt;
allow 192.168.1.0/24
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-3-start-and-enable-chronyd-service&quot;&gt;Step 3: Start and Enable chronyd Service&lt;/h3&gt;

&lt;p&gt;Start the chronyd service and enable it to start on boot:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl start chronyd
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl &lt;span class=&quot;nb&quot;&gt;enable &lt;/span&gt;chronyd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-4-configuring-the-firewall-for-chronyd&quot;&gt;Step 4: Configuring the firewall for chronyd&lt;/h3&gt;

&lt;p&gt;Using the firewall-cmd command, allow network access for the ntp and ptp services.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--add-service&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;ntp &lt;span class=&quot;nt&quot;&gt;--add-service&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;ptp
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--list-all&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;synchronizing-time-on-rhel-9-client&quot;&gt;Synchronizing Time on RHEL 9 Client&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-1-install-chrony-package-1&quot;&gt;Step 1: Install Chrony Package&lt;/h3&gt;

&lt;p&gt;Ensure that the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chrony&lt;/code&gt; package is installed on your RHEL 9 client:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;chrony
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;step-2-configure-chrony&quot;&gt;Step 2: Configure Chrony&lt;/h3&gt;

&lt;p&gt;Edit the Chrony configuration file at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/chrony.conf&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/chrony.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Specify your NTP server under the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server&lt;/code&gt; directive:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;server your_ntp_server iburst
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-3-start-and-enable-chrony-service&quot;&gt;Step 3: Start and Enable Chrony Service&lt;/h3&gt;

&lt;p&gt;Start the Chrony service and enable it to start on boot:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl start chronyd
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl &lt;span class=&quot;nb&quot;&gt;enable &lt;/span&gt;chronyd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;step-4-verify-time-synchronization&quot;&gt;Step 4: Verify Time Synchronization&lt;/h3&gt;

&lt;p&gt;Check the synchronization status on both the server and client:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;chronyc sources
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command should display the NTP sources and indicate if synchronization is successful.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Configuring an NTP server on RHEL 9 and synchronizing time on a client ensures accurate timekeeping across your systems. Proper time synchronization is crucial for various system operations, log management, and security protocols.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about using Chrony for NTP configurations, you can refer to the official &lt;a href=&quot;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/configuring-time-synchronization_configuring-basic-system-settings&quot;&gt;RedHat Customer Portal Documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 21 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/configuring_ntp_server/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/configuring_ntp_server/</guid>
        
        <category>ntp</category>
        
        <category>time</category>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Secure Connections with sshuttle</title>
        <description>&lt;p&gt;Secure and efficient access to remote networks is a crucial aspect of modern IT operations. In this blog post, we delve into the world of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt;, an ingenious tool that simplifies the process of creating secure VPN-like connections using the SSH protocol. From configuration to usage, we explore the key aspects of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; and how it can be a valuable addition to your networking toolkit.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-sshuttle&quot; id=&quot;markdown-toc-what-is-sshuttle&quot;&gt;What is sshuttle?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-dynamic-vpn&quot; id=&quot;markdown-toc-1-dynamic-vpn&quot;&gt;1. &lt;strong&gt;Dynamic VPN:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-traffic-encryption&quot; id=&quot;markdown-toc-2-traffic-encryption&quot;&gt;2. &lt;strong&gt;Traffic Encryption:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-subnet-routing&quot; id=&quot;markdown-toc-3-subnet-routing&quot;&gt;3. &lt;strong&gt;Subnet Routing:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-proxy-configuration&quot; id=&quot;markdown-toc-4-proxy-configuration&quot;&gt;4. &lt;strong&gt;Proxy Configuration:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-compatibility&quot; id=&quot;markdown-toc-5-compatibility&quot;&gt;5. &lt;strong&gt;Compatibility:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuration&quot; id=&quot;markdown-toc-configuration&quot;&gt;Configuration:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#installation&quot; id=&quot;markdown-toc-installation&quot;&gt;Installation&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#basic-usage&quot; id=&quot;markdown-toc-basic-usage&quot;&gt;Basic Usage:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#advanced-configuration&quot; id=&quot;markdown-toc-advanced-configuration&quot;&gt;Advanced Configuration&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#reviewing-connection&quot; id=&quot;markdown-toc-reviewing-connection&quot;&gt;Reviewing Connection:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#verifying-connectivity&quot; id=&quot;markdown-toc-verifying-connectivity&quot;&gt;Verifying Connectivity&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#monitoring-traffic&quot; id=&quot;markdown-toc-monitoring-traffic&quot;&gt;Monitoring Traffic&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-sshuttle&quot;&gt;What is sshuttle?&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; is a Python-based, open-source tool that allows you to create a VPN-like connection over SSH. However, it can also be installed from the EPEL repository. Unlike traditional VPN solutions, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; doesn’t require administrative access to the server, making it a versatile choice for various scenarios. It leverages the SSH protocol to encrypt and tunnel network traffic, providing a secure connection to remote networks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-dynamic-vpn&quot;&gt;1. &lt;strong&gt;Dynamic VPN:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; dynamically creates a VPN-like connection, routing traffic through an SSH tunnel.&lt;/li&gt;
  &lt;li&gt;It doesn’t require administrative privileges on the server, making it accessible in various environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-traffic-encryption&quot;&gt;2. &lt;strong&gt;Traffic Encryption:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;All communication between the client and the server is encrypted using the SSH protocol.&lt;/li&gt;
  &lt;li&gt;This ensures that sensitive data remains secure during transit.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-subnet-routing&quot;&gt;3. &lt;strong&gt;Subnet Routing:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Users can selectively route traffic for specific subnets through the SSH tunnel.&lt;/li&gt;
  &lt;li&gt;This allows for flexible control over which parts of the remote network are accessible.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;4-proxy-configuration&quot;&gt;4. &lt;strong&gt;Proxy Configuration:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; can be configured to act as a proxy, redirecting traffic through the encrypted SSH connection.&lt;/li&gt;
  &lt;li&gt;This is useful for applications that support proxy settings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;5-compatibility&quot;&gt;5. &lt;strong&gt;Compatibility:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Works on Linux, macOS, and Windows (via WSL - Windows Subsystem for Linux).&lt;/li&gt;
  &lt;li&gt;Offers a consistent experience across different operating systems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuration&quot;&gt;Configuration:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;installation&quot;&gt;Installation&lt;/h3&gt;

&lt;p&gt;Ensure that the EPEL repository is installed and configured on your system. Install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; using dnf:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;sshuttle
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;basic-usage&quot;&gt;Basic Usage:&lt;/h3&gt;

&lt;p&gt;Establish a connection to a remote server:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sshuttle &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; user@remote_server 0/0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command creates a VPN-like connection, routing all traffic (0/0) through the SSH tunnel.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;advanced-configuration&quot;&gt;Advanced Configuration&lt;/h3&gt;

&lt;p&gt;Selective Subnet Routing:&lt;/p&gt;

&lt;p&gt;Specify specific subnets to route through the tunnel:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sshuttle &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; user@remote_server 192.168.1.0/24
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Proxy Configuration:&lt;/p&gt;

&lt;p&gt;Run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; as a proxy for applications that support proxy settings:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sshuttle &lt;span class=&quot;nt&quot;&gt;--dns&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; user@remote_server 0/0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;reviewing-connection&quot;&gt;Reviewing Connection:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;verifying-connectivity&quot;&gt;Verifying Connectivity&lt;/h3&gt;

&lt;p&gt;Check if the VPN connection is active:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ping google.com
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If successful, it indicates that traffic is being routed through the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; tunnel.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;monitoring-traffic&quot;&gt;Monitoring Traffic&lt;/h3&gt;

&lt;p&gt;Use tools like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tcpdump&lt;/code&gt; or Wireshark to inspect encrypted traffic on the local and remote ends of the connection.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; emerges as a versatile and efficient tool for creating secure, encrypted connections to remote networks. Whether you need a quick and secure access method or want to selectively route traffic through a VPN-like tunnel, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt; provides a reliable solution.&lt;/p&gt;

&lt;p&gt;By mastering the configuration and usage of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt;, you empower yourself to navigate the complexities of secure networking with ease. It’s time to enhance your remote connectivity toolkit with the simplicity and effectiveness of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshuttle&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about sshuttle, you can refer to the &lt;a href=&quot;https://github.com/sshuttle/sshuttle&quot;&gt;sshuttle GitHub Page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Mon, 18 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_sshuttle/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_sshuttle/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>vpn</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Utilizing Crash Detection on iOS Devices</title>
        <description>&lt;p&gt;In the event of a severe car crash, your iPhone or Apple Watch can play a crucial role in connecting you to emergency services. This feature, known as &lt;strong&gt;Crash Detection&lt;/strong&gt;, is designed to work seamlessly on specific iPhone and Apple Watch models. Let’s delve into how it operates and the steps to set it up on your devices.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#supported-iphone-and-apple-watch-models&quot; id=&quot;markdown-toc-supported-iphone-and-apple-watch-models&quot;&gt;Supported iPhone and Apple Watch Models&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-crash-detection-works&quot; id=&quot;markdown-toc-how-crash-detection-works&quot;&gt;How Crash Detection Works&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#setting-up-your-device-for-emergencies&quot; id=&quot;markdown-toc-setting-up-your-device-for-emergencies&quot;&gt;Setting Up Your Device for Emergencies&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#making-an-emergency-call-post-crash&quot; id=&quot;markdown-toc-making-an-emergency-call-post-crash&quot;&gt;Making an Emergency Call Post-Crash&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disabling-crash-detection&quot; id=&quot;markdown-toc-disabling-crash-detection&quot;&gt;Disabling Crash Detection&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;supported-iphone-and-apple-watch-models&quot;&gt;Supported iPhone and Apple Watch Models&lt;/h2&gt;

&lt;p&gt;Crash Detection is compatible with the following devices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;iPhone 14 or later (all models) running iOS 16 or later.&lt;/li&gt;
  &lt;li&gt;Apple Watch Series 8 or later, Apple Watch SE (2nd generation), and Apple Watch Ultra or later with watchOS 9 or later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Emergency calls made through Crash Detection utilize either a cellular connection or Wi-Fi Calling, provided there is an internet connection from your Apple Watch or iPhone.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-crash-detection-works&quot;&gt;How Crash Detection Works&lt;/h2&gt;

&lt;p&gt;Crash Detection focuses on identifying severe car crashes, including front-impact, side-impact, rear-end collisions, and rollovers, involving various types of passenger vehicles. Here’s an overview of how the process unfolds:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Upon detecting a severe car crash, your iPhone or Apple Watch triggers an alarm and displays an alert.&lt;/li&gt;
  &lt;li&gt;If you have your iPhone, it reads the alert aloud for visibility, displaying an Emergency Call slider for quick access to emergency services.&lt;/li&gt;
  &lt;li&gt;For Apple Watch users, the device chimes, taps the wrist, and displays an Emergency Call slider on the screen.&lt;/li&gt;
  &lt;li&gt;If both devices are present, the Emergency Call slider appears on the Apple Watch, and the call is connected with audio playing through the watch.&lt;/li&gt;
  &lt;li&gt;You have the option to call emergency services or dismiss the alert if you are able to respond.&lt;/li&gt;
  &lt;li&gt;In case of unresponsiveness, the device automatically initiates a call to emergency services after a 20-second delay.&lt;/li&gt;
  &lt;li&gt;If emergency contacts are set up, the device sends a message sharing your location and notifying them of the severe car crash.&lt;/li&gt;
  &lt;li&gt;Medical ID information is displayed for emergency responders if previously set up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s important to note that Crash Detection won’t interfere with any ongoing emergency calls on your iPhone, and it cancels non-emergency calls on both your iPhone and Apple Watch.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;setting-up-your-device-for-emergencies&quot;&gt;Setting Up Your Device for Emergencies&lt;/h2&gt;

&lt;p&gt;By default, Crash Detection is enabled on supported iPhone and Apple Watch models. However, you can take additional steps to ensure your device shares the necessary information with emergency contacts and responders:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Set up your Medical ID and emergency contacts in the Health app.&lt;/li&gt;
  &lt;li&gt;Enable Location Services for Emergency SOS on your iPhone to share your location with emergency contacts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;making-an-emergency-call-post-crash&quot;&gt;Making an Emergency Call Post-Crash&lt;/h2&gt;

&lt;p&gt;Your iPhone or Apple Watch can connect you to emergency services even if you’re unresponsive. Notably:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;iPhone 14 or later models may use Emergency SOS via satellite when outside of cellular and Wi-Fi coverage.&lt;/li&gt;
  &lt;li&gt;If responsive, you can swipe the Emergency Call slider to initiate a call to emergency services and communicate with a responder.&lt;/li&gt;
  &lt;li&gt;If unresponsive, the device initiates a countdown with alerts to grab attention before making an automatic call to emergency services.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disabling-crash-detection&quot;&gt;Disabling Crash Detection&lt;/h2&gt;

&lt;p&gt;If you wish to turn off alerts and automatic emergency calls, follow these steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;On your iPhone:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Open the Settings app.&lt;/li&gt;
      &lt;li&gt;Tap on Emergency SOS.&lt;/li&gt;
      &lt;li&gt;Turn off “Call After Severe Crash.”&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;On your Apple Watch:&lt;/strong&gt;
    &lt;ul&gt;
      &lt;li&gt;Open the Apple Watch app on your iPhone.&lt;/li&gt;
      &lt;li&gt;In the My Watch tab, navigate to Emergency SOS.&lt;/li&gt;
      &lt;li&gt;Turn off “Call After Severe Crash.”&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The implementation of Crash Detection on iOS devices marks a significant advancement in leveraging technology for emergency assistance during severe car crashes. With a seamless integration on supported iPhone and Apple Watch models, this feature not only alerts users but also initiates vital connections to emergency services.&lt;/p&gt;

&lt;p&gt;The careful consideration of user privacy, through on-device processing and the optional sharing of data to enhance Crash Detection, underscores Apple’s commitment to balancing innovation with user protection. Whether it’s the ability to call for help when responsive or the automatic initiation of emergency services when unresponsive, Crash Detection provides a robust safety net. As technology continues to evolve, features like Crash Detection showcase how smart devices can play a pivotal role in enhancing user safety and well-being.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the crash detection feature, you can refer to this &lt;a href=&quot;https://support.apple.com/en-us/104959&quot;&gt;Apple Support Article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 15 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/ios_crash_detection/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/ios_crash_detection/</guid>
        
        <category>ios</category>
        
        <category>apple</category>
        
        <category>macos</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Configuring Splunk Forwarder on RHEL 9</title>
        <description>&lt;p&gt;Splunk is a powerful platform for searching, monitoring, and analyzing machine-generated data, and deploying Splunk forwarders allows you to extend its capabilities to collect data from various sources. This blog post provides a step-by-step guide on configuring a Splunk forwarder on a RHEL 9 host, enabling you to forward log data to a centralized Splunk instance for analysis.&lt;/p&gt;

&lt;p&gt;This post is an extension of my previous post about &lt;a href=&quot;https://jamisonjohnson.me/blog/linux/splunk_configuration_details/&quot;&gt;Splunk Configuration Details&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-splunk-instance&quot; id=&quot;markdown-toc-1-splunk-instance&quot;&gt;1. &lt;strong&gt;Splunk Instance&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-splunk-forwarder-package&quot; id=&quot;markdown-toc-2-splunk-forwarder-package&quot;&gt;2. &lt;strong&gt;Splunk Forwarder Package&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installation&quot; id=&quot;markdown-toc-installation&quot;&gt;Installation:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-transfer-the-splunk-forwarder-package&quot; id=&quot;markdown-toc-1-transfer-the-splunk-forwarder-package&quot;&gt;1. &lt;strong&gt;Transfer the Splunk Forwarder Package&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-install-splunk-forwarder&quot; id=&quot;markdown-toc-2-install-splunk-forwarder&quot;&gt;2. &lt;strong&gt;Install Splunk Forwarder&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuration&quot; id=&quot;markdown-toc-configuration&quot;&gt;Configuration:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-access-the-splunk-web-interface&quot; id=&quot;markdown-toc-1-access-the-splunk-web-interface&quot;&gt;1. &lt;strong&gt;Access the Splunk Web Interface&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-login-to-splunk-web&quot; id=&quot;markdown-toc-2-login-to-splunk-web&quot;&gt;2. &lt;strong&gt;Login to Splunk Web&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-set-up-forwarding&quot; id=&quot;markdown-toc-3-set-up-forwarding&quot;&gt;3. &lt;strong&gt;Set Up Forwarding&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-configure-splunk-forwarder&quot; id=&quot;markdown-toc-4-configure-splunk-forwarder&quot;&gt;4. &lt;strong&gt;Configure Splunk Forwarder&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-verify-configuration&quot; id=&quot;markdown-toc-5-verify-configuration&quot;&gt;5. &lt;strong&gt;Verify Configuration&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#testing&quot; id=&quot;markdown-toc-testing&quot;&gt;Testing:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-generate-log-data&quot; id=&quot;markdown-toc-1-generate-log-data&quot;&gt;1. &lt;strong&gt;Generate Log Data&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-search-in-splunk&quot; id=&quot;markdown-toc-2-search-in-splunk&quot;&gt;2. &lt;strong&gt;Search in Splunk&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Before diving into the configuration process, ensure the following prerequisites are met:&lt;/p&gt;

&lt;h3 id=&quot;1-splunk-instance&quot;&gt;1. &lt;strong&gt;Splunk Instance&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Have a running Splunk instance to forward the data to.&lt;/li&gt;
  &lt;li&gt;Obtain the Splunk instance IP address or hostname.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-splunk-forwarder-package&quot;&gt;2. &lt;strong&gt;Splunk Forwarder Package&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Download the Splunk Universal Forwarder package compatible with RHEL 9 from the &lt;a href=&quot;https://www.splunk.com/en_us/download/universal-forwarder.html&quot;&gt;official Splunk website&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation&quot;&gt;Installation:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-transfer-the-splunk-forwarder-package&quot;&gt;1. &lt;strong&gt;Transfer the Splunk Forwarder Package&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Use a secure method (e.g., SCP) to transfer the Splunk Universal Forwarder package to your RHEL 9 host.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-install-splunk-forwarder&quot;&gt;2. &lt;strong&gt;Install Splunk Forwarder&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Navigate to the directory where the Splunk package is located.&lt;/li&gt;
  &lt;li&gt;Install Splunk Forwarder with the following commands:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;rpm &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt; splunkforwarder-&amp;lt;version&amp;gt;-&amp;lt;build&amp;gt;.rpm
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuration&quot;&gt;Configuration:&lt;/h2&gt;

&lt;h3 id=&quot;1-access-the-splunk-web-interface&quot;&gt;1. &lt;strong&gt;Access the Splunk Web Interface&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Open a web browser and access the Splunk Web Interface by entering the Splunk instance IP address or hostname and the default port (usually 8000).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-login-to-splunk-web&quot;&gt;2. &lt;strong&gt;Login to Splunk Web&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Log in to the Splunk Web Interface using your credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-set-up-forwarding&quot;&gt;3. &lt;strong&gt;Set Up Forwarding&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Navigate to &lt;strong&gt;Settings &amp;gt; Forwarding and Receiving &amp;gt; Forwarding&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;Click on &lt;strong&gt;Add New&lt;/strong&gt; to add a new forwarding configuration.&lt;/li&gt;
  &lt;li&gt;Enter the Splunk instance IP address or hostname and the receiving port.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-configure-splunk-forwarder&quot;&gt;4. &lt;strong&gt;Configure Splunk Forwarder&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;On the RHEL 9 host, navigate to the Splunk bin directory:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /opt/splunkforwarder/bin
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Configure the Splunk forwarder to send data to the specified Splunk instance:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;./splunk add forward-server &amp;lt;Splunk_instance_IP&amp;gt;:&amp;lt;receiving_port&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Restart the Splunk forwarder:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;./splunk restart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-verify-configuration&quot;&gt;5. &lt;strong&gt;Verify Configuration&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Return to the Splunk Web Interface.&lt;/li&gt;
  &lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Forwarding and Receiving &amp;gt; Forwarding&lt;/strong&gt; to verify that the RHEL 9 host appears as a connected forwarder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;testing&quot;&gt;Testing:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;To ensure that the Splunk forwarder is successfully sending data, you can perform the following test:&lt;/p&gt;

&lt;h3 id=&quot;1-generate-log-data&quot;&gt;1. &lt;strong&gt;Generate Log Data&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Generate some log data on the RHEL 9 host (e.g., by creating a new log file).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-search-in-splunk&quot;&gt;2. &lt;strong&gt;Search in Splunk&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Access the Splunk Web Interface.&lt;/li&gt;
  &lt;li&gt;Go to the &lt;strong&gt;Search &amp;amp; Reporting&lt;/strong&gt; app.&lt;/li&gt;
  &lt;li&gt;Search for the generated log data to verify its presence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Configuring a Splunk forwarder on a RHEL 9 host allows you to efficiently collect and forward log data to a centralized Splunk instance. By following the steps outlined in this guide, you can seamlessly integrate your RHEL 9 host into the Splunk environment, enhancing your ability to monitor and analyze machine-generated data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the Splunk Forwarder, you can refer to the &lt;a href=&quot;https://docs.splunk.com/Documentation/Forwarder/9.2.0/Forwarder/Abouttheuniversalforwarder&quot;&gt;Forwarder Manual&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Tue, 12 Mar 2024 00:00:00 -0400</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/splunk_forwarder_configuration/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/splunk_forwarder_configuration/</guid>
        
        <category>splunk</category>
        
        <category>monitoring</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Tape Operations with the `mt` Command</title>
        <description>&lt;p&gt;In the realm of Unix-like operating systems, tape drives have long been a reliable and efficient means of data storage and backup. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command, short for “magnetic tape,” serves as a versatile tool for controlling and interacting with tape drives on these systems. This blog post explores the capabilities of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command, shedding light on its usage and significance in managing tape operations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-mt-command&quot; id=&quot;markdown-toc-understanding-the-mt-command&quot;&gt;Understanding the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; Command:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#basic-usage&quot; id=&quot;markdown-toc-basic-usage&quot;&gt;Basic Usage:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-mt-commands&quot; id=&quot;markdown-toc-common-mt-commands&quot;&gt;Common mt Commands:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-rewind&quot; id=&quot;markdown-toc-1-rewind&quot;&gt;1. Rewind&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-forward&quot; id=&quot;markdown-toc-2-forward&quot;&gt;2. Forward&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-backward&quot; id=&quot;markdown-toc-3-backward&quot;&gt;3. Backward&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-erase&quot; id=&quot;markdown-toc-4-erase&quot;&gt;4. Erase&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-status&quot; id=&quot;markdown-toc-5-status&quot;&gt;5. Status&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example-workflow&quot; id=&quot;markdown-toc-example-workflow&quot;&gt;Example Workflow:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-mt-command&quot;&gt;Understanding the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; Command:&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command provides a command-line interface for controlling tape drives and performing various operations related to magnetic tape. It offers a set of commands that allow users to manipulate the tape drive, move the tape back and forth, check status information, and perform other essential tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;basic-usage&quot;&gt;Basic Usage:&lt;/h2&gt;

&lt;p&gt;The basic syntax for using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; device] &lt;span class=&quot;nb&quot;&gt;command&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;count]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-f&lt;/code&gt; device: Specifies the tape drive device. If not provided, the default device is used.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;command&lt;/code&gt;: Specifies the operation to be performed (e.g., rewind, forward, status).&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;count&lt;/code&gt;: Optional parameter indicating the number of times to repeat the specified command.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-mt-commands&quot;&gt;Common mt Commands:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-rewind&quot;&gt;1. Rewind&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Command
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape rewind
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Purpose
    &lt;ul&gt;
      &lt;li&gt;Moves the tape to the beginning&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-forward&quot;&gt;2. Forward&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Command
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape fsf &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;count]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Purpose
    &lt;ul&gt;
      &lt;li&gt;Skips forward by the specified count files.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-backward&quot;&gt;3. Backward&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Command
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape bsf &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;count]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Purpose
    &lt;ul&gt;
      &lt;li&gt;Skips backward by the specified count files.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-erase&quot;&gt;4. Erase&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Command
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape erase
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Purpose
    &lt;ul&gt;
      &lt;li&gt;Erases the tape.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-status&quot;&gt;5. Status&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Command
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape status
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Purpose
    &lt;ul&gt;
      &lt;li&gt;Displays status information about the tape.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;example-workflow&quot;&gt;Example Workflow:&lt;/h2&gt;

&lt;p&gt;Suppose you have a tape drive located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/tape&lt;/code&gt;, and you wish to rewind the tape, skip forward by two files, and then check the status. You can achieve this with the following mt commands:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape rewind   &lt;span class=&quot;c&quot;&gt;# Rewind the tape&lt;/span&gt;
mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape fsf 2    &lt;span class=&quot;c&quot;&gt;# Skip forward by two files&lt;/span&gt;
mt &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; /dev/tape status   &lt;span class=&quot;c&quot;&gt;# Check the status&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command proves to be an invaluable tool for managing tape operations in Unix-like environments. Whether you need to rewind, skip files, erase, or check the status of your tape, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command provides a straightforward and efficient means of interacting with tape drives.&lt;/p&gt;

&lt;p&gt;As you delve into the world of tape-based storage and backup solutions, understanding the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command will undoubtedly enhance your ability to manage and control magnetic tape operations effectively.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mt&lt;/code&gt; command, you can refer to the &lt;a href=&quot;https://linux.die.net/man/1/mt&quot;&gt;mt man page&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Sat, 09 Mar 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_mt_command/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_mt_command/</guid>
        
        <category>tape</category>
        
        <category>terminal</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Purposes of a Wrapper Script in RHEL</title>
        <description>&lt;p&gt;In Red Hat Enterprise Linux (RHEL), wrapper scripts play a crucial role in enhancing the efficiency and manageability of various processes and commands. This blog post dives into the diverse purposes served by wrapper scripts, shedding light on their significance in the context of RHEL.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-a-wrapper-script&quot; id=&quot;markdown-toc-what-is-a-wrapper-script&quot;&gt;What is a Wrapper Script?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#purposes-of-a-wrapper-script-in-rhel&quot; id=&quot;markdown-toc-purposes-of-a-wrapper-script-in-rhel&quot;&gt;Purposes of a Wrapper Script in RHEL:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-environment-configuration&quot; id=&quot;markdown-toc-1-environment-configuration&quot;&gt;1. &lt;strong&gt;Environment Configuration:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-logging-and-auditing&quot; id=&quot;markdown-toc-2-logging-and-auditing&quot;&gt;2. &lt;strong&gt;Logging and Auditing:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-error-handling&quot; id=&quot;markdown-toc-3-error-handling&quot;&gt;3. &lt;strong&gt;Error Handling:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-parameterization&quot; id=&quot;markdown-toc-4-parameterization&quot;&gt;4. &lt;strong&gt;Parameterization:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-security-measures&quot; id=&quot;markdown-toc-5-security-measures&quot;&gt;5. &lt;strong&gt;Security Measures:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-workflow-automation&quot; id=&quot;markdown-toc-6-workflow-automation&quot;&gt;6. &lt;strong&gt;Workflow Automation:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-a-wrapper-script&quot;&gt;What is a Wrapper Script?&lt;/h2&gt;

&lt;p&gt;A wrapper script is a script that encapsulates and augments the functionality of an underlying command or set of commands. It acts as an intermediary layer, allowing users to customize and extend the behavior of the encapsulated commands. In RHEL, wrapper scripts are commonly employed for several purposes to streamline workflows and automate tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;purposes-of-a-wrapper-script-in-rhel&quot;&gt;Purposes of a Wrapper Script in RHEL:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-environment-configuration&quot;&gt;1. &lt;strong&gt;Environment Configuration:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Ensure that the environment variables and settings required for specific commands or applications are configured correctly.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can set environment variables, adjust file permissions, or configure paths before executing a command, ensuring a consistent and optimal runtime environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-logging-and-auditing&quot;&gt;2. &lt;strong&gt;Logging and Auditing:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Capture and log relevant information, such as command execution details, errors, and outputs, for auditing and troubleshooting purposes.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can redirect command outputs to log files, timestamp entries, and provide a centralized location for monitoring and analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-error-handling&quot;&gt;3. &lt;strong&gt;Error Handling:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Enhance error detection and handling by incorporating logic to identify and respond to potential issues during command execution.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can include conditional statements to check for error codes or unexpected outputs, triggering appropriate actions such as notifications or fallback mechanisms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-parameterization&quot;&gt;4. &lt;strong&gt;Parameterization:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Allow users to pass parameters or options to customize the behavior of the encapsulated commands.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can accept user inputs or configuration files to dynamically modify command parameters, providing flexibility and reusability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-security-measures&quot;&gt;5. &lt;strong&gt;Security Measures:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Implement additional security measures, such as user authentication checks or access controls, before allowing the execution of certain commands.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can prompt users for authentication credentials, validate permissions, and enforce security policies before permitting command execution.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-workflow-automation&quot;&gt;6. &lt;strong&gt;Workflow Automation:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Objective:&lt;/strong&gt;
Automate sequences of commands or tasks by orchestrating their execution in a predefined order.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Example:&lt;/strong&gt;
A wrapper script can serve as a central control point for executing a series of commands, ensuring proper sequencing and dependencies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Wrapper scripts in RHEL are versatile tools that empower users to tailor the behavior of commands and applications to meet specific requirements. Whether it’s environment configuration, logging, error handling, parameterization, security enhancements, or workflow automation, wrapper scripts contribute significantly to the efficiency and reliability of system operations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Wrapper Scripts, you can refer to &lt;a href=&quot;https://tldp.org/LDP/abs/html/wrapper.html&quot;&gt;this guide&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 06 Mar 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/wrapper_script/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/wrapper_script/</guid>
        
        <category>shell</category>
        
        <category>script</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Hashing vs. Encryption Passwords</title>
        <description>&lt;p&gt;In the realm of cybersecurity, the protection of user passwords is vital. Hashing and encryption are two fundamental techniques employed to safeguard sensitive information. This blog post delves into the definitions and differences between hashing and encryption, shedding light on their respective roles in securing passwords.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#hashing&quot; id=&quot;markdown-toc-hashing&quot;&gt;Hashing:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#definition&quot; id=&quot;markdown-toc-definition&quot;&gt;Definition&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#purpose&quot; id=&quot;markdown-toc-purpose&quot;&gt;Purpose&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#encryption&quot; id=&quot;markdown-toc-encryption&quot;&gt;Encryption:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#definition-1&quot; id=&quot;markdown-toc-definition-1&quot;&gt;Definition&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#purpose-1&quot; id=&quot;markdown-toc-purpose-1&quot;&gt;Purpose&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#differences&quot; id=&quot;markdown-toc-differences&quot;&gt;Differences:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#reversibility&quot; id=&quot;markdown-toc-reversibility&quot;&gt;&lt;strong&gt;Reversibility&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#use-case&quot; id=&quot;markdown-toc-use-case&quot;&gt;&lt;strong&gt;Use Case&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#key-involvement&quot; id=&quot;markdown-toc-key-involvement&quot;&gt;&lt;strong&gt;Key Involvement&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#security-focus&quot; id=&quot;markdown-toc-security-focus&quot;&gt;&lt;strong&gt;Security Focus&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;hashing&quot;&gt;Hashing:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;definition&quot;&gt;Definition&lt;/h3&gt;
&lt;p&gt;Hashing is a &lt;strong&gt;one-way&lt;/strong&gt; cryptographic function that transforms input data, such as a password, into a fixed-size string of characters, which is typically a hash value. The key characteristic of hashing is its irreversibility — once data is hashed, it cannot be feasibly reversed to obtain the original input.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;purpose&quot;&gt;Purpose&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Password Storage:&lt;/strong&gt;
Hashing is commonly used to store passwords securely. Instead of storing actual passwords, systems store the hash values generated from those passwords. During authentication, the entered password’s hash is compared to the stored hash for validation.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Data Integrity:&lt;/strong&gt;
Hashing ensures data integrity by producing a unique hash value for unique input. Even a small change in input results in a substantially different hash, making it suitable for data integrity verification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;encryption&quot;&gt;Encryption:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;definition-1&quot;&gt;Definition&lt;/h3&gt;
&lt;p&gt;Encryption is a &lt;strong&gt;two-way&lt;/strong&gt; process that involves transforming data into a format that is unintelligible without the appropriate decryption key. Unlike hashing, encryption is reversible, allowing the original data to be restored using the decryption key.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;purpose-1&quot;&gt;Purpose&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Confidential Communication:&lt;/strong&gt;
Encryption is widely used to secure communication channels. It ensures that only authorized parties with the correct decryption key can access the original data, preventing unauthorized interception.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Data Protection:&lt;/strong&gt;
Sensitive data, such as personal information and financial details, is often encrypted to prevent unauthorized access. In the event of a security breach, encrypted data remains unreadable without the decryption key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;differences&quot;&gt;Differences:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;reversibility&quot;&gt;&lt;strong&gt;Reversibility&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hashing:&lt;/strong&gt; Irreversible. Once hashed, the original input cannot be retrieved.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Reversible. Data can be decrypted with the appropriate key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;use-case&quot;&gt;&lt;strong&gt;Use Case&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hashing:&lt;/strong&gt; Primarily used for password storage and data integrity verification.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Applied in scenarios where reversible transformation is required, such as secure communication and data protection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-involvement&quot;&gt;&lt;strong&gt;Key Involvement&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hashing:&lt;/strong&gt; No decryption key is involved.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Requires encryption and decryption keys.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;security-focus&quot;&gt;&lt;strong&gt;Security Focus&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Hashing:&lt;/strong&gt; Focuses on data integrity and password protection.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Focuses on confidentiality and preventing unauthorized access.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Understanding the distinctions between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;hashing&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;encryption&lt;/code&gt; is crucial for implementing effective cybersecurity measures. While hashing is well-suited for password storage and data integrity verification, encryption excels in securing communication and protecting sensitive information. Employing both techniques judiciously contributes to a robust and comprehensive security strategy.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Hashing vs Encryption, you can refer to the &lt;a href=&quot;https://www.okta.com/identity-101/hashing-vs-encryption/&quot;&gt;Okta Identity 101 article on Hashing vs. Encryption&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sun, 03 Mar 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/hashing_vs_encryption_passwords/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/hashing_vs_encryption_passwords/</guid>
        
        <category>hash</category>
        
        <category>encryption</category>
        
        <category>security</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>GitHub Authentication Changes - Embracing Two-Factor Authentication (2FA)</title>
        <description>&lt;p&gt;In a continuous effort to enhance security measures, GitHub has recently implemented changes to its authentication process. One notable update involves the &lt;a href=&quot;https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication#&quot;&gt;mandatory use of Two-Factor Authentication (2FA)&lt;/a&gt; for accessing GitHub accounts. This blog post will walk you through the significance of this change and guide you on how to adapt to the new requirements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-two-factor-authentication&quot; id=&quot;markdown-toc-why-two-factor-authentication&quot;&gt;Why Two-Factor Authentication?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#embracing-the-change&quot; id=&quot;markdown-toc-embracing-the-change&quot;&gt;Embracing the Change:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enabling-two-factor-authentication-on-github&quot; id=&quot;markdown-toc-enabling-two-factor-authentication-on-github&quot;&gt;Enabling Two-Factor Authentication on GitHub:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-visit-your-github-account-settings&quot; id=&quot;markdown-toc-1-visit-your-github-account-settings&quot;&gt;1. &lt;strong&gt;Visit Your GitHub Account Settings:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-view-the-access-section&quot; id=&quot;markdown-toc-2-view-the-access-section&quot;&gt;2. &lt;strong&gt;View the “Access” Section:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-enable-two-factor-authentication&quot; id=&quot;markdown-toc-3-enable-two-factor-authentication&quot;&gt;3. &lt;strong&gt;Enable Two-Factor Authentication:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-choose-2fa-method&quot; id=&quot;markdown-toc-4-choose-2fa-method&quot;&gt;4. &lt;strong&gt;Choose 2FA Method:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-follow-on-screen-instructions&quot; id=&quot;markdown-toc-5-follow-on-screen-instructions&quot;&gt;5. &lt;strong&gt;Follow On-Screen Instructions:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-save-recovery-codes&quot; id=&quot;markdown-toc-6-save-recovery-codes&quot;&gt;6. &lt;strong&gt;Save Recovery Codes:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#accessing-github-with-2fa&quot; id=&quot;markdown-toc-accessing-github-with-2fa&quot;&gt;Accessing GitHub with 2FA:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-enter-username-and-password&quot; id=&quot;markdown-toc-1-enter-username-and-password&quot;&gt;1. &lt;strong&gt;Enter Username and Password:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-verify-with-2fa&quot; id=&quot;markdown-toc-2-verify-with-2fa&quot;&gt;2. &lt;strong&gt;Verify with 2FA:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-access-granted&quot; id=&quot;markdown-toc-3-access-granted&quot;&gt;3. &lt;strong&gt;Access Granted:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-two-factor-authentication&quot;&gt;Why Two-Factor Authentication?&lt;/h2&gt;

&lt;p&gt;Two-Factor Authentication adds an extra layer of security beyond just a username and password. With the increasing sophistication of cyber threats, relying solely on traditional credentials has become a potential vulnerability. 2FA mitigates these risks by requiring a second form of verification, usually through a mobile app, text message, or other means.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;embracing-the-change&quot;&gt;Embracing the Change:&lt;/h2&gt;

&lt;p&gt;GitHub’s move to enforce Two-Factor Authentication aligns with industry best practices for securing user accounts. This change aims to protect user data, prevent unauthorized access, and ensure the integrity of code repositories. Embracing this change is essential for maintaining a secure development environment and safeguarding sensitive information.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enabling-two-factor-authentication-on-github&quot;&gt;Enabling Two-Factor Authentication on GitHub:&lt;/h2&gt;

&lt;p&gt;If you haven’t already enabled 2FA on your GitHub account, follow these steps:&lt;/p&gt;

&lt;h3 id=&quot;1-visit-your-github-account-settings&quot;&gt;1. &lt;strong&gt;Visit Your GitHub Account Settings:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Navigate to your GitHub account settings by clicking on your profile picture in the top right corner and selecting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Settings&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-view-the-access-section&quot;&gt;2. &lt;strong&gt;View the “Access” Section:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;In the left sidebar, click on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Password and authentication&lt;/code&gt; link within the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Access&lt;/code&gt; section.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-enable-two-factor-authentication&quot;&gt;3. &lt;strong&gt;Enable Two-Factor Authentication:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Scroll down to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Two-factor authentication&quot;&lt;/code&gt; section.&lt;/li&gt;
  &lt;li&gt;Click on the “Set up two-factor authentication” button.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;4-choose-2fa-method&quot;&gt;4. &lt;strong&gt;Choose 2FA Method:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;GitHub offers multiple 2FA methods. Select the one that suits your preferences, such as using the GitHUb mobile app, Authenticator app or receiving codes via SMS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;5-follow-on-screen-instructions&quot;&gt;5. &lt;strong&gt;Follow On-Screen Instructions:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;GitHub will guide you through the setup process. Follow the on-screen instructions to complete the 2FA setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;6-save-recovery-codes&quot;&gt;6. &lt;strong&gt;Save Recovery Codes:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;GitHub provides recovery codes during the setup. Save these codes in a secure location. They are crucial for account recovery in case you lose access to your 2FA method.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;accessing-github-with-2fa&quot;&gt;Accessing GitHub with 2FA:&lt;/h2&gt;

&lt;p&gt;Once 2FA is enabled, accessing your GitHub account involves an additional step:&lt;/p&gt;

&lt;h3 id=&quot;1-enter-username-and-password&quot;&gt;1. &lt;strong&gt;Enter Username and Password:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Provide your GitHub username and password as usual.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-verify-with-2fa&quot;&gt;2. &lt;strong&gt;Verify with 2FA:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;After entering your credentials, GitHub will prompt you to enter the 2FA code generated by your chosen authentication method.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-access-granted&quot;&gt;3. &lt;strong&gt;Access Granted:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Successfully entering the 2FA code grants access to your GitHub account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;GitHub’s transition to &lt;strong&gt;mandatory&lt;/strong&gt; Two-Factor Authentication is a proactive step towards strengthening the security posture of user accounts. Embracing this change ensures a more resilient defense against unauthorized access and protects the collaborative development environment. By following the outlined steps to enable 2FA, you contribute to a safer and more secure GitHub ecosystem.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about GitHubs 2FA authentication, refer to this &lt;a href=&quot;https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa&quot;&gt;GitHub Docs Article&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 29 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/github_authentication_changes/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/github_authentication_changes/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>linux</category>
        
        <category>github</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Backporting in RHEL - Enhancing Stability and Security</title>
        <description>&lt;p&gt;Red Hat Enterprise Linux (RHEL) stands out as a robust and stable operating system widely used in enterprise environments. One key aspect contributing to its reliability is the practice of &lt;a href=&quot;https://access.redhat.com/security/updates/backporting&quot;&gt;backporting&lt;/a&gt;. This blog post explores the concept of backporting in RHEL, its significance, and how it enhances both stability and security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-backporting&quot; id=&quot;markdown-toc-understanding-backporting&quot;&gt;Understanding Backporting:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#definition&quot; id=&quot;markdown-toc-definition&quot;&gt;&lt;strong&gt;Definition:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#stability-vs-novel-features&quot; id=&quot;markdown-toc-stability-vs-novel-features&quot;&gt;&lt;strong&gt;Stability vs. Novel Features:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#significance-of-backporting-in-rhel&quot; id=&quot;markdown-toc-significance-of-backporting-in-rhel&quot;&gt;Significance of Backporting in RHEL:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#security&quot; id=&quot;markdown-toc-security&quot;&gt;&lt;strong&gt;Security:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#extended-support&quot; id=&quot;markdown-toc-extended-support&quot;&gt;&lt;strong&gt;Extended Support:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#compatibility&quot; id=&quot;markdown-toc-compatibility&quot;&gt;&lt;strong&gt;Compatibility:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-backporting-works&quot; id=&quot;markdown-toc-how-backporting-works&quot;&gt;How Backporting Works:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#identifying-critical-updates&quot; id=&quot;markdown-toc-identifying-critical-updates&quot;&gt;&lt;strong&gt;Identifying Critical Updates:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#testing-and-validation&quot; id=&quot;markdown-toc-testing-and-validation&quot;&gt;&lt;strong&gt;Testing and Validation:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#selective-integration&quot; id=&quot;markdown-toc-selective-integration&quot;&gt;&lt;strong&gt;Selective Integration:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-backporting&quot; id=&quot;markdown-toc-benefits-of-backporting&quot;&gt;Benefits of Backporting:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#risk-mitigation&quot; id=&quot;markdown-toc-risk-mitigation&quot;&gt;&lt;strong&gt;Risk Mitigation:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#continuous-security&quot; id=&quot;markdown-toc-continuous-security&quot;&gt;&lt;strong&gt;Continuous Security:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#extended-longevity&quot; id=&quot;markdown-toc-extended-longevity&quot;&gt;&lt;strong&gt;Extended Longevity:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-backporting&quot;&gt;Understanding Backporting:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;definition&quot;&gt;&lt;strong&gt;Definition:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Backporting involves applying patches or updates from a newer version of software to an older version &lt;strong&gt;without upgrading the entire software package&lt;/strong&gt;. In the context of RHEL, this means cherry-picking specific features, bug fixes, or security enhancements from later releases and integrating them into the current, stable version.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;stability-vs-novel-features&quot;&gt;&lt;strong&gt;Stability vs. Novel Features:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;RHEL prioritizes stability and long-term support. While the latest upstream versions of software may introduce new features, they can also bring &lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;complexity and potential security issues&lt;/span&gt;&lt;/strong&gt;. Backporting allows RHEL to maintain stability by selectively incorporating essential updates while avoiding unnecessary changes that could impact reliability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;significance-of-backporting-in-rhel&quot;&gt;Significance of Backporting in RHEL:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;security&quot;&gt;&lt;strong&gt;Security:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Security vulnerabilities are an ever-present concern. Backporting enables the RHEL security team to address critical security issues promptly. Instead of waiting for the next major release, security patches can be backported to the currently supported versions, ensuring that users remain protected against emerging threats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;extended-support&quot;&gt;&lt;strong&gt;Extended Support:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;RHEL provides extended support for its major versions. Backporting is instrumental in delivering important updates to these versions, even after the initial release has transitioned to extended support. This allows organizations to maintain a stable and secure environment without the need for immediate version upgrades.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;compatibility&quot;&gt;&lt;strong&gt;Compatibility:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Backporting emphasizes maintaining compatibility with existing configurations and applications. By selectively incorporating updates, RHEL minimizes the risk of breaking existing workflows, ensuring that enterprise applications continue to function seamlessly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-backporting-works&quot;&gt;How Backporting Works:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;identifying-critical-updates&quot;&gt;&lt;strong&gt;Identifying Critical Updates:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The decision to backport specific updates is guided by how critical the update is. Security patches, bug fixes, and updates addressing stability issues are prime candidates for backporting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;testing-and-validation&quot;&gt;&lt;strong&gt;Testing and Validation:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Backported updates undergo rigorous testing to ensure they integrate smoothly with the existing RHEL version. This testing phase is crucial to maintaining the overall stability of the system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;selective-integration&quot;&gt;&lt;strong&gt;Selective Integration:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Backporting is a selective process. Only updates deemed essential for stability, security, and compatibility are integrated. This approach prevents unnecessary changes that could introduce new complexities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-backporting&quot;&gt;Benefits of Backporting:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;risk-mitigation&quot;&gt;&lt;strong&gt;Risk Mitigation:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Backporting mitigates the risk associated with adopting new software versions by allowing users to receive critical updates without the need for a major upgrade. This is particularly advantageous in enterprise environments where stability is paramount.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;continuous-security&quot;&gt;&lt;strong&gt;Continuous Security:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Security threats evolve over time. Backporting ensures that even older RHEL versions receive timely security updates, providing continuous protection against emerging vulnerabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;extended-longevity&quot;&gt;&lt;strong&gt;Extended Longevity:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;By backporting essential updates, RHEL extends the longevity of its major versions. Organizations can continue to benefit from a stable and secure platform without the pressure of frequent version upgrades.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Backporting plays a pivotal role in the Red Hat Enterprise Linux ecosystem, contributing to its reputation for stability and security. The meticulous process of selectively integrating critical updates ensures that RHEL remains a reliable choice for enterprise environments, offering both longevity and continuous protection against evolving threats.&lt;/p&gt;

&lt;p&gt;In the ever-changing landscape of technology, RHEL’s commitment to backporting reaffirms its dedication to providing a solid foundation for businesses that rely on a stable and secure operating system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about backporting, refer to this &lt;a href=&quot;https://access.redhat.com/solutions/57665&quot;&gt;RedHat Knowledgebase Article&lt;/a&gt;…&lt;/p&gt;
</description>
        <pubDate>Mon, 26 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/backporting_in_rhel/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/backporting_in_rhel/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Nohup Command With SSH Sessions</title>
        <description>&lt;p&gt;In the realm of remote server management, SSH (Secure Shell) is a powerful tool. However, it comes with session time limits, and disconnecting can lead to terminated processes. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; command emerges as a vital solution, ensuring that your processes persist even when the SSH session ends. This blog post delves into the significance of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; and why it’s crucial for uninterrupted task execution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-challenge-of-ssh-session-time-limits&quot; id=&quot;markdown-toc-the-challenge-of-ssh-session-time-limits&quot;&gt;The Challenge of SSH Session Time Limits:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enter-nohup---what-is-it&quot; id=&quot;markdown-toc-enter-nohup---what-is-it&quot;&gt;Enter Nohup - What is it?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-nohup-matters&quot; id=&quot;markdown-toc-why-nohup-matters&quot;&gt;Why Nohup Matters:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-preserving-processes&quot; id=&quot;markdown-toc-1-preserving-processes&quot;&gt;1. &lt;strong&gt;Preserving Processes:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-decoupling-from-terminal&quot; id=&quot;markdown-toc-2-decoupling-from-terminal&quot;&gt;2. &lt;strong&gt;Decoupling from Terminal:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-output-handling&quot; id=&quot;markdown-toc-3-output-handling&quot;&gt;3. &lt;strong&gt;Output Handling:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-nohup&quot; id=&quot;markdown-toc-using-nohup&quot;&gt;Using Nohup:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#example&quot; id=&quot;markdown-toc-example&quot;&gt;Example:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#checking-the-output&quot; id=&quot;markdown-toc-checking-the-output&quot;&gt;Checking the Output:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-challenge-of-ssh-session-time-limits&quot;&gt;The Challenge of SSH Session Time Limits:&lt;/h2&gt;

&lt;p&gt;SSH sessions often impose time limits to ensure security and resource optimization. However, this poses a challenge for tasks that require an extended duration to complete. When an SSH session ends, any running processes initiated within that session also terminate, potentially causing data loss or incomplete operations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enter-nohup---what-is-it&quot;&gt;Enter Nohup - What is it?&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Nohup&lt;/code&gt;, short for “no hang up,” is a command in Unix and Unix-like operating systems that allows users to run processes that persist even after the initiating terminal is closed. It prevents the associated command or script from receiving the SIGHUP (hang-up) signal, ensuring its continuity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-nohup-matters&quot;&gt;Why Nohup Matters:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-preserving-processes&quot;&gt;1. &lt;strong&gt;Preserving Processes:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;By using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt;, you safeguard your processes from being affected by the termination of the SSH session. This is particularly crucial for long-running tasks, such as data backups, software installations, or data processing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-decoupling-from-terminal&quot;&gt;2. &lt;strong&gt;Decoupling from Terminal:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Nohup&lt;/code&gt; disconnects the command or script from the terminal, making it immune to the hang-up signal. This decoupling ensures that the process remains independent of the initiating SSH session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-output-handling&quot;&gt;3. &lt;strong&gt;Output Handling:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Nohup&lt;/code&gt; redirects the standard output and standard error to a file specified by the user (by default, it’s nohup.out). This allows you to review the output later, providing insights into the process’s execution.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-nohup&quot;&gt;Using Nohup:&lt;/h2&gt;

&lt;p&gt;The basic syntax of using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; is as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;nohup&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;command&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;arguments] &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[command]&lt;/code&gt;: The command or script to be executed.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[arguments]&lt;/code&gt;: Any arguments or options required by the command.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;amp;&lt;/code&gt;: Runs the command in the background.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;example&quot;&gt;Example:&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;nohup&lt;/span&gt; ./my_long_running_script.sh &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;checking-the-output&quot;&gt;Checking the Output:&lt;/h2&gt;

&lt;p&gt;The output of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; command is, by default, redirected to a file named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup.out&lt;/code&gt; in the same directory. You can review this file to monitor the progress and any output or errors generated by the process.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;tail&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; nohup.out
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;In a world where remote server management is commonplace, dealing with SSH session time limits is inevitable. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; command servers as a savior, ensuring that your critical processes continue undisturbed even when faced with the constraints of SSH session duration. By incorporating &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nohup&lt;/code&gt; into your workflow, you empower yourself to execute tasks with confidence, knowing that interruptions won’t hinder their completion.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about nohup, refer to the &lt;a href=&quot;https://linux.die.net/man/1/nohup&quot;&gt;nohup Man Page&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Fri, 23 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/nohup_ssh_session/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/nohup_ssh_session/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>AIDE File Integrity Safeguarding Your Linux System</title>
        <description>&lt;p&gt;Ensuring the integrity of your operating system and critical applications is a fundamental aspect of cybersecurity. File integrity monitoring (FIM) tools play a crucial role in detecting unauthorized changes to files and directories. In the Linux ecosystem, AIDE (Advanced Intrusion Detection Environment) stands out as a reliable open-source solution for FIM. This blog post will guide you through the installation, configuration, and utilization of AIDE on a Linux system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#installation&quot; id=&quot;markdown-toc-installation&quot;&gt;Installation:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuration&quot; id=&quot;markdown-toc-configuration&quot;&gt;Configuration:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#initialization&quot; id=&quot;markdown-toc-initialization&quot;&gt;Initialization:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#test-configuration&quot; id=&quot;markdown-toc-test-configuration&quot;&gt;Test Configuration:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#updating-the-database&quot; id=&quot;markdown-toc-updating-the-database&quot;&gt;Updating the Database:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#final-thoughts&quot; id=&quot;markdown-toc-final-thoughts&quot;&gt;Final Thoughts:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installation&quot;&gt;Installation:&lt;/h2&gt;

&lt;p&gt;To get started, install the AIDE package using the package manager:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;aide &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On older versions of Red Hat, it’s advisable to disable prelinking to prevent false positives. Modify the prelink configuration:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/sysconfig/prelink
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PRELINKING&lt;/code&gt; to no:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;PRELINKING&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;no
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuration&quot;&gt;Configuration:&lt;/h2&gt;

&lt;p&gt;AIDE’s configuration file is located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/aide.conf&lt;/code&gt;. This file allows you to define rules for checking permissions, ownership, timestamps, and more. Customize the configuration based on your specific environment.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/aide.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;initialization&quot;&gt;Initialization:&lt;/h2&gt;

&lt;p&gt;Generate the initial database for your system:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;aide &lt;span class=&quot;nt&quot;&gt;--init&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After the database is created (stored in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/lib/aide/aide.db.new.gz&lt;/code&gt;), rename and remove the ‘new’ string:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo mv&lt;/span&gt; /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;test-configuration&quot;&gt;Test Configuration:&lt;/h2&gt;

&lt;p&gt;Before checking for system changes, simulate alterations by adding a new user and modifying a binary file:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;useradd &lt;span class=&quot;nb&quot;&gt;test
sudo &lt;/span&gt;passwd &lt;span class=&quot;nb&quot;&gt;test

sudo rm&lt;/span&gt; /usr/bin/sudo
&lt;span class=&quot;nb&quot;&gt;sudo mv&lt;/span&gt; /root/fakesudo /usr/bin/sudo
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Perform an integrity check to identify changes:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;aide &lt;span class=&quot;nt&quot;&gt;--check&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Review the detailed output to ensure that AIDE detected the modifications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;updating-the-database&quot;&gt;Updating the Database:&lt;/h2&gt;

&lt;p&gt;After verifying legitimate changes, update AIDE to create a new database:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;aide &lt;span class=&quot;nt&quot;&gt;--update&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace the old configuration with the updated database:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mv&lt;/span&gt; /var/lib/aide/aide.db.gz /var/lib/aide/aide.db.gz-24APR21
&lt;span class=&quot;nb&quot;&gt;mv&lt;/span&gt; /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;final-thoughts&quot;&gt;Final Thoughts:&lt;/h2&gt;

&lt;p&gt;Automate the monitoring process using cron and consider offloading and centralizing database files for enhanced security.&lt;/p&gt;

&lt;p&gt;You may include the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo aide --check&lt;/code&gt; command into a cron job and push it to a log file to keep track of the ongoing changes to the system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example :&lt;/strong&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo aide --check &amp;gt;&amp;gt; /opt/log/aidechecks.log&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;By implementing AIDE as part of your security strategy, you fortify your Linux system against unauthorized changes, providing an additional layer of defense in the ever-evolving landscape of cybersecurity.&lt;/p&gt;

&lt;p&gt;📝 For more information about RHEL9 AIDE, refer to this &lt;a href=&quot;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/security_hardening/checking-integrity-with-aide_security-hardening&quot;&gt;Red Hat Customer Portal Article&lt;/a&gt;!&lt;/p&gt;

</description>
        <pubDate>Tue, 20 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/aide_file_integrity/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/aide_file_integrity/</guid>
        
        <category>aide</category>
        
        <category>security</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding Git Workflow with Bitbucket</title>
        <description>&lt;p&gt;In the realm of collaborative software development, Git plays a pivotal role in version control. When it comes to contributing changes to a repository hosted on platforms like Bitbucket, the pull request (PR) becomes vital. This blog post unravels the intricacies of the Git workflow using Bitbucket and delves into the significance of pull requests.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#git-workflow-with-bitbucket&quot; id=&quot;markdown-toc-git-workflow-with-bitbucket&quot;&gt;Git Workflow with Bitbucket:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-fork-the-repository&quot; id=&quot;markdown-toc-1-fork-the-repository&quot;&gt;1. Fork the Repository:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-clone-the-repository&quot; id=&quot;markdown-toc-2-clone-the-repository&quot;&gt;2. Clone the Repository:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-create-a-new-branch&quot; id=&quot;markdown-toc-3-create-a-new-branch&quot;&gt;3. Create a New Branch:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-make-changes&quot; id=&quot;markdown-toc-4-make-changes&quot;&gt;4. Make Changes:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-commit-changes&quot; id=&quot;markdown-toc-5-commit-changes&quot;&gt;5. Commit Changes:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-push-changes&quot; id=&quot;markdown-toc-6-push-changes&quot;&gt;6. Push Changes:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#7-create-pull-request&quot; id=&quot;markdown-toc-7-create-pull-request&quot;&gt;7. Create Pull Request:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#8-review-and-merge&quot; id=&quot;markdown-toc-8-review-and-merge&quot;&gt;8. Review and Merge:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-role-of-pull-requests&quot; id=&quot;markdown-toc-the-role-of-pull-requests&quot;&gt;The Role of Pull Requests:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-code-review&quot; id=&quot;markdown-toc-1-code-review&quot;&gt;1. &lt;strong&gt;Code Review:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-collaboration&quot; id=&quot;markdown-toc-2-collaboration&quot;&gt;2. &lt;strong&gt;Collaboration:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-discussion&quot; id=&quot;markdown-toc-3-discussion&quot;&gt;3. &lt;strong&gt;Discussion:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-visibility&quot; id=&quot;markdown-toc-4-visibility&quot;&gt;4. &lt;strong&gt;Visibility:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-continuous-integration-ci-and-testing&quot; id=&quot;markdown-toc-5-continuous-integration-ci-and-testing&quot;&gt;5. &lt;strong&gt;Continuous Integration (CI) and Testing:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-documentation&quot; id=&quot;markdown-toc-6-documentation&quot;&gt;6. &lt;strong&gt;Documentation:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#7-maintainer-approval&quot; id=&quot;markdown-toc-7-maintainer-approval&quot;&gt;7. &lt;strong&gt;Maintainer Approval:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#8-version-control&quot; id=&quot;markdown-toc-8-version-control&quot;&gt;8. &lt;strong&gt;Version Control:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#pull-request-as-a-collaborative-space&quot; id=&quot;markdown-toc-pull-request-as-a-collaborative-space&quot;&gt;Pull Request as a Collaborative Space:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#showcasing-changes&quot; id=&quot;markdown-toc-showcasing-changes&quot;&gt;Showcasing Changes:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#asking-for-feedback&quot; id=&quot;markdown-toc-asking-for-feedback&quot;&gt;Asking for Feedback:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#collaborating&quot; id=&quot;markdown-toc-collaborating&quot;&gt;Collaborating:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#making-sure-everything-works&quot; id=&quot;markdown-toc-making-sure-everything-works&quot;&gt;Making Sure Everything Works:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#making-sure-everything-works-1&quot; id=&quot;markdown-toc-making-sure-everything-works-1&quot;&gt;Making Sure Everything Works:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;git-workflow-with-bitbucket&quot;&gt;Git Workflow with Bitbucket:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-fork-the-repository&quot;&gt;1. Fork the Repository:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Create your own copy (fork) of the repository you want to contribute to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-clone-the-repository&quot;&gt;2. Clone the Repository:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Clone your forked repository to your local machine using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://www.testrepo.git&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;You will likely be prompted for username/password credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-create-a-new-branch&quot;&gt;3. Create a New Branch:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Create a new branch for your changes using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git checkout -b feature-branch&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;If your organization uses Jira with Bitbucket, you may have the option to create a branch directly from within Jira. This option is likely within a Jira ticket, and you will see an option under the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Development&lt;/code&gt; section of the ticket that says &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Create branch&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;If you are already connected to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;main&lt;/code&gt; branch, you can switch to the newly created branch by running the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git switch feature-branch&lt;/code&gt; command. Where feature-branch is the name of the new branch.&lt;/li&gt;
  &lt;li&gt;Another note : you may view your local branches by running the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git branch --list&lt;/code&gt; command and you may view all available branches on the remote server by runnign the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git branch -a&lt;/code&gt; command.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-make-changes&quot;&gt;4. Make Changes:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Make the necessary changes to the code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-commit-changes&quot;&gt;5. Commit Changes:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Commit your changes to the local branch using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git add .&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git commit -m &quot;Description of Changes&quot;&lt;/code&gt; commands.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-push-changes&quot;&gt;6. Push Changes:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Push your changes to your forked repository using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git push&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;7-create-pull-request&quot;&gt;7. Create Pull Request:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Go to Bitbucket and create a pull request from your branch to the target branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;8-review-and-merge&quot;&gt;8. Review and Merge:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Other contributors/colleagues should now review your changes, and once approved, the changes CAN be merged into the target branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-role-of-pull-requests&quot;&gt;The Role of Pull Requests:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Creating a pull request serves several essential purposes in collaborative software development:&lt;/p&gt;

&lt;h3 id=&quot;1-code-review&quot;&gt;1. &lt;strong&gt;Code Review:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;A dedicated space for team members to review and discuss proposed changes, ensuring code quality and adherence to project standards.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-collaboration&quot;&gt;2. &lt;strong&gt;Collaboration:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Facilitates collaboration by allowing developers to share work, gather feedback, and discuss potential improvements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-discussion&quot;&gt;3. &lt;strong&gt;Discussion:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Includes a comment section for team members to discuss specific lines of code, ask questions, or provide feedback.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-visibility&quot;&gt;4. &lt;strong&gt;Visibility:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Provides clear visibility into proposed changes, showcasing who made the changes and when.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-continuous-integration-ci-and-testing&quot;&gt;5. &lt;strong&gt;Continuous Integration (CI) and Testing:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Integration with CI systems for automatic testing to ensure proposed changes do not introduce new bugs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-documentation&quot;&gt;6. &lt;strong&gt;Documentation:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Often includes documentation updates or additions to maintain consistency and keep documentation up to date.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;7-maintainer-approval&quot;&gt;7. &lt;strong&gt;Maintainer Approval:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Ensures changes are reviewed and approved by designated personnel before merging into the main branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;8-version-control&quot;&gt;8. &lt;strong&gt;Version Control:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Maintains a clear history of changes, making it easier to understand and roll back changes if needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;pull-request-as-a-collaborative-space&quot;&gt;Pull Request as a Collaborative Space:&lt;/h2&gt;

&lt;p&gt;Creating a pull request is akin to showcasing your work and inviting team members to review and collaborate. It’s about sharing changes, asking for feedback, and ensuring the project’s best possible outcome.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;showcasing-changes&quot;&gt;Showcasing Changes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Displaying the changes made to the project, allowing team members to see new additions or improvements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;asking-for-feedback&quot;&gt;Asking for Feedback:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Inviting team members to provide thoughts, suggest improvements, catch mistakes, or express approval.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;collaborating&quot;&gt;Collaborating:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Working together by involving the team in the process, fostering idea-sharing, mutual assistance, and ensuring the project’s excellence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;making-sure-everything-works&quot;&gt;Making Sure Everything Works:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Confirming that changes integrate seamlessly with the existing project, ensuring overall functionality.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;making-sure-everything-works-1&quot;&gt;Making Sure Everything Works:&lt;/h3&gt;

&lt;p&gt;In conclusion, mastering Git workflow with Bitbucket involves more than just creating pull requests. It’s about adopting a comprehensive approach that encompasses branching, committing, testing, reviewing, documenting, versioning, leveraging Git hooks, and utilizing collaborative tools. A well-orchestrated Git workflow ensures a smooth and efficient development process, ultimately contributing to the success of the project.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Git Workflows, refer to this &lt;a href=&quot;https://www.atlassian.com/git/tutorials/comparing-workflows&quot;&gt;Atlassian Article&lt;/a&gt; about comparing Git workflows!&lt;/p&gt;

</description>
        <pubDate>Sat, 17 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/understanding_git_bitbucket/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/understanding_git_bitbucket/</guid>
        
        <category>bitbucket</category>
        
        <category>sourcecode</category>
        
        <category>repository</category>
        
        <category>git</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Unraveling the &quot;Signature not supported. Hash algorithm SHA1 not available&quot; Error</title>
        <description>&lt;p&gt;Encountering errors in  software installations can be both perplexing and frustrating. One such error that users often face, especially when dealing with RPM packages, is the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Signature not supported. Hash algorithm SHA1 not available&quot;&lt;/code&gt; warning. This blog post aims to shed light on the causes behind this error and provides a detailed guide on how to resolve it.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-error&quot; id=&quot;markdown-toc-understanding-the-error&quot;&gt;Understanding the Error:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#identifying-gpg-keys&quot; id=&quot;markdown-toc-identifying-gpg-keys&quot;&gt;Identifying GPG Keys:&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#resolving-the-issue&quot; id=&quot;markdown-toc-resolving-the-issue&quot;&gt;Resolving the Issue&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#locate-the-undesirable-gpg-key&quot; id=&quot;markdown-toc-locate-the-undesirable-gpg-key&quot;&gt;Locate the Undesirable GPG Key:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#remove-the-undesirable-gpg-key&quot; id=&quot;markdown-toc-remove-the-undesirable-gpg-key&quot;&gt;Remove the Undesirable GPG Key:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-error&quot;&gt;Understanding the Error:&lt;/h2&gt;

&lt;p&gt;The warning suggests that the GPG signature of an RPM package is not compatible with the available hash algorithms, specifically SHA1. This commonly occurs when dealing with third-party repositories that might use outdated or less secure signing methods.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;identifying-gpg-keys&quot;&gt;Identifying GPG Keys:&lt;/h2&gt;

&lt;p&gt;Before diving into the resolution, it’s crucial to identify the GPG keys currently present on the system. Execute the following command to view a list of GPG public keys:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rpm &lt;span class=&quot;nt&quot;&gt;-q&lt;/span&gt; gpg-pubkey &lt;span class=&quot;nt&quot;&gt;--qf&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command provides a detailed summary of the GPG keys installed, including their names, versions, releases, and summaries.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;resolving-the-issue&quot;&gt;Resolving the Issue&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;locate-the-undesirable-gpg-key&quot;&gt;Locate the Undesirable GPG Key:&lt;/h3&gt;
&lt;p&gt;Identify the GPG key associated with the error, which usually corresponds to a &lt;strong&gt;third-party repository&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;remove-the-undesirable-gpg-key&quot;&gt;Remove the Undesirable GPG Key:&lt;/h3&gt;
&lt;p&gt;Use the following command to remove the undesired GPG key, replacing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xxxxxxxx-xxxxxxxx&lt;/code&gt; with the actual key:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;rpm &lt;span class=&quot;nt&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--allmatches&lt;/span&gt; gpg-pubkey-xxxxxxxx-xxxxxxxx
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command removes all occurrences of the specified GPG key.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Resolving the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Signature not supported. Hash algorithm SHA1 not available&lt;/code&gt; error involves identifying and removing the incompatible GPG key. This process ensures that the RPM packages from third-party repositories align with the hash algorithms supported by your system.&lt;/p&gt;

&lt;p&gt;Remember, &lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;CAUTION &lt;/span&gt;&lt;/strong&gt; should be exercised when removing GPG keys, especially if they are associated with critical repositories. Always ensure that you are comfortable with the origin of the key before proceeding with removal. In other words, make sure you know how to get the key back if necessary.&lt;/p&gt;

&lt;p&gt;By following these steps, users can navigate through this error, enhancing the overall stability and security of their RPM-based systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about SHA-1’s deprecation, refer to this &lt;a href=&quot;https://www.redhat.com/en/blog/rhel-security-sha-1-package-signatures-distrusted-rhel-9&quot;&gt;Red Hat Blog Article&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Wed, 14 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/signature_not_supported/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/signature_not_supported/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>dnf</category>
        
        <category>hash</category>
        
        <category>package_management</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Using pip3 Package Manager</title>
        <description>&lt;p&gt;Red Hat Enterprise Linux (RHEL) is a powerful and widely used Linux distribution in enterprise environments. If you’re working with Python on RHEL 9, you may need to install the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-pip&lt;/code&gt; package to manage Python packages conveniently. In this blog post, we’ll walk through the steps to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-pip&lt;/code&gt; and explore how to use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pip3&lt;/code&gt; package manager.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-python3-pip-on-rhel-9&quot; id=&quot;markdown-toc-installing-python3-pip-on-rhel-9&quot;&gt;Installing python3-pip on RHEL 9&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-pip3-package-manager&quot; id=&quot;markdown-toc-using-pip3-package-manager&quot;&gt;Using pip3 Package Manager&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#installing-a-package&quot; id=&quot;markdown-toc-installing-a-package&quot;&gt;Installing a Package&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#listing-installed-packages&quot; id=&quot;markdown-toc-listing-installed-packages&quot;&gt;Listing Installed Packages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#upgrading-a-package&quot; id=&quot;markdown-toc-upgrading-a-package&quot;&gt;Upgrading a Package&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#searching-for-a-package&quot; id=&quot;markdown-toc-searching-for-a-package&quot;&gt;Searching for a Package&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-python3-pip-on-rhel-9&quot;&gt;Installing python3-pip on RHEL 9&lt;/h2&gt;

&lt;p&gt;To install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-pip&lt;/code&gt; on RHEL 9, follow these steps:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;python3-pip
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo&lt;/code&gt; command is used to execute the installation with superuser privileges. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dnf&lt;/code&gt; is the package manager for RHEL, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;install&lt;/code&gt; is the command to install a specified package, in this case, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-pip&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-pip3-package-manager&quot;&gt;Using pip3 Package Manager&lt;/h2&gt;

&lt;p&gt;Once &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3-pip&lt;/code&gt; is installed, you can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pip3&lt;/code&gt; to manage Python packages efficiently.&lt;/p&gt;

&lt;h3 id=&quot;installing-a-package&quot;&gt;Installing a Package&lt;/h3&gt;
&lt;p&gt;To install a Python package, use the following command:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;package_name
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;package_name&lt;/code&gt; with the name of the Python package you want to install.&lt;/p&gt;

&lt;h3 id=&quot;listing-installed-packages&quot;&gt;Listing Installed Packages&lt;/h3&gt;
&lt;p&gt;To view a list of installed packages, use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 list
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display a list of installed Python packages along with their versions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;upgrading-a-package&quot;&gt;Upgrading a Package&lt;/h3&gt;
&lt;p&gt;To upgrade a package to the latest version, run:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pip3 &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--upgrade&lt;/span&gt; package_name
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace package_name with the name of the package you want to upgrade.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;searching-for-a-package&quot;&gt;Searching for a Package&lt;/h3&gt;
&lt;p&gt;In the past, we’ve been able to search for a pip package using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pip search package_name&lt;/code&gt; command, however, this method is deprecated. Now, to search for pip3 packages, we must vist the &lt;a href=&quot;https://pypi.org&quot;&gt;Python Package Index (PyPi)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In conclusion, installing python3-pip on RHEL 9 allows you to harness the power of the pip3 package manager for managing Python packages. With pip3, you can easily install, upgrade, and manage dependencies, making your Python development workflow more streamlined on RHEL 9.&lt;/p&gt;

&lt;p&gt;By following the simple installation steps and learning the basic pip3 commands, you’ll be well-equipped to handle Python package management on RHEL 9.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about hashing algorithms, refer to this &lt;a href=&quot;https://docs.python.org/3/&quot;&gt;Python documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sun, 11 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/pip3_package_manager/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/pip3_package_manager/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>python</category>
        
        <category>pip3</category>
        
        <category>package_manager</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Unveiling Cryptographic Hash Functions</title>
        <description>&lt;p&gt;In the realm of cryptographic hash functions, MD5, SHA-1, SHA-256, and SHA-512 stand as widely used algorithms for data integrity verification. This comprehensive exploration delves into the differences between these hash functions, examining their features, benefits, and vulnerabilities. Additionally, we’ll touch upon the evolving landscape of cryptographic hashing and what the future holds.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#md5-message-digest-algorithm-5&quot; id=&quot;markdown-toc-md5-message-digest-algorithm-5&quot;&gt;MD5 (Message Digest Algorithm 5)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features&quot; id=&quot;markdown-toc-features&quot;&gt;Features:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits&quot; id=&quot;markdown-toc-benefits&quot;&gt;Benefits:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vulnerabilities&quot; id=&quot;markdown-toc-vulnerabilities&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sha-1-secure-hash-algorithm-1&quot; id=&quot;markdown-toc-sha-1-secure-hash-algorithm-1&quot;&gt;SHA-1 (Secure Hash Algorithm 1)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-1&quot; id=&quot;markdown-toc-features-1&quot;&gt;Features:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-1&quot; id=&quot;markdown-toc-benefits-1&quot;&gt;Benefits:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vulnerabilities-1&quot; id=&quot;markdown-toc-vulnerabilities-1&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sha-256-secure-hash-algorithm-256-bit&quot; id=&quot;markdown-toc-sha-256-secure-hash-algorithm-256-bit&quot;&gt;SHA-256 (Secure Hash Algorithm 256-bit)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-2&quot; id=&quot;markdown-toc-features-2&quot;&gt;Features:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-2&quot; id=&quot;markdown-toc-benefits-2&quot;&gt;Benefits:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vulnerabilities-2&quot; id=&quot;markdown-toc-vulnerabilities-2&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sha-512-secure-hash-algorithm-512-bit&quot; id=&quot;markdown-toc-sha-512-secure-hash-algorithm-512-bit&quot;&gt;SHA-512 (Secure Hash Algorithm 512-bit)&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-3&quot; id=&quot;markdown-toc-features-3&quot;&gt;Features:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-3&quot; id=&quot;markdown-toc-benefits-3&quot;&gt;Benefits:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vulnerabilities-3&quot; id=&quot;markdown-toc-vulnerabilities-3&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#whats-coming-next-post-quantum-cryptography&quot; id=&quot;markdown-toc-whats-coming-next-post-quantum-cryptography&quot;&gt;What’s Coming Next: Post-Quantum Cryptography&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-4&quot; id=&quot;markdown-toc-features-4&quot;&gt;Features:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-4&quot; id=&quot;markdown-toc-benefits-4&quot;&gt;Benefits:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#vulnerabilities-4&quot; id=&quot;markdown-toc-vulnerabilities-4&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;md5-message-digest-algorithm-5&quot;&gt;MD5 (Message Digest Algorithm 5)&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features&quot;&gt;Features:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;128-bit Hash Output:&lt;/strong&gt; MD5 generates a 128-bit (16-byte) hash value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Widely Adopted:&lt;/strong&gt; Historically popular for checksums and integrity verification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits&quot;&gt;Benefits:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Fast Computation:&lt;/strong&gt; MD5 is computationally efficient.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Simple Implementation:&lt;/strong&gt; Straightforward to implement in various applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vulnerabilities&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Collision Susceptibility:&lt;/strong&gt; Vulnerable to collision attacks, where different inputs produce the same hash.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cryptographically Broken:&lt;/strong&gt; Not recommended for security-sensitive applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sha-1-secure-hash-algorithm-1&quot;&gt;SHA-1 (Secure Hash Algorithm 1)&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features-1&quot;&gt;Features:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;160-bit Hash Output:&lt;/strong&gt; SHA-1 produces a 160-bit (20-byte) hash value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Commonly Used:&lt;/strong&gt; Previously standard for certificates and cryptographic applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-1&quot;&gt;Benefits:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Efficient:&lt;/strong&gt; Faster than MD5 but still slower than SHA-256 and SHA-512.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Widespread Adoption:&lt;/strong&gt; Embedded in various security protocols.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vulnerabilities-1&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Collision Attacks:&lt;/strong&gt; Prone to collision vulnerabilities; deprecated for security use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;sha-256-secure-hash-algorithm-256-bit&quot;&gt;SHA-256 (Secure Hash Algorithm 256-bit)&lt;/h2&gt;

&lt;h3 id=&quot;features-2&quot;&gt;Features:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;256-bit Hash Output:&lt;/strong&gt; SHA-256 yields a 256-bit (32-byte) hash value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Current Standard:&lt;/strong&gt; Widely used for cryptographic security applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-2&quot;&gt;Benefits:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Strong Security:&lt;/strong&gt; Resistant to collision attacks; suitable for secure applications.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Efficiency:&lt;/strong&gt; Balances security and computational efficiency.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vulnerabilities-2&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Quantum Threats:&lt;/strong&gt; Vulnerable to potential future quantum attacks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;sha-512-secure-hash-algorithm-512-bit&quot;&gt;SHA-512 (Secure Hash Algorithm 512-bit)&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features-3&quot;&gt;Features:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;512-bit Hash Output:&lt;/strong&gt; SHA-512 provides a 512-bit (64-byte) hash value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;High Security:&lt;/strong&gt; Offers a higher level of security with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;longer hash lengths&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-3&quot;&gt;Benefits:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Enhanced Security:&lt;/strong&gt; Strong resistance to collision attacks.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Long-term Viability:&lt;/strong&gt; Addresses some concerns of quantum computing threats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vulnerabilities-3&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Computational Overhead:&lt;/strong&gt; Slower than SHA-256 due to longer hash lengths.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;whats-coming-next-post-quantum-cryptography&quot;&gt;What’s Coming Next: Post-Quantum Cryptography&lt;/h2&gt;

&lt;p&gt;As quantum computing advancements pose threats to current hash functions, the field is evolving towards post-quantum cryptography. Emerging algorithms such as [insert algorithm names] are being explored for their resistance to quantum attacks. Read more about post-quantum cryptography &lt;a href=&quot;https://csrc.nist.gov/projects/post-quantum-cryptography&quot;&gt; in this NIST article&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features-4&quot;&gt;Features:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Quantum-Resistant:&lt;/strong&gt; Designed to withstand quantum computing threats.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ongoing Research:&lt;/strong&gt; Actively researched and refined by the cryptographic community.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-4&quot;&gt;Benefits:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Future-Proofing:&lt;/strong&gt; Addresses concerns about the potential impact of quantum computing on existing algorithms.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Adaptive Security:&lt;/strong&gt; Aims to provide security in both classical and quantum computing environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;vulnerabilities-4&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vulnerabilities:&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Algorithm Maturity:&lt;/strong&gt; Some post-quantum algorithms are still in the research and evaluation phase.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In summary, MD5, SHA-1, SHA-256, and SHA-512 have played pivotal roles in ensuring data integrity, but with evolving cryptographic landscapes, the need for quantum-resistant algorithms is becoming increasingly apparent. The shift towards post-quantum cryptography signals a commitment to future-proofing our cryptographic practices. Understanding these nuances is crucial for maintaining robust security measures in our ever-advancing technological environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about hashing algorithms, refer to &lt;a href=&quot;https://www.okta.com/identity-101/hashing-algorithms/&quot;&gt;this Okta article&lt;/a&gt;. This &lt;a href=&quot;https://www.nist.gov/cryptography&quot;&gt;NIST article&lt;/a&gt; is also a great resource!&lt;/p&gt;

</description>
        <pubDate>Thu, 08 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/unveiling_cryptographic_hash_functions/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/unveiling_cryptographic_hash_functions/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>hash</category>
        
        <category>security</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding the Dollar Sign ($) in Bash Scripts</title>
        <description>&lt;p&gt;In Bash scripting, the dollar sign &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;($)&lt;/code&gt; holds special significance as it is used to reference the value of a variable. When incorporating a variable within double quotes (e.g., “${variable}”), the shell dynamically substitutes it with the corresponding variable’s value during script execution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#the-pitfall-of-unescaped-dollar-signs&quot; id=&quot;markdown-toc-the-pitfall-of-unescaped-dollar-signs&quot;&gt;The Pitfall of Unescaped Dollar Signs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#preventing-variable-interpretation&quot; id=&quot;markdown-toc-preventing-variable-interpretation&quot;&gt;Preventing Variable Interpretation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#alternatives-single-quotes&quot; id=&quot;markdown-toc-alternatives-single-quotes&quot;&gt;Alternatives: Single Quotes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-pitfall-of-unescaped-dollar-signs&quot;&gt;The Pitfall of Unescaped Dollar Signs&lt;/h2&gt;

&lt;p&gt;Consider the following script snippet:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Password = &quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$6$px2$rvq&lt;/span&gt;/gQLkd5Tr9yMatJukZBXK54clYaOslgMGTWi1TpfM7htA4qhP2cUAVaTd69nnMLWp2tpCUzMLQTxpQiaaa.&lt;span class=&quot;s2&quot;&gt;&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In this case, the shell interprets $6, $px2, and $rvq as variable references. If these variables do not exist in the script, the result may be an empty or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;random value&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;preventing-variable-interpretation&quot;&gt;Preventing Variable Interpretation&lt;/h2&gt;

&lt;p&gt;To avoid variable interpretation and ensure the literal usage of dollar signs, you can escape them using a backslash:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Password = &quot;&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\$&lt;/span&gt;6&lt;span class=&quot;se&quot;&gt;\$&lt;/span&gt;px2&lt;span class=&quot;se&quot;&gt;\$&lt;/span&gt;rvq/gQLkd5Tr9yMatJukZBXK54clYaOslgMGTWi1TpfM7htA4qhP2cUAVaTd69nnMLWp2tpCUzMLQTxpQiaaa.&lt;span class=&quot;s2&quot;&gt;&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The backslash before each dollar sign informs the shell to treat it as a literal character rather than initiating variable substitution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;alternatives-single-quotes&quot;&gt;Alternatives: Single Quotes&lt;/h2&gt;

&lt;p&gt;Alternatively, you can use single quotes to encapsulate the entire string, preventing any form of variable substitution:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;s1&quot;&gt;&apos;Password = &quot;$6$px2$rvq/gQLkd5Tr9yMatJukZBXK54clYaOslgMGTWi1TpfM7htA4qhP2cUAVaTd69nnMLWp2tpCUzMLQTxpQiaaa.&quot;&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;By using single quotes, the entire string is treated as a literal, and no variable substitution takes place.&lt;/p&gt;

&lt;p&gt;Understanding the intricacies of special characters in Bash scripting, such as the dollar sign, is crucial for writing robust and error-free scripts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Mastering the nuances of special characters in Bash scripting, such as the dollar sign &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;($)&lt;/code&gt;, is fundamental for crafting reliable and efficient scripts. While the dollar sign serves as a powerful tool for variable substitution, it can also introduce unexpected behavior if not used carefully, especially within bash scripts.&lt;/p&gt;

&lt;p&gt;In our exploration, we discovered that unescaped dollar signs within double quotes may lead to unintended variable interpretation. To mitigate this, we learned the importance of escaping dollar signs using a backslash or opting for single quotes to preserve the literal meaning of the entire string.&lt;/p&gt;

&lt;p&gt;By understanding how the dollar sign interacts with variables and employing best practices for its usage, scriptwriters can ensure the smooth execution of their Bash scripts. Remember, clarity and precision are key when navigating the world of shell scripting, and a keen awareness of special characters contributes to the mastery of this versatile scripting language.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about variables, refer to &lt;a href=&quot;https://www.bashsupport.com/manual/editor/documentation/&quot;&gt;this documentation&lt;/a&gt; about variables, variable declarations, functions and commands!!!&lt;/p&gt;
</description>
        <pubDate>Mon, 05 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_dollar_sign_in_bash/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_dollar_sign_in_bash/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>bash</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Creating a Custom Alias</title>
        <description>&lt;p&gt;If you often find yourself typing a lengthy command for a specific task, creating a custom alias can significantly simplify your workflow. In this guide, we’ll walk through the steps of creating an alias for a command of your choice in your Bash configuration.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#why-create-an-alias&quot; id=&quot;markdown-toc-why-create-an-alias&quot;&gt;Why Create an Alias?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#steps-to-create-the-alias&quot; id=&quot;markdown-toc-steps-to-create-the-alias&quot;&gt;Steps to Create the Alias&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-open-your-bash-configuration-file&quot; id=&quot;markdown-toc-1-open-your-bash-configuration-file&quot;&gt;1. Open your Bash Configuration File&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-add-the-alias&quot; id=&quot;markdown-toc-2-add-the-alias&quot;&gt;2. Add the Alias&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-save-and-exit&quot; id=&quot;markdown-toc-3-save-and-exit&quot;&gt;3. Save and Exit&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-reload-the-bash-configuration&quot; id=&quot;markdown-toc-4-reload-the-bash-configuration&quot;&gt;4. Reload the Bash Configuration&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#testing-the-alias&quot; id=&quot;markdown-toc-testing-the-alias&quot;&gt;Testing the Alias&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-create-an-alias&quot;&gt;Why Create an Alias?&lt;/h2&gt;

&lt;p&gt;Long and complex commands can be challenging to remember and type accurately every time. With an alias, you can create a short, memorable shortcut for these commands, making your daily tasks more efficient.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;steps-to-create-the-alias&quot;&gt;Steps to Create the Alias&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-open-your-bash-configuration-file&quot;&gt;1. Open your Bash Configuration File&lt;/h3&gt;

&lt;p&gt;The first step is to open your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; file. This file contains configurations for your Bash shell.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vi ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-add-the-alias&quot;&gt;2. Add the Alias&lt;/h3&gt;

&lt;p&gt;Scroll to the end of the file and add the following line, replacing &lt;YourCommand&gt; with the command for which you want to create an alias:&lt;/YourCommand&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;alias &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;custom_alias&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;&amp;lt;YourCommand&amp;gt;&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Example, instead of running the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo -u bacula /opt/bacula/bin/bconsole&lt;/code&gt; to open the bconsole application, you can simply run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bconsole&lt;/code&gt; by adding the below line to the ~./bashrc file.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;alias &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;bconsole&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;sudo -u bacula /opt/bacula/bin/bconsole&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-save-and-exit&quot;&gt;3. Save and Exit&lt;/h3&gt;

&lt;p&gt;Save the changes to the file and exit the text editor.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:wq!&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-reload-the-bash-configuration&quot;&gt;4. Reload the Bash Configuration&lt;/h3&gt;

&lt;p&gt;To apply the changes, reload the Bash configuration:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;source&lt;/span&gt; ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;testing-the-alias&quot;&gt;Testing the Alias&lt;/h3&gt;

&lt;p&gt;Now simply running the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bconsole&lt;/code&gt; command will successfully launch the bconsole application.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;Creating a custom alias in your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bashrc&lt;/code&gt; file is a simple yet powerful way to enhance your command-line experience. It not only saves time by reducing the amount of typing required but also adds a layer of personalization to your workflow.&lt;/p&gt;

&lt;p&gt;As you become more comfortable with creating aliases, consider exploring additional customization options for your Bash shell. Whether you’re a seasoned developer, system administrator, or casual user, tailoring your command-line environment to suit your preferences can lead to increased productivity and a more enjoyable computing experience.&lt;/p&gt;
</description>
        <pubDate>Fri, 02 Feb 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/creating_custom_alias/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/creating_custom_alias/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>bash</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Unleashing Power and Performance - PowerEdge R650xs Rack Server</title>
        <description>&lt;p&gt;In the fast-paced landscape of enterprise IT, choosing the right server solution is crucial for ensuring optimal performance, scalability, and reliability. The PowerEdge R650xs Rack Server by Dell stands out as a powerhouse, offering a robust set of features and benefits that cater to the demands of modern data centers. This detailed blog post dives into the key aspects that make the PowerEdge R650xs a compelling choice.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#features&quot; id=&quot;markdown-toc-features&quot;&gt;Features:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-processor-powerhouse&quot; id=&quot;markdown-toc-1-processor-powerhouse&quot;&gt;1. &lt;strong&gt;Processor Powerhouse:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-memory-scalability&quot; id=&quot;markdown-toc-2-memory-scalability&quot;&gt;2. &lt;strong&gt;Memory Scalability:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-storage-flexibility&quot; id=&quot;markdown-toc-3-storage-flexibility&quot;&gt;3. &lt;strong&gt;Storage Flexibility:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-gpu-acceleration&quot; id=&quot;markdown-toc-4-gpu-acceleration&quot;&gt;4. &lt;strong&gt;GPU Acceleration:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-integrated-security-features&quot; id=&quot;markdown-toc-5-integrated-security-features&quot;&gt;5. &lt;strong&gt;Integrated Security Features:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-redundancy-and-reliability&quot; id=&quot;markdown-toc-6-redundancy-and-reliability&quot;&gt;6. &lt;strong&gt;Redundancy and Reliability:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits&quot; id=&quot;markdown-toc-benefits&quot;&gt;Benefits:&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-performance-optimization&quot; id=&quot;markdown-toc-1-performance-optimization&quot;&gt;1. &lt;strong&gt;Performance Optimization:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-scalability-for-future-growth&quot; id=&quot;markdown-toc-2-scalability-for-future-growth&quot;&gt;2. &lt;strong&gt;Scalability for Future Growth:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-ease-of-management&quot; id=&quot;markdown-toc-3-ease-of-management&quot;&gt;3. &lt;strong&gt;Ease of Management:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-cost-efficiency&quot; id=&quot;markdown-toc-4-cost-efficiency&quot;&gt;4. &lt;strong&gt;Cost-Efficiency:&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion:&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;features&quot;&gt;Features:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-processor-powerhouse&quot;&gt;1. &lt;strong&gt;Processor Powerhouse:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The PowerEdge R650xs is equipped with the latest Intel Xeon processors, providing unparalleled processing power for demanding workloads.&lt;/li&gt;
  &lt;li&gt;Multi-core configurations enable parallel processing, enhancing overall system efficiency.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-memory-scalability&quot;&gt;2. &lt;strong&gt;Memory Scalability:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Supporting up to 4TB of DDR4 RAM, the R650xs ensures that memory-intensive applications run seamlessly.&lt;/li&gt;
  &lt;li&gt;High memory bandwidth accelerates data access, improving overall system responsiveness.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-storage-flexibility&quot;&gt;3. &lt;strong&gt;Storage Flexibility:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The server offers a range of storage options, including support for SAS, SATA, and NVMe drives.&lt;/li&gt;
  &lt;li&gt;Configurable storage allows for the creation of flexible storage architectures tailored to specific business needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-gpu-acceleration&quot;&gt;4. &lt;strong&gt;GPU Acceleration:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;With support for GPU acceleration, the R650xs excels in tasks such as AI, machine learning, and graphic-intensive workloads.&lt;/li&gt;
  &lt;li&gt;Dell’s GPU solutions enhance parallel processing capabilities for accelerated data analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-integrated-security-features&quot;&gt;5. &lt;strong&gt;Integrated Security Features:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Hardware-based security features, including Secure Boot and System Lockdown, protect the server against unauthorized access and tampering.&lt;/li&gt;
  &lt;li&gt;TPM 2.0 adds an extra layer of data security, crucial for safeguarding sensitive information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-redundancy-and-reliability&quot;&gt;6. &lt;strong&gt;Redundancy and Reliability:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Hot-swappable power supplies and fans ensure continuous operation, minimizing downtime.&lt;/li&gt;
  &lt;li&gt;ECC memory and fault-tolerant design contribute to a reliable computing environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits&quot;&gt;Benefits:&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-performance-optimization&quot;&gt;1. &lt;strong&gt;Performance Optimization:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The combination of powerful processors, ample memory, and storage options allows organizations to optimize their workloads for maximum efficiency.&lt;/li&gt;
  &lt;li&gt;The server is designed to handle resource-intensive applications and databases with ease.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-scalability-for-future-growth&quot;&gt;2. &lt;strong&gt;Scalability for Future Growth:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The modular and scalable design of the R650xs accommodates future expansion requirements.&lt;/li&gt;
  &lt;li&gt;Businesses can scale compute, storage, and GPU capabilities based on evolving workload demands.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-ease-of-management&quot;&gt;3. &lt;strong&gt;Ease of Management:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Dell’s OpenManage Enterprise simplifies server management with comprehensive tools for monitoring, updating, and configuring.&lt;/li&gt;
  &lt;li&gt;Integrated iDRAC with Lifecycle Controller streamlines deployment and ongoing maintenance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-cost-efficiency&quot;&gt;4. &lt;strong&gt;Cost-Efficiency:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;The PowerEdge R650xs delivers a cost-effective solution with a balanced combination of performance and scalability.&lt;/li&gt;
  &lt;li&gt;Energy-efficient design contributes to lower operational costs over the server’s lifecycle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion:&lt;/h2&gt;

&lt;p&gt;The PowerEdge R650xs Rack Server is a testament to Dell’s commitment to delivering cutting-edge solutions for modern data centers. With a focus on performance, scalability, and reliability, this server caters to the diverse needs of enterprises seeking a robust and future-ready infrastructure. Investing in the  &lt;a href=&quot;https://www.dell.com/en-us/shop/dell-poweredge-servers/poweredge-r650xs-rack-server/spd/poweredge-r650xs/pe_r650xs_tm_vi_vp_sb&quot;&gt;PowerEdge R650xs Rack Server&lt;/a&gt; ensures not just meeting current requirements but also preparing for the evolving demands of tomorrow’s IT landscape.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this server, refer to PowerEdge R650xs Rack Server’s &lt;a href=&quot;https://i.dell.com/sites/csdocuments/Product_Docs/en/r650xs-spec-sheet.pdf&quot;&gt;spec sheet&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Tue, 30 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/dell_poweredge_r650xs/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/dell_poweredge_r650xs/</guid>
        
        <category>server</category>
        
        <category>dell</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Deep Dive into the Juniper EX4400-48P Networking Switch</title>
        <description>&lt;p&gt;In the realm of networking, the Juniper EX4400-48P Networking Switch stands out as a powerhouse that brings together advanced features to elevate network performance. This comprehensive overview will shed light on the exceptional attributes and advantages offered by the Juniper EX4400-48P, making it a compelling choice for an evolving network infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-high-performance-excellence&quot; id=&quot;markdown-toc-1-high-performance-excellence&quot;&gt;1. &lt;strong&gt;High-Performance Excellence&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-48-ports-with-poe-efficiency&quot; id=&quot;markdown-toc-2-48-ports-with-poe-efficiency&quot;&gt;2. &lt;strong&gt;48 Ports with PoE+ Efficiency&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-versatile-virtual-chassis-architecture&quot; id=&quot;markdown-toc-3-versatile-virtual-chassis-architecture&quot;&gt;3. &lt;strong&gt;Versatile Virtual Chassis Architecture&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-advanced-security-fortifications&quot; id=&quot;markdown-toc-4-advanced-security-fortifications&quot;&gt;4. &lt;strong&gt;Advanced Security Fortifications&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-adaptability-in-deployment&quot; id=&quot;markdown-toc-5-adaptability-in-deployment&quot;&gt;5. &lt;strong&gt;Adaptability in Deployment&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-junos-os-a-trusted-operating-system&quot; id=&quot;markdown-toc-6-junos-os-a-trusted-operating-system&quot;&gt;6. &lt;strong&gt;Junos OS: A Trusted Operating System&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits&quot; id=&quot;markdown-toc-benefits&quot;&gt;Benefits&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-enhanced-network-efficiency&quot; id=&quot;markdown-toc-1-enhanced-network-efficiency&quot;&gt;1. &lt;strong&gt;Enhanced Network Efficiency&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-cost-effective-power-delivery&quot; id=&quot;markdown-toc-2-cost-effective-power-delivery&quot;&gt;2. &lt;strong&gt;Cost-Effective Power Delivery&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-simplified-network-management&quot; id=&quot;markdown-toc-3-simplified-network-management&quot;&gt;3. &lt;strong&gt;Simplified Network Management&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-robust-security-measures&quot; id=&quot;markdown-toc-4-robust-security-measures&quot;&gt;4. &lt;strong&gt;Robust Security Measures&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-scalable-for-future-growth&quot; id=&quot;markdown-toc-5-scalable-for-future-growth&quot;&gt;5. &lt;strong&gt;Scalable for Future Growth&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-high-performance-excellence&quot;&gt;1. &lt;strong&gt;High-Performance Excellence&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;At the core of the Juniper EX4400-48P is a cutting-edge chipset designed for unparalleled performance. With an impressive switching capacity, it effortlessly handles data traffic, ensuring low-latency processing and optimal throughput.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-48-ports-with-poe-efficiency&quot;&gt;2. &lt;strong&gt;48 Ports with PoE+ Efficiency&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;With 48 Gigabit Ethernet ports, the EX4400-48P provides extensive connectivity for diverse devices across the network. Going beyond, it incorporates Power over Ethernet Plus (PoE+) support, simplifying infrastructure by delivering power and data over a single cable. Review more about POE+ &lt;a href=&quot;https://www.versitron.com/blogs/post/poe-vs-poe-vs-poe-switches-know-the-real-difference#:~:text=Like%20a%20PoE%20network%20switch,from%2042.5v%20to%2057v.&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-versatile-virtual-chassis-architecture&quot;&gt;3. &lt;strong&gt;Versatile Virtual Chassis Architecture&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Embracing Virtual Chassis technology, the EX4400-48P enables seamless interconnection and management of multiple switches as a unified entity. This not only streamlines network management but also enhances scalability and fault tolerance.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-advanced-security-fortifications&quot;&gt;4. &lt;strong&gt;Advanced Security Fortifications&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Security takes center stage with the Juniper EX4400-48P, boasting robust features such as &lt;a href=&quot;https://www.juniper.net/documentation/us/en/software/junos/security-services/topics/topic-map/understanding_media_access_control_security_qfx_ex.html&quot;&gt;MACsec encryption&lt;/a&gt;, DHCP snooping, and port security. These measures fortify the network against unauthorized access and potential security threats.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-adaptability-in-deployment&quot;&gt;5. &lt;strong&gt;Adaptability in Deployment&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Whether deployed in a data center, enterprise, or campus network, the Juniper EX4400-48P offers flexibility in connection types, supporting both copper and fiber. This adaptability ensures seamless integration into diverse network architectures.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-junos-os-a-trusted-operating-system&quot;&gt;6. &lt;strong&gt;Junos OS: A Trusted Operating System&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Running on the proven &lt;a href=&quot;https://www.juniper.net/documentation/us/en/software/junos/junos-overview/topics/concept/junos-software-introduction.html&quot;&gt;Junos Operating System&lt;/a&gt;, the EX4400-48P inherits the reliability, flexibility, and scalability synonymous with Juniper. This operating system simplifies configuration tasks and ensures a consistent and feature-rich environment.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits&quot;&gt;Benefits&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-enhanced-network-efficiency&quot;&gt;1. &lt;strong&gt;Enhanced Network Efficiency&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;The EX4400-48P’s high switching capacity and low-latency performance contribute to a responsive network, enhancing overall operational efficiency. Users experience faster data access and reduced congestion, translating to increased productivity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-cost-effective-power-delivery&quot;&gt;2. &lt;strong&gt;Cost-Effective Power Delivery&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;By incorporating Power over Ethernet Plus support, the switch eliminates the need for separate power sources. This not only simplifies infrastructure but also results in cost savings, positioning the Juniper EX4400-48P as a cost-effective solution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-simplified-network-management&quot;&gt;3. &lt;strong&gt;Simplified Network Management&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Virtual Chassis technology simplifies network management by treating multiple switches as a cohesive unit. This streamlines configuration changes, reduces operational overhead, and provides a unified view of the network.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-robust-security-measures&quot;&gt;4. &lt;strong&gt;Robust Security Measures&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;Advanced security features ensure a robust security posture, safeguarding against potential threats. The inclusion of MACsec encryption and port security contributes to data protection and compliance with regulatory requirements.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-scalable-for-future-growth&quot;&gt;5. &lt;strong&gt;Scalable for Future Growth&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;The flexibility of the Juniper EX4400-48P positions it as a scalable solution, capable of adapting to evolving network requirements. It accommodates growth seamlessly, supporting the addition of new devices and expanding network capabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In conclusion, the Juniper EX4400-48P Networking Switch stands as a compelling choice for organizations seeking a powerful, reliable, and secure networking solution. With its feature-rich design and numerous benefits, it proves to be an investment that not only meets current network demands but also anticipates and prepares for future challenges.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about this switch, refer to &lt;a href=&quot;https://www.juniper.net/us/en/products/switches/ex-series/ex4400-ethernet-switch.html&quot;&gt;EX4400-48P Networking Switch&lt;/a&gt; webpage on the Juniper Networks website!&lt;/p&gt;
</description>
        <pubDate>Sat, 27 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/reviews/juniper_ex4400_switch/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/reviews/juniper_ex4400_switch/</guid>
        
        <category>networking</category>
        
        <category>switch</category>
        
        <category>juniper</category>
        
        <category>reviews</category>
        
        
        <category>Reviews</category>
        
      </item>
    
      <item>
        <title>Enabling SSH While FIPS Mode is Enabled on RHEL</title>
        <description>&lt;p&gt;Maintaining stringent security measures without hindering accessibility is a paramount concern, especially in environments employing Federal Information Processing Standards (FIPS). Enforcing FIPS mode can bolster security, but it sometimes restricts remote access, including SSH connections.&lt;/p&gt;

&lt;p&gt;In the realm of secure communication between systems, generating SSH keys plays a pivotal role. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen&lt;/code&gt; command allows users to create cryptographic keys used for authenticating and securing connections.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-ecdsa-key-generation&quot; id=&quot;markdown-toc-understanding-the-ecdsa-key-generation&quot;&gt;Understanding the ECDSA Key Generation&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#the-importance-of-key-size&quot; id=&quot;markdown-toc-the-importance-of-key-size&quot;&gt;The Importance of Key Size&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#why-ecdsa-keys&quot; id=&quot;markdown-toc-why-ecdsa-keys&quot;&gt;Why ECDSA Keys?&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#significance-of-generating-the-ecdsa-key&quot; id=&quot;markdown-toc-significance-of-generating-the-ecdsa-key&quot;&gt;Significance of Generating the ECDSA Key&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disabling-fips-on-the-remote-machine&quot; id=&quot;markdown-toc-disabling-fips-on-the-remote-machine&quot;&gt;Disabling FIPS on the Remote Machine&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#generating-ssh-key-and-enabling-fips-again&quot; id=&quot;markdown-toc-generating-ssh-key-and-enabling-fips-again&quot;&gt;Generating SSH Key and Enabling FIPS Again&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#re-enabling-fips-and-accessing-via-ssh&quot; id=&quot;markdown-toc-re-enabling-fips-and-accessing-via-ssh&quot;&gt;Re-Enabling FIPS and Accessing via SSH&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#confirming-fips-status&quot; id=&quot;markdown-toc-confirming-fips-status&quot;&gt;Confirming FIPS Status&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-ecdsa-key-generation&quot;&gt;Understanding the ECDSA Key Generation&lt;/h2&gt;

&lt;p&gt;When it comes to SSH key generation, specifying the right algorithm and key size is crucial for robust security. The command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen -t ecdsa -b 384&lt;/code&gt; is significant in this context. It generates an Elliptic Curve Digital Signature Algorithm (ECDSA) key of 384 bits.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-t ecdsa&lt;/code&gt;: Specifies the key type as ECDSA.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-b 384&lt;/code&gt;: Sets the key size to 384 bits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;the-importance-of-key-size&quot;&gt;The Importance of Key Size&lt;/h3&gt;

&lt;p&gt;The key size directly impacts security. Larger key sizes usually mean stronger security but might require more computational resources. The ECDSA algorithm with a 384-bit key size is considered secure and robust, providing a balance between computational efficiency and security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;why-ecdsa-keys&quot;&gt;Why ECDSA Keys?&lt;/h3&gt;

&lt;p&gt;ECDSA keys are based on elliptic curve cryptography, offering resilience against potential attacks, including those from quantum computers. These keys provide a high level of security for data transmission and user authentication.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;significance-of-generating-the-ecdsa-key&quot;&gt;Significance of Generating the ECDSA Key&lt;/h2&gt;

&lt;p&gt;The ECDSA key generated using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen -t ecdsa -b 384&lt;/code&gt; comprises a public-private key pair. The private key remains with the user, while the public key is shared across systems. This pair is integral to secure communication:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Authentication:&lt;/strong&gt; The public key is stored on servers or systems to authenticate the user attempting to access them.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; The private key encrypts data, ensuring secure communication between systems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disabling-fips-on-the-remote-machine&quot;&gt;Disabling FIPS on the Remote Machine&lt;/h2&gt;

&lt;p&gt;When encountering issues with SSH while FIPS is enabled, temporarily disabling FIPS facilitates remote access. Here are the steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Disable FIPS:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fips-mode-setup &lt;span class=&quot;nt&quot;&gt;--disable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reboot:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;reboot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;generating-ssh-key-and-enabling-fips-again&quot;&gt;Generating SSH Key and Enabling FIPS Again&lt;/h2&gt;

&lt;p&gt;With FIPS temporarily disabled, proceed to generate an SSH key for the remote host and copy it to the inaccessible machine:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Generate SSH Key for Remote Host:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; ssh-keygen &lt;span class=&quot;nt&quot;&gt;-t&lt;/span&gt; ecdsa &lt;span class=&quot;nt&quot;&gt;-b&lt;/span&gt; 384
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Copy SSH Key to the Remote Machine:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; ssh-copy-id &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt; ~/.ssh/id_ecdsa.pub admin@IPADDRESS/HOSTNAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;re-enabling-fips-and-accessing-via-ssh&quot;&gt;Re-Enabling FIPS and Accessing via SSH&lt;/h2&gt;

&lt;p&gt;Now, re-enable FIPS on the remote machine to reinstate heightened security:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Enable FIPS:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fips-mode-setup &lt;span class=&quot;nt&quot;&gt;--enable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reboot:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; reboot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;SSH Into the Machine:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; ssh username@IPADDRESS/HOSTNAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;confirming-fips-status&quot;&gt;Confirming FIPS Status&lt;/h2&gt;

&lt;p&gt;To ensure FIPS mode is reactivated post-access restoration:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Enable FIPS:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fips-mode-setup &lt;span class=&quot;nt&quot;&gt;--check&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Creating an ECDSA key with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen -t ecdsa -b 384&lt;/code&gt; is crucial for establishing secure connections. The chosen algorithm and key size significantly impact the level of security and resilience against potential threats, making it a fundamental step in ensuring secure communication in a networked environment. Taking this step will allow you to securing SSH into a machine while FIPS mode is enabled.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about ECDSA, refer to &lt;a href=&quot;https://ecdsa.readthedocs.io/en/latest/&quot;&gt;this&lt;/a&gt; article!&lt;/p&gt;
</description>
        <pubDate>Wed, 24 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/enabling_ssh_in_fips_mode/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/enabling_ssh_in_fips_mode/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring IDENT Authentication Method</title>
        <description>&lt;p&gt;In the realm of networking and system authentication, the IDENT authentication method plays a crucial role, especially in services like RADIUS (Remote Authentication Dial-In User Service) or TACACS+ (Terminal Access Controller Access-Control System Plus).&lt;/p&gt;

&lt;p&gt;In this blog post, we delve into the intricate world of IDENT authentication, uncovering its role in networking and system authentication protocols. Understanding this authentication method is paramount in comprehending its significance in fortifying network security and ensuring seamless user access across diverse systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#what-is-ident-authentication&quot; id=&quot;markdown-toc-what-is-ident-authentication&quot;&gt;What is IDENT Authentication?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-ident-authentication-works&quot; id=&quot;markdown-toc-how-ident-authentication-works&quot;&gt;How IDENT Authentication Works&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#authentication-request&quot; id=&quot;markdown-toc-authentication-request&quot;&gt;Authentication Request&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#server-verification&quot; id=&quot;markdown-toc-server-verification&quot;&gt;Server Verification&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#access-granteddenied&quot; id=&quot;markdown-toc-access-granteddenied&quot;&gt;Access Granted/Denied&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-ident-authentication&quot; id=&quot;markdown-toc-benefits-of-ident-authentication&quot;&gt;Benefits of IDENT Authentication&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#protocol-specific-configurations&quot; id=&quot;markdown-toc-protocol-specific-configurations&quot;&gt;Protocol-Specific Configurations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;what-is-ident-authentication&quot;&gt;What is IDENT Authentication?&lt;/h2&gt;

&lt;p&gt;IDENT authentication serves as a mechanism for network devices, typically routers or switches, to delegate authentication requests to a centralized authentication server. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PostgreSQL&lt;/code&gt;, a powerful open-source relational database system, is one notable service that utilizes IDENT for authentication purposes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-ident-authentication-works&quot;&gt;How IDENT Authentication Works&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;authentication-request&quot;&gt;Authentication Request&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;User Access Attempt:&lt;/strong&gt; When a user endeavors to access a network device, such as a router or switch, the device initiates an authentication request.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Credential Forwarding:&lt;/strong&gt; The device transmits the user’s credentials, which typically include a username, password, or other relevant information, to a designated authentication server, often a RADIUS server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;server-verification&quot;&gt;Server Verification&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Authentication Server Processing:&lt;/strong&gt; The RADIUS server receives the authentication request and proceeds to verify the user’s credentials against its secure database.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Acknowledgment:&lt;/strong&gt; Upon successful verification, the RADIUS server sends an acknowledgment (acceptance) back to the network device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;access-granteddenied&quot;&gt;Access Granted/Denied&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Access Approval:&lt;/strong&gt; With the acknowledgment from the RADIUS server, the network device grants access to the user, allowing them to utilize network services.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Access Rejection:&lt;/strong&gt; If the authentication process fails, access is denied, preventing the user from accessing the network device or its associated services.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-ident-authentication&quot;&gt;Benefits of IDENT Authentication&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Centralized Management:&lt;/strong&gt; IDENT authentication enables centralized user authentication, facilitating streamlined management and control over access to network devices.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Enhanced Security:&lt;/strong&gt; Storing and managing user credentials in a central server enhances security by reducing the risk associated with dispersed credentials on individual network devices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;protocol-specific-configurations&quot;&gt;Protocol-Specific Configurations&lt;/h2&gt;

&lt;p&gt;It’s crucial to note that the specifics of the IDENT authentication method may vary based on the particular protocol implementation and the configurations set up within the network environment.&lt;/p&gt;

&lt;p&gt;Understanding IDENT authentication provides valuable insights into how &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PostgreSQL&lt;/code&gt; and other services ensure secure and centralized user access within networking infrastructures.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The IDENT authentication method serves as a linchpin in network security, offering a centralized approach to user authentication across various services and systems. Its utilization in services like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PostgreSQL&lt;/code&gt; exemplifies the versatility and reliability of this mechanism.&lt;/p&gt;

&lt;p&gt;With IDENT authentication, the ability to channel authentication requests to a centralized server ensures efficient management of user access while fortifying security measures. This approach not only streamlines administration but also mitigates risks associated with decentralized credential storage.&lt;/p&gt;

&lt;p&gt;Understanding the core principles of IDENT authentication illuminates its significance in bolstering the security infrastructure of networking environments. Its role in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PostgreSQL&lt;/code&gt; and other services underscores its relevance in today’s interconnected digital landscape.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about IDENT authentication, refer to &lt;a href=&quot;https://www.postgresql.org/docs/current/auth-ident.html&quot;&gt;this&lt;/a&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PostgreSQL&lt;/code&gt; article.&lt;/p&gt;
</description>
        <pubDate>Sun, 21 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/exploring_ident_authentication/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/exploring_ident_authentication/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>security</category>
        
        <category>authentication</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Emacs vs. Vi (Vim) Text Editors</title>
        <description>&lt;p&gt;The world of text editors is rich and diverse, offering various tools tailored to different needs and preferences. Among these, Emacs and Vi (Vim) stand out as stalwarts, each with its unique philosophy, features, and dedicated following. Let’s delve into the timeless debate between these two iconic text editors.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#emacs-the-extensible-editor&quot; id=&quot;markdown-toc-emacs-the-extensible-editor&quot;&gt;Emacs: The Extensible Editor&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;&lt;strong&gt;Pros&lt;/strong&gt;:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;&lt;strong&gt;Cons&lt;/strong&gt;:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#vi-vim-the-efficient-modal-editor&quot; id=&quot;markdown-toc-vi-vim-the-efficient-modal-editor&quot;&gt;Vi (Vim): The Efficient Modal Editor&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-1&quot; id=&quot;markdown-toc-pros-1&quot;&gt;&lt;strong&gt;Pros&lt;/strong&gt;:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-1&quot; id=&quot;markdown-toc-cons-1&quot;&gt;&lt;strong&gt;Cons&lt;/strong&gt;:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-debate-and-user-preferences&quot; id=&quot;markdown-toc-the-debate-and-user-preferences&quot;&gt;The Debate and User Preferences&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;emacs-the-extensible-editor&quot;&gt;Emacs: The Extensible Editor&lt;/h2&gt;

&lt;p&gt;Emacs is more than just a text editor; it’s a customizable environment that allows users to tailor their editing experience. Known for its extensibility through Emacs Lisp, this editor offers a vast array of functionalities:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;&lt;strong&gt;Pros&lt;/strong&gt;:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Customizable Interface&lt;/strong&gt;: Emacs boasts an extensive set of built-in functions and allows users to define their own commands and macros.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Major Modes and Packages&lt;/strong&gt;: With various major modes for programming languages and a vast library of packages, Emacs can be adapted to suit almost any task.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Integrated Environment&lt;/strong&gt;: It supports email, news reading, web browsing, and even games, making it an all-encompassing editing environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;&lt;strong&gt;Cons&lt;/strong&gt;:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Steep Learning Curve&lt;/strong&gt;: Mastering Emacs can take time due to its extensive capabilities and customization options.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Resource Intensive&lt;/strong&gt;: Emacs might consume more system resources compared to lighter-weight editors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;vi-vim-the-efficient-modal-editor&quot;&gt;Vi (Vim): The Efficient Modal Editor&lt;/h2&gt;

&lt;p&gt;Vi, and its more enhanced version Vim (Vi IMproved), follow a different philosophy. Vim operates in modal editing, dividing the editing process into modes:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros-1&quot;&gt;&lt;strong&gt;Pros&lt;/strong&gt;:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Modes for Every Task&lt;/strong&gt;: Vim has distinct modes for navigating, inserting, and executing commands, enhancing efficiency once the user gets accustomed.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Powerful Features&lt;/strong&gt;: With an extensive array of built-in commands, plugins, and scripting capabilities, Vim is highly customizable.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Speed and Simplicity&lt;/strong&gt;: Vim’s steep learning curve is rewarded with remarkable speed and efficiency in editing tasks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;&lt;strong&gt;Cons&lt;/strong&gt;:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Modal Paradigm&lt;/strong&gt;: The modal editing paradigm might be initially confusing for new users. This is where the editor operates in different modes for navigation, insertion, and command execuution.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Initial Learning Curve&lt;/strong&gt;: Vim’s efficiency comes after a learning phase that might be intimidating for some users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-debate-and-user-preferences&quot;&gt;The Debate and User Preferences&lt;/h2&gt;

&lt;p&gt;The choice between Emacs and Vim often boils down to personal preference and workflow:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Emacs Enthusiasts&lt;/strong&gt; appreciate its extensive customizability and the ability to transform it into an entire development environment.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Vim Advocates&lt;/strong&gt; praise its speed, modal editing paradigm, and the sheer productivity it offers once users master its unique commands.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The Emacs vs. Vi (Vim) debate has transcended generations, with passionate communities on both sides advocating for their preferred editor. Ultimately, the choice between these editors often comes down to individual preferences, workflows, and the specific needs of the user.&lt;/p&gt;

&lt;p&gt;Regardless of the chosen editor, both Emacs and Vim exemplify the richness and versatility of text editors in the world of computing.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Vim, refer to the  &lt;a href=&quot;https://linux.die.net/man/1/vi&quot;&gt;Vi Man Page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;📝 For more information about Emacs, refer to the  &lt;a href=&quot;https://linux.die.net/man/1/emacs&quot;&gt;Emacs Man Page&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 18 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/emacs_vs_vi_text_editors/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/emacs_vs_vi_text_editors/</guid>
        
        <category>linux</category>
        
        <category>rhel</category>
        
        <category>texteditor</category>
        
        <category>administration</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring Red Hat Insights</title>
        <description>&lt;p&gt;Are you looking for a game-changer in system management? Look no further than Red Hat Insights. This powerful tool from Red Hat offers a comprehensive solution for optimizing, securing, and managing your systems efficiently. In this blog post, we’ll delve into the features, benefits, and the impact of Red Hat Insights in modern IT landscapes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-red-hat-insights&quot; id=&quot;markdown-toc-understanding-red-hat-insights&quot;&gt;Understanding Red Hat Insights&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#key-features&quot; id=&quot;markdown-toc-key-features&quot;&gt;Key Features&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#benefits-of-using-red-hat-insights&quot; id=&quot;markdown-toc-benefits-of-using-red-hat-insights&quot;&gt;Benefits of Using Red Hat Insights&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-red-hat-insights-works&quot; id=&quot;markdown-toc-how-red-hat-insights-works&quot;&gt;How Red Hat Insights Works&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#configuration-and-optimization&quot; id=&quot;markdown-toc-configuration-and-optimization&quot;&gt;Configuration and Optimization&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#installing-red-hat-insights-on-your-client-device&quot; id=&quot;markdown-toc-installing-red-hat-insights-on-your-client-device&quot;&gt;Installing Red Hat Insights on Your Client Device&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#1-creating-a-red-hat-developer-account&quot; id=&quot;markdown-toc-1-creating-a-red-hat-developer-account&quot;&gt;1. Creating a Red Hat Developer Account&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#2-subscription-manager-configuration&quot; id=&quot;markdown-toc-2-subscription-manager-configuration&quot;&gt;2. Subscription Manager Configuration&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#3-install-necessary-packages&quot; id=&quot;markdown-toc-3-install-necessary-packages&quot;&gt;3. Install Necessary Packages&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#4-configuring-user-access-in-red-hat-insights&quot; id=&quot;markdown-toc-4-configuring-user-access-in-red-hat-insights&quot;&gt;4. Configuring User Access in Red Hat Insights&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#5-utilizing-red-hat-insights&quot; id=&quot;markdown-toc-5-utilizing-red-hat-insights&quot;&gt;5. Utilizing Red Hat Insights&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#6-remediating-vulnerabilities&quot; id=&quot;markdown-toc-6-remediating-vulnerabilities&quot;&gt;6. Remediating Vulnerabilities&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-red-hat-insights&quot;&gt;Understanding Red Hat Insights&lt;/h2&gt;

&lt;p&gt;Red Hat Insights is a proactive management tool that analyzes your infrastructure, identifies potential issues, and provides tailored recommendations to improve system performance, security, and stability. With its advanced analytics and machine learning capabilities, Insights brings predictive intelligence to system management.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;key-features&quot;&gt;Key Features&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Predictive Analysis:&lt;/strong&gt; Insights leverages machine learning to forecast potential problems before they occur, allowing proactive resolution.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security Compliance:&lt;/strong&gt; It assesses your system against security standards and offers guidance on achieving and maintaining compliance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Performance Optimization:&lt;/strong&gt; Provides optimization suggestions to enhance system performance and avoid potential bottlenecks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;benefits-of-using-red-hat-insights&quot;&gt;Benefits of Using Red Hat Insights&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Proactive Issue Resolution:&lt;/strong&gt; Detects issues before they impact operations, reducing downtime and system failures.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Increased Security Posture:&lt;/strong&gt; Ensures compliance with security standards and offers actionable insights to bolster system security.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Efficient Resource Utilization:&lt;/strong&gt; Optimizes resource usage based on recommendations, improving overall system efficiency.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;how-red-hat-insights-works&quot;&gt;How Red Hat Insights Works&lt;/h2&gt;

&lt;p&gt;Red Hat Insights operates by collecting data from your infrastructure, performing advanced analysis, and generating actionable recommendations through a user-friendly interface. Insights seamlessly integrates with Red Hat Enterprise Linux (RHEL), offering a streamlined experience for administrators.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;configuration-and-optimization&quot;&gt;Configuration and Optimization&lt;/h3&gt;

&lt;p&gt;The tool allows for granular configuration and optimization, enabling users to tailor recommendations based on their unique infrastructure needs. Red Hat Insights not only diagnoses issues but also provides actionable steps for resolution.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;installing-red-hat-insights-on-your-client-device&quot;&gt;Installing Red Hat Insights on Your Client Device&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;1-creating-a-red-hat-developer-account&quot;&gt;1. Creating a Red Hat Developer Account&lt;/h4&gt;

&lt;p&gt;To begin, visit the &lt;a href=&quot;https://developers.redhat.com/&quot;&gt;Red Hat Developer portal&lt;/a&gt; and sign up for an account if you haven’t already. Follow the registration steps to create your account.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;2-subscription-manager-configuration&quot;&gt;2. Subscription Manager Configuration&lt;/h4&gt;

&lt;p&gt;After creating your account, configure the subscription manager on your client device using the terminal:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;subscription-manager register &lt;span class=&quot;nt&quot;&gt;--username&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;YOUR_USERNAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;em&gt;You will be prompted for a password, enter your RedHat Developers Account Password&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;You will be registered to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subscription.rhsm.redhat.com:443/subscription&lt;/code&gt; after you enter your RedHat Developer password.&lt;/li&gt;
  &lt;li&gt;You will receive a message in the terminal stating that &lt;strong&gt;The system has been registed with ID&lt;/strong&gt; : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RANDOM SET of CHARACTERS&lt;/code&gt;. The registered system name is : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HOSTNAME&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You may follow &lt;a href=&quot;https://blog.johnsonpremier.net/redhat_developer_subscription/&quot;&gt;my previous guide&lt;/a&gt; to obtain a Red Hat Developer Subscription.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;3-install-necessary-packages&quot;&gt;3. Install Necessary Packages&lt;/h4&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;rhc rhc-worker-playbook
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;4-configuring-user-access-in-red-hat-insights&quot;&gt;4. Configuring User Access in Red Hat Insights&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Login to Red Hat Insights&lt;/strong&gt;: Go to the Red Hat Insights dashboard and log in using your Red Hat Developer account credentials.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Navigate to User Access Section&lt;/strong&gt;: Go to the “User Access” or “User Management” section (might vary based on the dashboard version).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Create a Remediation Admin Group&lt;/strong&gt;: Click on “Create Group” and name it as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Remediation Admin&lt;/code&gt; or similar.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Add Users to the Group&lt;/strong&gt;: Select the group you just created and click on “Add User.” Enter the necessary user details or usernames to add them to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Remediation Admin&lt;/code&gt; group.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;5-utilizing-red-hat-insights&quot;&gt;5. Utilizing Red Hat Insights&lt;/h4&gt;

&lt;p&gt;With the installation and user access configured, access the Insights dashboard to view system analysis, security assessments, and potential vulnerabilities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;6-remediating-vulnerabilities&quot;&gt;6. Remediating Vulnerabilities&lt;/h4&gt;

&lt;p&gt;As a member of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Remediation Admin&lt;/code&gt; group, you’ll have the authority to remediate identified vulnerabilities. Follow the instructions within Red Hat Insights to resolve the issues effectively!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Red Hat Insights is a pivotal addition to any system administrator’s toolkit. Its predictive analytics, security assessments, and optimization recommendations transform the way systems are managed, ensuring enhanced performance, security, and stability.&lt;/p&gt;

&lt;p&gt;By following these steps, you’ve successfully installed Red Hat Insights, configured user access, and equipped yourself to address system vulnerabilities efficiently. With its powerful features, Insights empowers you to manage and optimize your system effectively while ensuring security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Red Hat Insights, refer to the  &lt;a href=&quot;https://access.redhat.com/documentation/en-us/red_hat_insights/2023/pdf/client_configuration_guide_for_red_hat_insights/red_hat_insights-2023-client_configuration_guide_for_red_hat_insights-en-us.pdf&quot;&gt;Client Configuration Guide&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Mon, 15 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/exploring_redhat_insights/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/exploring_redhat_insights/</guid>
        
        <category>administration</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding SELinux</title>
        <description>&lt;p&gt;In today’s cyber landscape, robust security measures are non-negotiable. Security-Enhanced Linux (SELinux) emerges as a pivotal framework fortifying systems against vulnerabilities. This section highlights SELinux’s paramount importance in modern computing and the evolving need for fortified security measures.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#unveiling-selinux-components&quot; id=&quot;markdown-toc-unveiling-selinux-components&quot;&gt;Unveiling SELinux Components&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#modes-policies-and-optimal-configurations&quot; id=&quot;markdown-toc-modes-policies-and-optimal-configurations&quot;&gt;Modes, Policies, and Optimal Configurations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#real-world-applications-and-the-path-forward&quot; id=&quot;markdown-toc-real-world-applications-and-the-path-forward&quot;&gt;Real-world Applications and the Path Forward&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-selinux-commands&quot; id=&quot;markdown-toc-understanding-selinux-commands&quot;&gt;Understanding SELinux Commands&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#sestatus&quot; id=&quot;markdown-toc-sestatus&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sestatus&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#setenforce&quot; id=&quot;markdown-toc-setenforce&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setenforce&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#getenforce&quot; id=&quot;markdown-toc-getenforce&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getenforce&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#semanage&quot; id=&quot;markdown-toc-semanage&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;semanage&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#restorecon&quot; id=&quot;markdown-toc-restorecon&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;restorecon&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#audit2allow-and-audit2why&quot; id=&quot;markdown-toc-audit2allow-and-audit2why&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2allow&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2why&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#importance-of-selinux-commands&quot; id=&quot;markdown-toc-importance-of-selinux-commands&quot;&gt;Importance of SELinux Commands&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion-selinux-the-security-sentinel&quot; id=&quot;markdown-toc-conclusion-selinux-the-security-sentinel&quot;&gt;Conclusion: SELinux, the Security Sentinel&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;unveiling-selinux-components&quot;&gt;Unveiling SELinux Components&lt;/h2&gt;

&lt;p&gt;SELinux operates via intricate architecture—policy, contexts, and labels—playing pivotal roles in enforcing robust security policies within systems. This section delves into the complexities of SELinux’s components, shedding light on their functionalities and significance in securing systems.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;modes-policies-and-optimal-configurations&quot;&gt;Modes, Policies, and Optimal Configurations&lt;/h2&gt;

&lt;p&gt;SELinux’s operational modes — &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enforcing&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Permissive&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Disabled&lt;/code&gt; directly influence system security. This section elucidates the impacts of these modes, stressing the importance of effective policy management to ensure optimal security configurations for robust defense.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;real-world-applications-and-the-path-forward&quot;&gt;Real-world Applications and the Path Forward&lt;/h2&gt;

&lt;p&gt;Practical implementations and future trends are key in understanding SELinux’s relevance. This section explores real-world applications, showcasing its efficacy through case studies in diverse environments. Additionally, it delves into future advancements and SELinux’s evolving role in the evolving security landscape.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-selinux-commands&quot;&gt;Understanding SELinux Commands&lt;/h2&gt;

&lt;p&gt;SELinux incorporates a range of commands pivotal for managing security policies, contexts, and enforcement. These commands offer granular control over SELinux configurations, aiding in system defense against potential threats.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sestatus&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sestatus&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sestatus&lt;/code&gt; serves as an entry point for understanding the current SELinux status. It displays the mode (Enforcing, Permissive, or Disabled), policy version, and other critical SELinux configurations. This command is fundamental for gauging the system’s security posture.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;setenforce&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setenforce&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setenforce&lt;/code&gt; command facilitates mode transitions in SELinux. Admins can toggle between Enforcing and Permissive modes using this command. It’s crucial for testing policies in Permissive mode before enforcing them in the system.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;getenforce&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getenforce&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;Similar to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sestatus&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;getenforce&lt;/code&gt; fetches the current SELinux mode. It’s particularly useful for scripting and automation purposes, enabling checks for SELinux mode during system operations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;semanage&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;semanage&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;semanage&lt;/code&gt; allows administrators to configure SELinux policy without editing raw policy files. It enables modifications to SELinux policy booleans, users, ports, and more. This command simplifies policy management, ensuring system-specific customizations without altering policy files directly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;restorecon&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;restorecon&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;When file contexts need adjustments due to policy changes or improper labeling, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;restorecon&lt;/code&gt; is the go-to command. It resets file contexts according to the SELinux policy database, ensuring proper labeling and maintaining system integrity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;audit2allow-and-audit2why&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2allow&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2why&lt;/code&gt;&lt;/h3&gt;

&lt;p&gt;These commands are indispensable for troubleshooting. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2allow&lt;/code&gt; parses audit logs to generate policy module suggestions, aiding in creating custom SELinux policies. Conversely, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;audit2why&lt;/code&gt; translates audit denial messages, offering insights into why specific actions were denied by SELinux.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;importance-of-selinux-commands&quot;&gt;Importance of SELinux Commands&lt;/h2&gt;

&lt;p&gt;These commands empower administrators to navigate and manage SELinux effectively. They streamline policy configuration, mode transitions, troubleshooting, and context adjustments. Understanding and utilizing these commands ensures robust SELinux configuration and fortified system security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion-selinux-the-security-sentinel&quot;&gt;Conclusion: SELinux, the Security Sentinel&lt;/h2&gt;

&lt;p&gt;SELinux stands as a linchpin in securing modern computing systems. Its foundational components, operational modes, effective policy management, and practical implementations are essential for fortifying systems against evolving threats. Understanding SELinux’s role is pivotal in safeguarding systems and ensuring resilient security measures.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about SELinux, refer to the  &lt;a href=&quot;https://selinuxproject.org/page/Main_Page&quot;&gt;SELinux Project Wiki&lt;/a&gt;..&lt;/p&gt;

</description>
        <pubDate>Fri, 12 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_selinux/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_selinux/</guid>
        
        <category>selinux</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Enabling Line Numbers in Vim</title>
        <description>&lt;p&gt;Vim, a powerful text editor, offers various customization options to suit users’ preferences. Enabling line numbers can significantly aid navigation and reference while editing files. Here’s how to set up Vim to display line numbers automatically.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#enabling-line-numbers-in-vim-by-default&quot; id=&quot;markdown-toc-enabling-line-numbers-in-vim-by-default&quot;&gt;Enabling Line Numbers in Vim by Default&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#editing-the-vim-configuration-file&quot; id=&quot;markdown-toc-editing-the-vim-configuration-file&quot;&gt;Editing the Vim Configuration File&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enabling-line-numbers-temporarily&quot; id=&quot;markdown-toc-enabling-line-numbers-temporarily&quot;&gt;Enabling Line Numbers Temporarily&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enabling-line-numbers-in-vim-by-default&quot;&gt;Enabling Line Numbers in Vim by Default&lt;/h2&gt;

&lt;p&gt;To have line numbers displayed by default in Vim, follow these steps:&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;editing-the-vim-configuration-file&quot;&gt;Editing the Vim Configuration File&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Locate the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/vimrc&lt;/code&gt; File:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;   &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vim /etc/vimrc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Add Line Number Configuration:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Within the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/vimrc&lt;/code&gt; file, add the following line :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    &lt;span class=&quot;nb&quot;&gt;set &lt;/span&gt;nu
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command tells Vim to always display line numbers when you open files in the editor.&lt;/p&gt;

&lt;p&gt;Save the changes and either restart Vim or open a new file to see line numbers enabled by default.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enabling-line-numbers-temporarily&quot;&gt;Enabling Line Numbers Temporarily&lt;/h2&gt;

&lt;p&gt;You can also enable line numbers temporarily within the Vim editor by entering the following command within Vim:&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    :set numbers
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command enables line numbers for the current session but doesn’t save the setting for future use.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Customizing Vim settings can significantly enhance your editing experience. Enabling line numbers by default is a practical configuration for better navigation and reference while working with multiple files. Utilize this method to streamline your workflow and increase productivity within the Vim text editor.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Vi/Vim, refer to the  &lt;a href=&quot;https://linux.die.net/man/1/vi&quot;&gt;Vi Man Page&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Tue, 09 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/enabling_vim_line_numbers/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/enabling_vim_line_numbers/</guid>
        
        <category>texteditor</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Troubleshooting Synology NAS Blue Blinking Light</title>
        <description>&lt;p&gt;Synology NAS devices are known for their reliability, but encountering issues such as the blue blinking light can be concerning for users. This light often signals various problems, and one common but critical solution is checking the power adapter.&lt;/p&gt;

&lt;p&gt;This &lt;a href=&quot;https://www.youtube.com/watch?v=rES1Wwz-HdE&quot;&gt;youtube video&lt;/a&gt; helped me diagnose this problem quickly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-the-blue-blinking-light&quot; id=&quot;markdown-toc-understanding-the-blue-blinking-light&quot;&gt;Understanding the Blue Blinking Light&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#key-solution-check-the-power-adapter&quot; id=&quot;markdown-toc-key-solution-check-the-power-adapter&quot;&gt;Key Solution: Check the Power Adapter&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#why-the-power-adapter-matters&quot; id=&quot;markdown-toc-why-the-power-adapter-matters&quot;&gt;Why the Power Adapter Matters&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#steps-to-address-the-power-adapter-issue&quot; id=&quot;markdown-toc-steps-to-address-the-power-adapter-issue&quot;&gt;Steps to Address the Power Adapter Issue&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#where-to-find-a-replacement&quot; id=&quot;markdown-toc-where-to-find-a-replacement&quot;&gt;Where to Find a Replacement&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-blue-blinking-light&quot;&gt;Understanding the Blue Blinking Light&lt;/h2&gt;

&lt;p&gt;A blue blinking status LED indicates multiple potential issues:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;System Booting or Updating:&lt;/strong&gt; Routine startup or firmware updates.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Safe Mode:&lt;/strong&gt; Triggered due to a problem or improper shutdown.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;System Error:&lt;/strong&gt; A critical issue might have occurred.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-solution-check-the-power-adapter&quot;&gt;Key Solution: Check the Power Adapter&lt;/h2&gt;

&lt;p&gt;While several troubleshooting steps can be taken, one often-overlooked yet crucial solution is inspecting the 12V power adapter. Faulty or failing power adapters can trigger erratic behavior, leading to the blue blinking light issue.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;why-the-power-adapter-matters&quot;&gt;Why the Power Adapter Matters&lt;/h3&gt;

&lt;p&gt;The 12V power adapter is the lifeline of your NAS device. A defective adapter can cause intermittent power supply or inadequate voltage, leading to system instability and triggering the blue rapid blinking light.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;steps-to-address-the-power-adapter-issue&quot;&gt;Steps to Address the Power Adapter Issue&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Inspect the Adapter:&lt;/strong&gt; Check for any physical damage, frayed cables, or signs of overheating on the power adapter. Also, listen for any clicking sounds coming from the power adapter.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Replace if Necessary:&lt;/strong&gt; If you suspect the adapter is faulty or damaged, replacing it with a compatible 12V adapter with the same specifications is recommended.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;where-to-find-a-replacement&quot;&gt;Where to Find a Replacement&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Synology provides official replacement parts, including power adapters, which are specifically designed for their NAS devices.&lt;/li&gt;
  &lt;li&gt;Check the official Synology website or authorized dealers for genuine adapters.&lt;/li&gt;
  &lt;li&gt;You may search Amazon or other retailers for these 12V power adapters. I’ve replaced my Power Adapter in the past with &lt;a href=&quot;https://www.amazon.com/dp/B07MCHNPW7?psc=1&amp;amp;ref=ppx_yo2ov_dt_b_product_details&quot;&gt;this one&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;While troubleshooting the blue blinking light on your Synology NAS, it’s crucial to inspect the 12V power adapter. Often overlooked, a defective adapter can cause significant system issues. Replacing a faulty adapter with a compatible, genuine part can resolve the problem and restore your NAS to normal operation.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Synology NAS’s, refer to the  &lt;a href=&quot;https://community.synology.com/enu&quot;&gt;Synology Community Forum&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 06 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/synology_nas_blinking_blue/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/synology_nas_blinking_blue/</guid>
        
        <category>synology</category>
        
        <category>nas</category>
        
        <category>hardware</category>
        
        <category>failure</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Splunk Configuration Details</title>
        <description>&lt;p&gt;Splunk is a powerful tool for analyzing, monitoring, and visualizing machine-generated data. Setting up Splunk involves a few steps to harness its capabilities fully.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-splunk&quot; id=&quot;markdown-toc-downloading-splunk&quot;&gt;Downloading Splunk&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-and-configuring-splunk&quot; id=&quot;markdown-toc-installing-and-configuring-splunk&quot;&gt;Installing and Configuring Splunk&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#necessity-of-splunk-universal-forwarders&quot; id=&quot;markdown-toc-necessity-of-splunk-universal-forwarders&quot;&gt;Necessity of Splunk Universal Forwarders&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#benefits-of-splunk-universal-forwarders&quot; id=&quot;markdown-toc-benefits-of-splunk-universal-forwarders&quot;&gt;Benefits of Splunk Universal Forwarders:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#installing-splunk-universal-forwarders&quot; id=&quot;markdown-toc-installing-splunk-universal-forwarders&quot;&gt;Installing Splunk Universal Forwarders:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-splunk&quot;&gt;Downloading Splunk&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Navigate to the &lt;a href=&quot;https://www.splunk.com/&quot;&gt;Splunk website&lt;/a&gt;&lt;/strong&gt; to download the software.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select the appropriate version:&lt;/strong&gt; Choose the version that aligns with your operating system and requirements.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Download and extract:&lt;/strong&gt; Once downloaded, extract the files to the desired location on your system.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-and-configuring-splunk&quot;&gt;Installing and Configuring Splunk&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Run the installer:&lt;/strong&gt; Follow the installation instructions provided for your specific OS.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Launch Splunk:&lt;/strong&gt; Access Splunk by launching it through the command line or GUI interface, depending on your setup.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;necessity-of-splunk-universal-forwarders&quot;&gt;Necessity of Splunk Universal Forwarders&lt;/h2&gt;

&lt;p&gt;Splunk Universal Forwarders are lightweight versions of Splunk Enterprise used to collect data and send it to a central Splunk instance. They play a pivotal role in aggregating data from various sources and forwarding it to a central Splunk indexer for analysis.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;benefits-of-splunk-universal-forwarders&quot;&gt;Benefits of Splunk Universal Forwarders:&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Data collection:&lt;/strong&gt; Collect data from multiple sources like logs, metrics, and configurations across diverse systems.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Centralized analysis:&lt;/strong&gt; Send collected data securely to a central Splunk instance for analysis and visualization.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reduced load:&lt;/strong&gt; Light on resources, they have minimal impact on the systems they run on.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Real-time data:&lt;/strong&gt; Forward data in real-time for immediate analysis and response to events.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;installing-splunk-universal-forwarders&quot;&gt;Installing Splunk Universal Forwarders:&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Download:&lt;/strong&gt; Get the appropriate Universal Forwarder version from the &lt;a href=&quot;https://www.splunk.com/&quot;&gt;Splunk website&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Install:&lt;/strong&gt; Follow the installation steps provided for your OS.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configuration:&lt;/strong&gt; Configure inputs to specify which data to collect and send to the central Splunk instance.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Splunk Universal Forwarders are invaluable for gathering data from distributed systems, enabling holistic monitoring, and providing comprehensive insights into your infrastructure. I will provide more detailed information about Splunk and its features in a future blog post.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Splunk, with its comprehensive analytics and monitoring capabilities, is a robust tool for managing and analyzing machine-generated data. Coupled with &lt;a href=&quot;https://www.splunk.com/en_us/download/universal-forwarder.html&quot;&gt;Splunk Universal Forwarders&lt;/a&gt;, it forms a powerful system for centralized data collection, analysis, and visualization, offering insights critical for operational efficiency and security enhancement. Incorporating Splunk and its Universal Forwarders into your infrastructure can significantly bolster your data analysis and security efforts!&lt;/p&gt;
</description>
        <pubDate>Wed, 03 Jan 2024 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/splunk_configuration_details/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/splunk_configuration_details/</guid>
        
        <category>splunk</category>
        
        <category>monitoring</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Monitoring the aide.log File</title>
        <description>&lt;p&gt;Maintaining the integrity and security of your systems is paramount. One of the critical components in achieving this is the vigilant monitoring of system logs, particularly the aide.log file. Located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/aide&lt;/code&gt;, this log file is generated by AIDE (Advanced Intrusion Detection Environment), a powerful tool for file and directory integrity checking. The aide.log file records essential information about changes within your file system, making it an invaluable resource for detecting unauthorized modifications and potential security breaches.&lt;/p&gt;

&lt;p&gt;This blog post delves into the importance of regularly monitoring the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; file, highlighting its role in identifying system changes, providing early detection of security threats, and ensuring compliance and audit trails. Additionally, we explore a range of effective tools that can aid in the monitoring process, from command-line utilities to advanced log analysis platforms like Splunk and the ELK Stack.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#monitoring-the-aidelog-file&quot; id=&quot;markdown-toc-monitoring-the-aidelog-file&quot;&gt;Monitoring the aide.log File&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#importance-of-regularly-monitoring-aidelog&quot; id=&quot;markdown-toc-importance-of-regularly-monitoring-aidelog&quot;&gt;Importance of Regularly Monitoring aide.log&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#identifying-system-changes&quot; id=&quot;markdown-toc-identifying-system-changes&quot;&gt;Identifying System Changes&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#early-detection-of-security-threats&quot; id=&quot;markdown-toc-early-detection-of-security-threats&quot;&gt;Early Detection of Security Threats&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#compliance-and-audit-trails&quot; id=&quot;markdown-toc-compliance-and-audit-trails&quot;&gt;Compliance and Audit Trails&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#effective-tools-for-monitoring-aidelog&quot; id=&quot;markdown-toc-effective-tools-for-monitoring-aidelog&quot;&gt;Effective Tools for Monitoring aide.log&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#1-aide-command-line-utility&quot; id=&quot;markdown-toc-1-aide-command-line-utility&quot;&gt;1. AIDE Command-Line Utility&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#2-splunk&quot; id=&quot;markdown-toc-2-splunk&quot;&gt;2. Splunk&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#3-logwatch&quot; id=&quot;markdown-toc-3-logwatch&quot;&gt;3. Logwatch&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#4-ossec&quot; id=&quot;markdown-toc-4-ossec&quot;&gt;4. OSSEC&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#5-elk-stack-elasticsearch-logstash-and-kibana&quot; id=&quot;markdown-toc-5-elk-stack-elasticsearch-logstash-and-kibana&quot;&gt;5. ELK Stack (Elasticsearch, Logstash, and Kibana)&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h1 id=&quot;monitoring-the-aidelog-file&quot;&gt;Monitoring the aide.log File&lt;/h1&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; file, which is located at /var/log/aide is a critical component for system integrity and security. It contains essential information related to file system changes and is generated by AIDE (Advanced Intrusion Detection Environment), a robust file and directory integrity checker.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;importance-of-regularly-monitoring-aidelog&quot;&gt;Importance of Regularly Monitoring aide.log&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;identifying-system-changes&quot;&gt;Identifying System Changes&lt;/h3&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; file logs alterations in files, directories, and permissions. Regularly reviewing this log allows for the detection of unauthorized modifications, including changes made by malware or potential security breaches.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;early-detection-of-security-threats&quot;&gt;Early Detection of Security Threats&lt;/h3&gt;

&lt;p&gt;Monitoring the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; file provides an early warning system, enabling quick responses to potential security threats or system compromises. It’s an invaluable tool in identifying unusual or suspicious activities that might compromise system integrity.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;compliance-and-audit-trails&quot;&gt;Compliance and Audit Trails&lt;/h3&gt;

&lt;p&gt;For compliance and auditing purposes, maintaining and regularly reviewing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; file ensures adherence to security standards and facilitates audit trails for tracking system changes over time.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;effective-tools-for-monitoring-aidelog&quot;&gt;Effective Tools for Monitoring aide.log&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-aide-command-line-utility&quot;&gt;1. &lt;a href=&quot;https://aide.github.io/&quot;&gt;AIDE Command-Line Utility&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The AIDE command-line utility itself provides extensive options for reviewing the aide.log file. Commands like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide --check&lt;/code&gt; help verify integrity, while &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide --compare&lt;/code&gt; compares the current state with a previously generated database.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-splunk&quot;&gt;2. &lt;a href=&quot;https://www.splunk.com/&quot;&gt;Splunk&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Splunk, a powerful log analysis and monitoring tool, offers comprehensive features for monitoring and analyzing logs. Create custom searches and alerts within Splunk to regularly check the aide.log file for specific events or changes.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-logwatch&quot;&gt;3. &lt;a href=&quot;https://linux.die.net/man/8/logwatch&quot;&gt;Logwatch&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Logwatch is another utility that automatically analyzes system logs, including aide.log, and generates reports. It provides summaries and highlights potential security issues or modifications.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-ossec&quot;&gt;4. &lt;a href=&quot;https://www.ossec.net/&quot;&gt;OSSEC&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;OSSEC is an open-source host-based intrusion detection system. It includes log monitoring capabilities, allowing real-time analysis of logs, including aide.log, and can trigger alerts for suspicious activities.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-elk-stack-elasticsearch-logstash-and-kibana&quot;&gt;5. &lt;a href=&quot;https://www.elastic.co/&quot;&gt;ELK Stack (Elasticsearch, Logstash, and Kibana)&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The ELK Stack offers a robust log management solution. Logstash can be configured to collect logs from aide.log, Elasticsearch provides storage and indexing, while Kibana offers visualization and analysis of log data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Regularly monitoring the aide.log file isn’t just a best practice; it’s a fundamental aspect of ensuring system integrity and security. This log file, generated by AIDE, tracks changes in files, directories, and permissions, offering a crucial window into any alterations within the system.&lt;/p&gt;

&lt;p&gt;By reviewing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aide.log&lt;/code&gt; regularly, you establish an early warning system, detecting potential security threats or unauthorized modifications. It aids in compliance adherence, facilitating audit trails, and provides insights into system changes over time.&lt;/p&gt;

&lt;p&gt;Various tools like AIDE’s command-line utility, Splunk, Logwatch, OSSEC, and ELK Stack offer robust solutions for monitoring and analyzing this log file. Leveraging these tools not only helps in early threat detection but also establishes a proactive security approach, safeguarding your system against potential risks and unauthorized activities.&lt;/p&gt;

&lt;p&gt;Investing in effective log monitoring isn’t just about meeting security standards; it’s about staying ahead of potential threats, minimizing their impact, and maintaining a secure environment for your systems and data. Regularly reviewing the aide.log file ensures you’re proactive in addressing security concerns, contributing to a robust security posture for your systems!&lt;/p&gt;

</description>
        <pubDate>Sun, 31 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/monitoring_aide_log/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/monitoring_aide_log/</guid>
        
        <category>security</category>
        
        <category>log</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Guide to Using Royal TS on macOS</title>
        <description>&lt;p&gt;Royal TS is a robust remote desktop management tool that streamlines the management of multiple remote desktop connections, protocols, and credentials in one intuitive application. This guide walks you through downloading, configuring, and effectively using Royal TS on macOS.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-royal-ts&quot; id=&quot;markdown-toc-downloading-royal-ts&quot;&gt;Downloading Royal TS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#configuring-royal-ts&quot; id=&quot;markdown-toc-configuring-royal-ts&quot;&gt;Configuring Royal TS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-royal-ts&quot; id=&quot;markdown-toc-using-royal-ts&quot;&gt;Using Royal TS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-royal-ts&quot;&gt;Downloading Royal TS&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Visit the Royal TSX Official Website&lt;/strong&gt;: Go to the &lt;a href=&quot;https://www.royalapplications.com/ts/mac/features&quot;&gt;Royal TS official website&lt;/a&gt; and navigate to the download section.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select the Version&lt;/strong&gt;: Choose the appropriate version compatible with macOS and click on the download link.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Install the Application&lt;/strong&gt;: Once downloaded, open the installation package and follow the on-screen instructions to install Royal TS on your Mac.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;configuring-royal-ts&quot;&gt;Configuring Royal TS&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Launch Royal TS&lt;/strong&gt;: After installation, launch Royal TS from the Applications folder or via Spotlight search.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Setup Connection&lt;/strong&gt;: Click on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;File&lt;/code&gt; and select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;New Document&lt;/code&gt; to set up a new connection profile.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Choose Protocol&lt;/strong&gt;: Select the desired protocol (e.g., RDP, SSH, VNC) and enter the required connection details like IP address, username, and password.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Save Connection&lt;/strong&gt;: Save the connection profile by providing a name and selecting a folder for organization.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-royal-ts&quot;&gt;Using Royal TS&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Organizing Connections&lt;/strong&gt;: Royal TS offers folders to organize your connections logically. Create folders to categorize connections based on projects, clients, or any other criteria.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Credential Management&lt;/strong&gt;: You can manage credentials within Royal TS, allowing easy access to frequently used login information without retyping credentials.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Customization and Configuration&lt;/strong&gt;: Explore Royal TS settings to customize the interface, hotkeys, appearance, and behavior according to your preferences.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Additional Features&lt;/strong&gt;: Discover advanced features like tabbed interface, smart resize, and cross-protocol connections for enhanced productivity.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Royal TS for macOS simplifies remote desktop management by consolidating various connections into a single, user-friendly platform. Downloading, configuring, and effectively using Royal TS involves a straightforward process of setting up connections, managing credentials, and leveraging its advanced features.&lt;/p&gt;

&lt;p&gt;Whether you’re a system administrator handling multiple servers or a remote worker needing efficient access to various machines, Royal TS on macOS offers a robust solution for streamlined remote desktop management.&lt;/p&gt;

&lt;p&gt;Experience the convenience and efficiency of Royal TS for macOS in centralizing and managing your remote connections effortlessly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about RoyalTS, refer to the  &lt;a href=&quot;https://docs.royalapps.com/r2023/royalts/introduction/index.html&quot;&gt;Royal TS Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Thu, 28 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/guide_using_royalts/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/guide_using_royalts/</guid>
        
        <category>mac</category>
        
        <category>windows</category>
        
        <category>rdp</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Understanding Compression GZIP vs. LZO for Bacula Backups</title>
        <description>&lt;p&gt;When it comes to choosing between LZO and GZIP compression for Bacula backups, it’s essential to weigh the trade-offs between speed, compression efficiency, and resource utilization. Let’s delve into the differences between these two compression methods to help you make an informed decision.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#lzo-compression&quot; id=&quot;markdown-toc-lzo-compression&quot;&gt;LZO Compression&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros&quot; id=&quot;markdown-toc-pros&quot;&gt;Pros:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons&quot; id=&quot;markdown-toc-cons&quot;&gt;Cons:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#gzip-compression&quot; id=&quot;markdown-toc-gzip-compression&quot;&gt;GZIP Compression&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#pros-1&quot; id=&quot;markdown-toc-pros-1&quot;&gt;Pros:&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cons-1&quot; id=&quot;markdown-toc-cons-1&quot;&gt;Cons:&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#choosing-between-lzo-and-gzip&quot; id=&quot;markdown-toc-choosing-between-lzo-and-gzip&quot;&gt;Choosing Between LZO and GZIP&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;lzo-compression&quot;&gt;LZO Compression&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros&quot;&gt;Pros:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Speed:&lt;/strong&gt; LZO is optimized for speed, making it a faster compression option.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Decompression Speed:&lt;/strong&gt; It also excels in decompressing data swiftly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Compression Ratio:&lt;/strong&gt; LZO tends to have a lower compression ratio compared to GZIP, meaning it might not compress data as effectively.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compression Level:&lt;/strong&gt; It might offer fewer levels of compression compared to GZIP.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;gzip-compression&quot;&gt;GZIP Compression&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;pros-1&quot;&gt;Pros:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Compression Ratio:&lt;/strong&gt; GZIP generally provides a better compression ratio, making it more efficient in compressing data.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compression Levels:&lt;/strong&gt; It offers a range of compression levels (1-9) allowing for a balance between speed and compression ratio.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;Cons:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Speed:&lt;/strong&gt; GZIP is slower due to its focus on achieving higher compression ratios.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Decompression Speed:&lt;/strong&gt; Decompressing with GZIP can be slower compared to LZO.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;choosing-between-lzo-and-gzip&quot;&gt;Choosing Between LZO and GZIP&lt;/h2&gt;

&lt;p&gt;The choice depends on your priorities:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Speed:&lt;/strong&gt; If speed is crucial and you can compromise slightly on compression, LZO might be preferable.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compression Ratio:&lt;/strong&gt; If achieving the best possible compression is vital, even at the expense of speed, GZIP could be the better choice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Consider running tests with both compression methods within your Bacula setup. Performance can vary based on data types, sizes, and specific system configurations.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Choosing between LZO and GZIP compression for Bacula backups requires understanding the trade-offs. LZO excels in speed but might compromise on compression efficiency. On the other hand, GZIP offers better compression ratios but at the cost of slower processing. Assess your priorities - whether speed or compression ratio is paramount - and conduct tests within your Bacula environment to determine the optimal compression method.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Bacula, refer to the  &lt;a href=&quot;https://www.bacula.org/documentation/documentation/&quot;&gt;Bacula Manuals&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 25 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/gzip_vs_lzo_compression/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/gzip_vs_lzo_compression/</guid>
        
        <category>compression</category>
        
        <category>backups</category>
        
        <category>bacula</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Understanding firewall-cmd Rich Rules</title>
        <description>&lt;p&gt;Securing your system’s network connectivity is paramount, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewall-cmd&lt;/code&gt; provides a robust set of tools to manage firewall configurations. Among its powerful features, rich rules stand out for their flexibility and fine-grained control. Let’s delve into mastering &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewall-cmd&lt;/code&gt; rich rules to fortify your system’s defenses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-rich-rules&quot; id=&quot;markdown-toc-understanding-rich-rules&quot;&gt;Understanding Rich Rules&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#basic-syntax&quot; id=&quot;markdown-toc-basic-syntax&quot;&gt;Basic Syntax&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#common-usage-examples&quot; id=&quot;markdown-toc-common-usage-examples&quot;&gt;Common Usage Examples&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#1-accepting-traffic&quot; id=&quot;markdown-toc-1-accepting-traffic&quot;&gt;1. Accepting Traffic&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#2-rejecting-traffic&quot; id=&quot;markdown-toc-2-rejecting-traffic&quot;&gt;2. Rejecting Traffic&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#3-filtering-based-on-interfaces&quot; id=&quot;markdown-toc-3-filtering-based-on-interfaces&quot;&gt;3. Filtering Based on Interfaces&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#4-limiting-access-to-specific-services&quot; id=&quot;markdown-toc-4-limiting-access-to-specific-services&quot;&gt;4. Limiting Access to Specific Services&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#5-time-based-rules&quot; id=&quot;markdown-toc-5-time-based-rules&quot;&gt;5. Time-Based Rules&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#6-combining-multiple-conditions&quot; id=&quot;markdown-toc-6-combining-multiple-conditions&quot;&gt;6. Combining Multiple Conditions&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#modifying-and-removing-rules&quot; id=&quot;markdown-toc-modifying-and-removing-rules&quot;&gt;Modifying and Removing Rules&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#modifying-rules&quot; id=&quot;markdown-toc-modifying-rules&quot;&gt;Modifying Rules&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#removing-rules&quot; id=&quot;markdown-toc-removing-rules&quot;&gt;Removing Rules&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-rich-rules&quot;&gt;Understanding Rich Rules&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewall-cmd&lt;/code&gt; allows the creation of custom firewall rules using rich rules. These rules offer granular control over traffic by specifying various criteria such as source and destination IP addresses, ports, protocols, and more.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;basic-syntax&quot;&gt;Basic Syntax&lt;/h3&gt;

&lt;p&gt;The basic syntax of a rich rule is structured as follows:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;RULE&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RULE&lt;/code&gt; represents the specific criteria and actions you wish to define.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;common-usage-examples&quot;&gt;Common Usage Examples&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;1-accepting-traffic&quot;&gt;1. Accepting Traffic&lt;/h3&gt;

&lt;p&gt;Allowing incoming traffic on a specific port (e.g., port 80 for HTTP):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; port port=80 protocol=tcp accept&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;2-rejecting-traffic&quot;&gt;2. Rejecting Traffic&lt;/h3&gt;

&lt;p&gt;Rejecting traffic from a specific IP address:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; source address=&quot;IPADDRESS&quot; reject&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IPADDRESS&lt;/code&gt; represents the specific IPADDRESS that you want to reject.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;3-filtering-based-on-interfaces&quot;&gt;3. Filtering Based on Interfaces&lt;/h3&gt;

&lt;p&gt;Filtering based on network interfaces (e.g., allowing traffic from a specific interface):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; source interface=&quot;eth0&quot; accept&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;4-limiting-access-to-specific-services&quot;&gt;4. Limiting Access to Specific Services&lt;/h3&gt;

&lt;p&gt;Restricting access to SSH from a specific subnet:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; service name=&quot;ssh&quot; source address=&quot;192.168.x.x/24&quot; accept&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;5-time-based-rules&quot;&gt;5. Time-Based Rules&lt;/h3&gt;

&lt;p&gt;Creating rules based on time (e.g., allowing traffic during specific hours):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; source address=&quot;192.168.x.x&quot; service name=&quot;ssh&quot; accept time=&quot;08:00-17:00&quot; day=&quot;Mon,Tue,Wed,Thu,Fri&quot;&apos;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;This command allows SSH traffic from the specified source IP (192.168.x.x) during the time frame from 8:00 AM to 5:00 PM, Monday-Friday. Adjust the service name (ssh) and the time range to fit your specific requirements.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;6-combining-multiple-conditions&quot;&gt;6. Combining Multiple Conditions&lt;/h3&gt;

&lt;p&gt;Combining conditions (e.g., allowing traffic from a specific subnet and rejecting traffic from another):&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; source address=&quot;192.168.x.x/24&quot; accept&apos;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; source address=&quot;10.0.x.x/24&quot; reject&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;modifying-and-removing-rules&quot;&gt;Modifying and Removing Rules&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;modifying-rules&quot;&gt;Modifying Rules&lt;/h3&gt;

&lt;p&gt;To modify an existing rule, specify the new rule and use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--permanent&lt;/code&gt; flag to make it persistent:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--add-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; port port=443 protocol=tcp accept&apos;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--permanent&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;removing-rules&quot;&gt;Removing Rules&lt;/h3&gt;

&lt;p&gt;Removing rules can be achieved using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--remove-rich-rule&lt;/code&gt; option followed by the rule to be removed:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--remove-rich-rule&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;rule family=&quot;ipv4&quot; port port=80 protocol=tcp accept&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Don’t forget to reload the firewall to apply the changes:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;firewall-cmd &lt;span class=&quot;nt&quot;&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Mastering &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewall-cmd&lt;/code&gt; rich rules grants you unparalleled control over network traffic, allowing you to enforce precise security measures. Leveraging the flexibility of rich rules, you can create intricate firewall configurations tailored to your system’s specific needs.&lt;/p&gt;

&lt;p&gt;These examples serve as a starting point to explore the capabilities of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;firewall-cmd&lt;/code&gt; rich rules. Experiment, adapt, and refine these rules to fortify your system’s defenses against potential threats.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For detailed firewall-cmd commands and advanced usage, refer to the  &lt;a href=&quot;https://firewalld.org/documentation/man-pages/firewall-cmd.html&quot;&gt;Firewall-cmd Manual Pages&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Fri, 22 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/understanding_firewallcmd_rich_rules/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/understanding_firewallcmd_rich_rules/</guid>
        
        <category>firewall</category>
        
        <category>security</category>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Configuring SSH Agent Forwarding for Secure Remote Access</title>
        <description>&lt;p&gt;SSH Agent Forwarding is a powerful feature that enhances remote access security by allowing the use of private SSH keys locally without exposing them to remote servers. Let’s delve into SSH Agents, what Agent Forwarding is, and how to configure it for secure remote access.&lt;/p&gt;

&lt;p&gt;This article assumes that you already know how to generate a public key by using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#ssh-keygen&lt;/code&gt; command, and a passphrase was assign to this public key. Also, it assumes that you have already copied your public key to the remote server via the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#ssh-copy-id –i ~/.ssh/id_rsa.pub username@IPADDRESS
&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-ssh-agents&quot; id=&quot;markdown-toc-understanding-ssh-agents&quot;&gt;Understanding SSH Agents&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#what-is-an-ssh-agent&quot; id=&quot;markdown-toc-what-is-an-ssh-agent&quot;&gt;What is an SSH Agent?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#what-is-ssh-agent-forwarding&quot; id=&quot;markdown-toc-what-is-ssh-agent-forwarding&quot;&gt;What is SSH Agent Forwarding?&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#enabling-ssh-agent-forwarding&quot; id=&quot;markdown-toc-enabling-ssh-agent-forwarding&quot;&gt;Enabling SSH Agent Forwarding&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#adding-keys-to-ssh-agent&quot; id=&quot;markdown-toc-adding-keys-to-ssh-agent&quot;&gt;Adding Keys to ssh-agent&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#configuring-clients-ssh-config&quot; id=&quot;markdown-toc-configuring-clients-ssh-config&quot;&gt;Configuring Client’s SSH Config&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#testing-ssh-forwarding&quot; id=&quot;markdown-toc-testing-ssh-forwarding&quot;&gt;Testing SSH Forwarding&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#security-considerations&quot; id=&quot;markdown-toc-security-considerations&quot;&gt;Security Considerations&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#using-passphrase-less-private-keys&quot; id=&quot;markdown-toc-using-passphrase-less-private-keys&quot;&gt;Using Passphrase-less Private Keys&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-ssh-agents&quot;&gt;Understanding SSH Agents&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-is-an-ssh-agent&quot;&gt;What is an SSH Agent?&lt;/h3&gt;

&lt;p&gt;Your public SSH key is like your username, shareable with everyone. However, your private SSH key is like a password and is stored locally on your system. To enhance security, SSH keys are often protected by passphrases, encrypting and decrypting the private key.&lt;/p&gt;

&lt;p&gt;An SSH agent manages the decrypted key in memory, eliminating the need to enter the passphrase each time you use your private key. This provides seamless, secure access to servers without frequent passphrase prompts.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;what-is-ssh-agent-forwarding&quot;&gt;What is SSH Agent Forwarding?&lt;/h3&gt;

&lt;p&gt;SSH Agent Forwarding takes security a step further. Consider a scenario where you need to interact with a remote server, say, access a remote server using SSH authentication. To avoid storing private keys on the server, SSH Agent Forwarding lets the remote server access your local SSH agent securely.&lt;/p&gt;

&lt;p&gt;It operates by forwarding server authentication queries back to your local machine, which securely answers these queries without disclosing the private key. This allows the server to verify your identity without exposing sensitive information over the internet.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;enabling-ssh-agent-forwarding&quot;&gt;Enabling SSH Agent Forwarding&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;adding-keys-to-ssh-agent&quot;&gt;Adding Keys to ssh-agent&lt;/h3&gt;

&lt;p&gt;On Mac and Linux, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-add&lt;/code&gt; to add keys to your local agent. For example:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-add ~/.ssh/id_rsa
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Ensure the key is added correctly:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-add &lt;span class=&quot;nt&quot;&gt;-L&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;On macOS&lt;/strong&gt;, include the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-K&lt;/code&gt; flag to store the key in the Keychain for persistence after reboots:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-add &lt;span class=&quot;nt&quot;&gt;-K&lt;/span&gt; ~/.ssh/id_rsa
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;configuring-clients-ssh-config&quot;&gt;Configuring Client’s SSH Config&lt;/h3&gt;

&lt;p&gt;Open or create ~/.ssh/config and enable agent forwarding for specific servers:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Host server1 server2 server3 
    ForwardAgent &lt;span class=&quot;nb&quot;&gt;yes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server1&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server2&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server3&lt;/code&gt; with your server’s domain name or IP. Avoid using a wildcard (*) next to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Host&lt;/code&gt; unless absolutely necessary to prevent forwarding access to private keys for every server you access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On macOS&lt;/strong&gt;, the ~/.ssh/config file should look like the following :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Host server1 server2 server3
  UseKeychain &lt;span class=&quot;nb&quot;&gt;yes
  &lt;/span&gt;AddKeysToAgent &lt;span class=&quot;nb&quot;&gt;yes
  &lt;/span&gt;IdentityFile ~/.ssh/id_rsa
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;testing-ssh-forwarding&quot;&gt;Testing SSH Forwarding&lt;/h3&gt;

&lt;p&gt;To verify SSH Forwarding, add your local machine’s public key to your remote server:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh username@serveraddress
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You should now be able to access the remote server without a passphrase, even though the passphrase is still attached to the private key. If you want to &lt;strong&gt;confirm&lt;/strong&gt; that the passphrase is still attached to the private key run the following command :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-keygen &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; ~/.ssh/id_rsa
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Running this command should prompt you for your passphrase.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;security-considerations&quot;&gt;Security Considerations&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;using-passphrase-less-private-keys&quot;&gt;Using Passphrase-less Private Keys&lt;/h3&gt;

&lt;p&gt;Private keys without passphrases don’t require an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SSH agent&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-add&lt;/code&gt; command configuration. However, they pose a security risk by providing seamless access to anyone who gains access to the key file.&lt;/p&gt;

&lt;p&gt;When using passphrase-less keys, protect the key file with &lt;strong&gt;&lt;span style=&quot;color:red&quot;&gt; strict permissions &lt;/span&gt;&lt;/strong&gt; and additional security measures to prevent unauthorized access.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;SSH Agent Forwarding is a robust security feature ensuring secure remote access without compromising sensitive private keys. Implementing it enhances security while facilitating seamless remote server interactions.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For detailed SSH configuration and advanced usage, refer to the official &lt;a href=&quot;https://www.openssh.com/manual.html&quot;&gt;OpenSSH Manual Pages&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Tue, 19 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/ssh_agent_forwarding/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/ssh_agent_forwarding/</guid>
        
        <category>ssh</category>
        
        <category>security</category>
        
        <category>remote-access</category>
        
        <category>linux</category>
        
        <category>macos</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Installing and Using Homebrew on MacOS</title>
        <description>&lt;p&gt;Homebrew is a powerful package manager for macOS that simplifies the installation of various software. In this comprehensive guide, we’ll explore how to install Homebrew, why it’s advantageous, and the most commonly used commands for efficient package management on a Mac.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-homebrew-on-macos&quot; id=&quot;markdown-toc-installing-homebrew-on-macos&quot;&gt;Installing Homebrew on macOS&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#introduction-to-homebrew&quot; id=&quot;markdown-toc-introduction-to-homebrew&quot;&gt;Introduction to Homebrew&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-use-homebrew&quot; id=&quot;markdown-toc-why-use-homebrew&quot;&gt;Why Use Homebrew?&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#simplified-package-management&quot; id=&quot;markdown-toc-simplified-package-management&quot;&gt;Simplified Package Management&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#using-homebrew&quot; id=&quot;markdown-toc-using-homebrew&quot;&gt;Using Homebrew&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#installing-packages&quot; id=&quot;markdown-toc-installing-packages&quot;&gt;Installing Packages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#managing-formulas-and-taps&quot; id=&quot;markdown-toc-managing-formulas-and-taps&quot;&gt;Managing Formulas and Taps&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#troubleshooting-and-maintenance&quot; id=&quot;markdown-toc-troubleshooting-and-maintenance&quot;&gt;Troubleshooting and Maintenance&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-homebrew-on-macos&quot;&gt;Installing Homebrew on macOS&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;introduction-to-homebrew&quot;&gt;Introduction to Homebrew&lt;/h3&gt;

&lt;p&gt;Homebrew is a command-line package manager for macOS that allows users to easily install, update, and manage software packages. To install Homebrew:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open Terminal&lt;/strong&gt;: Launch Terminal on your Mac.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install Homebrew&lt;/strong&gt;: Paste the following command into Terminal and press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;   /bin/bash &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;curl &lt;span class=&quot;nt&quot;&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After the installation, you may need to configure the current shell environment with the necessary variables and settings to interact with Homebrew. If you do, you will be notified in the terminal, so pay close attention to the notes in the terminal after the Homebrew installation is complete.&lt;/p&gt;

&lt;p&gt;Run the following command to set the correct variables :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;eval&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;/opt/homebrew/bin/brew shellenv&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Running this command updates the current shell environment with the required configuration for Homebrew.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-use-homebrew&quot;&gt;Why Use Homebrew?&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;simplified-package-management&quot;&gt;Simplified Package Management&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Effortless Installation&lt;/strong&gt;: Homebrew simplifies the installation process, providing a single command to install software.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dependency Management&lt;/strong&gt;: It automatically handles dependencies, ensuring required libraries and components are installed alongside the software.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Package Updates&lt;/strong&gt;: Homebrew allows easy updating of installed packages to the latest versions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;using-homebrew&quot;&gt;Using Homebrew&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;installing-packages&quot;&gt;Installing Packages&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Install a Package&lt;/strong&gt;: Use brew install followed by the package name to install software. For example:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;brew &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;wget
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Updating Packages&lt;/strong&gt;: Keep installed packages up-to-date with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew update&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew upgrade&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Search for Packages&lt;/strong&gt;: Find available packages using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew search&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;managing-formulas-and-taps&quot;&gt;Managing Formulas and Taps&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Formulas&lt;/strong&gt;: Formulas are scripts that describe how to install software. Users can create custom formulas or contribute to the Homebrew community.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Taps&lt;/strong&gt;: Taps are third-party repositories that provide additional formulas. Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew tap&lt;/code&gt; to add a tap.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;troubleshooting-and-maintenance&quot;&gt;Troubleshooting and Maintenance&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Diagnostic Command&lt;/strong&gt;: Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew doctor&lt;/code&gt; to diagnose common issues or inconsistencies within Homebrew.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cleaning Up&lt;/strong&gt;: Remove old versions of installed packages with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew cleanup&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Homebrew is a versatile package manager for macOS that streamlines the installation and management of software. With its user-friendly commands and extensive library of packages, Homebrew enhances the macOS experience by simplifying software installation and updates.&lt;/p&gt;

&lt;p&gt;Start using Homebrew on your Mac today to effortlessly manage software packages and enhance your productivity!!!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more detailed information and advanced usage, refer to the official &lt;a href=&quot;https://docs.brew.sh/&quot;&gt;Homebrew Documentation&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Sat, 16 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/installing_using_homebrew/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/installing_using_homebrew/</guid>
        
        <category>macos</category>
        
        <category>homebrew</category>
        
        <category>package-manager</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Obtaining a Red Hat Developer Subscription and Activating RHEL9</title>
        <description>&lt;p&gt;Red Hat Enterprise Linux (RHEL) is a powerful operating system known for its robustness and security features. If you’re a developer looking to access RHEL9 and receive updates, obtaining a Red Hat Developer Subscription is the first step. This guide walks you through the process of acquiring the subscription, downloading the official RHEL9 ISO, registering your machine, and activating it for updates.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#obtaining-a-red-hat-developer-subscription&quot; id=&quot;markdown-toc-obtaining-a-red-hat-developer-subscription&quot;&gt;Obtaining a Red Hat Developer Subscription&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#sign-up-for-a-red-hat-account&quot; id=&quot;markdown-toc-sign-up-for-a-red-hat-account&quot;&gt;Sign Up for a Red Hat Account&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#downloading-rhel9-iso&quot; id=&quot;markdown-toc-downloading-rhel9-iso&quot;&gt;Downloading RHEL9 ISO&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#accessing-the-rhel9-iso&quot; id=&quot;markdown-toc-accessing-the-rhel9-iso&quot;&gt;Accessing the RHEL9 ISO&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#registering-and-activating-rhel9&quot; id=&quot;markdown-toc-registering-and-activating-rhel9&quot;&gt;Registering and Activating RHEL9&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#registering-the-machine&quot; id=&quot;markdown-toc-registering-the-machine&quot;&gt;Registering the Machine&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;obtaining-a-red-hat-developer-subscription&quot;&gt;Obtaining a Red Hat Developer Subscription&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;sign-up-for-a-red-hat-account&quot;&gt;Sign Up for a Red Hat Account&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Create a Red Hat Account&lt;/strong&gt;: Visit the &lt;a href=&quot;https://developers.redhat.com/about&quot;&gt;Red Hat Developer Program&lt;/a&gt; and sign up for a new account if you don’t have one already.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;downloading-rhel9-iso&quot;&gt;Downloading RHEL9 ISO&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;accessing-the-rhel9-iso&quot;&gt;Accessing the RHEL9 ISO&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Navigate to Downloads&lt;/strong&gt;: After activating your subscription, go to the &lt;a href=&quot;https://developers.redhat.com/products/rhel/download&quot;&gt;Red Hat Developer Downloads&lt;/a&gt; page.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Select RHEL9&lt;/strong&gt;: Locate RHEL9 in the list of available versions and select it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Download the ISO&lt;/strong&gt;: Choose the appropriate architecture (x86_64, ARM64, etc.) and download the RHEL9 ISO file to your local machine.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;registering-and-activating-rhel9&quot;&gt;Registering and Activating RHEL9&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;registering-the-machine&quot;&gt;Registering the Machine&lt;/h3&gt;

&lt;p&gt;Once the machine/server has been imaged/configured with the ISO that was downloaded, do the following :&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open Terminal&lt;/strong&gt;: Access the terminal on your RHEL9 system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Register the System&lt;/strong&gt;: Use the following command to register your machine with Red Hat using your Red Hat account credentials:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;   &lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;subscription-manager register &lt;span class=&quot;nt&quot;&gt;--username&lt;/span&gt; &amp;lt;your_username&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;em&gt;You will be prompted for a password, enter your RedHat Developers Account Password&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;You will be registered to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;subscription.rhsm.redhat.com:443/subscription&lt;/code&gt; after you enter your RedHat Developer password.&lt;/li&gt;
  &lt;li&gt;You will receive a message in the terminal stating that &lt;strong&gt;The system has been registed with ID&lt;/strong&gt; : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RANDOM SET of CHARACTERS&lt;/code&gt;. The registered system name is : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HOSTNAME&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Attach the Subscription&lt;/strong&gt;: After successful registration, attach the machine to your active subscription to receive updates:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;subscription-manager attach &lt;span class=&quot;nt&quot;&gt;--auto&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command automatically detects available subscriptions and attaches the system to the appropriate one.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Congratulations! You’ve successfully obtained a Red Hat Developer Subscription, downloaded the official RHEL9 ISO, registered your machine, and activated it for updates. RHEL9 is now ready for use, and you’ll receive regular updates to ensure its security and functionality!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more detailed instructions and information, you can refer to the official &lt;a href=&quot;https://developers.redhat.com/articles/getting-red-hat-developer-subscription-what-rhel-users-need-know?source=sso#updated_development_tools__red_hat_software_collections&quot;&gt;RedHat documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Wed, 13 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/redhat_developer_subscription/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/redhat_developer_subscription/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>developer</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Enhancing Security with faillock and fail2ban</title>
        <description>&lt;p&gt;Enhancing security in a Red Hat Enterprise Linux (RHEL) environment is crucial, and tools like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;faillock&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt; offer valuable features to mitigate unauthorized access attempts. In this guide, we’ll delve into the functionalities of these commands, their configurations, and when to use each for optimal security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-faillock&quot; id=&quot;markdown-toc-understanding-faillock&quot;&gt;Understanding faillock&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-of-faillock&quot; id=&quot;markdown-toc-features-of-faillock&quot;&gt;Features of faillock&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#using-faillock&quot; id=&quot;markdown-toc-using-faillock&quot;&gt;Using faillock&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#locking-and-unlocking-user-accounts&quot; id=&quot;markdown-toc-locking-and-unlocking-user-accounts&quot;&gt;Locking and Unlocking User Accounts&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#understanding-fail2ban&quot; id=&quot;markdown-toc-understanding-fail2ban&quot;&gt;Understanding fail2ban&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#features-of-fail2ban&quot; id=&quot;markdown-toc-features-of-fail2ban&quot;&gt;Features of fail2ban&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#using-fail2ban&quot; id=&quot;markdown-toc-using-fail2ban&quot;&gt;Using fail2ban&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#installation-and-configuration&quot; id=&quot;markdown-toc-installation-and-configuration&quot;&gt;Installation and Configuration&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#automatic-ip-ban-example&quot; id=&quot;markdown-toc-automatic-ip-ban-example&quot;&gt;Automatic IP Ban Example&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#configure-a-dedicated-sshd-jail-using-jaild&quot; id=&quot;markdown-toc-configure-a-dedicated-sshd-jail-using-jaild&quot;&gt;Configure a Dedicated SSHD Jail Using jail.d&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-confirm-an-ip-address-ban&quot; id=&quot;markdown-toc-how-to-confirm-an-ip-address-ban&quot;&gt;How to Confirm an IP Address Ban&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-remove-an-ip-address-ban&quot; id=&quot;markdown-toc-how-to-remove-an-ip-address-ban&quot;&gt;How to Remove an IP Address Ban&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#when-to-use-each-command&quot; id=&quot;markdown-toc-when-to-use-each-command&quot;&gt;When to Use Each Command&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-faillock&quot;&gt;Understanding faillock&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features-of-faillock&quot;&gt;Features of faillock&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;faillock&lt;/code&gt; is a command-line utility in RHEL that tracks and manages failed login attempts. Here are its key features:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Locking User Accounts&lt;/strong&gt;: faillock can lock user accounts after a specified number of failed login attempts, preventing further login attempts.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Displaying Lockout Information&lt;/strong&gt;: It shows details about locked user accounts, including when the lockout occurred and how many failed attempts were made.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Resetting Failures&lt;/strong&gt;: Administrators can reset the failure count manually using the faillock command.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;using-faillock&quot;&gt;Using faillock&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;locking-and-unlocking-user-accounts&quot;&gt;Locking and Unlocking User Accounts&lt;/h4&gt;

&lt;p&gt;To lock a user account after a certain number of failed attempts:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;faillock &lt;span class=&quot;nt&quot;&gt;--user&lt;/span&gt; &amp;lt;username&amp;gt; &lt;span class=&quot;nt&quot;&gt;--lock&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To unlock a previously locked user account:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;faillock &lt;span class=&quot;nt&quot;&gt;--user&lt;/span&gt; &amp;lt;username&amp;gt; &lt;span class=&quot;nt&quot;&gt;--reset&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;understanding-fail2ban&quot;&gt;Understanding fail2ban&lt;/h2&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;features-of-fail2ban&quot;&gt;Features of fail2ban&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt; is a more comprehensive solution that goes beyond locking user accounts. Its features include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Dynamic Firewall Rules&lt;/strong&gt;: fail2ban dynamically updates firewall rules to block IP addresses of hosts exhibiting suspicious behavior.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Multiple Service Support&lt;/strong&gt;: It can monitor various services like SSH, FTP, and more, detecting and responding to suspicious activities across multiple services.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Customizable Actions&lt;/strong&gt;: Administrators can configure custom actions for different scenarios, such as banning IP addresses for a specific duration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;using-fail2ban&quot;&gt;Using fail2ban&lt;/h3&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;installation-and-configuration&quot;&gt;Installation and Configuration&lt;/h4&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Installation&lt;/strong&gt;: Install fail2ban using the package manager (yum or dnf):
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;fail2ban &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
    &lt;p&gt;&lt;em&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EPEL repository&lt;/code&gt; must be installed/configured in order to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt;. You may download the EPEL repository by running the following commands :&lt;/em&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;dnf &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Configuration&lt;/strong&gt;: Configure fail2ban by editing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jail.conf&lt;/code&gt; file located in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/fail2ban/&lt;/code&gt;. Customize settings such as ban duration, threshold for failed attempts, and more.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Starting fail2ban&lt;/strong&gt;: Start the fail2ban service:
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl start fail2ban
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;automatic-ip-ban-example&quot;&gt;Automatic IP Ban Example&lt;/h4&gt;

&lt;p&gt;To automatically ban an IP address after 3 failed login attempts, configure a jail in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jail.conf&lt;/code&gt; file:&lt;/p&gt;

&lt;p&gt;This configuration seems to be designed to drop connections or packets from an offending IP address. Add the below to the top of the config file, after the initial set of commented information :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;blocktype]
returntype &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; DROP
action &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; %&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;action_&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;s[blocktype&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;%&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;blocktype&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;s,returntype&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;%&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;returntype&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;s, &lt;span class=&quot;nv&quot;&gt;actionstart_on_demand&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;false&lt;/span&gt;, &lt;span class=&quot;nv&quot;&gt;actionrepair_on_unban&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;
bantime &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 1h
maxretry &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 1
findtime &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Parameter&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;[blocktype]&lt;/td&gt;
      &lt;td&gt;Section header defining a jail for a particular type of block or behavior.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;returntype&lt;/td&gt;
      &lt;td&gt;Specifies the action taken when a match is found. Here it’s set to DROP, meaning packets from the banned IP will be dropped.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;action&lt;/td&gt;
      &lt;td&gt;Defines the action parameters for the jail, including banning an IP and including specific metadata about the ban.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;bantime&lt;/td&gt;
      &lt;td&gt;Sets the duration an IP address will be banned after reaching the maxretry limit. Set here to 1 hour (1h).&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;maxretry&lt;/td&gt;
      &lt;td&gt;Specifies the number of failures or matches within the findtime before an action is taken. Set to 1.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;findtime&lt;/td&gt;
      &lt;td&gt;Defines the time window within which maxretry failures or matches are counted. Set to 1 (possibly 1 second or 1 minute).&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Then we will add the below to the bottom of the config file :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;automatic-ban]
enabled &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;true
&lt;/span&gt;filter &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &amp;lt;filter-name&amp;gt;
action &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; iptables[name&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&amp;lt;filter-name&amp;gt;, &lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&amp;lt;port&amp;gt;, &lt;span class=&quot;nv&quot;&gt;protocol&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&amp;lt;protocol&amp;gt;]
logpath &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &amp;lt;path/to/logfile&amp;gt;
maxretry &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 3
bantime &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 3600
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;filter-name&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;port&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;protocol&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;path/to/logfile&lt;/code&gt; with appropriate values for your system.&lt;/p&gt;

&lt;p&gt;This configuration will monitor the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/var/log/secure&lt;/code&gt; log file for SSH-related authentication failure events (using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd&lt;/code&gt; filter). If an IP address fails to authenticate three times within the specified time frame, Fail2Ban will block access to the SSH port for that IP address for one hour using an IPTables rule (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;iptables&lt;/code&gt; action).&lt;/p&gt;

&lt;p&gt;Below is an example using sample/default information for configuring a fail2ban jail in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jail.conf&lt;/code&gt; configuration file :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;automatic-ban]
enabled &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;true
&lt;/span&gt;filter &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; sshd
action &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; iptables[name&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;automatic-ban, &lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;ssh, &lt;span class=&quot;nv&quot;&gt;protocol&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;tcp]
logpath &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; /var/log/secure
maxretry &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 3
bantime &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 3600
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Always ensure the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;logpath&lt;/code&gt; points to the correct log file for the service you intend to monitor. Customize the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;maxretry&lt;/code&gt; (number of allowed failed attempts) and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bantime&lt;/code&gt; (ban duration) based on your security requirements.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Parameter&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;[automatic-ban]&lt;/td&gt;
      &lt;td&gt;Section header defining the jail.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;enabled = true&lt;/td&gt;
      &lt;td&gt;Indicates that this jail is active and will be used by Fail2Ban to monitor and respond to incoming events.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;filter = sshd&lt;/td&gt;
      &lt;td&gt;Specifies the filter to be used for this jail, filtering the SSH service using the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd&lt;/code&gt; filter.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;action = iptables[name=automatic-ban, port=ssh, protocol=tcp]&lt;/td&gt;
      &lt;td&gt;Defines the action taken when a match is found, adding an IPTables rule to block SSH access for a defined duration.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;logpath = /var/log/secure&lt;/td&gt;
      &lt;td&gt;Specifies the log file path to monitor for patterns defined in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sshd&lt;/code&gt; filter.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;maxretry = 3&lt;/td&gt;
      &lt;td&gt;Sets the maximum number of retries or failed login attempts allowed before triggering the defined action.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;bantime = 3600&lt;/td&gt;
      &lt;td&gt;Defines the duration for which an IP address will be banned (in seconds).&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;After making changes in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jail.conf&lt;/code&gt; file, remember to restart fail2ban for the configurations to take effect:&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart fail2ban
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h4 id=&quot;configure-a-dedicated-sshd-jail-using-jaild&quot;&gt;Configure a Dedicated SSHD Jail Using jail.d&lt;/h4&gt;

&lt;p&gt;As an alternative to adding the SSH jail directly to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/fail2ban/jail.conf&lt;/code&gt;, you can place the configuration in a dedicated local file:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;vi /etc/fail2ban/jail.d/sshd.local
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add the following configuration:&lt;/p&gt;

&lt;div class=&quot;language-ini highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nn&quot;&gt;[sshd]&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;enabled&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;filter&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;sshd&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;port&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;ssh&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;logpath&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/var/log/secure&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;maxretry&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;3&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;findtime&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;10m&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;bantime&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;1h&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Parameter&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[sshd]&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Defines the jail using Fail2ban’s standard SSH jail name.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enabled = true&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Enables monitoring and protection for the SSH service.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;filter = sshd&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Uses the built-in SSH authentication filter.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;port = ssh&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Protects the SSH service port, which is normally TCP port 22.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;logpath = /var/log/secure&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Monitors the RHEL authentication log for failed SSH login attempts.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;maxretry = 3&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Bans an IP address after three matching failures.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;findtime = 10m&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Counts failures that occur within a ten-minute period.&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bantime = 1h&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Bans the offending IP address for one hour.&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/fail2ban/jail.d/sshd.local&lt;/code&gt; keeps the custom SSH configuration separate from the package-managed &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/fail2ban/jail.conf&lt;/code&gt; file. This helps prevent custom settings from being overwritten during a Fail2ban package update.&lt;/p&gt;

&lt;p&gt;Validate the complete Fail2ban configuration:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client &lt;span class=&quot;nt&quot;&gt;-t&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If the validation succeeds, restart Fail2ban:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl restart fail2ban
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Confirm that the SSH jail is active:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client status sshd
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To remove an IP address from this jail, use:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client &lt;span class=&quot;nb&quot;&gt;set &lt;/span&gt;sshd unbanip 192.168.1.174
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[automatic-ban]&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[sshd]&lt;/code&gt; configurations should be treated as separate examples. Do not enable both at the same time when they monitor the same SSH log and protect the same service.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-confirm-an-ip-address-ban&quot;&gt;How to Confirm an IP Address Ban&lt;/h2&gt;

&lt;p&gt;If you suspect that an IP address is banned, do the following to confirm&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client status &amp;lt;name_of_jail&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In this example the name of the jail is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;automatic-ban&lt;/code&gt; so the command would be&lt;/p&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client status automatic-ban
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This command will display various information about the ban, including how many IPs are currently banned and a list of all IPs that are banned.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/enhancing_security_faillock_fail2ban/enhancing_security_faillock_fail2ban2.png&quot; alt=&quot;Enhancing Security with faillock and fail2ban2&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-remove-an-ip-address-ban&quot;&gt;How to Remove an IP Address Ban&lt;/h2&gt;

&lt;p&gt;To remove an IP Address ban, run the below command. Once this command is executed properly, the ban will be removed and you will be able to successfully ssh into that machine/server again from that IP address.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;fail2ban-client &lt;span class=&quot;nb&quot;&gt;set &lt;/span&gt;automatic-ban unbanip 192.168.1.174
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;when-to-use-each-command&quot;&gt;When to Use Each Command&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;faillock&lt;/code&gt; is suitable for managing user account lockouts and tracking individual user login failures.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt; is more extensive, providing protection against various types of attacks by dynamically banning potential malicious hosts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In RHEL, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;faillock&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt; are powerful tools to bolster system security. While &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;faillock&lt;/code&gt; focuses on managing user account lockouts, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fail2ban&lt;/code&gt; offers a broader approach, protecting against multiple types of attacks by dynamically updating firewall rules.&lt;/p&gt;

&lt;p&gt;For detailed configurations and advanced settings, refer to the official RHEL documentation. Implement these tools to fortify your system against unauthorized access attempts and enhance overall security.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more detailed instructions and information, you can refer to the official &lt;a href=&quot;https://linux.die.net/man/8/faillock&quot;&gt;Faillock documentation&lt;/a&gt; and the &lt;a href=&quot;https://linux.die.net/man/8/fail2ban&quot;&gt;Fail2ban documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sun, 10 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/enhancing_security_faillock_fail2ban/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/enhancing_security_faillock_fail2ban/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>security</category>
        
        <category>ssh</category>
        
        <category>faillock</category>
        
        <category>fail2ban</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Exploring the Features of Alfred on Mac</title>
        <description>&lt;p&gt;Are you a Mac user looking to streamline your workflow and boost productivity? Look no further than Alfred, a powerful productivity application packed with features designed to make your Mac experience faster and more efficient. In this guide, we’ll explore some of the standout features of Alfred.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#launcher-and-search&quot; id=&quot;markdown-toc-launcher-and-search&quot;&gt;Launcher and Search&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#customizable-workflows&quot; id=&quot;markdown-toc-customizable-workflows&quot;&gt;&lt;strong&gt;Customizable Workflows&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#clipboard-history-and-snippets&quot; id=&quot;markdown-toc-clipboard-history-and-snippets&quot;&gt;Clipboard History and Snippets&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#system-commands-and-extensions&quot; id=&quot;markdown-toc-system-commands-and-extensions&quot;&gt;System Commands and Extensions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#themes-and-appearance&quot; id=&quot;markdown-toc-themes-and-appearance&quot;&gt;Themes and Appearance&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#how-to-get-started-with-alfred&quot; id=&quot;markdown-toc-how-to-get-started-with-alfred&quot;&gt;How to Get Started with Alfred&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;launcher-and-search&quot;&gt;Launcher and Search&lt;/h2&gt;

&lt;p&gt;At its core, Alfred acts as a launcher and search tool, allowing you to quickly access applications, files, and folders on your Mac. Invoke Alfred with a hotkey and start typing the name of what you’re looking for to launch applications or find files instantly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;customizable-workflows&quot;&gt;&lt;strong&gt;Customizable Workflows&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;Alfred’s workflows enable automation and customization tailored to your needs. Create custom workflows to perform complex tasks with a few keystrokes. From controlling system settings to integrating with third-party apps, workflows can significantly streamline repetitive tasks.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;clipboard-history-and-snippets&quot;&gt;Clipboard History and Snippets&lt;/h2&gt;

&lt;p&gt;Never lose track of copied content again! Alfred’s Clipboard History feature keeps a record of items you’ve copied, allowing you to access previously copied text, images, or files. Additionally, you can create text snippets for frequently used phrases or responses.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;system-commands-and-extensions&quot;&gt;System Commands and Extensions&lt;/h2&gt;

&lt;p&gt;Alfred extends beyond simple file searching. Use it to execute system commands, perform calculations, control music playback, and even search the web or specific websites directly from the app.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;themes-and-appearance&quot;&gt;Themes and Appearance&lt;/h2&gt;

&lt;p&gt;Personalize Alfred’s appearance with different themes and layouts. Choose from various pre-designed themes or create your own to match your style and preferences.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-to-get-started-with-alfred&quot;&gt;How to Get Started with Alfred&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Download and Install Alfred&lt;/strong&gt;: Head to the &lt;a href=&quot;https://www.alfredapp.com/&quot;&gt;Alfred website&lt;/a&gt; to download and install Alfred on your Mac. Alfred offers both a free version with limited features and a Powerpack with advanced functionalities.
&lt;strong&gt;Learn Keyboard Shortcuts&lt;/strong&gt;: Get familiar with Alfred’s keyboard shortcuts to maximize efficiency. Use the hotkey combination (default is Command + Space) to invoke Alfred and start navigating.
&lt;strong&gt;Explore and Customize&lt;/strong&gt;: Dive into Alfred’s preferences to explore its extensive customization options. Experiment with workflows, configure features, and tailor Alfred to suit your workflow.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Alfred is a versatile and indispensable tool for Mac users seeking to optimize their workflow. By harnessing its features, from quick application launches to complex workflow automation, Alfred empowers users to work faster and more effectively on their Macs!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more detailed instructions and information, you can refer to the official &lt;a href=&quot;https://www.alfredapp.com/&quot;&gt;Alfred website&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 07 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/exploring_features_of_alfred/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/exploring_features_of_alfred/</guid>
        
        <category>macos</category>
        
        <category>alfred</category>
        
        <category>productivity</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Unleashing the Power of Slack</title>
        <description>&lt;p&gt;Are you a Slack enthusiast looking to take your collaboration and communication skills to the next level? Slack isn’t just a messaging platform; it’s a powerhouse of productivity tools and features. In this guide, we’ll explore some of the advanced slack features and capabilities that you may or may not be aware of.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#custom-emoji-reactions&quot; id=&quot;markdown-toc-custom-emoji-reactions&quot;&gt;Custom Emoji Reactions&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#saved-items-for-quick-access&quot; id=&quot;markdown-toc-saved-items-for-quick-access&quot;&gt;Saved Items for Quick Access&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#command-shortcuts-for-efficiency&quot; id=&quot;markdown-toc-command-shortcuts-for-efficiency&quot;&gt;Command Shortcuts for Efficiency&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#message-formatting-for-clarity&quot; id=&quot;markdown-toc-message-formatting-for-clarity&quot;&gt;Message Formatting for Clarity&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#integration-superpowers&quot; id=&quot;markdown-toc-integration-superpowers&quot;&gt;Integration Superpowers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;custom-emoji-reactions&quot;&gt;Custom Emoji Reactions&lt;/h2&gt;

&lt;p&gt;Express yourself with more than just words! Did you know you can create custom emoji reactions in Slack? Whether it’s a team inside joke or a specific reaction for your project, custom emojis add a personal touch to your conversations.&lt;/p&gt;

&lt;p&gt;To create a custom emoji reaction:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Go to your workspace settings.&lt;/li&gt;
  &lt;li&gt;Choose “Customize” from the menu.&lt;/li&gt;
  &lt;li&gt;Click on “Add Custom Emoji.”&lt;/li&gt;
  &lt;li&gt;Upload your image and give it a name.&lt;/li&gt;
  &lt;li&gt;Now you can use your custom emoji in messages and reactions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;saved-items-for-quick-access&quot;&gt;Saved Items for Quick Access&lt;/h2&gt;

&lt;p&gt;Don’t lose track of important messages! Slack’s Saved Items feature allows you to bookmark messages and files for quick access. Perfect for keeping important information at your fingertips.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To save an item:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Hover over a message or file.&lt;/li&gt;
  &lt;li&gt;Click on the three dots.&lt;/li&gt;
  &lt;li&gt;Choose “Save this item.”&lt;/li&gt;
  &lt;li&gt;Access your saved items from the sidebar menu.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;command-shortcuts-for-efficiency&quot;&gt;Command Shortcuts for Efficiency&lt;/h2&gt;

&lt;p&gt;Navigate Slack like a pro with command shortcuts. From jumping between channels to accessing your starred items, these shortcuts can significantly boost your efficiency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some useful shortcuts :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Command + K : Quick switch between channels.&lt;/li&gt;
  &lt;li&gt;Command + / : Access the command menu.&lt;/li&gt;
  &lt;li&gt;Command + Shift + S : Open the starred items.&lt;/li&gt;
  &lt;li&gt;Command + Shift + \ : Jump to the previous channel.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;message-formatting-for-clarity&quot;&gt;Message Formatting for Clarity&lt;/h2&gt;

&lt;p&gt;Make your messages stand out with formatting options. Whether you’re emphasizing a point or sharing code snippets, Slack’s message formatting features help convey your message with clarity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Basic formatting options include:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;em&gt;Bold&lt;/em&gt;: Wrap text with asterisks for bold.&lt;/li&gt;
  &lt;li&gt;&lt;em&gt;Italic&lt;/em&gt;: Use underscores for italic.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Code&lt;/code&gt;: Backticks create inline code.&lt;/li&gt;
  &lt;li&gt;”&amp;gt; Quote: Use the greater-than (&amp;gt;) symbol for quoting.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;integration-superpowers&quot;&gt;Integration Superpowers&lt;/h2&gt;

&lt;p&gt;Connect your favorite tools directly to Slack! Integrations can automate workflows, keep your team updated, and streamline communication. From Google Drive to Jira, Slack supports a wide range of integrations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To explore integrations:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Go to your workspace settings.&lt;/li&gt;
  &lt;li&gt;Choose “Apps” from the menu.&lt;/li&gt;
  &lt;li&gt;Browse and connect your desired integrations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Slack is more than just a chat platform; it’s a dynamic workspace with features designed to enhance collaboration and productivity. By leveraging these advanced features, you can transform your Slack experience and make the most out of this powerful tool!&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about Slack, visit this &lt;a href=&quot;https://slack.com/blog/productivity/slick-features-and-capabilities-you-didnt-know-about-in-slack&quot;&gt;Slack blog&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 04 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/other/unleasing_the_power_of_slack/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/other/unleasing_the_power_of_slack/</guid>
        
        <category>slack</category>
        
        <category>messaging</category>
        
        <category>communication</category>
        
        <category>productivity</category>
        
        
        <category>Other</category>
        
      </item>
    
      <item>
        <title>Connect to a Remote Windows System from MacOS</title>
        <description>&lt;p&gt;Are you a macOS user who needs to access a Windows computer remotely? Remote Desktop Protocol (RDP) is a powerful solution that enables you to connect to a Windows machine from your macOS device. In this tutorial, we’ll explore how to use RDP to establish a remote connection to a Windows computer from your Mac.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#download-the-microsoft-remote-desktop-application-on-the-mac&quot; id=&quot;markdown-toc-download-the-microsoft-remote-desktop-application-on-the-mac&quot;&gt;Download the Microsoft Remote Desktop Application on the Mac&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#launch-and-configure-microsoft-remote-desktop-application&quot; id=&quot;markdown-toc-launch-and-configure-microsoft-remote-desktop-application&quot;&gt;Launch and Configure Microsoft Remote Desktop Application&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disconnecting-from-the-remote-windows-computer&quot; id=&quot;markdown-toc-disconnecting-from-the-remote-windows-computer&quot;&gt;Disconnecting from the Remote Windows Computer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Before we dive into the details, ensure you have the following prerequisites in place:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A macOS computer.&lt;/li&gt;
  &lt;li&gt;A Windows computer that is set up for remote desktop access.&lt;/li&gt;
  &lt;li&gt;The IP address or hostname of the Windows computer you want to connect to.&lt;/li&gt;
  &lt;li&gt;Credentials for the Windows computer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you haven’t already set up your Windows computer for RDP, you can follow the instructions provided at the following link: &lt;a href=&quot;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-allow-access#how-to-enable-remote-desktop&quot;&gt;Enable RDP on Windows host&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;download-the-microsoft-remote-desktop-application-on-the-mac&quot;&gt;Download the Microsoft Remote Desktop Application on the Mac&lt;/h2&gt;

&lt;p&gt;You will need a locally installed RDP client (a program that lets you connect to Windows computers that have RDP enabled). If you don’t currently have one installed, we recommend downloading and installing the &lt;a href=&quot;https://itunes.apple.com/us/app/microsoft-remote-desktop-10/id1295203466?mt=12&quot;&gt;Microsoft Remote Desktop Application&lt;/a&gt; from the Mac App Store. Once you have it installed, you can proceed.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/rdp_from_macos/rdp_from_macos2.jpg&quot; alt=&quot;Connect to a Remote Windows System from MacOS&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;launch-and-configure-microsoft-remote-desktop-application&quot;&gt;Launch and Configure Microsoft Remote Desktop Application&lt;/h2&gt;

&lt;p&gt;After launching the Microsoft Remote Desktop application, select the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;+ sign&lt;/code&gt; then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Desktop&lt;/code&gt; to setup and configure a new connection&lt;/p&gt;

&lt;p&gt;The only required information to provide is the PC name, which could be a hostname or IP address. You may enter a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Friendly name&lt;/code&gt;, however, this is not a requirement even though it is great to have to keep everything organized.&lt;/p&gt;

&lt;p&gt;Next, click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Add&lt;/code&gt; to complete the connection process.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/rdp_from_macos/rdp_from_macos3.jpg&quot; alt=&quot;Connect to a Remote Windows System from MacOS&quot; /&gt;&lt;/p&gt;

&lt;p&gt;You may start the RDP connection by double clicking or right clicking on the host then selecting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Connect&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/rdp_from_macos/rdp_from_macos4.jpg&quot; alt=&quot;Connect to a Remote Windows System from MacOS&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disconnecting-from-the-remote-windows-computer&quot;&gt;Disconnecting from the Remote Windows Computer&lt;/h2&gt;

&lt;p&gt;To disconnect from the remote Windows computer, follow these steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Click the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;X&lt;/code&gt; button in the top-left corner of the Microsoft Remote Desktop window.&lt;/li&gt;
  &lt;li&gt;You’ll be prompted to confirm the disconnection, click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OK&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Using RDP, you can easily connect to a Windows computer from your macOS device, making it convenient to manage Windows systems remotely. This method is particularly useful for IT professionals, developers, and anyone who needs access to a Windows machine while working on a Mac.&lt;/p&gt;
</description>
        <pubDate>Fri, 01 Dec 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/macos/rdp_from_macos/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/macos/rdp_from_macos/</guid>
        
        <category>macos</category>
        
        <category>windows</category>
        
        <category>rdp</category>
        
        
        <category>Macos</category>
        
      </item>
    
      <item>
        <title>Connect to a Remote Windows System from Linux Terminal using xfreerdp</title>
        <description>&lt;p&gt;Are you a Linux user who needs to access a remote Windows system from your command line? Look no further! In this tutorial, we will show you how to use the xfreerdp package to establish a remote desktop connection to a Windows machine from your Linux terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#prerequisites&quot; id=&quot;markdown-toc-prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#install-xfreerdp&quot; id=&quot;markdown-toc-install-xfreerdp&quot;&gt;Install xfreerdp&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#steps-to-connect-to-a-remote-windows-system&quot; id=&quot;markdown-toc-steps-to-connect-to-a-remote-windows-system&quot;&gt;Steps to Connect to a Remote Windows System&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#additional-options&quot; id=&quot;markdown-toc-additional-options&quot;&gt;Additional Options&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#disconnecting-from-the-remote-windows-system&quot; id=&quot;markdown-toc-disconnecting-from-the-remote-windows-system&quot;&gt;Disconnecting from the Remote Windows System&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Before we get started, you’ll need to make sure you have the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A Linux system with xfreerdp installed.&lt;/li&gt;
  &lt;li&gt;Credentials for the Windows machine you want to connect to.&lt;/li&gt;
  &lt;li&gt;A working internet connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;install-xfreerdp&quot;&gt;Install xfreerdp&lt;/h2&gt;

&lt;p&gt;Run the following command :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;freerdp
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Y&lt;/code&gt; and then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter&lt;/code&gt; to allow the installation to complete.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;steps-to-connect-to-a-remote-windows-system&quot;&gt;Steps to Connect to a Remote Windows System&lt;/h2&gt;

&lt;p&gt;Now, let’s dive into the steps for connecting to a remote Windows system from your Linux command line.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open your terminal.&lt;/li&gt;
  &lt;li&gt;Use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xfreerdp&lt;/code&gt; command with the following syntax:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;xfreerdp /u:&amp;lt;username&amp;gt; /v:&amp;lt;remote_windows_ip_or_hostname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;username&lt;/code&gt; with your Windows username and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;remote_windows_ip_or_hostname&lt;/code&gt; with the IP address or hostname of the remote Windows machine. &lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;xfreerdp /u:user1 /v:192.168.1.113
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After entering the command, you will be prompted to enter your Windows password. Provide your password and press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You may be prompted to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;trust the above certificate&lt;/code&gt; press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Y&lt;/code&gt; then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Enter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If the credentials are correct, you will be connected to the remote Windows machine, and the Windows desktop will appear within your Linux terminal.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;additional-options&quot;&gt;Additional Options&lt;/h2&gt;

&lt;p&gt;You can customize your connection by adding various options to the xfreerdp command. Some common options include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;/f: Full-screen mode.&lt;/li&gt;
  &lt;li&gt;/multimon: Multi-monitor support.&lt;/li&gt;
  &lt;li&gt;/audio-mode: Audio playback options.&lt;/li&gt;
  &lt;li&gt;/sec: Set the security level.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a complete list of options, you can refer to the xfreerdp documentation or use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;man xfreerdp&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;disconnecting-from-the-remote-windows-system&quot;&gt;Disconnecting from the Remote Windows System&lt;/h2&gt;

&lt;p&gt;To disconnect from the remote Windows system, you can use the following key combination:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + Alt + Enter&lt;/code&gt; : This will toggle between full-screen and windowed modes.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl + Alt + Delete&lt;/code&gt; : This will open the Windows Security dialog, where you can lock the remote machine or log out.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Using the xfreerdp package, you can easily connect to a remote Windows system from your Linux terminal. This is a convenient way to manage Windows machines when you’re primarily working in a Linux environment. With the right credentials and a few simple commands, you can access the remote Windows desktop seamlessly.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;📝 For more information about xfreerdp, visit the &lt;a href=&quot;https://linux.die.net/man/1/xfreerdp&quot;&gt;xfreerdp man page&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Tue, 28 Nov 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/linux/rdp_from_linux_terminal/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/linux/rdp_from_linux_terminal/</guid>
        
        <category>rhel</category>
        
        <category>linux</category>
        
        <category>centos</category>
        
        <category>rdp</category>
        
        <category>terminal</category>
        
        
        <category>Linux</category>
        
      </item>
    
      <item>
        <title>Adding Active Directory Computer Accounts</title>
        <description>&lt;p&gt;In Active Directory management, adding computer accounts is essential for proper network organization. This guide demonstrates two methods for adding Active Directory computer accounts: using the GUI (Graphical User Interface) and PowerShell commands.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#add-active-directory-computer-account-via-gui&quot; id=&quot;markdown-toc-add-active-directory-computer-account-via-gui&quot;&gt;Add Active Directory Computer Account via GUI&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#add-active-directory-computer-account-via-powershell&quot; id=&quot;markdown-toc-add-active-directory-computer-account-via-powershell&quot;&gt;Add Active Directory Computer Account via PowerShell&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot; id=&quot;markdown-toc-conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-active-directory-computer-account-via-gui&quot;&gt;Add Active Directory Computer Account via GUI&lt;/h2&gt;

&lt;p&gt;Launch &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Active Directory Users and Computers&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Right click on your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Computers&lt;/code&gt; on the left tree and select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;New&lt;/code&gt; then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Computer&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_gui0.png&quot; alt=&quot;add_computer_gui0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Input any computer name, this example was &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;JPCserver&lt;/code&gt;, then click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OK&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_gui1.png&quot; alt=&quot;add_computer_gui1&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The new computer has now been added to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Computers&lt;/code&gt; group&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h2 id=&quot;add-active-directory-computer-account-via-powershell&quot;&gt;Add Active Directory Computer Account via PowerShell&lt;/h2&gt;

&lt;p&gt;Launch PowerShell as admin&lt;/p&gt;

&lt;p&gt;Show the current list of AD computers&lt;/p&gt;

&lt;div class=&quot;language-powershell highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Get-ADComputer&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-Filter&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Format-Table&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;DistinguishedName&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_powershell0.png&quot; alt=&quot;add_computer_powershell0&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Add a new computer called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;JPCserver2&lt;/code&gt;&lt;/p&gt;

&lt;div class=&quot;language-powershell highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;New-ADComputer&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-Name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;JPCserver2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_powershell1.png&quot; alt=&quot;add_computer_powershell1&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Verify the newly added computer&lt;/p&gt;

&lt;div class=&quot;language-powershell highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Get-ADComputer&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-Filter&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Format-Table&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;DistinguishedName&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_powershell2.png&quot; alt=&quot;add_computer_powershell2&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Deleting computer accounts&lt;/p&gt;

&lt;div class=&quot;language-powershell highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Remove-ADComputer&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-Identity&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;err&quot;&gt;“&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;CN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;JPCserver2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;CN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Computers&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;DC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;srv&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;DC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;world&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;”&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Choose &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yes&lt;/code&gt; when prompted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;/static/assets/img/blog/2023/adding_active_directory_computer_accounts/add_computer_powershell3.png&quot; alt=&quot;add_computer_powershell3&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Adding computer accounts to your Active Directory is a fundamental task for maintaining an organized and efficient network environment. The choice between the GUI and PowerShell methods depends on your specific needs.&lt;/p&gt;

&lt;p&gt;The GUI provides simplicity and ease of use for single or occasional additions. PowerShell is ideal for managing large numbers of computer accounts or automation.&lt;/p&gt;

&lt;p&gt;By using these methods, you can effectively manage and maintain your computer accounts in Active Directory, ensuring your network operates smoothly and efficiently!&lt;/p&gt;
</description>
        <pubDate>Sat, 25 Nov 2023 00:00:00 -0500</pubDate>
        <link>https://jamisonjcjohnson.github.io/blog/windows/adding_active_directory_computer_accounts.md/</link>
        <guid isPermaLink="true">https://jamisonjcjohnson.github.io/blog/windows/adding_active_directory_computer_accounts.md/</guid>
        
        <category>windows</category>
        
        <category>active_directory</category>
        
        <category>account_management</category>
        
        
        <category>Windows</category>
        
      </item>
    
  </channel>
</rss>
