Files
.infineon/_-Review/trigkey.ubuntu-podman.md
2024-11-11 18:09:15 -07:00

5.9 KiB

created, type, updated
created type updated
2024-11-05T22:57:55.000Z note 2024-11-11T19:25:14.208Z

Trigkey Ubuntu Podman

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

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
# 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