Posts with "linux" Tag

Add a User in a Docker Container with a custom password

by danaukes

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

External Resources

  • ...
Read More
Install Docker

by danaukes

From here

  1. Install and test

    ```bash sudo apt remove ...

Read More
Using Python in a Docker Container

by danaukes

Introduction

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

Read More
PiHole Setup

by danaukes

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 danaukes

Instructions

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

    follows ...

Read More
IOT Stuff

by danaukes

Collection of IOT Notes
Read More
Bash Basics

by danaukes

Arguments

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

Read More
Fail2Ban

by danaukes

Derived from here:

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

Read More