Files
.infineon/_-Review/trigkey.ubuntu-podman.md
2024-11-08 09:29:42 -07:00

10 KiB

created, type, updated
created type updated
2024-11-05T22:57:55.000Z note 2024-11-08T05:16:24.000Z

Trigkey Ubuntu Podman

ssh root@free.file.sync.root -i C:/Users/phares/.ssh/id_ed25519

AdGuard

192.168.0.21 free.file.sync.k0308 # 22
192.168.0.31 adguard.affirm.duckdns.org # 3002
192.168.0.31 chat.affirm.duckdns.org # 5001
192.168.0.31 cockpit.affirm.duckdns.org # 9090
192.168.0.31 diskstation.affirm.duckdns.org # 5001
192.168.0.31 drive.affirm.duckdns.org # 5001
192.168.0.31 free.file.sync.media # 22
192.168.0.31 free.file.sync.media # 22
192.168.0.31 kuma.affirm.duckdns.org # 3001
192.168.0.31 photos.affirm.duckdns.org # 5001
192.168.0.31 pve.affirm.duckdns.org # 8006
192.168.0.31 quartz.affirm.duckdns.org # /
192.168.0.42 free.file.sync.room # 22
192.168.0.43 adguard.bchs.duckdns.org # 45158
192.168.0.43 baikal.bchs.duckdns.org # 8013
192.168.0.43 filebrowser.bchs.duckdns.org
192.168.0.43 firefly.bchs.duckdns.org
192.168.0.43 free.file.sync.loft # 22
192.168.0.43 glances.bchs.duckdns.org # 8086
192.168.0.43 grocy.bchs.duckdns.org
192.168.0.43 ha.bchs.duckdns.org # 8124
192.168.0.43 immich.bchs.duckdns.org # 8181
192.168.0.43 kuma.bchs.duckdns.org # 3001
192.168.0.43 nextcloud.bchs.duckdns.org
192.168.0.43 nginx.bchs.duckdns.org # 81
192.168.0.43 papermerge.bchs.duckdns.org # 8000
192.168.0.43 photoprism.bchs.duckdns.org # 2342
192.168.0.43 piwigo.bchs.duckdns.org
192.168.0.43 plex.bchs.duckdns.org
192.168.0.43 postgres.bchs.duckdns.org # 5432
192.168.0.43 traccar.bchs.duckdns.org # 8082
192.168.11.2 adguard.jmlc.duckdns.org # 3002
192.168.11.2 affirm.jmlc.duckdns.org # 8069
192.168.11.2 baikal.jmlc.duckdns.org # 8001
192.168.11.2 cockpit.jmlc.duckdns.org # 9090
192.168.11.2 dashkiosk.jmlc.duckdns.org # 9400
192.168.11.2 free.file.sync.root # 22
192.168.11.2 gitea.jmlc.duckdns.org # 3000
192.168.11.2 immich.jmlc.duckdns.org # 2283
192.168.11.2 mattermost.jmlc.duckdns.org # 8065
192.168.11.2 music.jmlc.duckdns.org # 
192.168.11.2 neko.jmlc.duckdns.org # 8082
192.168.11.2 pgadmin.jmlc.duckdns.org # 5007
192.168.11.2 phares.duckdns.org # 
192.168.11.2 quartz.jmlc.duckdns.org # 8069
192.168.11.1 router.jmlc.duckdns.org # 
192.168.11.2 slideshow.jmlc.duckdns.org # 8080
192.168.11.2 uptimekuma.jmlc.duckdns.org # 3004
192.168.11.2 vaultwarden.jmlc.duckdns.org # 5008
192.168.11.2 xandikos.jmlc.duckdns.org # 8000

Mount

df -h --total
ls /dev/disk/by-uuid -la
# total 0
# drwxr-xr-x 2 root root 120 Nov  5 11:13 .
# drwxr-xr-x 9 root root 180 Nov  5 11:13 ..
# lrwxrwxrwx 1 root root  15 Nov  5 11:13 524993bb-8573-43f1-9b44-0a06ccb26ed4 -> ../../nvme0n1p2
# lrwxrwxrwx 1 root root  15 Nov  5 11:13 7003-530C -> ../../nvme0n1p1
# lrwxrwxrwx 1 root root  15 Nov  5 11:13 84815e94-0318-4578-8715-38f73f77fb65 -> ../../nvme0n1p3
# lrwxrwxrwx 1 root root  15 Nov  5 11:13 c2ceae8a-5790-48d5-9ad2-950db26e7b76 -> ../../nvme0n1p4
nano /etc/fstab
# /dev/disk/by-uuid/84815e94-0318-4578-8715-38f73f77fb65 /mnt/backup ext4 defaults 0 1
# /dev/disk/by-uuid/c2ceae8a-5790-48d5-9ad2-950db26e7b76 /mnt/free-file-sync ext4 defaults 0 1

Name Change

nano /etc/hostname
trigkey-green-g4
rm /etc/machine-id
systemd-machine-id-setup
# ssh-keygen -A
# restorecon /etc/ssh/ssh_host_*

Create iso files for not sure what

# genisoimage vs mkisofs
apt install genisoimage -y
cd /mnt/free-file-sync/iso
mkisofs -o /mnt/free-file-sync/iso/Tracy.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Tracy
mkisofs -o /mnt/free-file-sync/iso/Show\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Show\ ####
mkisofs -o /mnt/free-file-sync/iso/Slides\ Pictures.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Slides\ Pictures
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Pictures.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Pictures
mkisofs -o /mnt/free-file-sync/iso/Year\ Directories.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Year\ Directories
mkisofs -o /mnt/free-file-sync/iso/Rex\ Memorial\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Rex\ Memorial\ ####
mkisofs -o /mnt/free-file-sync/iso/Year\ Only\ Current.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Year\ Only\ Current
mkisofs -o /mnt/free-file-sync/iso/Phares\ Slides\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Phares\ Slides\ ####
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Prints\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Prints\ ####
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Norman\ Herman.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Norman\ Herman
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Grandma\'s\ Quilt\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Grandma\'s\ Quilt\ ####
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Too\ Large\ Photos\ \!9.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Too\ Large\ Photos\ \!9
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Pictures\ Of\ Kids\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Pictures\ Of\ Kids\ ####
mkisofs -o /mnt/free-file-sync/iso/Scanned\ Parents\ Wedding\ Picture\ 1975.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Parents\ Wedding\ Picture\ 1975
mkisofs -o /mnt/free-file-sync/iso/'All Pictures from Wedding Originals 2006.iso' /mnt/free-file-sync/1-Images-A/Images-d8013da9/'All Pictures from Wedding Originals 2006'
mkisofs -o /mnt/free-file-sync/iso/Slide\ in\ Name\ Order\ Originals\ \(622\)\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Slide\ in\ Name\ Order\ Originals\ \(622\)\ ####
mkisofs -o /mnt/free-file-sync/iso/All\ Pictures\ from\ Wedding\ Originals\ 2006\ \!9.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/All\ Pictures\ from\ Wedding\ Originals\ 2006\ \!9
# mkisofs -o /mnt/free-file-sync/iso/Question.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Question

Startup Immich

  • Create library for still photos
  • Create library for moving photos
  • Enable person

Podman Pull

podman pull docker.io/ckulka/baikal:latest
podman pull docker.io/library/postgres:14
podman pull docker.io/gitea/act_runner:nightly
podman pull docker.io/gitea/gitea:1.22.1-rootless
podman pull ghcr.io/daniele-athome/immich-carddav-sync-daemon:master
podman pull docker.io/tensorchord/pgvecto-rs:pg16-v0.2.0
podman pull docker.io/library/postgres:16
podman pull ghcr.io/immich-app/immich-machine-learning:release
podman pull docker.io/library/redis:6.2-alpine@sha256:d6c2911ac51b289db208767581a5d154544f2b2fe4914ea5056443f62dc6e900
podman pull ghcr.io/immich-app/immich-server:release
podman pull docker.io/postgres:13-alpine
podman pull docker.io/library/postgres:16
podman pull docker.io/mattermost/mattermost-team-edition:9.11.2
podman pull docker.io/m1k1o/neko:firefox
podman pull docker.io/library/postgres:13
podman pull docker.io/library/postgres:16
podman pull docker.io/odoo:15.0
podman pull docker.io/odoo:16.0
podman pull docker.io/library/postgres:14
podman pull docker.io/louislam/uptime-kuma:1
podman pull docker.io/library/postgres:14
podman pull docker.io/vaultwarden/server:latest
podman pull ghcr.io/jelmer/xandikos
systemctl --user start gitea-db
systemctl --user start immich-db
systemctl --user start mattermost-db
systemctl --user start odoo-db
systemctl --user start vaultwarden-db
systemctl --user start immich-redis
systemctl --user start gitea-runner
systemctl --user start immich-card-dav
systemctl --user start immich-learning
systemctl --user start pgadmin
systemctl --user start baikal-server
systemctl --user start gitea-server
systemctl --user start immich-server
systemctl --user start mattermost-server
systemctl --user start neko-server
systemctl --user start odoo-server
systemctl --user start uptime-kuma-server
systemctl --user start vaultwarden-server
systemctl --user start xandikos-server
# chmod: /var/lib/gitea/git: Operation not permitted
podman exec -it gitea-server bash
# https://www.snbforums.com/threads/duckdns-with-letsencrypt.86114/
cd /tmp
git clone https://github.com/acmesh-official/acme.sh.git
cd /tmp/acme.sh
./acme.sh --install -m mikepharesjr@msn.com
export DuckDNS_Token=1d3fc707-7052-4459-a624-fb01250f00b9
echo $DuckDNS_Token
./acme.sh --register-account -m mikepharesjr@msn.com
./acme.sh --set-default-ca --server letsencrypt
# https://intodns.com/
./acme.sh --issue --dns dns_duckdns -d '*.jmlc.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
cp -R /root/.acme.sh/\*.jmlc.duckdns.org_ecc/ /root/.acme.sh/wild-jmlc
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.cer /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.cer
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.conf /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.conf
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.csr /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.csr
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.csr.conf /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.csr.conf
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.key /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.key

Cockpit SSL

nano /etc/cockpit/cockpit.conf
[WebService]
Origins = https://cockpit.phares.duckdns.org wss://cockpit.phares.duckdns.org
ProtocolHeader = X-Forwarded-Proto