Hosts === ## Hosts / IPs ```bash sudo vim /etc/hosts ``` ```bash 127.0.0.1 localhost 127.0.1.1 .local # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts # 192.168.1.11 bob 192.168.1.12 carlo 192.168.1.13 gary 192.168.1.14 sandy 192.168.1.15 krabs 192.168.1.16 sheldon 192.168.1.17 bernie # 192.168.1.18 pearl # 192.168.1.53 retropie ``` ### SSH #### On remote (PC) : ```bash ssh-keygen -t ed25519 ​ ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@192.168.1.xxx ​ ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@ ``` === ### Map ```markdown . bikiniBottom ├── bob (192.168.1.11) # caddy ├── carlo (192.168.1.12) # stream ├── turing-pi (192.168.1.10) | ├── gary (192.168.1.13) | ├── sandy (192.168.1.14) | ├── sheldon (192.168.1.16) | └── pearl (192.168.1.18) # En attente ├── krabs (192.168.1.15) # nfs server ├── bernie (192.168.1.17) # octoprint | ------------------------------ └── retropie (192.168.1.53) ``` [![bikiniBottom.webp](https://bookstack.delmar.bzh/uploads/images/gallery/2025-01/scaled-1680-/FAAaSpaRwVvu0HVc-bikinibottom.webp)](https://bookstack.delmar.bzh/uploads/images/gallery/2025-01/FAAaSpaRwVvu0HVc-bikinibottom.webp) ### bob
HardwareIP
CM RK3566 (4/32 emmc)192.168.1.11
Static hostname: bob Pretty hostname: Compute Module n° 1 Icon name: computer Machine ID: b1cb31b775024e039647ff5f6630d7ed Boot ID: 2389279c30484c189b683e0cb42498e2 Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-18-arm64 Architecture: arm64
#### Docker - [Flame](https://bookstack.delmar.bzh/IT/Flame.md?fileId=12230) --- ### carlo
HardwareIP
CM RK3566 (8/32 emmc)192.168.1.12
Static hostname: carlo Pretty hostname: Compute Module n° 2 Icon name: computer Machine ID: f02bbee5724d4201b27cf1eedcf7a186 Boot ID: eeece999704d4057b5b062fb48d490cb Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-18-arm64 Architecture: arm64
#### Docker - [Penpot](https://bookstack.delmar.bzh/IT/Penpot.md?fileId=12253) - [Gitea](https://cloud.delmar.bzh/f/97765) - [Seatsurfing](https://bookstack.delmar.bzh/IT/Seatsurfing.md?fileId=12263) - [Vaultwarden](https://bookstack.delmar.bzh/IT/Vaultwarden.md?fileId=12267) - [Bookstack](https://bookstack.delmar.bzh/books/selfhosted/page/bookstack "Bookstack") - [Home Assistant](https://bookstack.delmar.bzh/books/selfhosted/page/home-assistant "Home Assistant") - [Paperless-ngx](https://bookstack.delmar.bzh/books/selfhosted/page/paperless-ngx "Paperless-ngx") --- ### gary
HardwareIP
CM RK3588 (16/64 emmc)192.168.1.13
Static hostname: sandy Pretty hostname: Compute Module n° 3 Icon name: computer Machine ID: bdaf4ea1b105412ea9f7e44631adac33 Boot ID: f72153ed179c4cc2b3df1614c2f93d48 Operating System: Ubuntu 22.04.4 LTS Kernel: Linux 5.10.160-rockchip Architecture: arm64
--- ### sandy
HardwareIP
CM RK3588 (8/32 emmc)192.168.1.14
Static hostname: sandy Pretty hostname: Compute Module n° 4 Icon name: computer Machine ID: bdaf4ea1b105412ea9f7e44631adac33 Boot ID: f72153ed179c4cc2b3df1614c2f93d48 Operating System: Ubuntu 22.04.4 LTS Kernel: Linux 5.10.160-rockchip Architecture: arm64
#### NFS ``` /etc/fstab ``` ``` krabs:/export/media    /nfs/media   nfs _netdev,x-systemd.automount,noauto,nofail,noatime,nolock,tcp,bg,actimeo=1800 0 0 ``` #### Docker - [Nextcloud](https://bookstack.delmar.bzh/IT/Nextcloud.md?fileId=12247) - [Stirling PDF](https://bookstack.delmar.bzh/books/selfhosted/page/stirling-pdf "Stirling PDF") - [Calibre](https://bookstack.delmar.bzh/IT/Calibre.md?fileId=12223) - [Jellyfin / Jellyseerr](https://bookstack.delmar.bzh/IT/Jellyfin%20%26%20Jellyseerr%20(sandy).md?fileId=12236) #### VPN - [Proton VPN](https://bookstack.delmar.bzh/Proton%20VPN.md?fileId=55975) --- ### krabs ([NFS Server](https://bookstack.delmar.bzh/books/turing-pi/page/nfs-server "NFS Server"))
HardwareIP
CM RK3566 (4/32 emmc)192.168.1.15
Static hostname: krabs Pretty hostname: NFS Server Icon name: computer Machine ID: 723d4f09b6db47a282ff51544a27f6fb Boot ID: 9c008d0c84e04bf9a69fa713a83adfcb Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-18-arm64 Architecture: arm64
``` sudo apt -y install nfs-kernel-server sudo vim /etc/exports ``` ``` /export 192.168.1.0/24(rw,no_root_squash,no_subtree_check) /export/media 192.168.1.0/24(rw,no_root_squash,subtree_check,insecure) ``` ``` sudo vim /etc/fstab ``` ``` # LVM /dev/disk/by-uuid/a67ae390-f36c-4b7c-98a0-4a3b5601c107          /mnt/data       ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl     0 2 # NFS /mnt/data/media/                /export/media   none    bind,nofail     0 0 ``` #### Docker - [Zipline](https://bookstack.delmar.bzh/books/selfhosted/page/zipline "Zipline") --- ### sheldon
HardwareIP
Odroid HC4 (4/256 M2 SSD)192.168.1.16
Static hostname: sheldon Pretty hostname: The Venerable Icon name: computer Machine ID: df84154b596a409fbdc89e877f1f3ed0 Boot ID: e4911ef2b66f4f53b8ac6ae244d6ad44 Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-odroid-arm64 Architecture: arm64
#### Docker --- ### bernie
HardwareIP
CM RK3566 (4/32 emmc)192.168.1.17
Static hostname: bernie Pretty hostname: Icon name: computer Machine ID: Boot ID: Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Architecture: arm64
#### Docker - [Octoprint](https://bookstack.delmar.bzh/books/selfhosted/page/octoprint "Octoprint") --- ### pearl
HardwareIP
CM RK3566 (4/32 emmc)192.168.1.18
Static hostname: bernie Pretty hostname: Icon name: computer Machine ID: Boot ID: Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Architecture: arm64
#### Docker