no d inrogers
open-menu closeme
nav_home Home
nav_tags Tags
nav_categories Categories
nav_archives Archives
nav_about About
English Português
  • 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
  • Installing calibre-web, in a Docker container, on a Ubuntu VM, running in TrueNAS

    calendar January 8, 2021 nav_categories Software nav_categories Tech nav_tags calibre nav_tags calibre-web nav_tags docker nav_tags freenas nav_tags truenas nav_tags ubuntu

    Damn, that was a long, drawn out title….

    Basics:

    • As of this writing, I’m running TrueNAS 12.2

    • While I really like TrueNAS, TrueNAS/FreeNAS doesn't support Docker containers.

    • The TrueNAS team is working on TrueNAS SCALE, which is Linux-based, and support Docker containers, but it’s still in alpha.

    • Once TrueNAS …

    Read More
  • TrueNAS/FreeNAS – Use the GUI !

    calendar January 5, 2021 nav_categories Tech nav_categories software nav_tags docker nav_tags truenas nav_tags truenas scale

    While testing out TrueNAS SCALE, I wanted to do some Docker-ing, and following best-practices, I tried to configure non-root access to the Docker daemon.

    Fail !

    I had added my username to the existing docker group:

    sudo usermod -aG docker $USER
    

    But I was still unable to use Docker, unless I was root:

    docker ps
    Got …

    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
    • ««
    • «
    • 12
    • 13
    • 14
    • 15
    • 16
    • »
    • »»

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

to-top