no d inrogers
open-menu closeme
nav_home Home
nav_tags Tags
nav_categories Categories
nav_archives Archives
nav_about About
English Português
  • Change visudo editor

    calendar January 30, 2022 nav_categories Tech nav_tags linux nav_tags sudo nav_tags vim nav_tags nano

    By default, Ubuntu uses nano for editing visudo.

    Nano is the linux editor for Windows administrator . . . don't use it!

    To change it to something else, such as vim:

    sudo update-alternatives --config editor
    There are 4 choices for the alternative editor (providing /usr/bin/editor).
    
      Selection    Path …

    Read More
  • Password-less sudo

    calendar January 25, 2022 nav_categories Tech nav_tags linux nav_tags sudo

    While never a good idea to enable this in a production, or multi-user system, on a lab system, not needing to type in a password when running sudo makes life a lot easier.

    • To enable password-less sudo:

      sudo visudo
      
    • Add this to the bottom of the file, assuming your username is tom:

      tom ALL=(ALL) NOPASSWD: ALL
      
    • If we …

    Read More
  • Moving a VM to another KVM host

    calendar January 22, 2022 nav_categories Tech nav_tags kvm nav_tags virtual machine nav_tags vm nav_tags virsh

    I have two KVM systems: one that run on my NAS, and one dedicated for KVM, which is also the one I use for lab testing.

    I've found a couple of times where I've had a VM on my lab KVM that I wanted to move/migrate to my NAS (non-lab, or prod) KVM.

    Not difficult to do, as both systems are set up the same way, …

    Read More
  • Excluding files from a tar archive

    calendar January 15, 2022 nav_categories Tech nav_tags tar nav_tags linux

    I was trying to make a backup, but exclude my working directory, which just has a lot of temp files in it.

    . . . easier said than done . . .

    The concept is pretty easy, simply use the --exclude="file2exclude" switch option in the command, and the file(s)/directory(ies) listed will be excluded.

    It didn't work. …

    Read More
  • Smoked pork loin

    calendar January 10, 2022

    Think of a pork loin as an uncut roll of boneless pork chops, because that's exactly what it is in reality.

    I came across this recipe, and figured I'd give it a shot, as it was really cheap, at under $2 a pound, and looked great.

    It didn't disappoint.

    This was by far the juiciest pork I've ever cooked!

    Great smoke …

    Read More
  • Enabling KVM host to virtual machine communication

    calendar January 6, 2022 nav_categories Tech nav_categories Networking nav_tags networking nav_tags ip nav_tags route nav_tags linux nav_tags kvm nav_tags virtual machine nav_tags vm

    Virtual machines (VM) and their KVM host can't communicate over the network, which is by design.

    There are times however, that I want to enable VM to KVM host communication, typically because the KVM host is hosting something else I want to access from the VM..

    The two ways of doing this, along with the pros and cons: …

    Read More
    • ««
    • «
    • 10
    • 11
    • 12
    • 13
    • 14
    • »
    • »»

©2019 -   |  www.nodinrogers.com
Powered by Hugo and based off of the Hugo Clarity theme

to-top