no d inrogers
open-menu closeme
nav_home Home
nav_tags Tags
nav_categories Categories
nav_archives Archives
nav_about About
English Português
  • Quick Ubuntu for testing

    calendar March 8, 2021 nav_categories Tech nav_tags docker nav_tags ubuntu nav_tags linux

    I needed to run a quick test on a virgin Linux system.

    Rather than spinning up a virtual machine, I just ran a single Docker command, and was up and running.

    docker run -it --entrypoint "/bin/bash" ubuntu:latest
    

    That's it. Really, it's that simple.

    From the Docker docs:

    An ENTRYPOINT allows you to configure a …

    Read More
  • Pi-hole running in a Docker container

    calendar February 23, 2021 nav_categories Tech nav_categories Software nav_tags docker nav_tags linux nav_tags pi-hole nav_tags pihole nav_tags ubuntu

    I was on my mobile, looking up a few recipes, I was amazed at the number of intrusive ads I was getting, which made reading the web pages almost impossible.

    Decided it was time to investigate Pi-hole, as I'd heard good things about it.

    The Pi-hole is a DNS sinkhole that protects your devices from unwanted content, …

    Read More
  • Using a Linux box as a router

    calendar January 26, 2021 nav_categories Tech nav_categories Networking nav_tags linux nav_tags networking nav_tags routing

    The purpose was to have a Linux box act as a simple router.

    Devices:

    • Device1, configured with a 10.10.10.10 IP.
    • Device2, which will be our router, configured with 2 interfaces: 10.10.10.1 and 192.168.1.245.
    • Device3, which is my Internet-facing router, with an internal IP of 192.168.1.1

    The router is going to be …

    Read More
  • Password-less sudo

    calendar January 20, 2021 nav_categories Tech nav_tags linux nav_tags sudo

    Horrible idea in a production box, but great idea for a single user lab system.

    To accomplish this, we'll use the visudo command, which edits the /etc/sudoers file in a safe manner, aka, protect you from seriously messing up your system.

    sudo visudo
    

    At the bottom of that file, add (assuming your username is tom, …

    Read More
  • Allow Docker use by non-root users

    calendar January 2, 2021 nav_categories Software nav_categories Tech nav_tags docker nav_tags linux nav_tags root nav_tags ubuntu nav_tags ubuntu server

    By default Docker needs to be run as the root user.

    Not practical or advisable in a production, or shared system to be consistently logged in as root (think running with scissors).

    Out of the box, attempting to run Docker as a non-root user gets this error:

    whoami
    tom
    
    docker run hello-world
    docker: Got permission …

    Read More
  • Configure static IP in Ubuntu 20.04 via the CLI

    calendar December 31, 2020 nav_categories Networking nav_categories Tech nav_tags linux nav_tags ubuntu nav_tags ubuntu server

    Doing some lab testing, and needed to add another interface on an Ubuntu server virtual machine.

    Quickly added it via the host (TrueNAS), but it came unconfigured and uninitialized.

    The interface is in a down state, so it doesn't show up in ifconfig without using a switch:

    ifconfig
    enp0s4: flags=4163< …

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

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

to-top