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
  • 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
  • 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
  • Wireguard VPN access

    calendar January 1, 2022 nav_categories Tech nav_tags wireguard nav_tags ubuntu nav_tags linux nav_tags vpn nav_tags mac

    When away from home, it's always nice to be able to access devices, servers, services, on my home network.

    In addition to accessing my home network's resources, if I route all of my traffic through my home network, I get the added benifit of avoiding insecure wireless networks.

    There have been more than a few …

    Read More
  • Expanding the hard drive (non-LVM) of a Linux virtual machine

    calendar October 27, 2021 nav_categories Tech nav_tags linux nav_tags ubuntu nav_tags ubuntu desktop nav_tags resize2fs nav_tags fdisk nav_tags virsh nav_tags fdisk nav_tags qemu

    I created an Ubuntu desktop virtual machine (VM) on my KVM system, and shortly after I started using it, I realized that I hadn't allocated/created a large enough hard drive for my use.

    I have a "master" Ubuntu VM that I clone when I need an Ubuntu VM, which is set up and configured they way I like it.

    I had …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

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

to-top