Skip to content

Commit

Permalink
adding reference to ansible and couple abouts
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Jan 14, 2024
1 parent d5ae5cd commit af9bddf
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 1 deletion.
62 changes: 62 additions & 0 deletions _posts/2022-03-20-selfh-internet-better.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,68 @@ If you are using unbound DNS as your DNS server, you may need to flush the DNS c
dscacheutil -flushcache
```

Wait, what's occupying already my port 53?

```sh
sudo netstat -tuln | grep :53


sudo lsof -i :53
sudo systemctl stop systemd-resolved
#sudo systemctl disable systemd-resolved
#sudo systemctl enable systemd-resolved


#systemctl list-units --type=service | grep 'running'
```

### Deploy PiHole with Unbound

```yml
version: '3'

networks:
dns_net:
driver: bridge
ipam:
config:
- subnet: 172.16.0.0/16 #check in portainer Nenwork Tab which one you have available (sort and see)

services:
pihole:
container_name: pihole
hostname: pihole
image: pihole/pihole:latest
networks:
dns_net:
ipv4_address: 172.16.0.7
ports:
- "53:53/tcp"
- "53:53/udp"
- "85:80/tcp"
#- "443:443/tcp"
environment:
TZ: 'Europe/London'
WEBPASSWORD: 'password'
PIHOLE_DNS_: '172.23.0.8#5053'
volumes:
- '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/'
- '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: unless-stopped
unbound:
container_name: unbound #https://github.com/MatthewVance/unbound-docker/issues/58
image: mvance/unbound-rpi #mvance/unbound:latest
networks:
dns_net:
ipv4_address: 172.16.0.8
volumes:
- /home/ubuntu/docker/unbound:/opt/unbound/etc/unbound
ports:
- "5053:53/tcp"
- "5053:53/udp"
restart: unless-stopped
```
## SearXNG
Expand Down
4 changes: 3 additions & 1 deletion _posts/2024-01-04-rpi-ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ So you have a Raspberry Pi and want to get started with IoT Project.

But let me guess, you dont have time to read all the Docs, you just want to connect the wirings and get the Data Flowing.

If that resonates with you, keep reading - I will show you how to **leverage Ansible**, an automation tool to Spin up in few IoT Projects with the RPi.
If that resonates with you, keep reading - I will show you how to **leverage Ansible**.

[Ansible is an automation tool](https://jalcocert.github.io/Linux/docs/linux__cloud.md/ansible/) that Pros are using all around and it can Spin up with one liners your IoT Projects with the RPi.

> Yep, still, you will have to connect the cables 😝
{: .prompt-info }
Expand Down
2 changes: 2 additions & 0 deletions _tabs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ Some YT channels:

* <https://www.linuxfordevices.com/>
* <https://ugeek.github.io/>
* <https://pi-hosted.com/>

Great Github repos:

* <https://github.com/veggiemonk/awesome-docker>
* <https://github.com/awesome-foss/awesome-sysadmin#dns---servers>
* <https://github.com/anderspitman/awesome-tunneling>


These particularly are great to discover new Services:
Expand Down

0 comments on commit af9bddf

Please sign in to comment.