138 lines
9.9 KiB
Markdown
138 lines
9.9 KiB
Markdown
---
|
|
created: 2024-11-05T22:57:55.000Z
|
|
type: note
|
|
updated: 2024-11-27T03:43:41.000Z
|
|
---
|
|
|
|
# Trigkey Ubuntu Podman
|
|
|
|
```bash
|
|
ssh root@free.file.sync.root -i C:/Users/phares/.ssh/id_ed25519
|
|
```
|
|
|
|
## Mount
|
|
|
|
- [ubuntu-make-mount-point-for-unused-partitions](https://superuser.com/questions/1640712/ubuntu-make-mount-point-for-unused-partions)
|
|
|
|
```bash Tue Nov 05 2024 11:27:18 GMT-0700 (Mountain Standard Time)
|
|
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
|
|
|
|
- [what-must-be-changed-for-cloned-linux-systems](https://superuser.com/questions/207342/what-must-be-changed-for-cloned-linux-systems)
|
|
- [after-cloning-a-ubuntu-22-04-server](https://ichimusai.org/after-cloning-a-ubuntu-22-04-server/)
|
|
- [how-can-i-regenerate-ssh-keys](https://superuser.com/questions/1156344/how-can-i-regenerate-ssh-keys)
|
|
|
|
```bash Tue Nov 05 2024 12:20:52 GMT-0700 (Mountain Standard Time)
|
|
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
|
|
|
|
```bash Tue Nov 05 2024 12:20:52 GMT-0700 (Mountain Standard Time)
|
|
# 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
|
|
```
|
|
|
|
```bash 1732670128400 = 638682669284000000 = Tue Nov 26 2024 18:15:27 GMT-0700 (Mountain Standard Time)
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Event.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Event
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Tracy.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Tracy
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Edited.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Edited
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Facebook.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Facebook
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/LinkedIn.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/LinkedIn
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Question.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Question
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Show\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Show\ ####
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Day\ One\ \!9.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Day\ One\ \!9
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Slides\ Pictures.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Slides\ Pictures
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/DisneyWorld\ 2019.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/DisneyWorld\ 2019
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Scanned\ Pictures.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Pictures
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Year\ Directories.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Year\ Directories
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Rex\ Memorial\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Rex\ Memorial\ ####
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Year\ Only\ Current.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Year\ Only\ Current
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Phares\ Slides\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Phares\ Slides\ ####
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Scanned\ Prints\ ####.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Prints\ ####
|
|
mkisofs -iso-level 4 -o /mnt/free-file-sync/iso/Scanned\ Norman\ Herman.iso /mnt/free-file-sync/1-Images-A/Images-d8013da9/Scanned\ Norman\ Herman
|
|
mkisofs -iso-level 4 -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 -iso-level 4 -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 -iso-level 4 -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 -iso-level 4 -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 -iso-level 4 -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 -iso-level 4 -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 -iso-level 4 -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
|
|
find /mnt/free-file-sync/iso -maxdepth 1 -type f | wc -l
|
|
mkdir /mnt/iso-compare
|
|
mount /mnt/free-file-sync/iso/DisneyWorld\ 2019.iso /mnt/iso-compare
|
|
mount /mnt/free-file-sync/iso/Edited.iso /mnt/iso-compare
|
|
mount /mnt/free-file-sync/iso/Facebook.iso /mnt/iso-compare
|
|
```
|
|
|
|
## Startup Immich
|
|
|
|
- [x] Create library for still photos
|
|
- [x] Create library for moving photos
|
|
- [ ] Enable person
|
|
|
|
|
|
```log 1732679021481 = 638682758214810000 = Tue Nov 26 2024 20:43:41 GMT-0700 (Mountain Standard Time)
|
|
--- /mnt/free-file-sync/iso
|
|
172.2 GiB [#####################################] Year Directories.iso
|
|
52.7 GiB [########### ] Scanned Norman Herman.iso
|
|
45.8 GiB [######### ] Event.iso
|
|
32.7 GiB [####### ] Year Only Current.iso
|
|
14.4 GiB [### ] Scanned Pictures.iso
|
|
6.5 GiB [# ] Question.iso
|
|
6.1 GiB [# ] Tracy.iso
|
|
3.1 GiB [ ] Phares Slides ####.iso
|
|
2.5 GiB [ ] DisneyWorld 2019.iso
|
|
1.5 GiB [ ] Slides Pictures.iso
|
|
732.3 MiB [ ] All Pictures from Wedding Originals 2006.iso
|
|
344.6 MiB [ ] Slide in Name Order Originals (622) ####.iso
|
|
331.8 MiB [ ] All Pictures from Wedding Originals 2006 !9.iso
|
|
89.1 MiB [ ] Scanned Pictures Of Kids ####.iso
|
|
40.3 MiB [ ] Rex Memorial ####.iso
|
|
24.1 MiB [ ] Facebook.iso
|
|
20.1 MiB [ ] Scanned Too Large Photos !9.iso
|
|
19.8 MiB [ ] Scanned Prints ####.iso
|
|
9.9 MiB [ ] Scanned Grandma's Quilt ####.iso
|
|
4.0 MiB [ ] Day One !9.iso
|
|
1.0 MiB [ ] Show ####.iso
|
|
396.0 KiB [ ] Scanned Parents Wedding Picture 1975.iso
|
|
352.0 KiB [ ] LinkedIn.iso
|
|
*Total disk usage: 339.3 GiB Apparent size: 339.3 GiB Items: 23
|
|
```
|