Posts with "linux" Tag

Add a User in a Docker Container with a custom password

by Dan Aukes

password="1YelloDog@"
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
echo "$pass"

External Resources

  • ...
Read More
Install Docker

by Dan Aukes

From here

  1. Install and test

    ```bash sudo apt remove ...

Read More
Using Python in a Docker Container

by Dan Aukes

Introduction

This tutorial makes it possible to spin up a container with everything you need ...

Read More
PiHole Setup

by Dan Aukes

docker compose

```yaml version: "3"

More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/

services: pihole: ...

Read More
Using Github with two accounts

by Dan Aukes

Instructions

  1. Create a new, separate key for each github account

    follows ...

Read More
IOT Stuff

by Dan Aukes

Collection of IOT Notes

Read More
Bash Basics

by Dan Aukes

Arguments

short arguments usually have a single dash followed by a single character. An ...

Read More
Fail2Ban

by Dan Aukes

Derived from here:

```bash sudo apt install -y fail2ban sudo systemctl enable fail2ban sudo systemctl start ...

Read More