Removed mklink for git

This commit is contained in:
2024-11-06 12:39:13 -07:00
parent a6071a4073
commit 11bb8c848c
263 changed files with 19951 additions and 1508 deletions

71
_-Review/.py Normal file
View File

@ -0,0 +1,71 @@
from amazon_photos import AmazonPhotos
ap = AmazonPhotos(
# see cookie examples above
cookies={
'at_main': 'Atza|IwEBIKaTt-nbq8GY6MaHFmoPREguVxq0XCPFIPhqdaXNnWl8ZNSkq7xRHRN7RDKyyWcpRrAj1hu2TyB1dRPAi9VeUO_EihstUpc3ZK5ui1UjpOFo0x50sBeo-hCLZrAWd-UNjSbCBJn4mrZajaaC0S9EnM54W1Pyxg2hITlqqXRDAHrNVCQOQ-Nk5_LiE6jvppTV3uLpe4gahDCsTz1UqFBt42iLe9atrWMAPeJ5JnZm6OsfPL0cLMtTiknkwnkV5l_sk61rbWwITXtALSlJaxfW8k5dwzXD2y7p1OOtMw02bdXX2A',
'csd-key': 'eyJ3YXNtVGVzdGVkIjp0cnVlLCJ3YXNtQ29tcGF0aWJsZSI6dHJ1ZSwid2ViQ3J5cHRvVGVzdGVkIjpmYWxzZSwidiI6MSwia2lkIjoiMzNlNTBlIiwia2V5IjoiTjhqTWFzcGxmYTVINEZjbTQ4QldVa01JNmExaHVGRytrQTlYQ3NBMlR6RU9YcVBpeFh0SnVmYnk1a3pJQmxHSUxkQ0lLaGRNdThiMW5WR0lvVyt3VkxNMENJUXduY1FxSDR4RldPb0lPZXZ6ejIvV0J6dkRLcnRIelAwSGhmVHdHOHpBUU95ZzZXU1VuZldrRVd2UjNrV1hVTVZRNGNGMkV3aWE2emhFMVR5SGUrWUpsWUNHUWc4WEttbURxdFdzTEUxZHNaZ1JIVGxSMGRXbldLT2NRZ0NtQUdOeEpJMDRGQkNuY1VUWnVNaVF3VHV5NHBTK2p4U2t4TGwxckxocjRhcWwrZ2ZONVRMQVJ3Z3BwWWRGMzA3OWQySGZZYno4TFFlZmpWRG42QXdoY3l2aU5DNExDVXZnY1lKbFY5bDUzTU5zZytzZ0dFMkJ0cHVtWXVnK0VnPT0ifQ==',
'csm-hit': 'tb:FWHMXQB2N9YR3XD0WD50+ba-4W9NK8V7MQQX19ZBNQMR-EN10GR0C8995B3TXDBW2|1718721855872&t:1718721855872&adb:adblk_no',
'cwr_s': 'eyJzZXNzaW9uSWQiOiIxOTJhMDBiZC1kMGEyLTRiMjQtOGMwOS03OWUwNWJmMjY4OGUiLCJyZWNvcmQiOnRydWUsImV2ZW50Q291bnQiOjEwMzQsInBhZ2UiOnsicGFnZUlkIjoiL3Bob3Rvcy8iLCJwYXJlbnRQYWdlSWQiOiIvcGhvdG9zL3NldHRpbmdzIiwiaW50ZXJhY3Rpb24iOjM2LCJyZWZlcnJlciI6IiIsInJlZmVycmVyRG9tYWluIjoiIiwic3RhcnQiOjE3MTg3MjE1MjkxMTZ9fQ==',
'cwr_u': '82367c0a-fd6e-41e0-9a57-24eb6a3b4a61',
'i18n-prefs': 'USD',
'JSESSIONID': 'F12B4E4CDFDC2A8F075BD6826B61564A',
'lc-main': 'lc-main',
'sess-at-main': 'QjgIr25GpBkN+U7VP7NiwCpyzU1DaRDRtrZBy6lU9MI=',
'session-id-time': 'session-id-time',
'session-id': '130-2086422-3631604',
'session-token': 'g8YwxNbYOociOxFEOkrsTN/lV2WSoAw6MAPSuswF9NnPd30r4wpLKxOQNMPW8j5sAY0NdD11g7tBXTDQS0rlTe8hIlhOnSgbfPUTtrjKO23zz/vOIKoUL6b6359LwO1ltd0juvuKc5aFPJaxeKUzcFcC5Jxm2kSXyCz7eRJeBluyc061RdSchHWL/5SqB0pC9oDih2uF5HDl6pKecF8YiX2CWytqRxlBVn2Q141fezdJ9kUcHsfL7mZZKfrrmvI2qZFfZa2379HB/mpEI1Cw72WM5RX1SsleBN3JRBaEhBzqAPYb1DVE7+GWiU5BFeA9IgyWNgqHm2MiQr7kBY4pEOivhwnaOzL+VJld3ODy57vKS1wPoDznkD5Ok5HEw0eO',
'sid': 'wZ4+IDpaIn7d2kRmXGxFSg==|r+MfueUTDWes8fZ9LFfeNgIkqxJsXUO3CLKPszvIHaw=',
'sst-main': '1J2N3VvLsFDH97SkezFcBG@3AoVgPcoV',
'sst-main': 'Sst1|PQFFb7JpsYltezg6eBdc_j8HCULqNcosQnd-NG41uUhWywHtQufMARZRg4_phg_UoCqM4_d7QbTbFguppSgCejnToCz80Qy7m-TAqMwJj054wkn9uAg-Pr2nF8rMY9gXh-BVvR1RnF4xZwIP9HihcwQbe21QqMDorsbx-GAMoQzzDskFH4bNcBBNBJnbSq7KoRBEtJiLoNh6-MmPl6L2F8nk38putRVLwReRmMPchaeVfeluTFd2jNu6SYjhUMaSfc3f8ZvGOMaiCsPh1AHRsvXTGpzWxO57usZJP0_4LbCY82A',
'ubid_main': '134-9800184-2401841',
},
# optionally cache all intermediate JSON responses
tmp='tmp',
# pandas options
dtype_backend='pyarrow',
engine='pyarrow',
# cdproxy_override='https://content-na.drive.amazonaws.com/cdproxy/nodes'
)
# get current usage stats
ap.usage()
# get entire Amazon Photos library
nodes = ap.query("type:(PHOTOS OR VIDEOS)")
# query Amazon Photos library with more filters applied
nodes = ap.query("type:(PHOTOS OR VIDEOS) AND things:(plant AND beach OR moon) AND timeYear:(2023) AND timeMonth:(8) AND timeDay:(14) AND location:(CAN#BC#Vancouver)")
# sample first 10 nodes
node_ids = nodes.id[:10]
# move a batch of images/videos to the trash bin
ap.trash(node_ids)
# get trash bin contents
ap.trashed()
# permanently delete a batch of images/videos
ap.delete(node_ids)
# restore a batch of images/videos from the trash bin
ap.restore(node_ids)
# upload media (preserves local directory structure and copies to Amazon Photos root directory)
ap.upload('path/to/files')
# download a batch of images/videos
ap.download(node_ids)
# convenience method to get photos only
ap.photos()
# convenience method to get videos only
ap.videos()
# get all identifiers calculated by Amazon.
ap.aggregations(category="all")
# get specific identifiers calculated by Amazon.
ap.aggregations(category="location")

8
_-Review/2-fauth.md Normal file
View File

@ -0,0 +1,8 @@
---
created: 2024-07-03T03:11:43.623Z
status: 1-Unknown
type: note
updated: 2024-11-03T18:41:54.091Z
---
# 2FAuth

View File

@ -9,3 +9,4 @@ updated: "2024-01-06T01:25:36.098Z"
- [SRP 2100](../CEP/srp-2100.md)
- Gertler Torsten (CSC FI FE EMA EA D)
- [ACM-DB-Client](http://goto.infineon.com/acmdb)

28
_-Review/adguard.md Normal file
View File

@ -0,0 +1,28 @@
---
created: 2024-08-05T20:57:35.733Z
tags:
- Hosts
type: note
updated: 2024-11-06T00:46:10.000Z
---
# ADGuard
- [x] Snap [adguard-home](https://snapcraft.io/adguard-home)
- [x] HAOS
- [x] Docker
- [x] Manual
- [x] LXC
- [x] Browser
- [ ] WSL
- [adguard](https://snapcraft.io/adguard-home)
```bash Fri Aug 02 2024 17:53:44 GMT-0700 (Mountain Standard Time)
snap install adguard-home
```
```bash Fri Aug 09 2024 16:35:55 GMT-0700 (Mountain Standard Time)
systemctl disable systemd-resolved.service
systemctl stop systemd-resolved
```

33
_-Review/ado-cli.md Normal file
View File

@ -0,0 +1,33 @@
---
created: 2024-10-24T20:25:29.954Z
type: note
updated: 2024-10-24T21:35:52.387Z
---
# ADO CLI
- [get-started](https://learn.microsoft.com/en-us/azure/devops/cli/?view=azure-devops)
- [quick-reference](https://learn.microsoft.com/en-us/azure/devops/cli/quick-reference?view=azure-devops)
- [install-or-update](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli#install-or-update)
```bash Thu Oct 24 2024 13:27:34 GMT-0700 (Mountain Standard Time)
az extension add --name azure-devops
# az devops configure --defaults organization=https://tfs.intra.infineon.com/tfs/FactoryIntegration
# az devops configure --defaults organization=https://tfs.intra.infineon.com/tfs/FactoryIntegration project=ART SPS
az devops configure --defaults organization=https://tfs.intra.infineon.com/tfs/FactoryIntegration project="ART SPS"
az devops login
az boards query --help
az boards query --id c23b1924-23bc-4277-bccc-0e96c9b95a35 --output table
az boards query --id c23b1924-23bc-4277-bccc-0e96c9b95a35 --output json
az boards query --id c23b1924-23bc-4277-bccc-0e96c9b95a35 --output jsonc
az boards query --id c23b1924-23bc-4277-bccc-0e96c9b95a35 --output yamlc
az boards query --id 3373b300-8de3-4301-9795-e990c3b226f9 --output yamlc
az boards query --id 3373b300-8de3-4301-9795-e990c3b226f9 --output table
```
```bash Thu Oct 24 2024 14:35:05 GMT-0700 (Mountain Standard Time)
%userprofile%\
copy ".azure\azuredevops"
copy ".azure\cliextensions"
copy .azure-devops
```

View File

@ -1,9 +1,10 @@
---
type: "topic"
created: "2024-01-24T18:10:35.032Z"
updated: "2024-01-24T18:11:09.504Z"
created: 2024-01-24T18:10:35.032Z
type: topic
updated: 2024-11-03T18:41:54.090Z
---
# ADO
- [Microsoft Azure DevOps platform (ADO) & Agile Planning features](https://videoportal.infineon.com/videos/play/F3D1A032-8372-487D-9B16-A6A68EB17044/4BED60DB-7C37-41C1-BBB9-3C1318D1836F)
- [other-family](https://visualstudio.microsoft.com/downloads/#other-family)

View File

@ -0,0 +1,147 @@
---
created: 2024-07-27T21:44:29.149Z
draft: true;
type: note
updated: 2024-07-27T21:45:02.872Z
---
# AFFIRM.LINKPC.NET
## affirm.linkpc.net
## affirm-linkpc-net
### SSL
```bash Sat Jul 27 2024 15:10:24 GMT-0700 (Mountain Standard Time)
RESULT=0:SSL Issued Successfully
Progressive Messaging:
/netdorm/webbin//ssl/all-ssl.pl -d affirm.linkpc.net -d *.affirm.linkpc.net --step=0
>> /netdorm/webbin//ssl/all-ssl.pl -d affirm.linkpc.net -d *.affirm.linkpc.net --step=0 2>&1 | tee /netdorm/webbin//ssl/log/affirm.linkpc.net
Generating Wild Card * SSL for affirm.linkpc.net....
>> /root/.acme.sh/acme.sh --set-default-ca -d affirm.linkpc.net -d *.affirm.linkpc.net --yes-I-know-dns-manual-mode-enough-go-ahead-please --keylength 2048 --issue --dns --force | tee /tmp/affirm.linkpc.net29501
[Sat Jul 27 18:02:23 EDT 2024] Please add the TXT records to the domains, and re-run with --renew.
[Sat Jul 27 18:02:23 EDT 2024] Please add '--debug' or '--log' to check more details.
[Sat Jul 27 18:02:23 EDT 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh..
..Post=?txt=_acme-challenge.affirm.linkpc.net=VsgeQRk7B8sGKoMGZnXgBH269s4CpVg4MBlk1u2tX1E;_acme-challenge.affirm.linkpc.net=Wgq6q395h8CLi4tXbZrn5mHHig7i0GaP4Ix1G5Z-UYg
..Return=_acme-challenge.affirm.linkpc.net=VsgeQRk7B8sGKoMGZnXgBH269s4CpVg4MBlk1u2tX1E
_acme-challenge.affirm.linkpc.net=Wgq6q395h8CLi4tXbZrn5mHHig7i0GaP4Ix1G5Z-UYg
result=0
DNS has been sucessfully added.
Waiting for DNS changes to get propagated. It may take a few minutes.
....CHECK _acme-challenge.affirm.linkpc.net -> VsgeQRk7B8sGKoMGZnXgBH269s4CpVg4MBlk1u2tX1E
....TXT OK....CHECK _acme-challenge.affirm.linkpc.net -> Wgq6q395h8CLi4tXbZrn5mHHig7i0GaP4Ix1G5Z-UYg
....TXT Wait
....CHECK _acme-challenge.affirm.linkpc.net -> VsgeQRk7B8sGKoMGZnXgBH269s4CpVg4MBlk1u2tX1E
....TXT OK....CHECK _acme-challenge.affirm.linkpc.net -> Wgq6q395h8CLi4tXbZrn5mHHig7i0GaP4Ix1G5Z-UYg
....TXT OK
DNS TXT is finished.
Wait 20 seconds
>> /root/.acme.sh/acme.sh --set-default-ca -d affirm.linkpc.net -d *.affirm.linkpc.net --yes-I-know-dns-manual-mode-enough-go-ahead-please --keylength 2048 --renew --force > /tmp/affirm.linkpc.net.29501[Sat Jul 27 18:03:46 EDT 2024] Renew: 'affirm.linkpc.net'
[Sat Jul 27 18:03:47 EDT 2024] Using CA: https://acme.zerossl.com/v2/DV90
[Sat Jul 27 18:03:47 EDT 2024] Multi domain='DNS:affirm.linkpc.net,DNS:*.affirm.linkpc.net'
[Sat Jul 27 18:03:47 EDT 2024] Getting domain auth token for each domain
[Sat Jul 27 18:03:47 EDT 2024] Verifying: affirm.linkpc.net
[Sat Jul 27 18:03:48 EDT 2024] Processing, The CA is processing your order, please just wait. (1/30)
[Sat Jul 27 18:03:50 EDT 2024] Success
[Sat Jul 27 18:03:51 EDT 2024] Verifying: *.affirm.linkpc.net
[Sat Jul 27 18:03:51 EDT 2024] Processing, The CA is processing your order, please just wait. (1/30)
[Sat Jul 27 18:03:54 EDT 2024] Success
[Sat Jul 27 18:03:54 EDT 2024] Verify finished, start to sign.
[Sat Jul 27 18:03:54 EDT 2024] Lets finalize the order.
[Sat Jul 27 18:03:54 EDT 2024] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/O4xJfNEHIye8pafkNCihDg/finalize'
[Sat Jul 27 18:03:54 EDT 2024] Order status is processing, lets sleep and retry.
[Sat Jul 27 18:03:54 EDT 2024] Retry after: 15
[Sat Jul 27 18:04:09 EDT 2024] Polling order status: https://acme.zerossl.com/v2/DV90/order/O4xJfNEHIye8pafkNCihDg
[Sat Jul 27 18:04:10 EDT 2024] Downloading cert.
[Sat Jul 27 18:04:10 EDT 2024] Le_LinkCert='https://acme.zerossl.com/v2/DV90/cert/9W2VvbEXwcoCi8mXiWCZ7Q'
[Sat Jul 27 18:04:11 EDT 2024] Cert success.
-----BEGIN CERTIFICATE-----
MIIGhTCCBG2gAwIBAgIQYTsqN1HgjlXhFdyN7tnntDANBgkqhkiG9w0BAQwFADBL
MQswCQYDVQQGEwJBVDEQMA4GA1UEChMHWmVyb1NTTDEqMCgGA1UEAxMhWmVyb1NT
TCBSU0EgRG9tYWluIFNlY3VyZSBTaXRlIENBMB4XDTI0MDcyNzAwMDAwMFoXDTI0
MTAyNTIzNTk1OVowHDEaMBgGA1UEAxMRYWZmaXJtLmxpbmtwYy5uZXQwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDOof0TUaAf3fzClZz6L+ZK/xHBPzNC
8vIqXaNXqJd+ethud/zxMBGv4jUwsdhaISE065Rs4jwtf2u/Nw+Avj47aezmSsHL
MCiPpeS+dO+k3VvzoZJhbky7hH2XBlaUcM5drUjgo3+/Dorkrib4MA2iCfak9T9+
EDlF+Hqct4KtWRwEQqRPgB3p9XuRM/TWJxe8J+M4yyjVo/vjSjngN7E0qCf6I74A
iwC0lQ+6UGP7BJvGUt5PSD5GBhVOk/MR08Q1KK4KIBg4/MKBs8ySGojj3jQMHxnx
1EQ8rX0HDxrfP9V/rcs7YAQo1t90tZr2zci01EW1Os18x/kv2hNSz615AgMBAAGj
ggKSMIICjjAfBgNVHSMEGDAWgBTI2XhootkZaNU9ct5fCj7ctYaGpjAdBgNVHQ4E
FgQUxNTqAsBckhCyuilyuclZei92sH4wDgYDVR0PAQH/BAQDAgWgMAwGA1UdEwEB
/wQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMEkGA1UdIARCMEAw
NAYLKwYBBAGyMQECAk4wJTAjBggrBgEFBQcCARYXaHR0cHM6Ly9zZWN0aWdvLmNv
bS9DUFMwCAYGZ4EMAQIBMIGIBggrBgEFBQcBAQR8MHowSwYIKwYBBQUHMAKGP2h0
dHA6Ly96ZXJvc3NsLmNydC5zZWN0aWdvLmNvbS9aZXJvU1NMUlNBRG9tYWluU2Vj
dXJlU2l0ZUNBLmNydDArBggrBgEFBQcwAYYfaHR0cDovL3plcm9zc2wub2NzcC5z
ZWN0aWdvLmNvbTCCAQQGCisGAQQB1nkCBAIEgfUEgfIA8AB1AHb/iD8KtvuVUcJh
zPWHujS0pM27KdxoQgqf5mdMWjp0AAABkPY4yeIAAAQDAEYwRAIgQdvJX1VGhLNt
uIsO1UOsYWlZqzNxMOtjm0I+naJdq6ACIBOUcsCOJF0HS/e3ErdFFShWMW/DGIjz
iuZbVRwrgbAGAHcAPxdLT9ciR1iUHWUchL4NEu2QN38fhWrrwb8ohez4ZG4AAAGQ
9jjJygAABAMASDBGAiEAlNUfklUWiIOqcrAxvPg0bFAGA8I4OrP9DKLUuzeRlRIC
IQDr/QERWu9ADgA3Ylh+xZC9lQy5kqR1qAh5PbXQFIbxVDAxBgNVHREEKjAoghFh
ZmZpcm0ubGlua3BjLm5ldIITKi5hZmZpcm0ubGlua3BjLm5ldDANBgkqhkiG9w0B
AQwFAAOCAgEAAmMIBsA3PIx8ON+LqCUWHrzsfHv8D+zHEMl2xbbG132G9u60tVh5
REcDinYSq1fwTsb65/whWs19+etp6DN+5Np/Fm02tXlFMBSNMBYOZUh+P78VyVSZ
Eex58mHwFoAMcX1/KEsv3A6JmbrcjVK2A+yi5nT2nZyukeKO0+rtJNCqEIC7Kpr4
/YLUrVTqID9glFKoO5D6/7f36q01jgWlZ+Pvy6f9Hh7fiJu6g+rb6SS/0Si9F2V+
5YyivimPZH+7AC3LnMdeZQUfLXIcRixBhZtdYaAmkczx+leMy9/kE/6gieRFrxI1
WmNa7RyFXVt/zgCXBd23IoO7ZJRsSZ2juMnSStL5BqgCj1RryEVWUbiQaq6YwTMk
vT7/4BKkBpNQV3fvHhI5hXfPt8WA5Hk1nu4O5X1ih3aDr7YTyDCOrZ/S8CUfTIlX
8pCE3Qc4GI8X6KToSgn07JNuVlLntxZ5vz6mvXkXn8daMXr3Ww2uolLsHW2p3qbq
v/OFrhHHfA+VLsKlMh6bI6HJJgDOFGKOzxHs7lNAsT5KFl/3XSoPiIEjPjmYz06d
PBM+WC6PisobXKnkJQo6b96OUpQYg3yoGD67RezC/1AqhQFPMHXmwEdcPF+P11Ap
/0IzMtMNqs1fC7NXbrmbFhJMHYOD5ZGTn2p7XaVSQvkQHEWYzIgTZ+w=
-----END CERTIFICATE-----
[Sat Jul 27 18:04:11 EDT 2024] Your cert is in: /.acme.sh/affirm.linkpc.net/affirm.linkpc.net.cer
[Sat Jul 27 18:04:11 EDT 2024] Your cert key is in: /.acme.sh/affirm.linkpc.net/affirm.linkpc.net.key
[Sat Jul 27 18:04:11 EDT 2024] The intermediate CA cert is in: /.acme.sh/affirm.linkpc.net/ca.cer
[Sat Jul 27 18:04:11 EDT 2024] And the full chain certs is there: /.acme.sh/affirm.linkpc.net/fullchain.cer
RESULT=0:SSL Issued Successfully
87
/ssl/web-run.pl --domain affirm.linkpc.net --type=2 --step=0
Finished !!
```
### IP Update
```bash
nano ip-update.sh
```
```bash Sat Jul 27 2024 14:51:52 GMT-0700 (Mountain Standard Time)
#!/bin/bash
# Set curl command to update the IP
command="curl https://api.dnsexit.com/dns/ud/?apikey=Z6nIw29i9515mYHg7q664WJP26W4qX -d host=affirm.linkpc.net"
if [ -d "/var/log" ]; then
command="$command >> /var/log/ip-update.log"
fi
# Get the existing crontab content
existing_crontab=$(crontab -l 2>/dev/null)
# Check if the command is already in crontab
if [[ $existing_crontab == *"$command"* ]]; then
echo "Scheduled job already exists in crontab."
else
# Add the scheduled job to the existing crontab content
new_crontab="${existing_crontab}
*/12 * * * * $command"
# Install the modified crontab
echo "$new_crontab" | crontab -
echo "The following job has been added to crontab. You may use command "crontab -l" to view the job"
crontab -l | grep curl
fi
```
```bash Sat Jul 27 2024 14:54:42 GMT-0700 (Mountain Standard Time)
chmod +x ip-update.sh
./ip-update.sh
crontab -l
```

View File

@ -0,0 +1,89 @@
---
type: "note"
created: "2024-06-18T14:10:21.565Z"
updated: "2024-06-19T06:27:30.466Z"
---
# Amazon Photos Python
- [pypi](https://pypi.org/project/amazon-photos/)
- [github](https://github.com/trevorhobenshield/amazon_photos)
```python
from amazon_photos import AmazonPhotos
ap = AmazonPhotos(
# see cookie examples above
cookies={
'at_main': 'Atza|IwEBIKaTt-nbq8GY6MaHFmoPREguVxq0XCPFIPhqdaXNnWl8ZNSkq7xRHRN7RDKyyWcpRrAj1hu2TyB1dRPAi9VeUO_EihstUpc3ZK5ui1UjpOFo0x50sBeo-hCLZrAWd-UNjSbCBJn4mrZajaaC0S9EnM54W1Pyxg2hITlqqXRDAHrNVCQOQ-Nk5_LiE6jvppTV3uLpe4gahDCsTz1UqFBt42iLe9atrWMAPeJ5JnZm6OsfPL0cLMtTiknkwnkV5l_sk61rbWwITXtALSlJaxfW8k5dwzXD2y7p1OOtMw02bdXX2A',
'csd-key': 'eyJ3YXNtVGVzdGVkIjp0cnVlLCJ3YXNtQ29tcGF0aWJsZSI6dHJ1ZSwid2ViQ3J5cHRvVGVzdGVkIjpmYWxzZSwidiI6MSwia2lkIjoiMzNlNTBlIiwia2V5IjoiTjhqTWFzcGxmYTVINEZjbTQ4QldVa01JNmExaHVGRytrQTlYQ3NBMlR6RU9YcVBpeFh0SnVmYnk1a3pJQmxHSUxkQ0lLaGRNdThiMW5WR0lvVyt3VkxNMENJUXduY1FxSDR4RldPb0lPZXZ6ejIvV0J6dkRLcnRIelAwSGhmVHdHOHpBUU95ZzZXU1VuZldrRVd2UjNrV1hVTVZRNGNGMkV3aWE2emhFMVR5SGUrWUpsWUNHUWc4WEttbURxdFdzTEUxZHNaZ1JIVGxSMGRXbldLT2NRZ0NtQUdOeEpJMDRGQkNuY1VUWnVNaVF3VHV5NHBTK2p4U2t4TGwxckxocjRhcWwrZ2ZONVRMQVJ3Z3BwWWRGMzA3OWQySGZZYno4TFFlZmpWRG42QXdoY3l2aU5DNExDVXZnY1lKbFY5bDUzTU5zZytzZ0dFMkJ0cHVtWXVnK0VnPT0ifQ==',
'csm-hit': 'tb:FWHMXQB2N9YR3XD0WD50+ba-4W9NK8V7MQQX19ZBNQMR-EN10GR0C8995B3TXDBW2|1718721855872&t:1718721855872&adb:adblk_no',
'cwr_s': 'eyJzZXNzaW9uSWQiOiIxOTJhMDBiZC1kMGEyLTRiMjQtOGMwOS03OWUwNWJmMjY4OGUiLCJyZWNvcmQiOnRydWUsImV2ZW50Q291bnQiOjEwMzQsInBhZ2UiOnsicGFnZUlkIjoiL3Bob3Rvcy8iLCJwYXJlbnRQYWdlSWQiOiIvcGhvdG9zL3NldHRpbmdzIiwiaW50ZXJhY3Rpb24iOjM2LCJyZWZlcnJlciI6IiIsInJlZmVycmVyRG9tYWluIjoiIiwic3RhcnQiOjE3MTg3MjE1MjkxMTZ9fQ==',
'cwr_u': '82367c0a-fd6e-41e0-9a57-24eb6a3b4a61',
'i18n-prefs': 'USD',
'JSESSIONID': 'F12B4E4CDFDC2A8F075BD6826B61564A',
'lc-main': 'lc-main',
'sess-at-main': 'QjgIr25GpBkN+U7VP7NiwCpyzU1DaRDRtrZBy6lU9MI=',
'session-id-time': 'session-id-time',
'session-id': '130-2086422-3631604',
'session-token': 'g8YwxNbYOociOxFEOkrsTN/lV2WSoAw6MAPSuswF9NnPd30r4wpLKxOQNMPW8j5sAY0NdD11g7tBXTDQS0rlTe8hIlhOnSgbfPUTtrjKO23zz/vOIKoUL6b6359LwO1ltd0juvuKc5aFPJaxeKUzcFcC5Jxm2kSXyCz7eRJeBluyc061RdSchHWL/5SqB0pC9oDih2uF5HDl6pKecF8YiX2CWytqRxlBVn2Q141fezdJ9kUcHsfL7mZZKfrrmvI2qZFfZa2379HB/mpEI1Cw72WM5RX1SsleBN3JRBaEhBzqAPYb1DVE7+GWiU5BFeA9IgyWNgqHm2MiQr7kBY4pEOivhwnaOzL+VJld3ODy57vKS1wPoDznkD5Ok5HEw0eO',
'sid': 'wZ4+IDpaIn7d2kRmXGxFSg==|r+MfueUTDWes8fZ9LFfeNgIkqxJsXUO3CLKPszvIHaw=',
'sst-main': '1J2N3VvLsFDH97SkezFcBG@3AoVgPcoV',
'sst-main': 'Sst1|PQFFb7JpsYltezg6eBdc_j8HCULqNcosQnd-NG41uUhWywHtQufMARZRg4_phg_UoCqM4_d7QbTbFguppSgCejnToCz80Qy7m-TAqMwJj054wkn9uAg-Pr2nF8rMY9gXh-BVvR1RnF4xZwIP9HihcwQbe21QqMDorsbx-GAMoQzzDskFH4bNcBBNBJnbSq7KoRBEtJiLoNh6-MmPl6L2F8nk38putRVLwReRmMPchaeVfeluTFd2jNu6SYjhUMaSfc3f8ZvGOMaiCsPh1AHRsvXTGpzWxO57usZJP0_4LbCY82A',
'ubid_main': '134-9800184-2401841',
},
# optionally cache all intermediate JSON responses
tmp='tmp',
# pandas options
dtype_backend='pyarrow',
engine='pyarrow',
# cdproxy_override='https://content-na.drive.amazonaws.com/cdproxy/nodes'
)
# get current usage stats
ap.usage()
# get entire Amazon Photos library
nodes = ap.query("type:(PHOTOS OR VIDEOS)")
# query Amazon Photos library with more filters applied
nodes = ap.query("type:(PHOTOS OR VIDEOS) AND things:(plant AND beach OR moon) AND timeYear:(2023) AND timeMonth:(8) AND timeDay:(14) AND location:(CAN#BC#Vancouver)")
# sample first 10 nodes
node_ids = nodes.id[:10]
# move a batch of images/videos to the trash bin
ap.trash(node_ids)
# get trash bin contents
ap.trashed()
# permanently delete a batch of images/videos
ap.delete(node_ids)
# restore a batch of images/videos from the trash bin
ap.restore(node_ids)
# upload media (preserves local directory structure and copies to Amazon Photos root directory)
ap.upload('path/to/files')
# download a batch of images/videos
ap.download(node_ids)
# convenience method to get photos only
ap.photos()
# convenience method to get videos only
ap.videos()
# get all identifiers calculated by Amazon.
ap.aggregations(category="all")
# get specific identifiers calculated by Amazon.
ap.aggregations(category="location")
```
```todo
https://www.digitalocean.com/community/tutorials/an-introduction-to-haproxy-and-load-balancing-concepts
https://www.digitalocean.com/community/tutorials/how-to-host-multiple-web-sites-with-nginx-and-haproxy-using-lxd-on-ubuntu-16-04
```

41
_-Review/anbox.md Normal file
View File

@ -0,0 +1,41 @@
---
created: 2024-08-11T19:31:39.000Z
type: note
updated: 2024-08-11T19:31:39.000Z
---
# Anbox
```bash
sudo -i
# apt install openjdk-16-jre # installing Java Enviroment
snap install --devmode --beta anbox # installing anbox
apt install dkms -y # installing ubuntu 20.04 dkms modules because currently ppa is disabled by default from Ubuntu security
apt install linux-headers-generic -y # installing the headers
snap install render # installs a render lib which helps anbox of rendering the windows and that's why some of you got issues when running from command line or it was super slow
```
```bash
apt install build-essential cmake cmake-data debhelper dbus google-mock \
libboost-dev libboost-filesystem-dev libboost-log-dev libboost-iostreams-dev \
libboost-program-options-dev libboost-system-dev libboost-test-dev \
libboost-thread-dev libcap-dev libexpat1-dev libsystemd-dev libegl1-mesa-dev \
libgles2-mesa-dev libglm-dev libgtest-dev liblxc1 \
libproperties-cpp-dev libprotobuf-dev libsdl2-dev libsdl2-image-dev lxc-dev \
pkg-config protobuf-compiler python3-minimal
git clone https://github.com/anbox/anbox.git --recurse-submodules
cd anbox
mkdir build
cd build
cmake ..
make
```
```bash
# add-apt-repository ppa:morphis/anbox-support
# apt update
# apt install linux-headers-generic anbox-modules-dkms
git clone https://github.com/anbox/anbox-modules
cd andbox-modules
./INSTALL.sh
```

16
_-Review/ansible.md Normal file
View File

@ -0,0 +1,16 @@
---
created: 2024-06-24T21:48:25.515Z
status: 1-Unknown
type: note
updated: 2024-11-03T18:42:10.490Z
---
# Ansible
```bash
semaphore user list
semaphore user change-by-login --login user123 --password jCUS7gVdMn
semaphore user add --admin --login user123 --name User123 --email user123@example.com --password Ftk2ijIYqB
semaphore user add --admin --login mikepharesjr@msn.com --name Mike --email mikepharesjr@msn.com --password Ftk2ijIYqB
ansible --version
```

9
_-Review/anti-dupl.md Normal file
View File

@ -0,0 +1,9 @@
---
type: "note"
created: "2024-06-25T03:17:00.000Z"
updated: "2024-06-25T03:17:00.000Z"
---
# Anti Dupl
- [github](https://github.com/ermig1979/AntiDupl/releases)

View File

@ -1,8 +1,8 @@
---
type: "topic"
assigned: ""
created: "2024-01-12T16:48:17.489Z"
updated: "2024-01-12T16:48:17.489Z"
assigned: ''
created: '"2024-01-12T16:48:17.489Z"'
type: '"topic"'
updated: 2024-08-08T20:15:21.985Z
---
# Artifactory
@ -33,3 +33,116 @@ dotnet nuget disable source "nuget.org"
dotnet nuget disable source "Artifactory"
dotnet nuget list source
```
```bash Thu Aug 07 2024 14:13:23 GMT-0700 (Mountain Standard Time)
Set Up a NuGet client
Repository
ngt-fi-package-main-vir
Check out our new NuGet Symbol Server configuration
ConfigureResolve
The token has been generated successfully!
asdf
NuGet CLI configuration
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
To add this repository, use the following command:
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
nuget setapikey phares:asdf -Source Artifactory
NuGet CLI Configuration (API v2)
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
nuget setapikey phares:asdf -Source ArtifactoryV2
Visual Studio Configuration
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
Paste the snippet below in the URL field
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
To add this repository, use the following command:
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
NuGet CLI Symbol configuration
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
To add this repository, use the following command:
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
nuget setapikey phares:asdf -Source Artifactory
NuGet CLI Configuration (API v2)
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
nuget setapikey phares:asdf -Source ArtifactoryV2
Visual Studio Configuration
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
Paste the snippet below in the URL field
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
To add this repository, use the following command:
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
Add the following line to the NuGet.config file:
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
<add key="ArtifactorySymbols" value="https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols" protocolVersion="3" />
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
nuget setapikey phares:asdf -Source ArtifactorySymbols
Visual Studio Configuration
To configure the NuGet Visual Studio Extension to use Artifactory as a Symbol Server, you need to change the location of the symbol (.pdb) file. Under Tools | Options | Debugging | Symbols add a new symbol server pointing to the symbols url:
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
Artifacts
Search Artifacts
Welcome, phares
Enterprise Plus 7.63.14 rev 76314900 Licensed to Infineon Technologies AG
© Copyright 2024 JFrog Ltd
Happily serving 62,632,133 artifacts
Filter repositories
Tree View:
ngt-it-eafa-local
GeneralProperties
Info
URL to file:
https://artifactory.intra.infineon.com/artifactory/ngt-it-eafa-local/
Package Information
Dependency Declaration
Virtual Repository Associations
Included Repositories
Checksums
```
```bash Thu Aug 08 2024 13:13:23 GMT-0700 (Mountain Standard Time)
# https://artifactory.intra.infineon.com/artifactory/ngt-fi-package-main-vir/
# https://artifactory.intra.infineon.com/artifactory/ngt-other-mha-base-local/
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-other-mha-base-local/index.json
```

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-29T00:24:50.067Z"
updated: "2024-01-29T00:24:50.067Z"
created: 2024-01-29T00:24:50.067Z
type: topic
updated: 2024-11-02T15:37:15.000Z
---
# Asus Laptop
@ -41,3 +41,183 @@ e 4.0 KiB [ ] /media
@ 0.0 B [ ] lib
@ 0.0 B [ ] bin
```
## Ubuntu and Docker August 2024
### authorized_keys
```bash Thu Jul 25 2024 16:02:13 GMT-0700 (Mountain Standard Time)
sudo -i
cat /root/.ssh/authorized_keys
nano /root/.ssh/authorized_keys
```
```conf Thu Jul 25 2024 16:02:15 GMT-0700 (Mountain Standard Time)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7khmvc9lTWHALZ/IOMcJNz/1SuvrU53fI43v4PxIJN # 92532396 2023-12-27 mikep@DESKTOP-VP94SPB
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGq7b8qtm4fgNxW2lxm+qoxm8Wz7+1uhLQCg7xSlKYL1 # 92683771 2024-01-01 mikep@DESKTOP-BMV4V66
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqLFW9kYMp9lOTXXYafxLiUADFFKeM5KDzt02E3XeRP # 92691378 2024-01-01 cphar@DESKTOP-KA0LMMJ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBkS+uvWevmhYNos6MJKVi2auAx6x+xlyOnnvbdEstsz # 92797978 2024-01-03 mikep@DESKTOP-GNECR7R
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKf5fo63+vyYa8E06+HOPg24e9VMsvv/kBsHKGjBBUyz # 92895319 2024-01-05 mike@mike-B365M-DS3H
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGM6ANLH/4dS0YqlsCyoXkznzkgIsDqCTk3YX01XVWd8 # 92909911 2024-01-06 mikep@DESKTOP-H6JG91B
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwAv1vrRA29GYL0DFSE8nmD5q3gL+vVtFSwhrXObDo4 # 93288214 2024-01-13 infineon\phares@ISCN5CG3256CPS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH1xPVOisKwW6Xwo/Yh1kx2smt2HJU2/pRjTJf4KdGXo # 97267150 2024-03-28 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDz5WqCKsoaxV+LG/kufLNuiE9K3lqp+B3AqeKXGusX # 97442032 2024-04-01 lphar@DESKTOP-1238PEQ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID09PhrjIpeNBmUeycnT3xKF8F5TcGL3ZKAvU9YdLj7H # 98747144 2024-04-25 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIaZyTLpafZta8W8Uv6uWpgbbj4QL5dde9Rlf06PfdYc # 98824914 2024-04-26 k0308@DESKTOP-0UJ8DD5
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFpucyp3FAHn8/9cXvfRegi09DkR6XLugoniEyQ9w0T # 98824924 2024-04-26 mille@DESKTOP-QL2HGEH
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOn/Ptg/k3rOJn32GxrL2J3Bazt/3M9fGWjzP+CW1qXK # 100900455 2024-06-03 lphares0907@penguin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPMIxGucViHMHFXoM2VBPlvLvMgqNi2BUtTE/D4n778M # 101638217 2024-06-14 mikep@DESKTOP-VVO6KCM
```
```bash Thu Jul 25 2024 16:02:34 GMT-0700 (Mountain Standard Time)
exit
```
### Timezone
```bash Thu Jul 25 2024 16:10:06 GMT-0700 (Mountain Standard Time)
timedatectl set-timezone America/Phoenix
date
# Thu Jul 25 04:03:08 PM MST 2024
```
```bash Thu Jul 25 2024 16:10:08 GMT-0700 (Mountain Standard Time)
apt-get update
apt upgrade -y
```
### Create Users
```bash Thu Jul 25 2024 16:10:13 GMT-0700 (Mountain Standard Time)
adduser podman
mkdir /home/podman/.ssh
cp /root/.ssh/authorized_keys /home/podman/.ssh/authorized_keys
chown podman:podman -R /home/podman
#
adduser lphares
#
mkdir /home/lphares/.ssh
cp /root/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
#
adduser bmiller
#
mkdir /home/bmiller/.ssh
cp /root/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
```
### Directory Share
```bash Mon Thu Jul 25 2024 16:10:17 GMT-0700 (Mountain Standard Time)
adduser bmiller lphares
sudo usermod -a -G lphares bmiller
newgrp lphares
systemctl restart ssh
```
### Disable IPv6
```bash Fri Jul 26 2024 10:45:27 GMT-0700 (Mountain Standard Time)
# https://intercom.help/privatevpn/en/articles/6440374-how-to-disable-ipv6-on-ubuntu-and-fedora-linux
nano /etc/sysctl.conf
```
```conf Fri Jul 26 2024 10:45:30 GMT-0700 (Mountain Standard Time)
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
```
```bash Fri Jul 26 2024 10:45:34 GMT-0700 (Mountain Standard Time)
sysctl -p
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
exit
reboot
```
```bash Fri Jul 26 2024 10:45:38 GMT-0700 (Mountain Standard Time)
nano /etc/default/grub
```
```conf Fri Jul 26 2024 10:45:47 GMT-0700 (Mountain Standard Time)
# https://opensource.com/article/22/8/disable-ipv6
# GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"
# GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="ipv6.disable=1"
```
```bash Fri Jul 26 2024 10:45:51 GMT-0700 (Mountain Standard Time)
grub-mkconfig
exit
reboot
```
### Cockpit
- [cockpit](https://cockpit-project.org/)
- [podman](https://192.168.11.2:9090/podman#/?container=all)
```bash Fri Jul 26 2024 10:45:55 GMT-0700 (Mountain Standard Time)
# apt install chkservice -y
apt-cache rdepends cockpit
apt install cockpit -y
passwd phares
# https://192.168.11.10:9090
# https://blog.while-true-do.io/podman-web-ui-via-cockpit/
apt-get install cockpit cockpit-podman -y
systemctl enable --now cockpit.socket
```
### Podman Quadlet
```bash Thu Jul 25 2024 16:30:13 GMT-0700 (Mountain Standard Time)
apt-get install podman -y
apt-cache rdepends podman-compose
apt-get install podman-compose -y
# apt-get remove podman-compose -y
# apt-get purge podman-compose -y
adduser podman sudo
sudo -iu podman
loginctl enable-linger
```
### how to run a shell scripts at every login
- [how-to-run-a-shell-scripts-at-every-login](https://serverfault.com/questions/782433/how-to-run-a-shell-scripts-at-every-login-in-centos)
```bash Fri Jul 26 2024 22:29:56 GMT-0700 (Mountain Standard Time)
nano ~/.bash_profile
cd ~/
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1002
systemctl --user daemon-reload
podman ps -a --sort names
```
### Harddrive
```bash Thu Jul 25 2024 16:44:03 GMT-0700 (Mountain Standard Time)
apt install smartmontools
smartctl -i /dev/sda
```
```yaml Thu Jul 25 2024 16:44:05 GMT-0700 (Mountain Standard Time)
Model Family: SK hynix SATA SSDs
Device Model: SHGS31-500GS-2
Serial Number: EN08N831310108V0W
Firmware Version: 90000Q00
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-3 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Aug 4 16:18:30 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```

11
_-Review/bactalk.md Normal file
View File

@ -0,0 +1,11 @@
---
created: 2024-07-25T16:23:54.879Z
type: note
updated: 2024-07-25T16:44:45.693Z
---
# BACtalk
- [wacnet](https://hvac.io/docs/wacnet#orgheadline4)
- [wacnet](https://wiki.hvac.io/doku.php?id=suppliers:hvac.io:wacnet)
- [honeywell](https://buildings.honeywell.com/us/en/products/by-category/building-management/networking/routers/bactalk-viewport)

View File

@ -32,6 +32,19 @@ code "L:\DevOps\Mesa_FI\File-Watcher"
REM
```
```bash
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "Tibco.Rendezvous" --version "8.5.0" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/"
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "Infineon.Yoda" --version "5.4.1" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/"
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "External.Common.Logging" --version "3.3.1" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/"
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "External.log4net" --version "2.0.8" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/"
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "Infineon.Monitoring.MonA" --version "3.0.0" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/"
dotnet add "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj" package "Infineon.Monitoring.MonA" --version "3.0.1" --source "https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/"
dotnet build "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj"
git ls-tree -l HEAD -- "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj"
git checkout -q -- "L:\DevOps\Mesa_FI\MESAFIBACKLOG\Adaptation\MESAFIBACKLOG.Tests.csproj"
REM
```
```bash
sc.exe create "BaGet-Server" binpath="D:\net6.0\BaGet\Server\BaGet.exe"
sc.exe start "BaGet-Server"

10
_-Review/baikal.md Normal file
View File

@ -0,0 +1,10 @@
---
created: 2024-10-29T19:37:55.000Z
type: note
updated: 2024-10-29T19:37:55.000Z
---
# baikal
- [docker](https://hub.docker.com/r/ckulka/baikal)
- [sabre](https://sabre.io/baikal/docker-install/)

View File

@ -1,52 +0,0 @@
---
type: "topic"
created: "2024-01-06T01:25:36.115Z"
updated: "2024-01-06T01:25:36.115Z"
---
# Bee-Link
- [Syncthing](syncthing.md)
```bash
adduser syncthing
```
```bash
sudo -i
nano /etc/hosts
echo >/etc/hosts && nano /etc/hosts
```
```conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateHosts = false
127.0.0.1 localhost
127.0.1.1 DESKTOP-PE6MOCB. DESKTOP-PE6MOCB
192.168.0.73 phares3757.ddsn.net
# 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
```
```bash
apt-get update
apt-get upgrade
apt-get install syncthing
apt-get install apt-transport-https
apt-get install ca-certificates
apt-get install links
syncthing
adduser syncthing
cat /etc/passwd | cut -d: -f1
systemctl enable syncthing@syncthing.service
systemctl start syncthing@syncthing.service
systemctl status syncthing@syncthing.service
journalctl -e -u syncthing@syncthing.service
nano /home/syncthing/.config/syncthing/config.xml
```

View File

@ -1,11 +1,12 @@
---
type: "topic"
Brand: "Beelink"
GPU: "Intel Celeron 11th Gen N5095 2.9GHz"
SSD: "M.2 SATA3 2280"
RAM: "8GB DDR4"
created: "2024-04-02T01:49:25.791Z"
updated: "2024-04-08T16:54:34.096Z"
Brand: Beelink
created: 2024-04-02T01:49:25.791Z
draft: true;
GPU: Intel Celeron 11th Gen N5095 2.9GHz
RAM: 8GB DDR4
SSD: M.2 SATA3 2280
type: topic
updated: 2024-11-04T19:29:48.000Z
---
# Beelink

View File

@ -0,0 +1,295 @@
---
created: 2024-11-06T02:36:20.000Z
type: note
updated: 2024-11-06T02:36:20.000Z
---
# Beelink Proxmox Media
## Post-PVE
```bash Tue Nov 05 2024 16:52:59 GMT-0700 (Mountain Standard Time)
# https://www.youtube.com/watch?v=kcpu4z5eSEU&t=225s
# https://tteck.github.io/Proxmox/
# https://github.com/tteck/Proxmox
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
uname -r
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/kernel-clean.sh)"
```
```bash Tue Nov 05 2024 17:06:10 GMT-0700 (Mountain Standard Time)
lsb_release -a
apt-get install links unzip nginx git nano git ncdu -y
cd /home
ncdu
```
## Cockpit
- [cockpit](https://cockpit-project.org/)
- [podman](https://192.168.11.2:9090/podman#/?container=all)
```bash Tue Nov 05 2024 17:07:40 GMT-0700 (Mountain Standard Time)
# apt install chkservice -y
apt-cache rdepends cockpit
apt install cockpit -y
# https://192.168.31.12:3000
# https://blog.while-true-do.io/podman-web-ui-via-cockpit/
apt-get install cockpit cockpit-podman -y
systemctl enable --now cockpit.socket
adduser podman
adduser podman sudo
```
## ADGuard
- [adguard](https://snapcraft.io/adguard-home)
```bash Tue Nov 05 2024 17:09:42 GMT-0700 (Mountain Standard Time)
apt-get install snapd -y
snap install adguard-home
reboot
lsof -i -P -n | grep LISTEN
```
```conf
192.168.0.11 adguard.phares.duckdns.org # 3002
192.168.0.11 baikal.phares.duckdns.org # 8013
192.168.0.11 free.file.sync.root # 22
192.168.0.11 gitea.phares.duckdns.org # 3000
192.168.0.11 immich.phares.duckdns.org # 8181
192.168.0.11 quartz.phares.duckdns.org # /
192.168.0.11 slideshow.phares.duckdns.org # /
192.168.0.11 vaultwarden.phares.duckdns.org # 3000
192.168.0.21 free.file.sync.k0308 # 22
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 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.31.12 adguard.affirm.duckdns.org # 3002
192.168.31.12 chat.affirm.duckdns.org # 5001
192.168.31.12 cockpit.affirm.duckdns.org # 9090
192.168.31.12 diskstation.affirm.duckdns.org # 5001
192.168.31.12 drive.affirm.duckdns.org # 5001
192.168.31.12 free.file.sync.media # 22
192.168.31.12 kuma.affirm.duckdns.org # 3001
192.168.31.12 phots.affirm.duckdns.org # 5001
192.168.31.12 pve.affirm.duckdns.org # 8006
192.168.31.12 quartz.affirm.duckdns.org # /
```
## Acme
```bash
cd /etc/
mkdir /etc/duckdns
cd /etc/duckdns
nano duck.sh
```
```conf
echo url="https://www.duckdns.org/update?domains=affirm&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
```
```bash Tue Nov 05 2024 17:18:42 GMT-0700 (Mountain Standard Time)
chmod 700 duck.sh
./duck.sh
cat duck.log
```
```bash Tue Nov 05 2024 17:19:25 GMT-0700 (Mountain Standard Time)
# 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 '*.bchs.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
# mv /root/.acme.sh/\*.bchs.duckdns.org_ecc /root/.acme.sh/bchs.duckdns.org_ecc
# mv /root/.acme.sh/bchs.duckdns.org_ecc/\*.bchs.duckdns.org.cer /root/.acme.sh/bchs.duckdns.org_ecc/bchs.duckdns.org.cer
# mv /root/.acme.sh/bchs.duckdns.org_ecc/\*.bchs.duckdns.org.conf /root/.acme.sh/bchs.duckdns.org_ecc/bchs.duckdns.org.conf
# mv /root/.acme.sh/bchs.duckdns.org_ecc/\*.bchs.duckdns.org.csr /root/.acme.sh/bchs.duckdns.org_ecc/bchs.duckdns.org.csr
# mv /root/.acme.sh/bchs.duckdns.org_ecc/\*.bchs.duckdns.org.csr.conf /root/.acme.sh/bchs.duckdns.org_ecc/bchs.duckdns.org.csr.conf
# mv /root/.acme.sh/bchs.duckdns.org_ecc/\*.bchs.duckdns.org.key /root/.acme.sh/bchs.duckdns.org_ecc/bchs.duckdns.org.key
./acme.sh --issue --dns dns_duckdns -d '*.affirm.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
```
## ssh
```bash Tue Nov 05 2024 17:24:54 GMT-0700 (Mountain Standard Time)
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
lvs
# lvextend -l +100%FREE pve/root
# resize2fs /dev/mapper/pve-root
# lvchange -ay /dev/pve/root
```
```bash Tue Nov 05 2024 17:54:27 GMT-0700 (Mountain Standard Time)
apt-get install ssh-import-id -y
ssh-import-id gh:mikepharesjr
service ssh restart
nano ~/.ssh/authorized_keys
service ssh restart
ssh root@free.file.sync.media -i C:/Users/phares/.ssh/id_ed25519
```
## nginx
```bash Tue Nov 05 2024 17:54:30 GMT-0700 (Mountain Standard Time)
# systemctl start nginx
nginx -t
nginx -s reload
tail -f /var/log/nginx/error.log
```
## Log
```bash Tue Nov 05 2024 17:54:32 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Tue Nov 05 2024 17:54:35 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-11-05.txt
cat /etc/bash_history_2024-11-05.txt
exit
```
## Podman Quadlet Rootless Example
```bash Tue Nov 05 2024 17:54:37 GMT-0700 (Mountain Standard Time)
apt-get install podman -y
apt-cache rdepends podman-compose
apt-get install podman-compose -y
apt-get install sudo
# apt-get remove podman-compose -y
# apt-get purge podman-compose -y
adduser podman
mkdir /home/podman/.ssh
cp /root/.ssh/authorized_keys /home/podman/.ssh/authorized_keys
chown podman:podman -R /home/podman
adduser podman sudo
loginctl enable-linger
sudo -iu podman
# 2.
podman --version
# podman version 4.3.1
# https://www.redhat.com/sysadmin/quadlet-podman
cd ~/
mkdir -p .config/containers/systemd/
# nano .config/containers/systemd/mysleep.container
exit
```
```bash Tue Nov 05 2024 17:55:28 GMT-0700 (Mountain Standard Time)
# cp -R /run/user/0/ /run/user/1000/
mkdir -p /run/user/1000/
chown -R podman:podman /run/user/1000/
sudo -iu podman
cd ~/
mkdir -p ~/.bashrc.d
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
sudo loginctl enable-linger 1000
systemctl --user daemon-reload
podman ps -a --sort names
# systemctl --user enable --now podman.socket
# systemctl --user status mysleep.service
```
## how to run a shell scripts at every login
- [how-to-run-a-shell-scripts-at-every-login](https://serverfault.com/questions/782433/how-to-run-a-shell-scripts-at-every-login-in-centos)
```bash Tue Nov 05 2024 17:56:47 GMT-0700 (Mountain Standard Time)
nano ~/.bash_profile
```
```conf Tue Nov 05 2024 17:56:49 GMT-0700 (Mountain Standard Time)
cd ~/
mkdir -p ~/.bashrc.d
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1000
systemctl --user daemon-reload
podman ps -a --sort names
```
- [user-flag-rootless-containers](https://www.redhat.com/en/blog/user-flag-rootless-containers)
```bash Tue Nov 05 2024 18:36:38 GMT-0700 (Mountain Standard Time)
podman run --user 1000 -d fedora sleep 10
find / -name "*fedora*" 2>/dev/null
podman run --user 1000 -d docker.io/louislam/uptime-kuma
```
```bash Tue Nov 05 2024 19:17:28 GMT-0700 (Mountain Standard Time)
exit
podman pull docker.io/louislam/uptime-kuma:1
systemctl --user daemon-reload
systemctl --user start uptime-kuma-server
# Failed to start uptime-kuma-server.service: Unit uptime-kuma-server.service not found.
# Podman rootless unit search path
# Quadlet files for non-root users can be placed in the following directories
# ~/.config/containers/systemd/
chown -R podman:podman /home/podman/.config/containers/systemd
chown -R podman:podman /home/podman
systemctl --user list-unit-files
ls -la /usr/libexec/podman
# lrwxrwxrwx 1 root root 19 Nov 4 2021 catatonit -> ../../bin/catatonit
# -rwxr-xr-x 1 root root 1999200 Oct 1 14:54 quadlet
# -rwxr-xr-x 1 root root 3558560 Oct 1 14:54 rootlessport
/usr/libexec/podman/quadlet -dryrun --user
# -bash: /usr/libexec/podman/quadlet: No such file or directory
systemctl enable podman.socket
systemctl start podman.socket
apt install software-properties-common uidmap -y
apt-get install -y libapparmor-dev
```
## Arch DMS
- [arc-releases](https://github.com/AuxXxilium/arc/releases)
- [youtube](https://www.youtube.com/watch?v=e-ZyoHe5wGk&t=304s)
```bash
qm disk import 201 /var/lib/vz/template/iso/arc.img local-lvm
# ls -l /dev/disk/by-id
# qm set 201 -sata1 /dev/disk/by-id/*your disk ID*
```
- Any release
- User boot loader to update
- write-back for both drives
```bash
# https://blog.aaronlenoir.com/2018/05/06/ssh-into-synology-nas-with-ssh-key/
# sudo vim /etc/ssh/sshd_config
#RSAAuthentication yes
#PubkeyAuthentication yes
# sudo synoservicectl --reload sshd
```
- [how-to-install-nano-on-synology-nas](https://andyyang.co.uk/how-to-install-nano-on-synology-nas/)
- [ssh-into-synology-nas-with-ssh-key](https://blog.aaronlenoir.com/2018/05/06/ssh-into-synology-nas-with-ssh-key/)

333
_-Review/beelink.proxmox.md Normal file
View File

@ -0,0 +1,333 @@
---
Brand: Beelink
created: 2024-04-02T01:49:25.791Z
draft: true;
GPU: Intel Celeron 11th Gen N5095 2.9GHz
RAM: 8GB DDR4
SSD: M.2 SATA3 2280
type: topic
updated: 2024-10-28T20:49:55.944Z
---
# Beelink Proxmox
## Proxmox
### Post-PVE
```bash Mon Jun 17 2024 09:04:47 GMT-0700 (Mountain Standard Time)
# https://www.youtube.com/watch?v=kcpu4z5eSEU&t=225s
# https://tteck.github.io/Proxmox/
# https://github.com/tteck/Proxmox
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
uname -r
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/kernel-clean.sh)"
```
### Dashkiosk
```bash Mon Jun 17 2024 09:04:47 GMT-0700 (Mountain Standard Time)
apt install snapd
apt install sudo links unzip nginx git nano ncdu -y
snap install dashkiosk
snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk daemon=true
snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
```
```bash Mon Jun 17 2024 09:20:51 GMT-0700 (Mountain Standard Time)
snap set ubuntu-frame daemon=true
# Slideshow
# http://127.0.0.1:8080/slideshow
# Local
# https://192.168.11.2/slideshow
```
### authorized_keys
```bash Mon Jun 17 2024 09:20:51 GMT-0700 (Mountain Standard Time)
cat /root/.ssh/authorized_keys
nano /root/.ssh/authorized_keys
```
```config
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCa0DyCYP5O/xw6TJlrXZ5Df5kTUX3MkxbzxFgx87kseja5jjdjYAgq+vz0j2bT/sJxlX+e0cy2qV7ogDEf7CC4TtQ9tppLbip5JwKe+Eo3YibyGRwt/zDOtnG0NAtGZL8tTvWMPyRcx/70m65u+ml+f72gv26yXBFsJNRzmGvNIc1bGlBl1Po3vwIuilL4rtmonUgjo4IBV2kr56uHT6WBJ23TIrYQoxQ1emi9VFZ9AzjBz998wchklsqALu9vD2t+szPFOt3OOAL892+oUbwoY2srJCfBsg26A9JcgF76A0KHszmYvhReT1L8mDvWXOnzrErmM0eO22c9lJtNd5u6xvqf6uH2zstGL3nkuci7L4zeIXuG0mG+aXry3OmCHnb8rjiElkoYIM0XdxfWgcABb42niebLDO2iSguVPLQEIM5mH3VRypXeSJ1qRLYrcQM8Mxrp2p5eTq3RNa4vnbRLQViuXW+rP4S+/RKMuAROf+f5E+3gertu0jS4jkl4zi6unR6QTVgQZ6J5Q1TaFIdi35vbKInGTpPnxSanHH/p6+MR6V3PucQuvWcY8qd/S8/D8703XONt7sO1O4DzqcwMArpB9K15wKnS9U8AGvwG5Xa/YFN5lH55sY0BvQptRsM3TEuzoIXCkU3A0PWVKyKbk1q5sKccgO7P7jWCjSWWFw== root@beelink
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7khmvc9lTWHALZ/IOMcJNz/1SuvrU53fI43v4PxIJN # 92532396 2023-12-27 mikep@DESKTOP-VP94SPB
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGq7b8qtm4fgNxW2lxm+qoxm8Wz7+1uhLQCg7xSlKYL1 # 92683771 2024-01-01 mikep@DESKTOP-BMV4V66
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqLFW9kYMp9lOTXXYafxLiUADFFKeM5KDzt02E3XeRP # 92691378 2024-01-01 cphar@DESKTOP-KA0LMMJ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBkS+uvWevmhYNos6MJKVi2auAx6x+xlyOnnvbdEstsz # 92797978 2024-01-03 mikep@DESKTOP-GNECR7R
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKf5fo63+vyYa8E06+HOPg24e9VMsvv/kBsHKGjBBUyz # 92895319 2024-01-05 mike@mike-B365M-DS3H
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGM6ANLH/4dS0YqlsCyoXkznzkgIsDqCTk3YX01XVWd8 # 92909911 2024-01-06 mikep@DESKTOP-H6JG91B
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwAv1vrRA29GYL0DFSE8nmD5q3gL+vVtFSwhrXObDo4 # 93288214 2024-01-13 infineon\phares@ISCN5CG3256CPS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH1xPVOisKwW6Xwo/Yh1kx2smt2HJU2/pRjTJf4KdGXo # 97267150 2024-03-28 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDz5WqCKsoaxV+LG/kufLNuiE9K3lqp+B3AqeKXGusX # 97442032 2024-04-01 lphar@DESKTOP-1238PEQ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID09PhrjIpeNBmUeycnT3xKF8F5TcGL3ZKAvU9YdLj7H # 98747144 2024-04-25 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIaZyTLpafZta8W8Uv6uWpgbbj4QL5dde9Rlf06PfdYc # 98824914 2024-04-26 k0308@DESKTOP-0UJ8DD5
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFpucyp3FAHn8/9cXvfRegi09DkR6XLugoniEyQ9w0T # 98824924 2024-04-26 mille@DESKTOP-QL2HGEH
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOn/Ptg/k3rOJn32GxrL2J3Bazt/3M9fGWjzP+CW1qXK # 100900455 2024-06-03 lphares0907@penguin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPMIxGucViHMHFXoM2VBPlvLvMgqNi2BUtTE/D4n778M # 101638217 2024-06-14 mikep@DESKTOP-VVO6KCM
```
### Create Users
```bash Mon Jun 17 2024 09:28:34 GMT-0700 (Mountain Standard Time)
adduser lphares
mkdir /home/lphares/.ssh
cp /root/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
adduser bmiller
mkdir /home/bmiller/.ssh
cp /root/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
adduser gogs
mkdir /home/gogs/.ssh
cp /root/.ssh/authorized_keys /home/gogs/.ssh/authorized_keys
chown gogs:gogs -R /home/gogs
```
### Log
```bash Mon Jun 17 2024 09:36:33 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Mon Jun 17 2024 09:38:50 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-06-17.txt
cat /etc/bash_history_2024-06-17.txt
exit
```
```bash Mon Jun 17 2024 09:39:31 GMT-0700 (Mountain Standard Time)
apt install smartmontools
smartctl -i /dev/sda
```
```yaml Mon Jun 17 2024 09:39:50 GMT-0700 (Mountain Standard Time)
Device Model: 256GB SSD
Serial Number: CM42ABH1005410
LU WWN Device Id: 5 3a5a27 0100c22ca
Firmware Version: SN11842
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5319
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Jun 17 09:39:21 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
### no-ip2
```bash Mon Jun 17 2024 09:39:56 GMT-0700 (Mountain Standard Time)
cd /usr/local/src/
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
ls
cd noip-2.1.9-1/
apt-get install make gcc -y
make install
cat /usr/local/etc/no-ip2.conf
exit
```
### Gogs
```bash Mon Jun 17 2024 09:45:00 GMT-0700 (Mountain Standard Time)
cd /home/gogs
wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz
tar -xvzf gogs_0.13.0_linux_amd64.tar.gz
rm gogs_0.13.0_linux_amd64.tar.gz
chown -R gogs:gogs /home/gogs
su gogs
cd /home/gogs/gogs
./gogs web
links http://192.168.11.2:3000/install
```
```conf Mon Jun 17 2024 09:47:48 GMT-0700 (Mountain Standard Time)
BRAND_NAME = Gogs
RUN_USER = gogs
RUN_MODE = prod
[database]
TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = gogs
SCHEMA = public
USER = gogs
PASSWORD = 1178
SSL_MODE = disable
PATH = data/gogs.db
[repository]
ROOT = /home/gogs/gogs-repositories
DEFAULT_BRANCH = master
[server]
DOMAIN = localhost
HTTP_PORT = 3000
EXTERNAL_URL = http://d98b8bcf651717df3301d99689440f5fd6f411d4@beelink:3000/
DISABLE_SSH = false
SSH_PORT = 22
START_SSH_SERVER = false
OFFLINE_MODE = false
[mailer]
ENABLED = false
[auth]
REQUIRE_EMAIL_CONFIRMATION = false
DISABLE_REGISTRATION = false
ENABLE_REGISTRATION_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
[user]
ENABLE_EMAIL_NOTIFICATION = false
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = /home/gogs/gogs/log
[security]
INSTALL_LOCK = true
SECRET_KEY = czo27vBeXWU7HTi
```
```bash Mon Jun 17 2024 09:51:59 GMT-0700 (Mountain Standard Time)
exit
# https://github.com/gogs/gogs/blob/main/scripts/systemd/gogs.service
nano /etc/systemd/system/gogs-daemon.service
```
```conf
[Unit]
Description=Gogs
After=syslog.target
After=network.target
[Service]
# Modify these two values and uncomment them if you have
# repos with lots of files and get an HTTP error 500 because
# of that
###
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
Type=simple
User=gogs
Group=gogs
WorkingDirectory=/home/gogs/gogs
ExecStart=/home/gogs/gogs/gogs web
Restart=always
Environment=USER=gogs HOME=/home/gogs
# Some distributions may not support these hardening directives
# If you cannot start the service due
# to an unknown option, comment out the ones not supported by your version of systemd.
ProtectSystem=full
PrivateDevices=yes
PrivateTmp=yes
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
```
```bash
systemctl enable gogs-daemon
systemctl stop gogs-daemon
systemctl start gogs-daemon
systemctl status gogs-daemon.service
journalctl -fu gogs-daemon.service
journalctl --rotate
journalctl --vacuum-time=1s
systemctl daemon-reload
mkdir /etc/gogs-copy
cp /home/gogs/gogs/custom/conf/app.ini /etc/gogs-copy/
ln -s /home/gogs/gogs/custom/conf /etc/gogs
# nano /home/gogs/gogs/custom/conf/app.ini
```
```bash Mon Jun 17 2024 09:55:20 GMT-0700 (Mountain Standard Time)
# https://github.com/Kos-M/GogsThemes
cd /home/gogs
git clone https://github.com/Kos-M/GogsThemes
mkdir -p /home/gogs/gogs/custom/templates/inject/
mkdir -p /home/gogs/gogs/custom/public/css/
echo '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> /home/gogs/gogs/custom/templates/inject/head.tmpl
mv ./GogsThemes/themes/ /home/gogs/gogs/custom/public/css/
cp -r GogsThemes/img/ /home/gogs/gogs/custom/public/
rm -r ./GogsThemes
systemctl restart gogs-daemon
nano /etc/gogs/app.ini
```
```conf
# See free-file-sync directory
```
```bash Mon Jun 17 2024 11:30:29 GMT-0700 (Mountain Standard Time)
systemctl restart gogs-daemon
# http://localhost:3000/
# https://github.com/gogs/docs-api/tree/master/Repositories#migrate
# https://github.com/gogs/docs-api?tab=readme-ov-file
# git push --set-upstream gogs master
# url = gogs@gogs3757.ddns.net:mikepharesjr/
# url = https://{token}@gogs3757.ddns.net/mikepharesjr/
```
### certbot
```bash Mon Jun 17 2024 11:33:29 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
apt-get remove certbot -y
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
# certbot --nginx
certbot certonly --nginx
# always pick phares3757 first!
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
systemctl list-timers
# /etc/crontab/
# /etc/cron.*/*
certbot renew --dry-run
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
```
### Slideshow Images
```bash Mon Jun 17 2024 17:33:42 GMT-0700 (Mountain Standard Time)
lsblk
mount /dev/sdb2 /mnt
cp -R /mnt/var/www/html/Images-c9dbce3b-Results/thumbs/ /var/www/html/Images-c9dbce3b-Results/.
ls /var/www/html/Images-c9dbce3b-Results/thumbs/
exit
```
### immich-distribution
```bash Mon Jun 17 2024 18:59:41 GMT-0700 (Mountain Standard Time)
# https://meichthys.github.io/foss_photo_libraries/
snap install immich-distribution
# http://127.0.0.1:3001/
systemctl status snap.immich-distribution.manager.service
snap get immich-distribution database-password
```

View File

@ -0,0 +1,837 @@
---
created: 2024-11-04T19:30:12.000Z
type: note
updated: 2024-11-04T19:30:12.000Z
---
# Beelink Ubuntu and Docker July 2024
## Dashkiosk
```bash Mon Jul 01 2024 09:58:10 GMT-0700 (Mountain Standard Time)
apt install snapd -y
apt install sudo links unzip nginx git nano ncdu -y
snap install dashkiosk
snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk daemon=true
snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver
exit
```
```bash Mon Jul 01 2024 10:08:55 GMT-0700 (Mountain Standard Time)
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
# ^C
/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
# ^C
snap set ubuntu-frame daemon=true
exit
reboot
```
## authorized_keys
```bash Mon Jul 01 2024 10:08:58 GMT-0700 (Mountain Standard Time)
cat /root/.ssh/authorized_keys
nano /root/.ssh/authorized_keys
```
```config Mon Jul 01 2024 10:09:00 GMT-0700 (Mountain Standard Time)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7khmvc9lTWHALZ/IOMcJNz/1SuvrU53fI43v4PxIJN # 92532396 2023-12-27 mikep@DESKTOP-VP94SPB
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGq7b8qtm4fgNxW2lxm+qoxm8Wz7+1uhLQCg7xSlKYL1 # 92683771 2024-01-01 mikep@DESKTOP-BMV4V66
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqLFW9kYMp9lOTXXYafxLiUADFFKeM5KDzt02E3XeRP # 92691378 2024-01-01 cphar@DESKTOP-KA0LMMJ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBkS+uvWevmhYNos6MJKVi2auAx6x+xlyOnnvbdEstsz # 92797978 2024-01-03 mikep@DESKTOP-GNECR7R
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKf5fo63+vyYa8E06+HOPg24e9VMsvv/kBsHKGjBBUyz # 92895319 2024-01-05 mike@mike-B365M-DS3H
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGM6ANLH/4dS0YqlsCyoXkznzkgIsDqCTk3YX01XVWd8 # 92909911 2024-01-06 mikep@DESKTOP-H6JG91B
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwAv1vrRA29GYL0DFSE8nmD5q3gL+vVtFSwhrXObDo4 # 93288214 2024-01-13 infineon\phares@ISCN5CG3256CPS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH1xPVOisKwW6Xwo/Yh1kx2smt2HJU2/pRjTJf4KdGXo # 97267150 2024-03-28 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDz5WqCKsoaxV+LG/kufLNuiE9K3lqp+B3AqeKXGusX # 97442032 2024-04-01 lphar@DESKTOP-1238PEQ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID09PhrjIpeNBmUeycnT3xKF8F5TcGL3ZKAvU9YdLj7H # 98747144 2024-04-25 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIaZyTLpafZta8W8Uv6uWpgbbj4QL5dde9Rlf06PfdYc # 98824914 2024-04-26 k0308@DESKTOP-0UJ8DD5
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFpucyp3FAHn8/9cXvfRegi09DkR6XLugoniEyQ9w0T # 98824924 2024-04-26 mille@DESKTOP-QL2HGEH
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOn/Ptg/k3rOJn32GxrL2J3Bazt/3M9fGWjzP+CW1qXK # 100900455 2024-06-03 lphares0907@penguin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPMIxGucViHMHFXoM2VBPlvLvMgqNi2BUtTE/D4n778M # 101638217 2024-06-14 mikep@DESKTOP-VVO6KCM
```
## Create Users
```bash Mon Jul 01 2024 10:09:02 GMT-0700 (Mountain Standard Time)
adduser lphares
mkdir /home/lphares/.ssh
cp /root/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
adduser bmiller
mkdir /home/bmiller/.ssh
cp /root/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
```
## Log
```bash Mon Jul 01 2024 10:09:04 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Mon Jul 01 2024 10:09:06 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-07-01.txt
cat /etc/bash_history_2024-07-01.txt
exit
```
```bash Mon Jul 01 2024 10:09:08 GMT-0700 (Mountain Standard Time)
apt install smartmontools
smartctl -i /dev/sda
```
```yaml Mon Jul 01 2024 10:09:10 GMT-0700 (Mountain Standard Time)
Device Model: 256GB SSD
Serial Number: CM42ABH1005410
LU WWN Device Id: 5 3a5a27 0100c22ca
Firmware Version: SN11842
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5319
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Jul 1 17:08:50 2024 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
## no-ip2
```bash Mon Jul 01 2024 10:09:26 GMT-0700 (Mountain Standard Time)
cd /usr/local/src/
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
ls
cd noip-2.1.9-1/
apt-get install make gcc -y
make install
# mikepharesjr@msn.com
# See KeePass
cat /usr/local/etc/no-ip2.conf
noip2 -C -u 9zh94yf -p xrtvLiRNhScX
cat /usr/local/etc/no-ip2.conf
# cd /usr/local/src/noip-2.1.9-1/binaries
# ./noip2-x86_64 -S
# cd ..
noip2 -S
exit
```
## Directory Share
```bash Mon Jul 01 2024 10:32:52 GMT-0700 (Mountain Standard Time)
systemctl restart ssh
adduser bmiller lphares
sudo usermod -a -G lphares bmiller
newgrp lphares
# chmod 755 -R /home/lphares/dorico/
# chmod 750 /home/lphares
# chmod 750 /home/bmiller
```
## Free File Sync
## nginx
```bash Mon Jul 01 2024 10:32:58 GMT-0700 (Mountain Standard Time)
nginx -t
systemctl start nginx
nginx -s reload
```
## certbot
```bash Mon Jul 01 2024 10:33:01 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
apt-get remove certbot -y
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
# certbot --nginx
certbot certonly --nginx
# mikepharesjr@msn.com
# 1: affirm.ddns.net
# 2: ansible.ddns.net
# 3: assistant.ddns.net
# 4: casa.ddns.net
# 5: dashkiosk.ddns.net
# 6: dockge.ddns.net
# 7: emby.ddns.net
# 8: filebrowser.ddns.net
# 9: gogs.ddns.net
# 10: gogs3757.ddns.net
# 11: immich.ddns.net
# 12: immich3757.ddns.net
# 13: invoice.ddns.net
# 14: music.ddns.net
# 15: music3757.ddns.net
# 16: nextcloud.ddns.net
# 17: owncast.ddns.net
# 18: phares.ddns.net
# 19: phares3757.ddns.net
# 20: photoprism.ddns.net
# 21: pihole.ddns.net
# 22: proxmox.ddns.net
# 23: readeck.ddns.net
# 24: syncthing.ddns.net
# 25: uptimekuma.ddns.net
# 26: vaultwarden.ddns.net
# 27: vscodium.ddns.net
# 19,10,12,15,1
# always pick phares3757 first!
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
systemctl list-timers
# q
# /etc/crontab/
# /etc/cron.*/*
certbot renew --dry-run
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
nano /etc/logrotate.d/letsencrypt
```
```conf Mon Jul 01 2024 10:33:05 GMT-0700 (Mountain Standard Time)
/var/log/letsencrypt/*.log {
rotate 12
weekly
compress
missingok
}
```
```bash Mon Jul 01 2024 10:33:09 GMT-0700 (Mountain Standard Time)
nginx -t
systemctl start nginx
nginx -s reload
```
## Docker
```bash Mon Jul 01 2024 10:36:06 GMT-0700 (Mountain Standard Time)
docker run hello-world
docker ps -a
docker volume list
apt install podman-docker -y
exit
reboot
```
## Dockge
```bash Mon Jul 01 2024 10:39:48 GMT-0700 (Mountain Standard Time)
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
rm get-docker.sh
mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
docker compose up -d
# docker-compose up -d
```
## Copy Slideshow Photos
```bash Mon Jul 01 2024 11:31:59 GMT-0700 (Mountain Standard Time)
lvs -a
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
mkdir /mnt/usb
mount /dev/sdb2 /mnt/usb
cp -R /mnt/usb/var/www/html/Images-c9dbce3b-Results/thumbs/ /var/www/html/Images-c9dbce3b-Results/thumbs/
umount /mnt/usb
exit
reboot
# http://192.168.11.2:9400/admin
# Slideshow
# http://127.0.0.1:8080/slideshow/index.html?nocache=2024-07-01-11-36
# Local
# http://192.168.11.2:8080/slideshow/index.html?nocache=2024-07-01-11-36
```
## Kestra
```bash
# L:\Git\Linux-Ubuntu-Server\opt\copy\kestra\compose.yaml
```
## Immich
```bash Mon Jul 01 2024 14:45:57 GMT-0700 (Mountain Standard Time)
usermod -a -G docker phares
id
# uid=0(root) gid=0(root) groups=0(root),1003(docker)
su phares
# uid=1000(phares) gid=1000(phares) groups=1000(phares),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),101(lxd),1003(docker)
docker-compose exec immich_server id
# uid=0(root) gid=0(root) groups=0(root)
docker run --rm -it -v "/var/immich/photos:/host" ubuntu /bin/bash
# Error response from daemon: error while creating mount source path '/var/immich/photos' mkdir h: read-only file system
docker run --rm -it -v "/:/host" ubuntu /bin/bash
docker run --rm -it -v "/home/phares:/host" ubuntu /bin/bash
mkdir /host/test-2024-07-01
exit
ls /home/phares/test-2024-07-01
rm -r /home/phares/test-2024-07-01
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
# L:\Git\Linux-Ubuntu-Server\opt\copy\immich\.env
# L:\Git\Linux-Ubuntu-Server\opt\copy\immich\compose.yaml
```
## Incus
- [incus](https://github.com/zabbly/incus)
```bash Mon Jul 01 2024 15:23:58 GMT-0700 (Mountain Standard Time)
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint
mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/lts-6.0
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc
EOF'
apt-get update
apt-get install incus -y
incus config set core.https_address :8443
exit
reboot
```
- [incus-containers-step-by-step](https://discussion.scottibyte.com/t/incus-containers-step-by-step/349)
```bash Mon Jul 01 2024 15:35:02 GMT-0700 (Mountain Standard Time)
apt install virt-viewer -y
usermod -aG incus-admin phares
newgrp incus-admin
groups
exit
reboot
```
```bash Mon Jul 01 2024 15:36:00 GMT-0700 (Mountain Standard Time)
apt install zfsutils-linux -y
exit
reboot
```
```bash Mon Jul 01 2024 15:38:21 GMT-0700 (Mountain Standard Time)
incus admin init
```
```yaml Mon Jul 01 2024 15:42:37 GMT-0700 (Mountain Standard Time)
config:
core.https_address: '[::]:8443'
networks:
- config:
ipv4.address: auto
ipv6.address: none
description: ""
name: incusbr0
type: ""
project: default
storage_pools:
- config:
size: 132GiB
description: ""
name: default
driver: zfs
profiles:
- config: {}
description: ""
devices:
eth0:
name: eth0
network: incusbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
projects: []
cluster: null
```
```bash Mon Jul 01 2024 15:42:42 GMT-0700 (Mountain Standard Time)
incus list
incus image list images:
incus launch images:ubuntu/22.04 first
```
-[incus-virtual-machine-custom-installation](https://discussion.scottibyte.com/t/incus-virtual-machine-custom-installation/407)
```bash Mon Jul 01 2024 15:50:23 GMT-0700 (Mountain Standard Time)
incus launch images:ubuntu/22.04/desktop Desktop --vm --console=vga
# (remote-viewer:7483): Gtk-WARNING **: 22:53:14.753: cannot open display:
incus config trust add DESKTOP-GNECR7R
```
```conf Mon Jul 01 2024 19:43:52 GMT-0700 (Mountain Standard Time)
Client DESKTOP-GNECR7R certificate add token:
# ...
```
```PowerShell Mon Jul 01 2024 16:27:58 GMT-0700 (Mountain Standard Time)
incus remote add phares.ddns.net 192.168.11.2
incus remote list
incus remote switch phares.ddns.net
incus list
incus console Desktop --type=vga
```
```bash Mon Jul 01 2024 19:43:45 GMT-0700 (Mountain Standard Time)
apt install openvswitch-switch -y
```
```bash Mon Jul 01 2024 19:43:48 GMT-0700 (Mountain Standard Time)
# netplan apply
# incus profile create bridgeprofile
# incus profile device add bridgeprofile eth0 nic nictype=bridged parent=bridge0
# incus launch images:ubuntu/22.04 second --profile default --profile bridgeprofile
incus list
incus launch images:ubuntu/22.04 second
incus exec second bash
# snap install lxdmosaic
# https://192.168.11.2:8443/ui/
# incus config set core.https_address [::]
# incus config set core.trust_password 1178thisIsA7
# incus config set core.https_address :8443
nano lxconsole.crt
# ...
incus config trust add-certificate lxconsole.crt
incus config set core.https_address=[::]:8443
```
## Docker html-to-pdf
- [docker-html-to-pdf](https://github.com/pinkeen/docker-html-to-pdf)
```bash Mon Jul 01 2024 20:41:43 GMT-0700 (Mountain Standard Time)
timedatectl set-timezone America/Phoenix
cd /home/phares
# cd /var/www/html/pdf
mkdir -p /var/www/html/pdf
url="http://192.168.11.2:5001"
backup_time=$(date +'%H-%M-%S')
backup_date=$(date +'%Y-%m-%d')
echo "${backup_date}---${backup_time}.pdf"
# docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url http://google.com --pdf out.pdf
docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url "${url}" --pdf "${backup_date}---${backup_time}.pdf"
mv "${backup_date}---${backup_time}.pdf" /var/www/html/pdf/.
ls -la /var/www/html/pdf
# rm /var/www/html/pdf/*
```
## Incus Import from Proxmox
- [incus](https://github.com/zabbly/incus)
```bash Tue Jul 02 2024 17:07:43 GMT-0700 (Mountain Standard Time)
# 115-turnkey-gitea
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-115-turnkey-gitea.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-115-turnkey-gitea-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-115-2024_07_02-16_08_37.tar.gz
incus launch proxmox-115-turnkey-gitea-image 115-turnkey-gitea -c boot.autostart=true
incus exec 115-turnkey-gitea bash
#
# 118-turnkey-oddo
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-118-turnkey-oddo.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-118-turnkey-oddo-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-118-2024_07_02-16_14_09.tar.gz
incus launch proxmox-118-turnkey-oddo-image 118-turnkey-oddo -c boot.autostart=true
incus exec 118-turnkey-oddo bash
#
```
```bash Tue Jul 02 2024 17:07:46 GMT-0700 (Mountain Standard Time)
# 122-vaultwarden
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-122-vaultwarden.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-122-vaultwarden-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-122-2024_07_02-16_41_20.tar.gz
incus launch proxmox-122-vaultwarden-image 122-vaultwarden -c boot.autostart=true
incus exec 122-vaultwarden bash
#
```
## Incus Import from Proxmox Maybe
```bash Not done
# 114-turnkey-ansible
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-114-turnkey-ansible.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-114-turnkey-ansible-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-114-2024_07_02-16_07_21.tar.gz
incus launch proxmox-114-turnkey-ansible-image 114-turnkey-ansible -c boot.autostart=true
incus exec 114-turnkey-ansible bash
#
# 116-turnkey-invoice
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-116-turnkey-invoice.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-116-turnkey-invoice-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-116-2024_07_02-16_09_49.tar.gz
incus launch proxmox-116-turnkey-invoice-image 116-turnkey-invoice -c boot.autostart=true
incus exec 116-turnkey-invoice bash
#
# 117-turnkey-nextcloud
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-117-turnkey-nextcloud.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-117-turnkey-nextcloud-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-117-2024_07_02-16_12_14.tar.gz
incus launch proxmox-117-turnkey-nextcloud-image 117-turnkey-nextcloud -c boot.autostart=true
incus exec 117-turnkey-nextcloud bash
#
# 119-turnkey-observium
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-119-turnkey-observium.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-119-turnkey-observium-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-119-2024_07_02-16_16_59.tar.gz
incus launch proxmox-119-turnkey-observium-image 119-turnkey-observium -c boot.autostart=true
incus exec 119-turnkey-observium bash
#
# 120-turnkey-zoneminder
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-120-turnkey-zoneminder.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-120-turnkey-zoneminder-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-120-2024_07_02-16_19_58.tar.gz
incus launch proxmox-120-turnkey-zoneminder-image 120-turnkey-zoneminder -c boot.autostart=true
incus exec 120-turnkey-zoneminder bash
#
# 121-turnkey-faveo-helpdesk
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-121-turnkey-faveo-helpdesk.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-121-turnkey-faveo-helpdesk-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-121-2024_07_02-16_21_18.tar.gz
incus launch proxmox-121-turnkey-faveo-helpdesk-image 121-turnkey-faveo-helpdesk -c boot.autostart=true
incus exec 121-turnkey-faveo-helpdesk bash
#
```
```bash Not done
# 123-wastebin
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-123-wastebin.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-123-wastebin-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-123-2024_07_02-16_44_34.tar.gz
incus launch proxmox-123-wastebin-image 123-wastebin -c boot.autostart=true
incus exec 123-wastebin bash
#
# 124-readeck
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-124-readeck.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-124-readeck-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-124-2024_07_02-16_47_02.tar.gz
incus launch proxmox-124-readeck-image 124-readeck -c boot.autostart=true
incus exec 124-readeck bash
#
# 125-ntfy
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-125-ntfy.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-125-ntfy-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-125-2024_07_02-16_47_58.tar.gz
incus launch proxmox-125-ntfy-image 125-ntfy -c boot.autostart=true
incus exec 125-ntfy bash
#
# 126-commafeed
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-126-commafeed.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-126-commafeed-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-126-2024_07_02-16_49_32.tar.gz
incus launch proxmox-126-commafeed-image 126-commafeed -c boot.autostart=true
incus exec 126-commafeed bash
#
# 127-actualbudget
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-127-actualbudget.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-127-actualbudget-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-127-2024_07_02-16_50_52.tar.gz
incus launch proxmox-127-actualbudget-image 127-actualbudget -c boot.autostart=true
incus exec 127-actualbudget bash
#
# 128-forgejo
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-128-forgejo.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-128-forgejo-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-128-2024_07_02-16_52_26.tar.gz
incus launch proxmox-128-forgejo-image 128-forgejo -c boot.autostart=true
incus exec 128-forgejo bash
#
# 129-homepage
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-129-homepage.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-129-homepage-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-129-2024_07_02-16_53_41.tar.gz
incus launch proxmox-129-homepage-image 129-homepage -c boot.autostart=true
incus exec 129-homepage bash
#
# 132-redis
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-132-redis.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-132-redis-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-132-2024_07_02-16_55_20.tar.gz
incus launch proxmox-132-redis-image 132-redis -c boot.autostart=true
incus exec 132-redis bash
#
# 133-postgresql
rm /home/free-file-sync/proxmox/metadata.tar.gz
cp /home/free-file-sync/proxmox/vzdump-lxc-133-postgresql.tar.gz /home/free-file-sync/proxmox/metadata.tar.gz
incus image import --alias=proxmox-133-postgresql-image /home/free-file-sync/proxmox/metadata.tar.gz /home/free-file-sync/proxmox/vzdump-lxc-133-2024_07_02-16_56_14.tar.gz
incus launch proxmox-133-postgresql-image 133-postgresql -c boot.autostart=true
incus exec 133-postgresql bash
#
```
## Import Immich to Docker
- [backup-and-restore](https://immich.app/docs/administration/backup-and-restore/)
```bash Tue Jul 02 2024 20:01:04 GMT-0700 (Mountain Standard Time)
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
docker start immich_postgres
gunzip < "/home/free-file-sync/proxmox/dump.sql.gz" \
| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \
| docker exec -i immich_postgres psql --username=postgres
```
```bash
cd /home
tar -tvf free-file-sync/proxmox/upload.tar
tar -tvf free-file-sync/proxmox/upload.tar usr/src/app/upload/library
docker run --rm --volumes-from immich_server -v $(pwd):/backup ubuntu bash -c "cd /usr/src/app/upload && ls -la"
docker run --rm --volumes-from immich_server -v $(pwd):/restore ubuntu tar xvf /restore/free-file-sync/proxmox/upload.tar --strip 1
```
## certbot
```bash Tue Jul 02 2024 23:04:12 GMT-0700 (Mountain Standard Time)
noip2 -u 9zh94yf -p xrtvLiRNhScX
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
certbot certonly --nginx
# mikepharesjr@msn.com
# 1: affirm.ddns.net
# 2: dashkiosk.ddns.net
# 3: dockge.ddns.net
# 4: gitea.ddns.net
# 5: gitea3757.ddns.net
# 6: immich.ddns.net
# 7: immich3757.ddns.net
# 8: incus.ddns.net
# 9: kestra.ddns.net
# 10: lxconsole.ddns.net
# 11: music.ddns.net
# 12: music3757.ddns.net
# 13: phares.ddns.net
# 14: phares3757.ddns.net
# 15: vaultwarden.ddns.net
# 14,1,5,7,12
# always pick phares3757 first!
listen" directive is not allowed here in
```
## HP Printer
```bash
# apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client avahi-utils libavahi-client-dev libavahi-core-dev libavahi-common-dev libcupsimage2-dev libdbus-1-dev build-essential gtk2-engines-pixbuf ghostscript openssl libjpeg-dev libatk-adaptor libgail-common libsnmp-dev snmp-mibs-downloader libtool libtool-bin libusb-1.0-0-dev libusb-0.1-4 wget policykit-1 policykit-1-gnome automake1.11 python3-dbus.mainloop.pyqt5 python3-reportlab python3-notify2 python3-pyqt5 python3-dbus python3-gi python3-lxml python3-dev python3-pil python-is-python3 libsane libsane-dev sane-utils xsane -y
apt-get install --assume-yes libcups2t64 cups cups-bsd cups-client avahi-utils libavahi-client-dev libavahi-core-dev libavahi-common-dev libcupsimage2-dev libdbus-1-dev build-essential gtk2-engines-pixbuf ghostscript openssl libjpeg-dev libatk-adaptor libgail-common libsnmp-dev snmp-mibs-downloader libtool libtool-bin libusb-1.0-0-dev libusb-0.1-4 wget policykit-1 policykit-1-gnome automake1.11 python3-dbus.mainloop.pyqt5 python3-reportlab python3-notify2 python3-pyqt5 python3-dbus python3-gi python3-lxml python3-dev python3-pil python-is-python3 sane-utils xsane -y
```
## Gitea Runner
```bash Fri Jul 19 2024 12:32:07 GMT-0700 (Mountain Standard Time)
cd /home/phares
wget https://gitea.com/gitea/act_runner/releases/download/v0.2.10/act_runner-0.2.10-linux-amd64
chmod +x act_runner-0.2.10-linux-amd64
./act_runner-0.2.10-linux-amd64 -v
./act_runner-0.2.10-linux-amd64 register --no-interactive --instance http://192.168.11.2:3000/ --token asdf
./act_runner-0.2.10-linux-amd64 daemon
```
```bash Fri Jul 19 2024 13:37:50 GMT-0700 (Mountain Standard Time)
cd /home/phares
cat .runner
./act_runner-0.2.10-linux-amd64 daemon
```
```bash Fri Jul 19 2024 13:40:38 GMT-0700 (Mountain Standard Time)
cp /home/phares/act_runner-0.2.10-linux-amd64 /usr/local/bin/act_runner
./act_runner-0.2.10-linux-amd64 register --no-interactive --config /etc/act_runner/config.yaml --instance http://192.168.11.2:3000/ --name beelink-cmd-phares3757 --token asdf
```
```yml Fri Jul 19 2024 13:53:13 GMT-0700 (Mountain Standard Time)
# gitea-runner
version: "3.8"
services:
runner:
environment:
# CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: ${INSTANCE_URL}
GITEA_RUNNER_LABELS: ${RUNNER_LABELS}
GITEA_RUNNER_NAME: ${RUNNER_NAME}
GITEA_RUNNER_REGISTRATION_TOKEN: ${REGISTRATION_TOKEN}
image: gitea/act_runner:nightly
volumes:
# - ./config.yaml:/config.yaml
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks: {}
volumes:
runner-data:
driver: local
```
```conf Fri Jul 19 2024 13:55:08 GMT-0700 (Mountain Standard Time)
# ID 11
INSTANCE_URL=http://192.168.11.2:3000/
REGISTRATION_TOKEN=DjgUzQsGB4LgNeSpbHe2nLreB6gb7eYj4AbgcwYD
RUNNER_NAME=beelink-dockge-phares3757
RUNNER_LABELS=
```
## certbot duckdns
```bash Sun Jul 21 2024 12:02:19 GMT-0700 (Mountain Standard Time)
noip2 -u 9zh94yf -p xrtvLiRNhScX
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
certbot certonly --nginx
# mikepharesjr@msn.com
# 1: affirm.ddns.net
# 2: codeserver.ddns.net
# 3: dashkiosk.ddns.net
# 4: dockge.ddns.net
# 5: docmost.ddns.net
# 6: gitea.ddns.net
# 7: immich.ddns.net
# 8: incus.ddns.net
# 9: kestra.ddns.net
# 10: lxconsole.ddns.net
# 11: music.ddns.net
# 12: phares.ddns.net
# 13: phares3757.ddns.net
# 14: quartz.ddns.net
# 15: vaultwarden.ddns.net
# 16: phares.duckdns.org
# 17: docmost.phares.duckdns.org
# 18: gitea.phares.duckdns.org
# 19: immich.phares.duckdns.org
# 20: music.phares.duckdns.org
# 21: quartz.phares.duckdns.org
# 22: vaultwarden.phares.duckdns.org
# 13 1 16 17 18 19 20 21 22
# This certificate expires on 2024-10-19
```
## Pi-hole
```bash Sun Jul 21 2024 19:03:16 GMT-0700 (Mountain Standard Time)
# https://canyoublockit.com/
curl -sSL https://install.pi-hole.net | bash
apt install unbound -y
# https://docs.pi-hole.net/guides/dns/unbound/
nano /etc/unbound/unbound.conf.d/pi-hole.conf
```
```conf Sun Jul 21 2024 19:03:14 GMT-0700 (Mountain Standard Time)
server:
# If no logfile is specified, syslog is used
# logfile: "/var/log/unbound/unbound.log"
verbosity: 0
interface: 127.0.0.1
port: 5335
do-ip4: yes
do-udp: yes
do-tcp: yes
# May be set to yes if you have IPv6 connectivity
do-ip6: no
# You want to leave this to no unless you have *native* IPv6. With 6to4 and
# Terredo tunnels your web browser should favor IPv4 for the same reasons
prefer-ip6: no
# Use this only when you downloaded the list of primary root servers!
# If you use the default dns-root-data package, unbound will find it automatically
#root-hints: "/var/lib/unbound/root.hints"
# Trust glue only if it is within the server's authority
harden-glue: yes
# Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS
harden-dnssec-stripped: yes
# Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes
# see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details
use-caps-for-id: no
# Reduce EDNS reassembly buffer size.
# IP fragmentation is unreliable on the Internet today, and can cause
# transmission failures when large DNS messages are sent via UDP. Even
# when fragmentation does work, it may not be secure; it is theoretically
# possible to spoof parts of a fragmented DNS message, without easy
# detection at the receiving end. Recently, there was an excellent study
# >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<<
# by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/)
# in collaboration with NLnet Labs explored DNS using real world data from the
# the RIPE Atlas probes and the researchers suggested different values for
# IPv4 and IPv6 and in different scenarios. They advise that servers should
# be configured to limit DNS messages sent over UDP to a size that will not
# trigger fragmentation on typical network links. DNS servers can switch
# from UDP to TCP when a DNS response is too big to fit in this limited
# buffer size. This value has also been suggested in DNS Flag Day 2020.
edns-buffer-size: 1232
# Perform prefetching of close to expired message cache entries
# This only applies to domains that have been frequently queried
prefetch: yes
# One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
num-threads: 1
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m
# Ensure privacy of local IP ranges
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
```
```bash Sun Jul 21 2024 19:03:10 GMT-0700 (Mountain Standard Time)
service unbound restart
nano /etc/lighttpd/lighttpd.conf
```
```conf Sun Jul 21 2024 19:03:02 GMT-0700 (Mountain Standard Time)
...
server.port = 8007
...
```
```bash Sun Jul 21 2024 19:02:59 GMT-0700 (Mountain Standard Time)
pihole -up
service lighttpd restart
pihole -a -p 484C889D0ED1EA4AB930AA518FE3B15E
rm /etc/netplan/50-cloud-init.yaml
nano /etc/netplan/00-installer-config.yaml
```
```yaml Sun Jul 21 2024 19:02:57 GMT-0700 (Mountain Standard Time)
network:
ethernets:
enp2s0:
addresses:
- 192.168.11.2/25
routes:
- to: default
via: 192.168.11.1
nameservers:
addresses: [205.171.3.25, 205.171.2.25]
version: 2
```
```bash Sun Jul 21 2024 19:05:27 GMT-0700 (Mountain Standard Time)
chmod 600 /etc/netplan/*.yaml
netplan apply
reboot
```

View File

@ -0,0 +1,872 @@
---
created: 2024-11-05T18:26:20.000Z
type: note
updated: 2024-11-05T18:26:20.000Z
---
# Beelink Ubuntu and Podman July 2024
## authorized_keys
```bash Thu Jul 25 2024 16:02:13 GMT-0700 (Mountain Standard Time)
sudo -i
cat /root/.ssh/authorized_keys
nano /root/.ssh/authorized_keys
```
```conf Thu Jul 25 2024 16:02:15 GMT-0700 (Mountain Standard Time)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7khmvc9lTWHALZ/IOMcJNz/1SuvrU53fI43v4PxIJN # 92532396 2023-12-27 mikep@DESKTOP-VP94SPB
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGq7b8qtm4fgNxW2lxm+qoxm8Wz7+1uhLQCg7xSlKYL1 # 92683771 2024-01-01 mikep@DESKTOP-BMV4V66
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqLFW9kYMp9lOTXXYafxLiUADFFKeM5KDzt02E3XeRP # 92691378 2024-01-01 cphar@DESKTOP-KA0LMMJ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBkS+uvWevmhYNos6MJKVi2auAx6x+xlyOnnvbdEstsz # 92797978 2024-01-03 mikep@DESKTOP-GNECR7R
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKf5fo63+vyYa8E06+HOPg24e9VMsvv/kBsHKGjBBUyz # 92895319 2024-01-05 mike@mike-B365M-DS3H
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGM6ANLH/4dS0YqlsCyoXkznzkgIsDqCTk3YX01XVWd8 # 92909911 2024-01-06 mikep@DESKTOP-H6JG91B
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwAv1vrRA29GYL0DFSE8nmD5q3gL+vVtFSwhrXObDo4 # 93288214 2024-01-13 infineon\phares@ISCN5CG3256CPS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH1xPVOisKwW6Xwo/Yh1kx2smt2HJU2/pRjTJf4KdGXo # 97267150 2024-03-28 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDz5WqCKsoaxV+LG/kufLNuiE9K3lqp+B3AqeKXGusX # 97442032 2024-04-01 lphar@DESKTOP-1238PEQ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID09PhrjIpeNBmUeycnT3xKF8F5TcGL3ZKAvU9YdLj7H # 98747144 2024-04-25 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIaZyTLpafZta8W8Uv6uWpgbbj4QL5dde9Rlf06PfdYc # 98824914 2024-04-26 k0308@DESKTOP-0UJ8DD5
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFpucyp3FAHn8/9cXvfRegi09DkR6XLugoniEyQ9w0T # 98824924 2024-04-26 mille@DESKTOP-QL2HGEH
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOn/Ptg/k3rOJn32GxrL2J3Bazt/3M9fGWjzP+CW1qXK # 100900455 2024-06-03 lphares0907@penguin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPMIxGucViHMHFXoM2VBPlvLvMgqNi2BUtTE/D4n778M # 101638217 2024-06-14 mikep@DESKTOP-VVO6KCM
```
```bash Thu Jul 25 2024 16:02:34 GMT-0700 (Mountain Standard Time)
exit
```
## Timezone
```bash Thu Jul 25 2024 16:10:06 GMT-0700 (Mountain Standard Time)
timedatectl set-timezone America/Phoenix
date
# Thu Jul 25 04:03:08 PM MST 2024
```
```bash Thu Jul 25 2024 16:10:08 GMT-0700 (Mountain Standard Time)
apt-get update
apt upgrade -y
```
## Create Users
```bash Thu Jul 25 2024 16:10:13 GMT-0700 (Mountain Standard Time)
adduser pihole
adduser podman
mkdir /home/podman/.ssh
cp /root/.ssh/authorized_keys /home/podman/.ssh/authorized_keys
chown podman:podman -R /home/podman
#
adduser lphares
#
mkdir /home/lphares/.ssh
cp /root/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
#
adduser bmiller
#
mkdir /home/bmiller/.ssh
cp /root/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
```
## Directory Share
```bash Mon Thu Jul 25 2024 16:10:17 GMT-0700 (Mountain Standard Time)
adduser bmiller lphares
sudo usermod -a -G lphares bmiller
newgrp lphares
systemctl restart ssh
```
## Podman Quadlet Rootless Example
```bash Thu Jul 25 2024 16:30:13 GMT-0700 (Mountain Standard Time)
apt-get install podman -y
apt-cache rdepends podman-compose
apt-get install podman-compose -y
# apt-get remove podman-compose -y
# apt-get purge podman-compose -y
adduser podman sudo
sudo -iu podman
loginctl enable-linger
# 2.
podman --version
# podman version 4.9.3
# https://www.redhat.com/sysadmin/quadlet-podman
cd ~/
mkdir -p .config/containers/systemd/
nano .config/containers/systemd/mysleep.container
```
```conf Thu Jul 25 2024 16:31:21 GMT-0700 (Mountain Standard Time)
[Unit]
Description=The sleep container
After=local-fs.target
[Container]
Image=registry.access.redhat.com/ubi9-minimal:latest
Exec=sleep 1000
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target
```
```bash Thu Jul 25 2024 16:31:24 GMT-0700 (Mountain Standard Time)
exit
exit
reboot
```
```bash Thu Jul 25 2024 16:31:27 GMT-0700 (Mountain Standard Time)
# cp -R /run/user/0/ /run/user/1002/
mkdir -p /run/user/1002/
chown -R podman:podman /run/user/1002/
sudo -iu podman
cd ~/
mkdir -p ~/.bashrc.d
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1002
systemctl --user daemon-reload
podman ps -a --sort names
systemctl --user enable --now podman.socket
systemctl --user status mysleep.service
systemctl --user start mysleep.service
exit
reboot
```
## Pi-hole
```bash Thu Jul 25 2024 16:31:30 GMT-0700 (Mountain Standard Time)
# https://canyoublockit.com/
adduser pihole
cd /tmp
curl -sSL https://install.pi-hole.net | bash
pihole -a -p 484C889D0ED1EA4AB930AA518FE3B15E
exit
reboot
```
```bash Thu Jul 25 2024 16:35:27 GMT-0700 (Mountain Standard Time)
apt install unbound -y
# https://docs.pi-hole.net/guides/dns/unbound/
nano /etc/unbound/unbound.conf.d/pi-hole.conf
```
```conf Thu Jul 25 2024 16:35:36 GMT-0700 (Mountain Standard Time)
server:
# If no logfile is specified, syslog is used
# logfile: "/var/log/unbound/unbound.log"
verbosity: 0
interface: 127.0.0.1
port: 5335
do-ip4: yes
do-udp: yes
do-tcp: yes
# May be set to yes if you have IPv6 connectivity
do-ip6: no
# You want to leave this to no unless you have *native* IPv6. With 6to4 and
# Terredo tunnels your web browser should favor IPv4 for the same reasons
prefer-ip6: no
# Use this only when you downloaded the list of primary root servers!
# If you use the default dns-root-data package, unbound will find it automatically
#root-hints: "/var/lib/unbound/root.hints"
# Trust glue only if it is within the server's authority
harden-glue: yes
# Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS
harden-dnssec-stripped: yes
# Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes
# see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details
use-caps-for-id: no
# Reduce EDNS reassembly buffer size.
# IP fragmentation is unreliable on the Internet today, and can cause
# transmission failures when large DNS messages are sent via UDP. Even
# when fragmentation does work, it may not be secure; it is theoretically
# possible to spoof parts of a fragmented DNS message, without easy
# detection at the receiving end. Recently, there was an excellent study
# >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<<
# by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/)
# in collaboration with NLnet Labs explored DNS using real world data from the
# the RIPE Atlas probes and the researchers suggested different values for
# IPv4 and IPv6 and in different scenarios. They advise that servers should
# be configured to limit DNS messages sent over UDP to a size that will not
# trigger fragmentation on typical network links. DNS servers can switch
# from UDP to TCP when a DNS response is too big to fit in this limited
# buffer size. This value has also been suggested in DNS Flag Day 2020.
edns-buffer-size: 1232
# Perform prefetching of close to expired message cache entries
# This only applies to domains that have been frequently queried
prefetch: yes
# One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
num-threads: 1
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m
# Ensure privacy of local IP ranges
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
```
```bash Thu Jul 25 2024 16:37:29 GMT-0700 (Mountain Standard Time)
service unbound restart
nano /etc/lighttpd/lighttpd.conf
```
```conf Thu Jul 25 2024 16:37:31 GMT-0700 (Mountain Standard Time)
...
server.port = 8005
...
```
```bash Thu Jul 25 2024 16:37:32 GMT-0700 (Mountain Standard Time)
pihole -up
service lighttpd restart
dig fail01.dnssec.works @127.0.0.1 -p 5335
dig dnssec.works @127.0.0.1 -p 5335
exit
reboot
```
## Log
```bash Thu Jul 25 2024 16:44:00 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Thu Jul 25 2024 16:44:01 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-07-25.txt
cat /etc/bash_history_2024-07-25.txt
exit
```
```bash Thu Jul 25 2024 16:44:03 GMT-0700 (Mountain Standard Time)
apt install smartmontools
smartctl -i /dev/sda
```
```yaml Thu Jul 25 2024 16:44:05 GMT-0700 (Mountain Standard Time)
Device Model: minisforum
Serial Number: L9MLCHC11280472
LU WWN Device Id: 0 000000 000000000
Firmware Version: SBFMJ1.3
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available
Device is: Not in smartctl database 7.3/5528
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Jul 25 16:38:33 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
## Dashkiosk
```bash Thu Jul 25 2024 16:44:07 GMT-0700 (Mountain Standard Time)
apt install snapd -y
apt install sudo links unzip nginx git nano ncdu -y
snap install dashkiosk
snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk daemon=true
snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver
exit
```
```bash Thu Jul 25 2024 16:44:09 GMT-0700 (Mountain Standard Time)
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
# ^C
/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
# ^C
snap set ubuntu-frame daemon=true
exit
reboot
```
## Podman Verify
```bash Thu Jul 25 2024 16:58:14 GMT-0700 (Mountain Standard Time)
# apt install systemd-container -y
# machinectl --help
sudo -iu podman
cd ~/
mkdir -p ~/.bashrc.d
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1002
systemctl --user daemon-reload
podman ps -a --sort names
podman image prune
podman volume prune
podman container prune
chown -R podman:podman /home/podman/.config/containers/systemd/
rm -R /home/podman/.config/containers/systemd/*.ignore
rm -R /home/podman/.config/containers/systemd/*.volume
rm -R /home/podman/.config/containers/systemd/*.container
```
## Free File Sync - * Select - A
```bash Thu Jul 25 2024 16:49:21 GMT-0700 (Mountain Standard Time)
# sftp://root@free.file.sync.root/etc|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519
# L:\Git\Linux-Ubuntu-Server\etc
```
## Backup
- [x] Rescuezilla Fri Jul 26 2024 10:45:27 GMT-0700 (Mountain Standard Time)
## Restore
- [x] Rescuezilla Fri Jul 26 2024 10:45:27 GMT-0700 (Mountain Standard Time)
## Disable IPv6 (Move up next time!!!)
```bash Fri Jul 26 2024 10:45:27 GMT-0700 (Mountain Standard Time)
# https://intercom.help/privatevpn/en/articles/6440374-how-to-disable-ipv6-on-ubuntu-and-fedora-linux
nano /etc/sysctl.conf
```
```conf Fri Jul 26 2024 10:45:30 GMT-0700 (Mountain Standard Time)
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
```
```bash Fri Jul 26 2024 10:45:34 GMT-0700 (Mountain Standard Time)
sysctl -p
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
exit
reboot
```
```bash Fri Jul 26 2024 10:45:38 GMT-0700 (Mountain Standard Time)
nano /etc/default/grub
```
```conf Fri Jul 26 2024 10:45:47 GMT-0700 (Mountain Standard Time)
# https://opensource.com/article/22/8/disable-ipv6
# GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"
# GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="ipv6.disable=1"
```
```bash Fri Jul 26 2024 10:45:51 GMT-0700 (Mountain Standard Time)
grub-mkconfig
exit
reboot
```
## Fix Unbound (Move up next time!!!)
```conf Fri Jul 26 2024 10:45:41 GMT-0700 (Mountain Standard Time)
service unbound restart
# http://beelink:8005/admin/settings.php?tab=dns
# https://docs.pi-hole.net/guides/dns/unbound/#configure-pi-hole
127.0.0.1#5335
```
```bash Fri Jul 26 2024 10:45:44 GMT-0700 (Mountain Standard Time)
journalctl -fu unbound-resolvconf.service
systemctl disable --now unbound-resolvconf.service
service unbound restart
```
## Cockpit (Move up next time!!!)
- [cockpit](https://cockpit-project.org/)
- [podman](https://192.168.11.2:9090/podman#/?container=all)
```bash Fri Jul 26 2024 10:45:55 GMT-0700 (Mountain Standard Time)
# apt install chkservice -y
apt-cache rdepends cockpit
apt install cockpit -y
passwd phares
# https://192.168.11.2:9090
# https://blog.while-true-do.io/podman-web-ui-via-cockpit/
apt-get install cockpit cockpit-podman -y
systemctl enable --now cockpit.socket
```
## Podman Create
```bash Fri Jul 26 2024 10:46:01 GMT-0700 (Mountain Standard Time)
# apt install systemd-container -y
# machinectl --help
sudo -iu podman
cd ~/
mkdir -p ~/.bashrc.d
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1002
systemctl --user daemon-reload
podman ps -a --sort names
podman pull docker.io/dpage/pgadmin4:latest
podman pull docker.io/gitea/act_runner:nightly
podman pull docker.io/gitea/gitea:latest
podman pull docker.io/library/postgres:13
podman pull docker.io/library/postgres:14
podman pull docker.io/library/postgres:16
podman pull docker.io/library/postgres:16
podman pull docker.io/library/redis:6.2-alpine@sha256:d6c2911ac51b289db208767581a5d154544f2b2fe4914ea5056443f62dc6e900
podman pull docker.io/odoo:15.0
podman pull docker.io/odoo:16.0
podman pull docker.io/vaultwarden/server:latest
podman pull ghcr.io/immich-app/immich-machine-learning:release
podman pull ghcr.io/immich-app/immich-server:release
```
```conf Fri Jul 26 2024 10:57:44 GMT-0700 (Mountain Standard Time)
# sftp://root@free.file.sync.root/home/podman|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519
# L:\Git\Linux-Ubuntu-Server\home\podman
```
```bash Fri Jul 26 2024 11:01:22 GMT-0700 (Mountain Standard Time)
# ... .service is transient or generated.
# WantedBy=multi-user.target
systemctl --user daemon-reload
systemctl --user start gitea-db
# systemctl --user start gitea-runner
systemctl --user start gitea-server
systemctl --user start immich-db
systemctl --user start immich-learning
systemctl --user start immich-redis
# systemctl --user start immich-server
systemctl --user start odoo-db
systemctl --user start odoo-server
systemctl --user start pgadmin
systemctl --user start vaultwarden-server
podman ps -a --sort names --sort names
smartctl -i /dev/sda
```
```yaml Fri Jul 26 2024 11:55:37 GMT-0700 (Mountain Standard Time)
Device Model: 256GB SSD
Serial Number: CM42ABH1005410
LU WWN Device Id: 5 3a5a27 0100c22ca
Firmware Version: SN11842
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5528
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Jul 26 11:55:12 2024 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
## Copy Slideshow Photos
```bash Fri Jul 26 2024 10:57:44 GMT-0700 (Mountain Standard Time)
lvs -a
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
mkdir /mnt/usb
mount /dev/sdb2 /mnt/usb
```
```conf Fri Jul 26 2024 10:57:44 GMT-0700 (Mountain Standard Time)
# cp -R ... ...
# sftp://root@free.file.sync.root/mnt/usb/var/www/html/Images-c9dbce3b-Results/thumbs|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519
# sftp://root@free.file.sync.root/var/www/html/Images-c9dbce3b-Results/thumbs|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519
```
```bash Fri Jul 26 2024 13:34:48 GMT-0700 (Mountain Standard Time)
OS-var-thumbs-server 7/26/2024 11:59:57 AM
Completed successfully
Warnings: 2
Items processed: 156,388 (35.7 GB)
Total time: 01:31:53
Errors and warnings:
11:59:58 AM Warning: The following folders do not yet exist:
sftp://root@free.file.sync.root/var/www/html/Images-c9dbce3b-Results/thumbs
The folders are created automatically when needed.
12:00:30 PM Warning: Database file is not av
```
```bash Fri Jul 26 2024 13:34:52 GMT-0700 (Mountain Standard Time)
umount /mnt/usb
# http://192.168.11.2:9400/admin
# Slideshow
# http://127.0.0.1:8080/slideshow/index.html?nocache=2024-07-01-11-36
# Local
# http://192.168.11.2:8080/slideshow/index.html?nocache=2024-07-01-11-36
```
## Free File Sync - * Select - B
```conf Fri Jul 26 2024 13:34:57 GMT-0700 (Mountain Standard Time)
# sftp://root@free.file.sync.root/etc|chan=10|keyfile=C:\Users\phares\.ssh\id_ed25519
# L:\Git\Linux-Ubuntu-Server\etc
```
```bash Fri Jul 26 2024 13:35:01 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-07-26.txt
exit
shutdown now
```
## Backup
- [x] Rescuezilla Fri Jul 26 2024 13:35:04 GMT-0700 (Mountain Standard Time)
## nginx
```bash Fri Jul 26 2024 22:29:45 GMT-0700 (Mountain Standard Time)
nginx -t
systemctl start nginx
nginx -s reload
```
## certbot
```bash Fri Jul 26 2024 22:29:47 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
# apt-get install certbot
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
# certbot --nginx
certbot certonly --nginx
# mikepharesjr@msn.com
# 1: affirm.ddns.net
# 2: codeserver.ddns.net
# 3: dashkiosk.ddns.net
# 4: dockge.ddns.net
# 5: docmost.ddns.net
# 6: gitea.ddns.net
# 7: immich.ddns.net
# 8: incus.ddns.net
# 9: kestra.ddns.net
# 10: lxconsole.ddns.net
# 11: music.ddns.net
# 12: phares.ddns.net
# 13: phares3757.ddns.net
# 14: quartz.ddns.net
# 15: vaultwarden.ddns.net
# 16: phares.duckdns.org
# 17: docmost.phares.duckdns.org
# 18: gitea.phares.duckdns.org
# 19: immich.phares.duckdns.org
# 20: music.phares.duckdns.org
# 21: quartz.phares.duckdns.org
# 22: vaultwarden.phares.duckdns.org
# always pick phares3757 first!
# 11 1 14 15 16 17 18 19
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
systemctl list-timers
# q
# /etc/crontab/
# /etc/cron.*/*
certbot renew --dry-run
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
nano /etc/logrotate.d/letsencrypt
```
```conf Fri Jul 26 2024 22:29:50 GMT-0700 (Mountain Standard Time)
/var/log/letsencrypt/*.log {
rotate 12
weekly
compress
missingok
}
```
```bash Fri Jul 26 2024 22:29:53 GMT-0700 (Mountain Standard Time)
nginx -t
systemctl start nginx
nginx -s reload
```
## how to run a shell scripts at every login (Move up next time!!!)
- [how-to-run-a-shell-scripts-at-every-login](https://serverfault.com/questions/782433/how-to-run-a-shell-scripts-at-every-login-in-centos)
```bash Fri Jul 26 2024 22:29:56 GMT-0700 (Mountain Standard Time)
nano ~/.bash_profile
cd ~/
echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" > ~/.bashrc.d/systemd
source ~/.bashrc.d/systemd
loginctl enable-linger 1002
systemctl --user daemon-reload
podman ps -a --sort names
```
## Setup and Backup Docker Gitea
```bash Fri Jul 26 2024 22:30:00 GMT-0700 (Mountain Standard Time)
# https://docs.gitea.com/administration/config-cheat-sheet?_highlight=enable_push_create_org/administration/config-cheat-sheet#repository-repository
systemctl --user daemon-reload
systemctl --user stop gitea-server
systemctl --user stop gitea-db
podman volume prune
systemctl --user daemon-reload
systemctl --user start gitea-db
systemctl --user start gitea-server
podman exec -ti gitea-server /bin/bash
exit
mkdir backup-gitea
cd backup-gitea
podman cp gitea-server:/etc/gitea/app.ini .
```
```yaml Fri Jul 26 2024 22:34:10 GMT-0700 (Mountain Standard Time)
Username: gitea
Email: gitea@phares.duckdns.org
Username: mikep
Email: mikepharesjr@msn.com
Username: phares
Email: mike.phares@infineon.com
Organization: phares3757
Full Name: Mike Phares
```
```bash Fri Jul 26 2024 22:36:08 GMT-0700 (Mountain Standard Time)
cd backup-gitea
podman volume export systemd-gitea-db-data --output gitea-db-data-2024-07-26-21-55.tar
podman volume export systemd-gitea-server-data --output gitea-server-data-2024-07-26-22-45.tar
podman volume export systemd-gitea-server-config --output gitea-server-config-2024-07-26-22-46.tar
systemctl --user daemon-reload
systemctl --user stop gitea-server
systemctl --user stop gitea-db
systemctl --user start gitea-db
systemctl --user start gitea-server
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/gitea-2024-07-26-20-06.sql .
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/gitea-2024-07-26-20-23.sql .
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/gitea-2024-07-26-21-42.sql .
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/gitea-2024-07-26-22-47.sql .
```
```bash Fri Jul 26 2024 23:00:35 GMT-0700 (Mountain Standard Time)
L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe
```
```bash Fri Jul 26 2024 23:00:37 GMT-0700 (Mountain Standard Time)
podman volume export systemd-gitea-db-data --output gitea-db-data-2024-07-26-23-00.tar
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/gitea-2024-07-26-23-00.sql .
podman volume export systemd-gitea-server-data --output gitea-server-data-2024-07-26-23-01.tar
podman volume export systemd-gitea-server-config --output gitea-server-config-2024-07-26-23-01.tar
systemctl --user daemon-reload
systemctl --user stop gitea-server
systemctl --user stop gitea-db
systemctl --user start gitea-db
systemctl --user start gitea-server
```
## Backup
- [x] Rescuezilla Sat Jul 27 2024 07:47:40 GMT-0700 (Mountain Standard Time)
## Import passwords to VaultWarden
```yaml Sat Jul 27 2024 08:37:31 GMT-0700 (Mountain Standard Time)
Email: vaultwarden@phares.duckdns.org
Email: mikepharesjr@msn.com
Email: mike.phares@infineon.com
Email: kphares501@gmail.com
Email: lphares0907@outlook.com
Email: cphares0917@outlook.com
Organization: phares3757
```
```bash Sat Jul 27 2024 08:37:31 GMT-0700 (Mountain Standard Time)
mkdir backup-vaultwarden
cd backup-vaultwarden
# https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
apt-cache rdepends argon2
apt install argon2
echo -n "mikepharesjr" | argon2 "$(openssl rand -base64 32)" -e -id -k 65540 -t 3 -p 4 | sed 's#\$#\$\$#g'
systemctl --user daemon-reload
systemctl --user stop vaultwarden-server
systemctl --user stop vaultwarden-db
podman volume prune
systemctl --user start vaultwarden-db
systemctl --user start vaultwarden-server
podman exec -ti vaultwarden-server /bin/bash
# podman cp vaultwarden-server:/data/db.sqlite3 .
podman cp pgadmin:/var/lib/pgadmin/storage/mikepharesjr_msn.com/vaultwarden-2024-07-27-09-10.sql .
podman volume export systemd-vaultwarden-db-data --output vaultwarden-db-data-2024-07-27-09-10.tar
podman volume export systemd-vaultwarden-server-data --output vaultwarden-db-data-2024-07-27-09-10.tar
```
## ADGuard
- [adguard](https://snapcraft.io/adguard-home)
```bash Fri Aug 02 2024 17:53:44 GMT-0700 (Mountain Standard Time)
snap install adguard-home
```
## certbot
```bash Sun Oct 06 2024 13:05:03 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
apt-get remove certbot -y
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/Yx5DGIJAmlnqCPrcxlS0fwsBTuR2XKpjdJB_ljDZ9BE
cd /var/www/certbot/.well-known/acme-challenge
ls
# certbot --nginx
certbot certonly --nginx
# 3 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# always pick phares3757 first!
cd /etc/
mkdir /etc/duckdns
cd /etc/duckdns
nano duck.sh
```
```conf Sun Oct 06 2024 14:44:42 GMT-0700 (Mountain Standard Time)
echo url="https://www.duckdns.org/update?domains=affirm&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
# echo url="https://www.duckdns.org/update?domains=ha-phares&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
echo url="https://www.duckdns.org/update?domains=phares&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
echo url="https://www.duckdns.org/update?domains=synology-phares&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
```
```bash Sun Oct 06 2024 14:44:42 GMT-0700 (Mountain Standard Time)
chmod 700 duck.sh
./duck.sh
cat duck.log
curl https://get.acme.sh | sh -s email=mikepharesjr@msn.com
crontab -e
```
```conf Sun Oct 06 2024 14:44:42 GMT-0700 (Mountain Standard Time)
*/5 * * * * /etc/duckdns/duck.sh >/dev/null 2>&1
```
```bash
# https://www.snbforums.com/threads/duckdns-with-letsencrypt.86114/
curl https://get.acme.sh | sh -s email=mikepharesjr@msn.com
find / -name "acme.sh" 2>/dev/null
# /root/.acme.sh/acme.sh
# /root/acme.sh-master/acme.sh
cd /root/acme.sh-master
export DuckDNS_Token=1d3fc707-7052-4459-a624-fb01250f00b9
./acme.sh --register-account -m mikepharesjr@msn.com
./acme.sh --set-default-ca --server letsencrypt
# ./acme.sh --issue --dns dns_duckdns -d phares.duckdns.org --ecc --home ~/acme.sh-master
# ./acme.sh --issue --dns dns_duckdns -d phares.duckdns.org --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
./acme.sh --issue --dns dns_duckdns -d '*.phares.duckdns.org' --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
./acme.sh --issue --dns dns_duckdns -d affirm.duckdns.org --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
# ./acme.sh --issue --dns dns_duckdns -d ha-phares.duckdns.org --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
# ./acme.sh --issue --dns dns_duckdns -d synology-phares.duckdns.org --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
```
```bash Fri Oct 25 2024 16:20:55 GMT-0700 (Mountain Standard Time)
certbot certonly --nginx
```
```log Fri Oct 25 2024 16:20:55 GMT-0700 (Mountain Standard Time)
3 1 2 4 5 6 7 8 9 10 11 13 14 15 16 17 20
DNS Name: phares3757.ddns.net
DNS Name: affirm.ddns.net
DNS Name: chat.phares.duckdns.org
DNS Name: drive.phares.duckdns.org
DNS Name: gitea.phares.duckdns.org
DNS Name: ha.phares.duckdns.org
DNS Name: immich.phares.duckdns.org
DNS Name: music.phares.duckdns.org
DNS Name: phares.duckdns.org
DNS Name: photos.phares.duckdns.org
DNS Name: quartz.phares.duckdns.org
DNS Name: traccar.phares.duckdns.org
DNS Name: vaultwarden.phares.duckdns.org
```
## Backup Docker Immich
```bash
```
## Restore DB for Immich
```bash
```
## Gitea Runner
```bash
cd /tmp
wget https://gitea.com/gitea/act_runner/releases/download/v0.2.10/act_runner-0.2.10-linux-amd64
chmod +x act_runner-0.2.10-linux-amd64
./act_runner-0.2.10-linux-amd64 -v
./act_runner-0.2.10-linux-amd64 register --no-interactive --instance http://192.168.11.2:3000/ --token asdf
./act_runner-0.2.10-linux-amd64 daemon
```
```bash
cd /home/phares
cat .runner
./act_runner-0.2.10-linux-amd64 daemon
```
```bash
cp /home/phares/act_runner-0.2.10-linux-amd64 /usr/local/bin/act_runner
./act_runner-0.2.10-linux-amd64 register --no-interactive --config /etc/act_runner/config.yaml --instance http://192.168.11.2:3000/ --name beelink-cmd-phares3757 --token asdf
```
```yml
# gitea-runner
version: "3.8"
services:
runner:
environment:
# CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: ${INSTANCE_URL}
GITEA_RUNNER_LABELS: ${RUNNER_LABELS}
GITEA_RUNNER_NAME: ${RUNNER_NAME}
GITEA_RUNNER_REGISTRATION_TOKEN: ${REGISTRATION_TOKEN}
image: gitea/act_runner:nightly
volumes:
# - ./config.yaml:/config.yaml
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks: {}
volumes:
runner-data:
driver: local
```
# Common
```bash
nginx -t
nginx -s reload
cat /etc/crontab
systemctl restart nginx
cat /etc/ssh/sshd_config
lsof -i -P -n | grep LISTEN
netstat -tulpn | grep LISTEN
lsblk -I 8 -o NAME,SIZE,TYPE,FSUSED,FSUSE%
(echo >/dev/tcp/localhost/5433) &>/dev/null && echo "Open 5433" || echo "Close 5433"
```

575
_-Review/beelink.ubuntu.md Normal file
View File

@ -0,0 +1,575 @@
---
created: 2024-11-04T19:30:17.000Z
type: note
updated: 2024-11-04T19:30:17.000Z
---
# Beelink Ubuntu
## Dashkiosk
```bash Thu Jun 20 2024 17:31:33 GMT-0700 (Mountain Standard Time)
sudo -i
apt install snapd
apt install sudo links unzip nginx git nano ncdu -y
snap install dashkiosk
snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk daemon=true
snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
exit
sudo -i
reboot
```
```bash Thu Jun 20 2024 17:37:12 GMT-0700 (Mountain Standard Time)
snap set ubuntu-frame daemon=true
# Slideshow
# http://127.0.0.1:8080/slideshow
# Local
# https://192.168.11.2/slideshow
```
## authorized_keys
```bash Thu Jun 20 2024 17:40:24 GMT-0700 (Mountain Standard Time)
adduser lphares
mkdir /home/lphares/.ssh
cp /home/phares/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
adduser bmiller
mkdir /home/bmiller/.ssh
cp /home/phares/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
adduser bmiller lphares
cp /home/phares/.ssh/authorized_keys /root/.ssh/authorized_keys
```
## Log
```bash Thu Jun 20 2024 17:40:26 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Thu Jun 20 2024 17:40:28 GMT-0700 (Mountain Standard Time)
sudo -i
cp ~/.bash_history /etc/bash_history_2024-06-20.txt
cat /etc/bash_history_2024-06-20.txt
exit
```
```bash Thu Jun 20 2024 17:40:31 GMT-0700 (Mountain Standard Time)
sudo -i
apt install smartmontools -y
smartctl -i /dev/sda
```
```yaml Thu Jun 20 2024 17:41:03 GMT-0700 (Mountain Standard Time)
Device Model: 256GB SSD
Serial Number: CM42ABH1005410
LU WWN Device Id: 5 3a5a27 0100c22ca
Firmware Version: SN11842
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5528
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Jun 21 00:40:21 2024 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
## no-ip2
```bash Thu Jun 20 2024 17:42:09 GMT-0700 (Mountain Standard Time)
cd /usr/local/src/
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
ls
cd noip-2.1.9-1/
apt-get install make gcc -y
make install
cat /usr/local/etc/no-ip2.conf
noip2 -C -u 9zh94yf -p xrtvLiRNhScX
cd /usr/local/src/noip-2.1.9-1/binaries
./noip2-x86_64 -S
cd ..
noip2 -S
exit
```
## certbot
```bash Thu Jun 20 2024 17:42:44 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
apt-get remove certbot -y
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
# certbot --nginx
certbot certonly --nginx
# 19 12 15 16 17
# always pick phares3757 first!
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
systemctl list-timers
# /etc/crontab/
# /etc/cron.*/*
certbot renew --dry-run
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
nano /etc/logrotate.d/letsencrypt
```
```conf Sun Jun 23 2024 14:16:20 GMT-0700 (Mountain Standard Time)
/var/log/letsencrypt/*.log {
rotate 12
weekly
compress
missingok
}
```
```bash Thu Jun 20 2024 17:42:44 GMT-0700 (Mountain Standard Time)
exit
```
## LXD
```bash Thu Jun 20 2024 18:07:18 GMT-0700 (Mountain Standard Time)
sudo -i
snap install lxd
lxd init
lxc launch ubuntu:24.04 ubuntu-gogs
lxc list
lxc exec ubuntu-gogs bash
```
## Gogs
```bash Thu Jun 20 2024 18:50:06 GMT-0700 (Mountain Standard Time)
apt-get update
apt-get upgrade
adduser gogs
# mkdir /home/gogs/.ssh
# cp /home/mike/.ssh/authorized_keys /home/gogs/.ssh/authorized_keys
# chown gogs:gogs -R /home/gogs
# adduser gogs sudo
# usermod -a -G sudo gogs
cd /home/gogs
wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz
tar -xvzf gogs_0.13.0_linux_amd64.tar.gz
rm gogs_0.13.0_linux_amd64.tar.gz
chown -R gogs:gogs /home/gogs
su gogs
cd /home/gogs/gogs
./gogs web
```
```bash Thu Jun 20 2024 18:57:46 GMT-0700 (Mountain Standard Time)
# http://192.168.11.2:3000/user/settings/ssh
exit # gogs
# https://github.com/gogs/gogs/blob/main/scripts/systemd/gogs.service
nano /etc/systemd/system/gogs-daemon.service
```
```conf Thu Jun 20 2024 18:57:50 GMT-0700 (Mountain Standard Time)
[Unit]
Description=Gogs
After=syslog.target
After=network.target
[Service]
# Modify these two values and uncomment them if you have
# repos with lots of files and get an HTTP error 500 because
# of that
##
#LimitMEMLOCK=infinity
#LimitNOFILE=65535
Type=simple
User=gogs
Group=gogs
WorkingDirectory=/home/gogs/gogs
ExecStart=/home/gogs/gogs/gogs web
Restart=always
Environment=USER=gogs HOME=/home/gogs
# Some distributions may not support these hardening directives
# If you cannot start the service due
# to an unknown option, comment out the ones not supported by your version of systemd.
ProtectSystem=full
PrivateDevices=yes
PrivateTmp=yes
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
```
```bash Thu Jun 20 2024 18:57:57 GMT-0700 (Mountain Standard Time)
systemctl enable gogs-daemon
systemctl stop gogs-daemon
systemctl start gogs-daemon
systemctl status gogs-daemon.service
journalctl -fu gogs-daemon.service
journalctl --rotate
journalctl --vacuum-time=1s
systemctl daemon-reload
```
```bash
# https://github.com/Kos-M/GogsThemes
cd /home/gogs
git clone https://github.com/Kos-M/GogsThemes
mkdir -p /home/gogs/gogs/custom/templates/inject/
mkdir -p /home/gogs/gogs/custom/public/css/
echo '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> /home/gogs/gogs/custom/templates/inject/head.tmpl
mv ./GogsThemes/themes/ /home/gogs/gogs/custom/public/css/
cp -r GogsThemes/img/ /home/gogs/gogs/custom/public/
rm -r ./GogsThemes
systemctl restart gogs-daemon
nano /etc/gogs/app.ini
```
```bash Thu Jun 20 2024 19:09:35 GMT-0700 (Mountain Standard Time)
# mkdir /etc/gogs-copy
# cp /home/gogs/gogs/custom/conf/app.ini /etc/gogs-copy/
# ln -s /home/gogs/gogs/custom/conf /etc/gogs
chown -R gogs:gogs /home/gogs
nano /home/gogs/gogs/custom/conf/app.ini
```
```conf Thu Jun 20 2024 19:13:14 GMT-0700 (Mountain Standard Time)
BRAND_NAME = Gogs
RUN_USER = gogs
RUN_MODE = prod
[database]
TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = gogs
SCHEMA = public
USER = gogs
PASSWORD = 1178
SSL_MODE = disable
PATH = data/gogs.db
[repository]
ROOT = /home/gogs/gogs-repositories
DEFAULT_BRANCH = master
[server]
DOMAIN = localhost
HTTP_PORT = 3000
EXTERNAL_URL = http://c242738d1d8b414da0e756118c5124e8ac015a0c@gogs3757.ddns.net/
DISABLE_SSH = false
SSH_PORT = 22
START_SSH_SERVER = false
OFFLINE_MODE = false
[mailer]
ENABLED = false
[auth]
REQUIRE_EMAIL_CONFIRMATION = false
DISABLE_REGISTRATION = false
ENABLE_REGISTRATION_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
[user]
ENABLE_EMAIL_NOTIFICATION = false
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = /home/gogs/gogs/log
[security]
INSTALL_LOCK = true
SECRET_KEY = czo27vBeXWU7HTi
```
```conf
# See free-file-sync directory
```
```bash
systemctl restart gogs-daemon
# http://localhost:3000/
# https://github.com/gogs/docs-api/tree/master/Repositories#migrate
# https://github.com/gogs/docs-api?tab=readme-ov-file
# git push --set-upstream gogs master
# url = gogs@gogs3757.ddns.net:mikepharesjr/
# url = https://{token}@gogs3757.ddns.net/mikepharesjr/
timedatectl set-timezone America/Phoenix
```
```bash Thu Jun 20 2024 19:41:18 GMT-0700 (Mountain Standard Time)
sudo -i
lxc launch ubuntu:24.04 ubuntu-noble-gogs
lxc list
lxc exec ubuntu-noble-gogs bash
```
```bash Thu Jun 20 2024 19:41:18 GMT-0700 (Mountain Standard Time)
# https://bobcares.com/blog/move-lxc-container-to-new-vm/
# To begin with, create a snapshot of the LXC container on the current VM. This snapshot will serve as a backup for the migration process. So, open the terminal and run this command:
lxc snapshot ubuntu-noble-gogs ubuntu-noble-gogs-2024-06-20
# Then, validate the snapshot was created successfully by checking the snapshots list with this command:
lxc info ubuntu-noble-gogs
# If we have not named the snapshot yet, look for the most recent creation date.
# Now, it is time to create an image from it. This will be used to set up our container on the new VM.
lxc publish ubuntu-noble-gogs/ubuntu-noble-gogs-2024-06-20 --alias="ubuntu-noble-gogs-image" description="ubuntu-noble-gogs-image-2024-06-20"
# At this point, we have to verify that the image was created by checking the image list with:
lxc image info ubuntu-noble-gogs-image
# Then, move the image to the new VM. We need to export it as an archive. This is done with this command:
mkdir root/Gogs
lxc image export ubuntu-noble-gogs-image root/Gogs/ubuntu-noble-gogs-image-2024-06-20-archive
# Before we import the image into the new VM, we have to make sure we can establish an SSH connection between the old VM and the new one. This is done via a VPN or Wireguard connection. So, use the `scp` command to copy the image to the new VM and replace `usera@host:/home/user` with the correct destination path:
# scp ./root/Gogs/ubuntu-noble-gogs-image-2024-06-20-archive.tar.gz usera@host:/home/user
# Furthermore, make sure both `lxc` and `lxd` are installed on the new VM. Then, import the image as seen here:
# lxc image import root/Gogs/ubuntu-noble-gogs-image-2024-06-20-archive.tar.gz --alias ubuntu-noble-gogs-image_on_new_vm
# Finally, confirm that the imported image appears in the list on our new VM:
lxc image list
lxc copy ubuntu-noble-gogs ubuntu-noble-gogs-b
lxc delete ubuntu-noble-gogs-b
```
## Slideshow
```bash Sun Jun 23 2024 14:23:01 GMT-0700 (Mountain Standard Time)
lsblk
mount /dev/sdc2 /mnt
cp -R /mnt/var/www/html/Images-c9dbce3b-Results/thumbs/ /var/www/html/Images-c9dbce3b-Results/.
ls /var/www/html/Images-c9dbce3b-Results/thumbs/
exit
```
## LXC
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
|------|-------|------|------|------|-----------|
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/Readeck
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/Readeck/.
scp root@192.168.11.12:/tmp/vzdump-lxc-107-2024_06_23-19_23_43.tar.gz /root/Readeck/.
lxc image import --alias=proxmox-107-debian-bookworm-readeck-image /root/Readeck/metadata.tar.gz /root/Readeck/vzdump-lxc-107-2024_06_23-19_23_43.tar.gz
lxc launch proxmox-107-debian-bookworm-readeck-image debian-bookworm-readeck -c boot.autostart=true
lxc exec debian-bookworm-readeck bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/Zabbix
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/Zabbix/.
scp root@192.168.11.12:/tmp/vzdump-lxc-109-2024_06_23-20_03_51.tar.gz /root/Zabbix/.
lxc image import --alias=proxmox-109-id-code-zabbix-image /root/Zabbix/metadata.tar.gz /root/Zabbix/vzdump-lxc-109-2024_06_23-20_03_51.tar.gz
lxc launch proxmox-109-id-code-zabbix-image proxmox-zabbix -c boot.autostart=true
lxc exec id-code-zabbix bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/HomeAssistantCore
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/HomeAssistantCore/.
scp root@192.168.11.12:/tmp/vzdump-lxc-110-2024_06_23-20_52_34.tar.gz /root/HomeAssistantCore/.
lxc image import --alias=proxmox-110-ubuntu-noble-home-assistant-core-image /root/HomeAssistantCore/metadata.tar.gz /root/HomeAssistantCore/vzdump-lxc-110-2024_06_23-20_52_34.tar.gz
lxc launch proxmox-110-ubuntu-noble-home-assistant-core-image ubuntu-noble-home-assistant-core -c boot.autostart=true
lxc exec ubuntu-noble-home-assistant-core bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/Ansible
scp root@192.168.11.12:/tmp/104-metadata.tar.gz /root/Ansible/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-104-2024_06_23-21_55_47.tar.gz /root/Ansible/.
lxc image import --alias=proxmox-104-debian-bookworm-ansible-image /root/Ansible/metadata.tar.gz /root/Ansible/vzdump-lxc-104-2024_06_23-21_55_47.tar.gz
lxc launch proxmox-104-debian-bookworm-ansible-image debian-bookworm-ansible -c boot.autostart=true
lxc exec debian-bookworm-ansible bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/InvoiceNinja
scp root@192.168.11.12:/tmp/105-metadata.tar.gz /root/InvoiceNinja/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-105-2024_06_23-21_57_29.tar.gz /root/InvoiceNinja/.
lxc image import --alias=proxmox-105-debian-bookworm-invoice-ninja-image /root/InvoiceNinja/metadata.tar.gz /root/InvoiceNinja/vzdump-lxc-105-2024_06_23-21_57_29.tar.gz
lxc launch proxmox-105-debian-bookworm-invoice-ninja-image debian-bookworm-invoice-ninja -c boot.autostart=true
lxc exec debian-bookworm-invoice-ninja bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/Odoo
scp root@192.168.11.12:/tmp/106-metadata.tar.gz /root/Odoo/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-106-2024_06_23-22_39_08.tar.gz /root/Odoo/.
lxc image import --alias=proxmox-106-debian-bookworm-odoo-image /root/Odoo/metadata.tar.gz /root/Odoo/vzdump-lxc-106-2024_06_23-22_39_08.tar.gz
lxc launch proxmox-106-debian-bookworm-odoo-image debian-bookworm-odoo -c boot.autostart=true
lxc exec debian-bookworm-odoo bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/UpTimeKuma
scp root@192.168.11.12:/tmp/100-metadata.tar.gz /root/UpTimeKuma/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-100-2024_06_23-22_49_01.tar.gz /root/UpTimeKuma/.
lxc image import --alias=proxmox-100-ubuntu-noble-up-time-kuma-image /root/UpTimeKuma/metadata.tar.gz /root/UpTimeKuma/vzdump-lxc-100-2024_06_23-22_49_01.tar.gz
lxc launch proxmox-100-ubuntu-noble-up-time-kuma-image ubuntu-noble-up-time-kuma -c boot.autostart=true
lxc exec ubuntu-noble-up-time-kuma bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/CasaOS
scp root@192.168.11.12:/tmp/101-metadata.tar.gz /root/CasaOS/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-101-2024_06_23-22_55_55.tar.gz /root/CasaOS/.
lxc image import --alias=proxmox-101-ubuntu-noble-casa-os-image /root/CasaOS/metadata.tar.gz /root/CasaOS/vzdump-lxc-101-2024_06_23-22_55_55.tar.gz
lxc launch proxmox-101-ubuntu-noble-casa-os-image ubuntu-noble-casa-os -c boot.autostart=true
lxc exec ubuntu-noble-casa-os bash
```
```bash Sun Jun 23 2024 20:54:13 GMT-0700 (Mountain Standard Time)
mkdir /root/Emby
scp root@192.168.11.12:/tmp/102-metadata.tar.gz /root/Emby/metadata.tar.gz
scp root@192.168.11.12:/tmp/vzdump-lxc-102-2024_06_23-23_10_03.tar.gz /root/Emby/.
lxc image import --alias=proxmox-102-ubuntu-noble-emby-image /root/Emby/metadata.tar.gz /root/Emby/vzdump-lxc-102-2024_06_23-23_10_03.tar.gz
lxc launch proxmox-102-ubuntu-noble-emby-image ubuntu-noble-emby -c boot.autostart=true
lxc exec ubuntu-noble-emby bash
```
```bash Tue Jun 25 2024 19:58:22 GMT-0700 (Mountain Standard Time)
mkdir /root/PhotoPrism
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/PhotoPrism/.
scp root@192.168.11.12:/tmp/vzdump-lxc-103-2024_06_25-18_54_52.tar.gz /root/PhotoPrism/.
lxc image import --alias=proxmox-103-ubuntu-noble-photoprism-image /root/PhotoPrism/metadata.tar.gz /root/PhotoPrism/vzdump-lxc-103-2024_06_25-18_54_52.tar.gz
lxc launch proxmox-103-ubuntu-noble-photoprism-image ubuntu-noble-photoprism -c boot.autostart=true
lxc exec ubuntu-noble-photoprism bash
```
```bash Tue Jun 25 2024 19:58:22 GMT-0700 (Mountain Standard Time)
mkdir /root/VaultWarden
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/VaultWarden/.
scp root@192.168.11.12:/tmp/vzdump-lxc-108-2024_06_25-19_56_58.tar.gz /root/VaultWarden/.
lxc image import --alias=proxmox-108-ubuntu-noble-vaultwarden-image /root/VaultWarden/metadata.tar.gz /root/VaultWarden/vzdump-lxc-108-2024_06_25-19_56_58.tar.gz
lxc launch proxmox-108-ubuntu-noble-vaultwarden-image ubuntu-noble-vaultwarden -c boot.autostart=true
lxc exec ubuntu-noble-vaultwarden bash
```
```bash Tue Jun 25 2024 20:28:11 GMT-0700 (Mountain Standard Time)
mkdir /root/OwnCast
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/OwnCast/.
scp root@192.168.11.12:/tmp/vzdump-lxc-109-2024_06_25-20_27_52.tar.gz /root/OwnCast/.
lxc image import --alias=proxmox-109-ubuntu-noble-owncast-image /root/OwnCast/metadata.tar.gz /root/OwnCast/vzdump-lxc-109-2024_06_25-20_27_52.tar.gz
lxc launch proxmox-109-ubuntu-noble-owncast-image ubuntu-noble-owncast -c boot.autostart=true
lxc exec ubuntu-noble-owncast bash
```
```bash Mon Jun 24 2024 15:26:49 GMT-0700 (Mountain Standard Time)
lxc launch ubuntu:24.04 ubuntu-noble-immich-
lxc list
lxc exec ubuntu-noble-immich- bash
```
```bash Wed Jun 26 2024 17:13:38 GMT-0700 (Mountain Standard Time)
mv /home/syncthing/Proxmox/immich*.tar.gz Immich/.
# /home/syncthing/Proxmox/immich_redis_export.tar.gz
lxc image import --alias=docker-alpine-3-20-immich-redis-image /root/Immich/metadata.tar.gz /root/Immich/immich_redis_export.tar.gz
lxc launch docker-alpine-3-20-immich-redis-image alpine-3-20-immich-redis -c boot.autostart=true
lxc exec alpine-3-20-immich-redis sh
# /home/syncthing/Proxmox/immich_postgres_export.tar.gz
lxc image import --alias=docker-alpine-3-20-immich-postgres-image /root/Immich/metadata.tar.gz /root/Immich/immich_postgres_export.tar.gz
lxc launch docker-alpine-3-20-immich-postgres-image alpine-3-20-immich-postgres -c boot.autostart=true
lxc exec alpine-3-20-immich-postgres bash
# /home/syncthing/Proxmox/immich_machine_learning_export.tar.gz
lxc image import --alias=docker-alpine-3-20-immich-machine-learning-image /root/Immich/metadata.tar.gz /root/Immich/immich_machine_learning_export.tar.gz
lxc launch docker-alpine-3-20-immich-machine-learning-image alpine-3-20-immich-machine-learning -c boot.autostart=true
lxc exec alpine-3-20-immich-machine-learning bash
# /home/syncthing/Proxmox/immich_server_export.tar.gz
lxc image import --alias=docker-alpine-3-20-immich-server-image /root/Immich/metadata.tar.gz /root/Immich/immich_server_export.tar.gz
lxc launch docker-alpine-3-20-immich-server-image alpine-3-20-immich-server -c boot.autostart=true
lxc exec alpine-3-20-immich-server bash
```
```bash Wed Jun 26 2024 17:54:01 GMT-0700 (Mountain Standard Time)
apt install lxc-utils
```
```bash
lxc config set debian-bookworm-ansible boot.autostart false
lxc config set ubuntu-noble-casa-os boot.autostart false
lxc config set ubuntu-noble-emby boot.autostart false
lxc config set ubuntu-noble-home-assistant-core boot.autostart false
lxc config set ubuntu-noble-owncast boot.autostart false
lxc config set ubuntu-noble-up-time-kuma boot.autostart false
lxc file push /home/syncthing/Proxmox/*.png ubuntu-noble-emby/home/
```
```bash Wed Jun 26 2024 18:07:05 GMT-0700 (Mountain Standard Time)
# https://ubuntu.com/tutorials/how-to-run-docker-inside-lxd-containers#4-test-your-docker-container
lxc storage create docker btrfs
lxc launch 91c12543d4f6 ubuntu-noble-docker
lxc storage volume create docker ubuntu-noble-docker
lxc config device add ubuntu-noble-docker docker disk pool=docker source=ubuntu-noble-docker path=/var/lib/docker
lxc config set ubuntu-noble-docker security.nesting=true security.syscalls.intercept.mknod=true security.syscalls.intercept.setxattr=true
lxc stop ubuntu-noble-docker
lxc rename ubuntu-noble-docker ubuntu-noble-docker-immich
lxc copy ubuntu-noble-docker-immich ubuntu-noble-docker-immich-copy
lxc start ubuntu-noble-docker-immich
lxc exec ubuntu-noble-docker-immich bash
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg \
--dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
docker run -it ubuntu bash
exit
lxc exec ubuntu-noble-docker-immich bash
ps aux
mkdir ./immich-app
cd ./immich-app
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
wget -O hwaccel.transcoding.yml https://github.com/immich-app/immich/releases/latest/download/hwaccel.transcoding.yml
wget -O hwaccel.ml.yml https://github.com/immich-app/immich/releases/latest/download/hwaccel.ml.yml
docker compose up -d
docker compose pull && docker compose up -d
exit
lxc snapshot ubuntu-noble-docker-immich ubuntu-noble-docker-immich-2024-06-26
```
```bash Thu Jun 27 2024 15:28:53 GMT-0700 (Mountain Standard Time)
mkdir /root/Dockge
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/Dockge/.
scp root@192.168.11.12:/tmp/vzdump-lxc-111-2024_06_27-15_28_21.tar.gz /root/Dockge/.
lxc image import --alias=proxmox-111-ubuntu-noble-dockge-immich-image /root/Dockge/metadata.tar.gz /root/Dockge/vzdump-lxc-111-2024_06_27-15_28_21.tar.gz
lxc launch proxmox-111-ubuntu-noble-dockge-immich-image ubuntu-noble-dockge-immich -c boot.autostart=true
lxc exec ubuntu-noble-dockge-immich bash
```
```bash Thu Jun 27 2024 15:48:31 GMT-0700 (Mountain Standard Time)
mkdir /root/HomeAssistant
scp root@192.168.11.12:/tmp/metadata.tar.gz /root/HomeAssistant/.
scp root@192.168.11.12:/tmp/vzdump-lxc-112-2024_06_27-15_47_44.tar.gz /root/HomeAssistant/.
lxc image import --alias=proxmox-112-ubuntu-noble-dockge-home-assistant-image /root/HomeAssistant/metadata.tar.gz /root/HomeAssistant/vzdump-lxc-112-2024_06_27-15_47_44.tar.gz
lxc launch proxmox-112-ubuntu-noble-dockge-home-assistant-image ubuntu-noble-dockge-home-assistant -c boot.autostart=true
lxc exec ubuntu-noble-dockge-home-assistant bash
```
```bash
lxc export ubuntu-noble-gogs /backups/lxd/ubuntu-noble-gogs-backup-$(date +'%m-%d-%Y').tar.xz --optimized-storage
```

8
_-Review/casa-os.md Normal file
View File

@ -0,0 +1,8 @@
---
created: 2024-07-02T16:17:32.365Z
status: 1-Unknown
type: "'\"note\"'"
updated: 2024-08-05T21:32:59.268Z
---
# CasaOS

View File

@ -42,4 +42,11 @@ These would be another case of maybe CEP.
- ntp01.mes.infineon.com
- ntp01.auc.infineon.com
- reftime.ifxcep.net
- reftime.ifxcep.net
- [x] CDE5
- [x] CDE6
- [x] SPV
- [x] CDE4
- [x] Elipsometer
- [x] SRP

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-06T01:25:36.083Z"
updated: "2024-01-06T01:25:36.083Z"
updated: "2024-06-17T18:32:54.221Z"
---
# certbot
@ -106,3 +106,21 @@ ufw allow from 0.0.0.0/0 to any port 8080 comment "24) acme-challenge"
cp /var/log/letsencrypt/letsencrypt.log /home/vscode/Notes
certbot --non-interactive --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com
```
```bash Thu Jun 13 2024 16:27:03 GMT-0700 (Mountain Standard Time)
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
apt-get remove certbot -y
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
mkdir -p /var/www/certbot/.well-known/acme-challenge
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
# certbot --nginx
certbot certonly --nginx
# always pick phares3757 first!
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
systemctl list-timers
# /etc/crontab/
# /etc/cron.*/*
certbot renew --dry-run
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
```

29
_-Review/cockpit.md Normal file
View File

@ -0,0 +1,29 @@
---
assigned: ''
created: 2024-07-26T23:21:44.132Z
progress: 0
tags:
- Hosts
type: note
updated: 2024-08-05T21:04:41.300Z
---
# Cockpit
- [cockpit](https://cockpit-project.org/)
- [podman](https://192.168.11.2:9090/podman#/?container=all)
```bash Fri Jul 26 2024 15:45:00 GMT-0700 (Mountain Standard Time)
apt-cache rdepends cockpit
apt install cockpit -y
passwd phares
apt-get install cockpit cockpit-podman -y
systemctl enable --now cockpit.socket
```

View File

@ -1,12 +1,20 @@
---
type: "basic-note"
assigned: ""
created: "2024-01-06T01:25:36.079Z"
updated: "2024-01-06T01:25:36.079Z"
assigned: ''
created: 2024-01-06T01:25:36.079Z
progress: 0
tags: []
type: note
updated: 2024-07-26T22:56:25.892Z
---
# Code Server
## Studio Code Server
### Home Assistant Community Add-on: Visual Studio Code
```bash
sudo -i
apt remove code-server
@ -51,16 +59,88 @@ exit
```
```bash
# git bash
npm i -D code-server --unsafe-perm
cd "L:/Git/code-server/node_modules/.bin"
bash code-server
```
## Sub-tasks
```yaml Sat Jul 20 2024 16:00:56 GMT-0700 (Mountain Standard Time)
- [ ] code-server
### Relations
[Ubuntu](ubuntu.md)
services:
code-server:
container_name: code-server
environment:
- DEFAULT_WORKSPACE=/config/workspace #optional
- HASHED_PASSWORD= #optional
- PASSWORD=${PASSWORD} #optional
- PGID=1000
- PROXY_DOMAIN=${PROXY_DOMAIN} #optional
- PUID=1000
- SUDO_PASSWORD_HASH= #optional
- SUDO_PASSWORD=${SUDO_PASSWORD} #optional
- TZ=${TZ}
image: lscr.io/linuxserver/code-server:latest
ports:
- 8443:8443
restart: unless-stopped
volumes:
- code-config:/config
networks: {}
volumes:
code-config:
driver: local
```
```conf Sat Jul 20 2024 16:19:07 GMT-0700 (Mountain Standard Time)
PASSWORD=IWd6JtGv#qf0e9jcCYDg
PROXY_DOMAIN=code-server.ddns.net
SUDO_PASSWORD=IWd6JtGv#qf0e9jcCYDg
TZ=US/Phoenix
```
```bash
docker logs -f code-server
docker exec -it code-server /bin/bash
docker inspect -f '{{ index .Config.Labels "build_version" }}' code-server
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/code-server:latest
```
```yaml
services:
msedge:
image: lscr.io/linuxserver/msedge:latest
container_name: msedge
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- EDGE_CLI=https://www.linuxserver.io/ #optional
volumes:
- msedge-config:/config
ports:
- 5006:3000
# - 3001:3001
shm_size: "1gb"
restart: unless-stopped
networks: {}
volumes:
msedge-config:
driver: local
```

14
_-Review/cups.md Normal file
View File

@ -0,0 +1,14 @@
---
created: 2024-08-05T21:06:58.918Z
type: note
updated: 2024-08-05T21:07:20.745Z
---
# Cups
## HP Printer
```bash
# apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client avahi-utils libavahi-client-dev libavahi-core-dev libavahi-common-dev libcupsimage2-dev libdbus-1-dev build-essential gtk2-engines-pixbuf ghostscript openssl libjpeg-dev libatk-adaptor libgail-common libsnmp-dev snmp-mibs-downloader libtool libtool-bin libusb-1.0-0-dev libusb-0.1-4 wget policykit-1 policykit-1-gnome automake1.11 python3-dbus.mainloop.pyqt5 python3-reportlab python3-notify2 python3-pyqt5 python3-dbus python3-gi python3-lxml python3-dev python3-pil python-is-python3 libsane libsane-dev sane-utils xsane -y
apt-get install --assume-yes libcups2t64 cups cups-bsd cups-client avahi-utils libavahi-client-dev libavahi-core-dev libavahi-common-dev libcupsimage2-dev libdbus-1-dev build-essential gtk2-engines-pixbuf ghostscript openssl libjpeg-dev libatk-adaptor libgail-common libsnmp-dev snmp-mibs-downloader libtool libtool-bin libusb-1.0-0-dev libusb-0.1-4 wget policykit-1 policykit-1-gnome automake1.11 python3-dbus.mainloop.pyqt5 python3-reportlab python3-notify2 python3-pyqt5 python3-dbus python3-gi python3-lxml python3-dev python3-pil python-is-python3 sane-utils xsane -y
```

View File

@ -1,15 +1,24 @@
---
type: "topic"
created: "2024-01-06T01:25:36.138Z"
updated: "2024-01-06T01:25:36.138Z"
assigned: ''
created: 2024-01-06T01:25:36.138Z
progress: 0
tags:
- phares3757
- Duck
- NoIP
- Hosts
type: note
updated: 2024-07-27T17:16:57.825Z
---
# Ubuntu Dashkiosk
# Dashkiosk
[Ubuntu](ubuntu.md)
```bash
# https://mir-server.io/docs/how-to-set-up-digital-signage-on-ubuntu-frame
apt update
apt upgrade -y
apt install update-manager-core

View File

@ -0,0 +1,71 @@
---
created: 2024-07-29T23:54:41.000Z
type: note
updated: 2024-07-29T23:54:41.000Z
---
# DESKTOP-0UJ8DD5
## desktop-0uj8dd5
```yml Sun Jul 28 2024 15:23:32 GMT-0700 (Mountain Standard Time)
Host Name: DESKTOP-0UJ8DD5
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: Windows User
Registered Organization:
Product ID: 00330-80000-00000-AA711
Original Install Date: 1/1/2021, 11:22:59 AM
System Boot Time: 7/28/2024, 10:30:35 AM
System Manufacturer: Dell Inc.
System Model: OptiPlex 790
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 42 Stepping 7 GenuineIntel ~3101 Mhz
BIOS Version: Dell Inc. A11, 12/30/2011
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume2
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC-07:00) Arizona
Total Physical Memory: 8,145 MB
Available Physical Memory: 2,524 MB
Virtual Memory: Max Size: 12,497 MB
Virtual Memory: Available: 4,569 MB
Virtual Memory: In Use: 7,928 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\DESKTOP-0UJ8DD5
Hotfix(s): 42 Hotfix(s) Installed.
Network Card(s): 2 NIC(s) Installed.
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
```
```bash Sun Jul 28 2024 15:24:51 GMT-0700 (Mountain Standard Time)
diskpart
list volume
# Volume ### Ltr Label Fs Type Size Status Info
# ---------- --- ----------- ----- ---------- ------- --------- --------
# Volume 0 C NTFS Partition 301 GB Healthy Boot
# Volume 1 V Videos NTFS Partition 159 GB Healthy
# Volume 2 L Git NTFS Partition 4104 MB Healthy
# Volume 3 SYSTEM FAT32 Partition 100 MB Healthy System
# Volume 4 NTFS Partition 526 MB Healthy Hidden
# Volume 5 D D NTFS Partition 238 GB Healthy
```
```bash Sun Jul 28 2024 15:23:36 GMT-0700 (Mountain Standard Time)
wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber
# InterfaceType Manufacturer MediaType Model Name SerialNumber
# SCSI (Standard disk drives) Fixed hard disk media WDC PC SN520 SDAPNUW-256G-1006 \\.\PHYSICALDRIVE1 1833_5880_3503_0001_001B_448B_4447_030B.
# IDE (Standard disk drives) Fixed hard disk media SHGS31-500GS-2 \\.\PHYSICALDRIVE0 EN08N831310108V0W
```
- [vlc](rtsp://192.168.11.25/0)

View File

@ -1,11 +1,12 @@
---
type: "topic"
Brand: "Trigkey"
GPU: "Intel Celeron 12th Gen N100 3.4GHz"
SSD: "M.2 2280"
RAM: "16GB DDR4"
created: "2024-01-14T02:18:08.272Z"
updated: "2024-02-02T22:16:54.818Z"
Brand: Trigkey
created: 2024-01-14T02:18:08.272Z
draft: true;
GPU: Intel Celeron 12th Gen N100 3.4GHz
RAM: 16GB DDR4
SSD: M.2 2280
type: topic
updated: 2024-07-21T19:35:28.000Z
---
# DESKTOP-BMV4V66

View File

@ -0,0 +1,189 @@
# desktop-chelsea
## desktop-ka0lmmj (Disk 0)
## desktop-vvo6kcm (Disk 1)
```bash desktop-vvo6kcm Sat Jun 15 2024 12:38:33 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|---------|---------|-----|-----|
| Disk 0 | Online | 465 GB | 2048 KB | | * |
| Disk 1 | Online | 1863 GB | 2048 KB | | * |
```bash
detail disk
```
```yaml Sat Jun 15 2024 14:53:19 GMT-0700 (Mountain Standard Time)
WDS500G3X0C-00SJG0
Disk ID: {0F06B0A7-9C47-11EA-BA06-D4BED9970C7C}
Type : NVMe
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1B04)#PCI(0000)#NVME(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
```
```yaml Sat Jun 15 2024 14:53:17 GMT-0700 (Mountain Standard Time)
WD_BLACK SN770 2TB
Disk ID: {5AC1E3B7-DA3C-49C6-AA5C-2C14E04CE179}
Type : NVMe
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1D00)#PCI(0000)#NVME(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
```
```bash desktop-ka0lmmj Sat Jun 15 2024 13:52:16 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|-------|-----------|---------|---------|--------|
| Volume 0 | C | | NTFS | Partition | 122 GB | Healthy | Boot |
| Volume 1 | D | ProgramData | NTFS | Partition | 332 GB | Healthy | |
| Volume 2 | L | Git | NTFS | Partition | 10 GB | Healthy | |
| Volume 3 | | | FAT32 | Partition | 100 MB | Healthy | System |
| Volume 4 | | | NTFS | Partition | 625 MB | Healthy | Hidden |
| Volume 5 | | | NTFS | Partition | 324 GB | Healthy | |
| Volume 6 | | ProgramData | NTFS | Partition | 1337 GB | Healthy | |
| Volume 7 | | Code | NTFS | Partition | 200 GB | Healthy | |
| Volume 8 | | | FAT32 | Partition | 100 MB | Healthy | Hidden |
| Volume 9 | | | NTFS | Partition | 625 MB | Healthy | Hidden |
```bash desktop-vvo6kcm Sat Jun 15 2024 12:38:30 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|-------|-----------|---------|---------|--------|
| Volume 0 | | | NTFS | Partition | 122 GB | Healthy | |
| Volume 1 | F | ProgramData | NTFS | Partition | 332 GB | Healthy | |
| Volume 2 | G | Git | NTFS | Partition | 10 GB | Healthy | |
| Volume 3 | | | FAT32 | Partition | 100 MB | Healthy | Hidden |
| Volume 4 | | | NTFS | Partition | 625 MB | Healthy | Hidden |
| Volume 5 | C | | NTFS | Partition | 324 GB | Healthy | Boot |
| Volume 6 | D | ProgramData | NTFS | Partition | 1337 GB | Healthy | |
| Volume 7 | L | Code | NTFS | Partition | 200 GB | Healthy | |
| Volume 8 | | | FAT32 | Partition | 100 MB | Healthy | System |
| Volume 9 | | | NTFS | Partition | 625 MB | Healthy | Hidden |
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode desktop-vvo6kcm Sat Jun 15 2024 13:30:43 GMT-0700 (Mountain Standard Time)
[{
"id":"aliasadidev.nugetpackagemanagergui","version":"2.1.0","publisherDisplayName":"aliasadidev","installedTimestamp":1718481669464,"isPreReleaseVersion":false},{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1718481678269,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1718481646914,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1718481668249,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"Krisztian Daroczi","installedTimestamp":1718481680131,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718420152741},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"John Papa","installedTimestamp":1718481647943,"isPreReleaseVersion":false},{
"id":"lowfront.vscode-windows-lnk","version":"0.0.2","publisherDisplayName":"lowfront","installedTimestamp":1718481650381,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1718423374673,"isPreReleaseVersion":false},{
"id":"mikeburgh.xml-format","version":"1.1.3","publisherDisplayName":"Mike Burgh","installedTimestamp":1718481649339,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.33.17","publisherDisplayName":"Microsoft","installedTimestamp":1718429527161,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718429527173,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"Microsoft","installedTimestamp":1718481666232,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"pcislo","installedTimestamp":1718481684748,"isPreReleaseVersion":false},{
"id":"phplasma.csv-to-table","version":"1.4.0","publisherDisplayName":"Andrew Armstrong","installedTimestamp":1718481666547,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1718481693058,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1718481666220,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1718481652127,"isPreReleaseVersion":false},{
"id":"scabana.trxviewer","version":"1.0.3","publisherDisplayName":"Simon Le Bourdais-Cabana","installedTimestamp":1718481653431,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1718481683280,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","publisherDisplayName":"Tamás Russ","installedTimestamp":1718481681323,"isPreReleaseVersion":false}]
```
```json code-insiders desktop-vvo6kcm Sat Jun 15 2024 13:30:45 GMT-0700 (Mountain Standard Time)
[{
"id":"ahmadalli.vscode-nginx-conf","version":"0.3.5","publisherDisplayName":"ahmadalli","installedTimestamp":1718473308845,"isPreReleaseVersion":false},{
"id":"aliasadidev.nugetpackagemanagergui","version":"2.1.0","publisherDisplayName":"aliasadidev","installedTimestamp":1718483331121,"isPreReleaseVersion":false},{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1718473310295,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1718473241554,"isPreReleaseVersion":false},{
"id":"bierner.markdown-mermaid","version":"1.23.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1718473334867,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1718473305865,"isPreReleaseVersion":false},{
"id":"ckolkman.vscode-postgres","version":"1.4.3","publisherDisplayName":"Chris Kolkman","installedTimestamp":1718473336499,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"Krisztian Daroczi","installedTimestamp":1718473328298,"isPreReleaseVersion":false},{
"id":"foam.foam-vscode","version":"0.25.11","publisherDisplayName":"Foam","installedTimestamp":1718473307379,"isPreReleaseVersion":false},{
"id":"gera2ld.markmap-vscode","version":"0.1.4","publisherDisplayName":"Gerald Liu","installedTimestamp":1718473329565,"isPreReleaseVersion":false},{
"id":"gordonlarrigan.vscode-kanbn","version":"0.11.0","publisherDisplayName":"Gordon Larrigan","installedTimestamp":1718429493694,"isPreReleaseVersion":false},{
"id":"heaths.vscode-guid","version":"1.9.0","publisherDisplayName":"Heath Stewart","installedTimestamp":1718473304033,"isPreReleaseVersion":false},{
"id":"hediet.vscode-drawio","version":"1.6.6","publisherDisplayName":"Henning Dieterichs","installedTimestamp":1718473331121,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718420169731},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"John Papa","installedTimestamp":1718483332438,"isPreReleaseVersion":false},{
"id":"kortina.vscode-markdown-notes","version":"0.0.27","publisherDisplayName":"kortina","installedTimestamp":1718473244913,"isPreReleaseVersion":false},{
"id":"lengmo.json-table-viewer","version":"0.0.5","publisherDisplayName":"lengmo","installedTimestamp":1718473302793,"isPreReleaseVersion":false},{
"id":"lowfront.vscode-windows-lnk","version":"0.0.2","publisherDisplayName":"lowfront","installedTimestamp":1718473271065,"isPreReleaseVersion":false},{
"id":"luyuhuang.rss","version":"0.10.4","publisherDisplayName":"luyuhuang","installedTimestamp":1718473332576,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1718473368945,"isPreReleaseVersion":false},{
"id":"mikeburgh.xml-format","version":"1.1.3","publisherDisplayName":"Mike Burgh","installedTimestamp":1718483333386,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.33.17","publisherDisplayName":"Microsoft","installedTimestamp":1718429547296,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718429547296,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"Microsoft","installedTimestamp":1718473264483,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"pcislo","installedTimestamp":1718483334913,"isPreReleaseVersion":false},{
"id":"phplasma.csv-to-table","version":"1.4.0","publisherDisplayName":"Andrew Armstrong","installedTimestamp":1718473248580,"isPreReleaseVersion":false},{
"id":"randomfractalsinc.vscode-chartjs","version":"1.2.0","publisherDisplayName":"Random Fractals Inc.","installedTimestamp":1718473266479,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1718483342701,"isPreReleaseVersion":false},{
"id":"redhat.vscode-yaml","version":"1.15.0","publisherDisplayName":"Red Hat","installedTimestamp":1718473376059,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1718473264483,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1718473250764,"isPreReleaseVersion":false},{
"id":"scabana.trxviewer","version":"1.0.3","publisherDisplayName":"Simon Le Bourdais-Cabana","installedTimestamp":1718473261397,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1718473385898,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","publisherDisplayName":"Tamás Russ","installedTimestamp":1718473366426,"isPreReleaseVersion":false},{
"id":"unifiedjs.vscode-mdx","version":"1.8.8","publisherDisplayName":"unified","installedTimestamp":1718473380072,"isPreReleaseVersion":false}]
```
```json codium desktop-vvo6kcm Sat Jun 15 2024 13:30:47 GMT-0700 (Mountain Standard Time)
[{
"id":"bierner.markdown-mermaid","version":"1.23.0","publisherDisplayName":"bierner","installedTimestamp":1718481428017,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1718481410350,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"darkriszty","installedTimestamp":1718481412688,"isPreReleaseVersion":false},{
"id":"foam.foam-vscode","version":"0.25.11","publisherDisplayName":"foam","installedTimestamp":1718481411780,"isPreReleaseVersion":false},{
"id":"gera2ld.markmap-vscode","version":"0.1.4","publisherDisplayName":"gera2ld","installedTimestamp":1718481426989,"isPreReleaseVersion":false},{
"id":"gordonlarrigan.vscode-kanbn","version":"0.11.0","installedTimestamp":1718429633590},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718420180055},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"johnpapa","installedTimestamp":1718481405681,"isPreReleaseVersion":false},{
"id":"kortina.vscode-markdown-notes","version":"0.0.27","publisherDisplayName":"kortina","installedTimestamp":1718481406804,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1718481429341,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"ms-dotnettools","installedTimestamp":1718429566844,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"ms-vscode","installedTimestamp":1718481409615,"isPreReleaseVersion":false},{
"id":"muhammad-sammy.csharp","version":"2.31.19","publisherDisplayName":"muhammad-sammy","installedTimestamp":1718429566840,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"patcx","installedTimestamp":1718483203820,"isPreReleaseVersion":false},{
"id":"pomdtr.excalidraw-editor","version":"3.7.4","publisherDisplayName":"pomdtr","installedTimestamp":1718483204547,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1718481409606,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1718429804722,"isPreReleaseVersion":false}]
```

View File

@ -0,0 +1,49 @@
---
created: 2024-08-12T01:47:06.000Z
type: note
updated: 2024-08-12T01:47:06.000Z
---
# Desktop Chelsea
```bash Sun Aug 11 2024 08:54:10 GMT-0700 (Mountain Standard Time)
lsblk -o NAME,SIZE,TYPE,FSUSED,FSUSE%
```
```yaml Sun Aug 11 2024 08:54:15 GMT-0700 (Mountain Standard Time)
Model Number: WD_BLACK SN770 2TB
Serial Number: 24173W805569
Firmware Version: 731100WD
PCI Vendor/Subsystem ID: 0x15b7
IEEE OUI Identifier: 0x001b44
Total NVM Capacity: 2,000,398,934,016 [2.00 TB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 2,000,398,934,016 [2.00 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 001b44 8b472d4d18
Local Time is: Sun Aug 11 08:53:08 2024 MST
```
```yaml Sun Aug 11 2024 08:54:31 GMT-0700 (Mountain Standard Time)
Model Number: WDC PC SN520 SDAPNUW-256G-1006
Serial Number: 183358803503
Firmware Version: 20110006
PCI Vendor/Subsystem ID: 0x15b7
IEEE OUI Identifier: 0x001b44
Total NVM Capacity: 256,060,514,304 [256 GB]
Unallocated NVM Capacity: 0
Controller ID: 1
NVMe Version: 1.3
Number of Namespaces: 1
Namespace 1 Size/Capacity: 256,060,514,304 [256 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 001b44 8b4447030b
Local Time is: Sun Aug 11 08:53:15 2024 MST
```
```bash Sun Aug 11 2024 10:38:15 GMT-0700 (Mountain Standard Time)
ln -s /home/cphares/Documents/Electronic\ Arts /home/cphares/snap/steam/common/.local/share/Steam/steamapps/compatdata/1222670/pfx/drive_c/users/steamuser/Documents/Electronic\ Arts
```

View File

@ -0,0 +1,19 @@
---
created: 2024-07-21T19:37:20.000Z
draft: true;
Host Name: DESKTOP-GNECR7R
type: note
updated: 2024-07-21T19:37:20.000Z
---
# DESKTOP-GNECR7R
## Gitea Runner
```bash Fri Jul 19 2024 08:52:24 GMT-0700 (Mountain Standard Time)
# https://docs.gitea.com/usage/actions/overview
# lod1qUB29s4mhkRqYBZMHzhoUeGEfvHNnC39IQP6
# L:\Git\act_runner\v0.2.10\act_runner-0.2.10-windows-amd64.exe register --no-interactive --instance https://gitea3757.ddns.net/ --token lod1qUB29s4mhkRqYBZMHzhoUeGEfvHNnC39IQP6
L:\Git\act_runner\act_runner.exe register --no-interactive --instance https://gitea3757.ddns.net/ --token lod1qUB29s4mhkRqYBZMHzhoUeGEfvHNnC39IQP6
L:\Git\act_runner\act_runner.exe daemon
```

View File

@ -1,7 +1,8 @@
---
type: "topic"
created: "2024-01-06T01:25:36.078Z"
updated: "2024-01-06T01:25:36.078Z"
created: 2024-01-06T01:25:36.078Z
draft: true;
type: topic
updated: 2024-07-15T23:43:36.403Z
---
# DESKTOP-H6JG91B

View File

@ -1,7 +1,8 @@
---
type: "topic"
created: "2024-01-14T02:18:17.424Z"
updated: "2024-02-02T22:16:54.819Z"
created: 2024-01-14T02:18:17.424Z
draft: true;
type: topic
updated: 2024-07-21T19:35:42.000Z
---
# DESKTOP-KA0LMMJ

View File

@ -0,0 +1,55 @@
# desktop-kristy
## desktop-0uj8dd5
```bash Sat Jun 15 2024 15:30:20 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|--------|---------|-----|-----|
| Disk 0 | Online | 465 GB | 3072 KB | | * |
| Disk 1 | Online | 238 GB | 0 B | | * |
```bash Sat Jun 15 2024 15:30:22 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|--------|-------|-----------|---------|---------|--------|
| Volume 0 | C | | NTFS | Partition | 301 GB | Healthy | Boot |
| Volume 1 | V | Videos | NTFS | Partition | 159 GB | Healthy | |
| Volume 2 | L | Git | NTFS | Partition | 4104 MB | Healthy | |
| Volume 3 | | SYSTEM | FAT32 | Partition | 100 MB | Healthy | System |
| Volume 4 | | | NTFS | Partition | 526 MB | Healthy | Hidden |
| Volume 5 | D | D | NTFS | Partition | 238 GB | Healthy | |
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode
[]
```
```json code-insiders
[]
```
```json codium
[]
```

51
_-Review/desktop-logan.md Normal file
View File

@ -0,0 +1,51 @@
# desktop-logan
## desktop-1238peq
```bash Sat Jun 15 2024 15:30:12 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|---------|---------|-----|-----|
| Disk 0 | Online | 1863 GB | 3072 KB | | * |
```bash Sat Jun 15 2024 15:30:10 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|------|-----------|---------|---------|------|
| Volume 0 | | System Rese | NTFS | Partition | 50 MB | Healthy | |
| Volume 1 | C | | NTFS | Partition | 1841 GB | Healthy | Boot |
| Volume 2 | D | ProgramData | NTFS | Partition | 10 GB | Healthy | |
| Volume 3 | L | Code | NTFS | Partition | 10 GB | Healthy | |
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode
[]
```
```json code-insiders
[]
```
```json codium
[]
```

View File

@ -0,0 +1,65 @@
#
```bash
lsblk -I 8 -o NAME,SIZE,TYPE
```
| NAME | SIZE | TYPE |
|-------------------------|--------|------|
```bash
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
```
| Name | SIZE | TYPE | FSTYPE | MOUNTPOINT |
|-----------------------|--------|------|-------------|--------------------------------|
```bash
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|---------|---------|-----|-----|
```bash
detail disk
```
```yaml
```
```bash
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|-------|-----------|---------|---------|--------|
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode
[]
```
```json code-insiders
[]
```
```json codium
[]
```

129
_-Review/desktop-trigkey.md Normal file
View File

@ -0,0 +1,129 @@
# desktop-trigkey
## desktop-gnecr7r
```bash Sat Jun 15 2024 14:44:14 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|---------|---------|-----|-----|
| Disk 0 | Online | 232 GB | 1024 KB | | * |
| Disk 1 | Online | 1863 GB | 2048 KB | | * |
```bash Sat Mon Jun 17 2024 20:11:49 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|---------|---------|-----|-----|
| Disk 0 | Online | 1863 GB | 2048 KB | | * |
```bash
detail disk
```
```yaml Mon Jun 17 2024 20:12:18 GMT-0700 (Mountain Standard Time)
WD_BLACK SN770 2TB
Disk ID: {76BB5F3A-BD34-4179-8087-82B9B98FC94A}
Type : NVMe
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1D00)#PCI(0000)#NVME(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
```
```bash Sat Mon Jun 17 2024 20:13:11 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|-------|-----------|---------|---------|--------|
| Volume 0 | C | | NTFS | Partition | 324 GB | Healthy | Boot |
| Volume 1 | D | ProgramData | NTFS | Partition | 1337 GB | Healthy | |
| Volume 2 | L | Git | NTFS | Partition | 200 GB | Healthy | |
| Volume 3 | | | FAT32 | Partition | 100 MB | Healthy | System |
| Volume 4 | | | NTFS | Partition | 625 MB | Healthy | Hidden |
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode Sat Jun 15 2024 14:07:20 GMT-0700 (Mountain Standard Time)
[{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1711424307573,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1704655627526,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.3","installedTimestamp":1704537081679},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1704334508188,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.31.19","publisherDisplayName":"Microsoft","installedTimestamp":1717081978799,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718485554342,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh","version":"0.112.0","publisherDisplayName":"Microsoft","installedTimestamp":1718485554409,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh-edit","version":"0.86.0","publisherDisplayName":"Microsoft","installedTimestamp":1705872177223,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-wsl","version":"0.88.0","publisherDisplayName":"Microsoft","installedTimestamp":1712622650674,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-wsl","version":"0.88.2","publisherDisplayName":"Microsoft","installedTimestamp":1714784388756,"isPreReleaseVersion":false},{
"id":"ms-vscode.remote-explorer","version":"0.4.3","publisherDisplayName":"Microsoft","installedTimestamp":1710670212922,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1704539692898,"isPreReleaseVersion":false}]
```
```json code-insiders Sat Jun 15 2024 14:07:22 GMT-0700 (Mountain Standard Time)
[{
"id":"aliasadidev.nugetpackagemanagergui","version":"2.1.0","publisherDisplayName":"aliasadidev","installedTimestamp":1718485429375,"isPreReleaseVersion":false},{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1711406440781,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1704602738525,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1711312579855,"isPreReleaseVersion":false},{
"id":"ckolkman.vscode-postgres","version":"1.4.3","publisherDisplayName":"Chris Kolkman","installedTimestamp":1714321497325,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"Krisztian Daroczi","installedTimestamp":1711295636159,"isPreReleaseVersion":false},{
"id":"gordonlarrigan.vscode-kanbn","version":"0.11.0","publisherDisplayName":"Gordon Larrigan","installedTimestamp":1704604802420,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.3","installedTimestamp":1704537086603},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"John Papa","installedTimestamp":1718485431556,"isPreReleaseVersion":false},{
"id":"khaeransori.json2csv","version":"0.0.1","publisherDisplayName":"Khaer Ansori","installedTimestamp":1712345455281,"isPreReleaseVersion":false},{
"id":"lowfront.vscode-windows-lnk","version":"0.0.2","publisherDisplayName":"lowfront","installedTimestamp":1718485432816,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1704334511695,"isPreReleaseVersion":false},{
"id":"mikeburgh.xml-format","version":"1.1.3","publisherDisplayName":"Mike Burgh","installedTimestamp":1712005121662,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.33.17","publisherDisplayName":"Microsoft","installedTimestamp":1718485185170,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718317419557,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh","version":"0.112.0","publisherDisplayName":"Microsoft","installedTimestamp":1718317419557,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh-edit","version":"0.86.0","publisherDisplayName":"Microsoft","installedTimestamp":1705260723987,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"Microsoft","installedTimestamp":1718485445677,"isPreReleaseVersion":false},{
"id":"ms-vscode.remote-explorer","version":"0.4.3","publisherDisplayName":"Microsoft","installedTimestamp":1710669917364,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"pcislo","installedTimestamp":1718485434348,"isPreReleaseVersion":false},{
"id":"phplasma.csv-to-table","version":"1.4.0","publisherDisplayName":"Andrew Armstrong","installedTimestamp":1718485435469,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1718485436534,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1718485445675,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1704539645363,"isPreReleaseVersion":false},{
"id":"scabana.trxviewer","version":"1.0.3","publisherDisplayName":"Simon Le Bourdais-Cabana","installedTimestamp":1718485446243,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1718485449534,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","publisherDisplayName":"Tamás Russ","installedTimestamp":1718485450362,"isPreReleaseVersion":false}]
```
```json codium Sat Jun 15 2024 14:07:49 GMT-0700 (Mountain Standard Time)
[{
"id":"bennycode.sort-everything","version":"1.3.3","installedTimestamp":1704658374903},{
"id":"bierner.markdown-checkbox","version":"0.4.0","installedTimestamp":1704654903395},{
"id":"gordonlarrigan.vscode-kanbn","version":"0.11.0","installedTimestamp":1704654838127},{
"id":"ifx.type-script-helper","version":"1.6.3","installedTimestamp":1704537096632},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1704334524205,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1717717213831,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","installedTimestamp":1704539676611}]
```

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-06T01:25:36.179Z"
updated: "2024-01-06T01:25:36.179Z"
created: 2024-01-06T01:25:36.179Z
type: topic
updated: 2024-07-23T15:00:43.740Z
---
# Docker
@ -30,10 +30,10 @@ sudo -i
exit
```
```bash sudo
```bash Mon Jul 01 2024 19:05:44 GMT-0700 (Mountain Standard Time)
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo apt-get install ca-certificates curl -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
@ -41,15 +41,316 @@ sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
id
exit
docker run hello-world
exit
usermod -a -G docker mike
sudo usermod -a -G docker logan-phares
newgrp docker
exit
nano .bash_history
docker version compose
docker compose version
exit
```
```bash Wed Jun 26 2024 11:42:59 GMT-0700 (Mountain Standard Time)
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# dockerd-rootless-setuptool.sh install
# https://docs.docker.com/go/rootless/
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
docker save hello-world -o hello-world-save.tar
mkdir ~/hw-s
tar -x -f hello-world-save.tar --directory ~/hw-s
rm -R ~/hw-s
docker ps -a
docker export 8007440050bd -o hello-world-export.tar
mkdir ~/hw-e
tar -x -f hello-world-export.tar --directory ~/hw-e
rm -R ~/hw-e
docker rm {name}
```
```bash
# https://github.com/fabiofalci/export-docker
git clone https://github.com/fabiofalci/export-docker.git
cd export-docker
sudo ./export-container.py hello-world hello-world-container
```
```bash Wed Jun 26 2024 13:32:58 GMT-0700 (Mountain Standard Time)
# https://docs.docker.com/build/exporters/oci-docker/
docker buildx build --output type=oci[,parameters] .
```
```bash Wed Jun 26 2024 17:13:43 GMT-0700 (Mountain Standard Time)
docker export 99ff1be8661a | gzip > immich_server_export.tar.gz
docker export 894b4ea7e898 | gzip > immich_redis_export.tar.gz
docker export 74eae9636bbb | gzip > immich_machine_learning_export.tar.gz
docker export 753c3f9a3f72 | gzip > immich_postgres_export.tar.gz
```
| CONTAINER ID | IMAGE | COMMAND | CREATED | STATUS | PORTS | NAMES |
|--------------|----------------------------------------------------|------------------------|---------------|------------------------|-------------------------------------------|-------------------------|
| 99ff1be8661a | ghcr.io/immich-app/immich-server:release | "tini -- /bin/bash s…" | 5 minutes ago | Up 5 minutes (healthy) | 0.0.0.0:2283->3001/tcp, :::2283->3001/tcp | immich_server |
| 894b4ea7e898 | redis:6.2-alpine | "docker-entrypoint.s…" | 5 minutes ago | Up 5 minutes (healthy) | 6379/tcp | immich_redis |
| 74eae9636bbb | ghcr.io/immich-app/immich-machine-learning:release | "tini -- ./start.sh" | 5 minutes ago | Up 5 minutes (healthy) | | immich_machine_learning |
| 753c3f9a3f72 | tensorchord/pgvecto-rs:pg14-v0.2.0 | "docker-entrypoint.s…" | 5 minutes ago | Up 5 minutes (healthy) | 5432/tcp | immich_postgres |
```bash Wed Jun 26 2024 18:41:32 GMT-0700 (Mountain Standard Time)
# https://ioflood.com/blog/docker-run-bash/#:~:text=The%20'docker%20run%20bash'%20command,tool%20for%20debugging%20and%20development.
docker run -it ubuntu bash
docker exec -it kestra-kestra-1 bash
```
```bash Sun Jun 30 2024 13:09:46 GMT-0700 (Mountain Standard Time)
# https://stackoverflow.com/questions/35406213/how-to-copy-data-from-docker-volume-to-host
docker cp CONTAINER:/var/logs/ /tmp/app_logs
docker cp ./some_file CONTAINER:/work
# https://forums.docker.com/t/how-to-sync-data-of-two-container-running-on-different-hosts/123815/5
docker run -ti --rm -v moodle-data:/data -v /data/backup:/backup alpine tar czvf /backup/data.tar.gz -C /data .
# https://spacelift.io/blog/docker-volumes
docker volume ls
docker system df -v
docker volume inspect demo_volume
docker volume prune
```
```bash
sudo systemctl enable docker.service
sudo systemctl enable containerd.service
systemctl show --property ActiveState docker
```
## Export Volume
```bash Mon Jul 01 2024 13:54:35 GMT-0700 (Mountain Standard Time)
# docker container run --rm -v "kestra_kestra-data:/app/storage" -v "$(pwd):/backup" -w /app/storage debian tar czf /opt/tar/kestra/kestra_kestra-data.tar.gz .
docker volume inspect kestra_kestra-data
docker volume list
docker volume prune
docker run -v /dbdata --name dbstore ubuntu /bin/bash
docker run --rm --volumes-from dbstore -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /dbdata
docker cp /etc/nginx/sites-available/default dbstore:/dbdata
docker run --rm --volumes-from dbstore -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /dbdata1
tar -xf backup.tar
#
docker run -v /dbdata --name dbstore2 ubuntu /bin/bash
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /dbdata && tar xvf /backup/backup.tar --strip 1"
```
## Export Container (Not Volume)
```bash Mon Jul 01 2024 13:53:52 GMT-0700 (Mountain Standard Time)
docker ps -a
mkdir ~/dbstore
docker export 85f1ac26bf47 -o ~/dbstore/dbstore.tar
mkdir ~/dbstore/dbstore
tar -x -f dbstore.tar --directory ~/dbstore/dbstore
rm -R ~/dbstore/dbstore
docker rm {name}
```
## Config
```bash
docker config ls
```
## Copy
```bash
docker container cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|- docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
docker cp ./some_file CONTAINER:/work
docker cp CONTAINER:/var/logs/ /tmp/app_logs
```
- [move-docker-volume-to-different-partition](https://stackoverflow.com/questions/59345566/move-docker-volume-to-different-partition)
```bash Mon Jul 01 2024 14:07:04 GMT-0700 (Mountain Standard Time)
# To move an existing docker data folder, do the following:
service docker stop
# ...
```
- [docker-html-to-pdf](https://github.com/pinkeen/docker-html-to-pdf)
```bash Mon Jul 01 2024 20:41:43 GMT-0700 (Mountain Standard Time)
cd ~/
url="http://google.com"
backup_time=$(date +'%H-%M-%S')
backup_date=$(date +'%Y-%m-%d')
echo "${backup_date}---${backup_time}.pdf"
# docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url http://google.com --pdf out.pdf
docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url "${url}" --pdf "${backup_date}---${backup_time}.pdf"
```
- [export](https://docs.docker.com/reference/cli/docker/container/export/)
```bash Tue Jul 02 2024 10:19:44 GMT-0700 (Mountain Standard Time)
docker export 7ca928d538c1 -o /home/logan-phares/Documents/proxmox/7ca928d538c1-immich-server.tar
docker export bb6a8660ee4b -o /home/logan-phares/Documents/proxmox/bb6a8660ee4b-immich-postgres.tar
docker export 80e5cb740daa -o /home/logan-phares/Documents/proxmox/80e5cb740daa-immich-machine-learn.tar
chown logan-phares:logan-phares /home/logan-phares/Documents/proxmox/7ca928d538c1-immich-server.tar
chown logan-phares:logan-phares /home/logan-phares/Documents/proxmox/bb6a8660ee4b-immich-postgres.tar
chown logan-phares:logan-phares /home/logan-phares/Documents/proxmox/80e5cb740daa-immich-machine-learn.tar
```
- [back-up-restore-or-migrate-data-volumes](https://docs.docker.com/storage/volumes/#back-up-restore-or-migrate-data-volumes)
```bash Tue Jul 02 2024 20:19:44 GMT-0700 (Mountain Standard Time)
docker run -v /dbdata --name dbstore ubuntu /bin/bash
```
### Logan Ubuntu
```conf Tue Jul 02 2024 20:33:07 GMT-0700 (Mountain Standard Time)
# docker volume list
DRIVER VOLUME NAME
local 1b1a8f62f416fb3dc859606458a2f25aacf31677474bf91818f9d7677b58156d
local 7825dd93049c8d0781fd0f99cd0c0b7043eaad9b5a978d251ee8764bf0dfa1ea
local immich_model-cache
local immich_postgres-data
local immich_upload-data
local kestra_kestra-data
local kestra_postgres-data
```
```conf Tue Jul 02 2024 20:33:05 GMT-0700 (Mountain Standard Time)
# docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
kestra/kestra latest-full 481fda1ac930 5 days ago 1.96GB
ghcr.io/immich-app/immich-server release 0019859e2c6b 2 weeks ago 1.95GB
ghcr.io/immich-app/immich-machine-learning release 7703d59a8c2b 2 weeks ago 770MB
redis <none> 0fc0b666ef9e 5 weeks ago 30.1MB
postgres latest 74cc00b2e28f 7 weeks ago 432MB
tensorchord/pgvecto-rs <none> 2e2cb40c55b8 5 months ago 676MB
louislam/dockge 1 ffb6864bc6f8 5 months ago 568MB
hello-world latest d2c94e258dcb 14 months ago 13.3kB
pink33n/html-to-pdf latest dfc91456fc2b 4 years ago 401MB
```
```conf Tue Jul 02 2024 20:33:52 GMT-0700 (Mountain Standard Time)
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
32cf8a43b6d0 pink33n/html-to-pdf "/usr/local/bin/entr…" 24 hours ago Exited (0) 24 hours ago xenodochial_jones
7ca928d538c1 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 25 hours ago Up 7 hours (healthy) 0.0.0.0:2283->3001/tcp, :::2283->3001/tcp immich_server
bb6a8660ee4b redis:6.2-alpine "docker-entrypoint.s…" 25 hours ago Up 7 hours (healthy) 6379/tcp immich_redis
c43b84f849d5 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 25 hours ago Up 7 hours (healthy) 5432/tcp immich_postgres
80e5cb740daa ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 25 hours ago Up 7 hours (healthy) immich_machine_learning
7003e955969c kestra/kestra:latest-full "docker-entrypoint.s…" 25 hours ago Exited (143) 24 hours ago kestra-kestra-1
b5e2225d364a postgres "docker-entrypoint.s…" 25 hours ago Exited (0) 24 hours ago kestra-postgres-1
f29f9a5ca751 louislam/dockge:1 "/usr/bin/dumb-init …" 25 hours ago Up 7 hours (healthy) 0.0.0.0:5001->5001/tcp, :::5001->5001/tcp documents-dockge-1
713f315e75c0 hello-world "/hello" 25 hours ago Exited (0) 25 hours ago vibrant_hypatia
```
```conf Tue Jul 02 2024 20:43:35 GMT-0700 (Mountain Standard Time)
# docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
kestra/kestra latest-full 481fda1ac930 5 days ago 1.96GB
ghcr.io/immich-app/immich-server release 0019859e2c6b 2 weeks ago 1.95GB
ghcr.io/immich-app/immich-machine-learning release 7703d59a8c2b 2 weeks ago 770MB
ubuntu latest 35a88802559d 3 weeks ago 78.1MB
redis <none> 0fc0b666ef9e 5 weeks ago 30.1MB
postgres latest 74cc00b2e28f 7 weeks ago 432MB
tensorchord/pgvecto-rs <none> 2e2cb40c55b8 5 months ago 676MB
louislam/dockge 1 ffb6864bc6f8 5 months ago 568MB
hello-world latest d2c94e258dcb 14 months ago 13.3kB
pink33n/html-to-pdf latest dfc91456fc2b 4 years ago 401MB
```
```conf Tue Jul 02 2024 20:34:10 GMT-0700 (Mountain Standard Time)
# docker system df -v
Images space usage:
REPOSITORY TAG IMAGE ID CREATED SIZE SHARED SIZE UNIQUE SIZE CONTAINERS
kestra/kestra latest-full 481fda1ac930 5 days ago 1.96GB 0B 1.963GB 1
ghcr.io/immich-app/immich-server release 0019859e2c6b 2 weeks ago 1.95GB 74.83MB 1.871GB 1
ghcr.io/immich-app/immich-machine-learning release 7703d59a8c2b 2 weeks ago 770MB 74.83MB 694.9MB 1
<none> <none> 0fc0b666ef9e 5 weeks ago 30.1MB 0B 30.06MB 1
postgres latest 74cc00b2e28f 7 weeks ago 432MB 0B 431.7MB 1
<none> <none> 2e2cb40c55b8 5 months ago 676MB 0B 675.8MB 1
louislam/dockge 1 ffb6864bc6f8 5 months ago 568MB 0B 567.7MB 1
hello-world latest d2c94e258dcb 14 months ago 13.3kB 0B 13.26kB 1
pink33n/html-to-pdf latest dfc91456fc2b 4 years ago 401MB 0B 400.9MB 1
Containers space usage:
CONTAINER ID IMAGE COMMAND LOCAL VOLUMES SIZE CREATED STATUS NAMES
32cf8a43b6d0 pink33n/html-to-pdf "/usr/local/bin/entr…" 0 1.91MB 24 hours ago Exited (0) 24 hours ago xenodochial_jones
7ca928d538c1 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 1 7.06kB 25 hours ago Up 7 hours (healthy) immich_server
bb6a8660ee4b redis:6.2-alpine "docker-entrypoint.s…" 1 0B 25 hours ago Up 7 hours (healthy) immich_redis
c43b84f849d5 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 1 63B 25 hours ago Up 7 hours (healthy) immich_postgres
80e5cb740daa ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 1 24.4kB 25 hours ago Up 7 hours (healthy) immich_machine_learning
7003e955969c kestra/kestra:latest-full "docker-entrypoint.s…" 1 520B 25 hours ago Exited (143) 24 hours ago kestra-kestra-1
b5e2225d364a postgres "docker-entrypoint.s…" 1 0B 25 hours ago Exited (0) 24 hours ago kestra-postgres-1
f29f9a5ca751 louislam/dockge:1 "/usr/bin/dumb-init …" 0 150kB 25 hours ago Up 7 hours (healthy) documents-dockge-1
713f315e75c0 hello-world "/hello" 0 0B 25 hours ago Exited (0) 25 hours ago vibrant_hypatia
Local Volumes space usage:
VOLUME NAME LINKS SIZE
immich_upload-data 1 24.76GB
kestra_kestra-data 1 0B
kestra_postgres-data 1 66.64MB
1b1a8f62f416fb3dc859606458a2f25aacf31677474bf91818f9d7677b58156d 0 2.077kB
7825dd93049c8d0781fd0f99cd0c0b7043eaad9b5a978d251ee8764bf0dfa1ea 1 1.259MB
immich_model-cache 1 800.2MB
immich_postgres-data 1 1.128GB
Build cache usage: 0B
CACHE ID CACHE TYPE SIZE CREATED LAST USED USAGE SHARED
```
```bash Tue Jul 02 2024 20:30:33 GMT-0700 (Mountain Standard Time)
docker run -v /dbdata --name dbstore ubuntu /bin/bash
docker run --rm --volumes-from dbstore -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /dbdata
cd /home/logan-phares/Documents/proxmox/
docker run -v /dbdata --name dbstore2 ubuntu /bin/bash
# docker exec -it dbstore2 bash
# nano test.text
# docker cp test.text docker_web_1:/dbdata/test.text
# tar -ztvf backup.tar
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /dbdata && ls"
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /dbdata && touch test2.txt"
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /var && tar xvf /backup/backup.tar --strip 1"
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /var && tar xvf /backup/backup.tar --strip 1"
tar -ztvf /home/logan-phares/Documents/proxmox/vzdump-lxc-132-2024_07_02-16_55_20.tar.gz ./etc/vim
cd /home
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /home && tar zxvf /backup/logan-phares/Documents/proxmox/vzdump-lxc-132-2024_07_02-16_55_20.tar.gz ./etc/vim --strip 1"
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /home/etc && ls -la"
docker run --rm --volumes-from dbstore -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /etc/systemd
tar -tvf backup.tar etc/systemd/system
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "cd /home && tar xvf /backup/backup.tar etc/systemd/system"
docker run --rm --volumes-from dbstore2 -v $(pwd):/backup ubuntu bash -c "find / -name "e2scrub_reap.service" 2>/dev/null"
```
- [backup-and-restore](https://immich.app/docs/administration/backup-and-restore/)
```bash Tue Jul 02 2024 21:46:57 GMT-0700 (Mountain Standard Time)
docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > "dump.sql.gz"
docker run --rm --volumes-from immich_postgres -v $(pwd):/backup ubuntu bash -c "ls -la"
```
```bash Tue Jul 02 2024 22:21:12 GMT-0700 (Mountain Standard Time)
backup_time=$(date +'%H-%M-%S')
backup_date=$(date +'%Y-%m-%d')
echo "${backup_date}---${backup_time}.tar"
docker run --rm --volumes-from immich_server -v $(pwd):/backup ubuntu bash -c "cd /usr/src/app/upload && ls -la"
docker run --rm --volumes-from immich_server -v $(pwd):/backup ubuntu tar cvf /backup/upload.tar /usr/src/app/upload
tar -tvf upload.tar
```
- [disable-ipv6-in-docker-compose](https://stackoverflow.com/questions/74012541/disable-ipv6-in-docker-compose)
```yaml
networks:
cont:
driver: bridge
enable_ipv6: false
```

38
_-Review/dockge.md Normal file
View File

@ -0,0 +1,38 @@
---
created: 2024-07-02T02:28:15.000Z
type: note
updated: 2024-08-05T21:40:29.133Z
---
# Dockge
```bash Mon Jul 01 2024 19:11:42 GMT-0700 (Mountain Standard Time)
mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
docker compose up -d
find / -name "compose.yaml" 2>/dev/null
```
```bash Fri Jul 26 2024 12:02:49 GMT-0700 (Mountain Standard Time)
cd /tmp
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
docker ps -a
exit
cd /tmp
mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
docker compose up -d
```

77
_-Review/docmost.md Normal file
View File

@ -0,0 +1,77 @@
---
assigned: ''
created: 2024-07-21T18:04:09.445Z
progress: 0
tags: []
type: note
updated: 2024-07-26T22:50:24.866Z
---
# Docmost
```yaml Sat Jul 20 2024 21:37:15 GMT-0700 (Mountain Standard Time)
services:
docmost:
image: docmost/docmost:latest
depends_on:
- db
- redis
environment:
APP_SECRET: ${APP_SECRET}
APP_URL: ${APP_URL}
DATABASE_URL: ${DATABASE_URL}
MAIL_DRIVER: ${MAIL_DRIVER}
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
MAIL_FROM_NAME: ${MAIL_FROM_NAME}
REDIS_URL: ${REDIS_URL}
SMTP_HOST: ${SMTP_HOST}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_PORT: ${SMTP_PORT}
SMTP_USERNAME: ${SMTP_USERNAME}
ports:
- "5006:3000"
restart: unless-stopped
volumes:
- docmost:/app/data/storage
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis_data:/data
volumes:
docmost:
db_data:
redis_data:
networks: {}
```
- [configuration](https://docmost.com/docs/self-hosting/configuration/)
```conf Sat Jul 20 2024 22:18:15 GMT-0700 (Mountain Standard Time)
APP_SECRET="A201049609C98D4C83842276D8318A20"
APP_URL="https://docmost.ddns.net"
DATABASE_URL="postgresql://docmost:STRONG_DB_PASSWORD@db:5432/docmost?schema=public"
MAIL_DRIVER="smtp"
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="Docmost"
POSTGRES_DB="docmost"
POSTGRES_PASSWORD="STRONG_DB_PASSWORD"
POSTGRES_USER="docmost"
REDIS_URL="redis://redis:6379"
SMTP_HOST=
SMTP_PASSWORD=
SMTP_PORT=
SMTP_USERNAME=
```

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-02-25T00:52:01.425Z"
updated: "2024-04-03T03:34:53.544Z"
created: 2024-02-25T00:52:01.425Z
type: topic
updated: 2024-11-02T15:37:49.000Z
---
# dotnet
@ -14,6 +14,8 @@ public int I⁀ndex { get; set; }
```bash
# https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service?pivots=dotnet-7-0#create-the-windows-service
sc.exe create "File-Watcher-ISO" binpath="C:\Users\Phares\AppData\Local\IFXApps\File-Watcher-ISO\File-Watcher.exe"
sc.exe create "File-Watcher-Compass" binpath="L:\DevOps\Mesa_FI\File-Watcher\bin\Release\net8.0\win-x64\publish\File-Watcher.exe"
sc.exe create "File-Watcher" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\File-Watcher\File-Watcher.exe"
sc.exe create "Directory-Size" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\Directory-Size\Directory-Size.exe"
sc.exe create "Parsing-Packets" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\Parsing-Packets\Parsing-Packets.exe"

25
_-Review/duck-dns.md Normal file
View File

@ -0,0 +1,25 @@
---
assigned: ''
created: 2024-07-21T20:43:11.000Z
progress: 0
tags:
- Duck
type: note
updated: 2024-08-05T21:38:46.067Z
---
# DuckDNS
```bash Sun Jul 21 2024 10:14:34 GMT-0700 (Mountain Standard Time)
ps -ef | grep cr[o]n
curl
mkdir duckdns
cd duckdns
nano duck.sh
echo url="https://www.duckdns.org/update?domains=phares&token=1d3fc707-7052-4459-a624-fb01250f00b9&ip=" | curl -k -o ~/duckdns/duck.log -K -
chmod 700 duck.sh
crontab -e
*/5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1
./duck.sh
cat duck.log
```

View File

@ -0,0 +1,12 @@
---
type: "note"
created: "2024-06-25T03:11:40.000Z"
updated: "2024-06-25T03:11:40.000Z"
---
# dupeguru-win64
- [voltaicideas](https://dupeguru.voltaicideas.net/)
- [github](https://github.com/arsenetar/dupeguru/)
## Has html Export

20
_-Review/e-mail.md Normal file
View File

@ -0,0 +1,20 @@
---
created: 2024-07-27T21:12:48.841Z
draft: true;
type: note
updated: 2024-07-27T21:13:25.775Z
---
# E-Mail
```yml Sat Jul 27 2024 14:13:09 GMT-0700 (Mountain Standard Time)
Username: phares@centurylink.net
POP3 Server: pop.centurylink.net
POP3 Port: 995 (SSL/TLS)
IMAP Server: mail.centurylink.net
IMAP Port: 993 (SSL/TLS)
SMTP Server: smtp.centurylink.net
SMTP Port: 587 (TLS) or 465 (SSL)
```
- [gmail](https://support.google.com/a/answer/176600?hl=en)

View File

@ -1,9 +1,11 @@
---
type: "topic"
created: "2024-01-06T01:25:36.148Z"
updated: "2024-01-06T01:25:36.148Z"
updated: "2024-06-19T13:35:49.961Z"
---
# EDA
[EAF](../EAF/eaf.md)
- [ ] The application has failed to start because its side-by-side configuration is incorrect

11
_-Review/em-client.md Normal file
View File

@ -0,0 +1,11 @@
---
created: 2024-10-06T23:52:46.000Z
type: note
updated: 2024-10-06T23:52:46.000Z
---
# eM Client
- [thankyou](https://www.emclient.com/thankyou)
## emclient-v10.0.3530.msi

7
_-Review/emby.md Normal file
View File

@ -0,0 +1,7 @@
---
type: "note"
created: "2024-07-02T16:17:53.085Z"
updated: "2024-07-02T16:17:57.580Z"
---
# Emby

8
_-Review/end-user-faq.md Normal file
View File

@ -0,0 +1,8 @@
---
type: "note"
---
# End User FAQ
- [Our virtual collaboration toolkit](https://webnetprod.muc.infineon.com/enduserfaqs/#/article/126501)
- [WeKan](https://goto.infineon.com/wekan)

7
_-Review/fab-approval.md Normal file
View File

@ -0,0 +1,7 @@
---
created: 2024-07-11T16:17:05.437Z
type: note
updated: 2024-07-11T16:17:11.527Z
---
# Fab Approval

View File

@ -1,5 +1,7 @@
---
type: "note"
created: 2024-10-06T14:59:24.000Z
type: note
updated: 2024-11-03T18:42:10.057Z
---
# ffmpeg
@ -18,3 +20,9 @@ ll
ln -s "${PWD}/ffmpeg" /usr/local/bin/
ln -s "${PWD}/ffprobe" /usr/local/bin/
```
```bash Sun Oct 06 2024 07:58:50 GMT-0700 (Mountain Standard Time)
# Download ffmpeg latest Beta/Nightly Portable Windows 64-bit 52MB Win64 Portable
# https://www.videohelp.com/software/ffmpeg
L:\Git\ffmpeg-2024-10-02-git-358fdf3083-full_build\bin
```

54
_-Review/fibonacci.md Normal file
View File

@ -0,0 +1,54 @@
---
created: 2024-10-22T01:18:16.074Z
type: note
updated: 2024-10-22T03:07:27.857Z
---
# Fibonacci
1836311903
1134903170
701408733
433494437
267914296
165580141
102334155
63245986
39088169
24157817
14930352
9227465
5702887
3524578
2178309
1346269
832040
514229
317811
196418
121393
75025
46368
28657
17711
10946
6765
4181
2584
1597
987
610
377
233
144
89
55
34
21
13
8
5
3
2
1
1

View File

@ -1,8 +1,10 @@
---
type: "note"
created: "2024-05-19T06:33:47.164Z"
updated: "2024-07-02T19:12:45.517Z"
---
# file-browser
# FileBrowser
- [FileBrowser](https://filebrowser.org/installation)
- [GitHub](https://github.com/filebrowser/filebrowser)

View File

@ -1,9 +1,90 @@
---
type: "topic"
created: "2024-01-06T01:25:36.077Z"
updated: "2024-01-06T01:25:36.077Z"
updated: "2024-06-15T03:39:02.547Z"
---
# File-Folder-Helper
- [Kanban](kanbn.md)
```yaml
Target: C:\Users\phares\AppData\Local\IFXApps\File-Folder-Helper\File-Folder-Helper.exe X C:/ProgramData Day-Helper-2024-01-07 1
Start In: L:\DevOps\Mesa_FI\File-Folder-Helper\bin\Debug\net8.0\win-x64\
```
```bash Fri Jul 12 2024 09:09:13 GMT-0700 (Mountain Standard Time)
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe .kanbn",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s F '\\\\messv02ecc1.ec.local\\EC_EAFLog\\Staging\\_ Logs'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08ANLYSDIFAAST230\\Source\\MET08ANLYSDIFAAST230'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08DDUPSFS6420\\Source\\MET08DDUPSFS6420'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08DDUPSP1TBI\\Source\\MET08DDUPSP1TBI'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08RESIHGCV\\Source\\MET08RESIHGCV'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08RESIMAPCDE\\Source\\MET08RESIMAPCDE'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08RESISRP2100\\Source\\MET08RESISRP2100'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08THFTIRQS408M\\Source\\MET08THFTIRQS408M'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\Metrology\\Run Data Repository\\MET08THFTIRSTRATUS\\Source\\MET08THFTIRSTRATUS'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s H '\\\\messa01ec.infineon.com\\apps\\WaferCounter\\BackupFiles'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s J 'L:/Verdaccio/storage'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/Baget -s L:/DevOps/Mesa_FI/Baget/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/Baget/src/BaGet.Worker -s L:/DevOps/Mesa_FI/Baget/src/BaGet.Worker/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/Barcode-Host -s L:/DevOps/Mesa_FI/Barcode-Host/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/File-Folder-Helper L:/DevOps/Mesa_FI/File-Folder-Helper/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/OI-Metrology -s L:/DevOps/Mesa_FI/OI-Metrology/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/OI-Metrology -s L:/DevOps/Mesa_FI/OI-Metrology/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/OI-Metrology -s L:/DevOps/Mesa_FI/OI-Metrology/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/.index",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/.kanbn",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/account",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/database",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/dns",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/eva -d L:/Git/Notes-EC-Documentation/.EC-Documentation/.eva",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/fileshare",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/iteraplan -d L:/Git/Notes-EC-Documentation/.EC-Documentation/.iteraplan",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/port",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/process",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-EC-Documentation/.EC-Documentation -s L:/Git/Notes-EC-Documentation/.EC-Documentation/server",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Infineon/.Infineon -s 'L:/Git/Notes-Infineon/.Infineon/_-Review' -d 'L:/Git/Notes-Infineon/.Infineon/.vscode/Helper'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Phares/Phares -s L:/Git/Notes-Phares/Phares/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Phares/Phares -s L:/Git/Notes-Phares/Phares/family-tree",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Phares/Phares -s L:/Git/Notes-Phares/Phares/network",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Phares/Phares -s L:/Git/Notes-Phares/Phares/person",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Quartz-Phares-Person -s L:/Git/Quartz-Phares-Person/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Syncthing-Secrets/.UserSecrets -s L:/Git/Syncthing-Secrets/.UserSecrets/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Syncthing-Secrets/.UserSecrets -s L:/Git/Syncthing-Secrets/.UserSecrets/family-tree",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Syncthing-Secrets/.UserSecrets -s L:/Git/Syncthing-Secrets/.UserSecrets/network",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Syncthing-Secrets/.UserSecrets -s L:/Git/Syncthing-Secrets/.UserSecrets/person",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/DEP08SIASM/06_SourceCode/DEP08SIASM/Adaptation -s T:/DEP08SIASM/06_SourceCode/DEP08SIASM/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/DEP08SIHTRPLC/06_SourceCode/DEP08SIHTRPLC/Adaptation -s T:/DEP08SIHTRPLC/06_SourceCode/DEP08SIHTRPLC/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/EC/06_SourceCode/EC/Adaptation -s T:/EC/06_SourceCode/EC/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MESAFIBACKLOG/06_SourceCode/MESAFIBACKLOG/Adaptation -s T:/MESAFIBACKLOG/06_SourceCode/MESAFIBACKLOG/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08ANLYSDIFAAST230/06_SourceCode/MET08ANLYSDIFAAST230/Adaptation -s T:/MET08ANLYSDIFAAST230/06_SourceCode/MET08ANLYSDIFAAST230/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08AWCT/06_SourceCode/MET08AWCT/Adaptation -s T:/MET08AWCT/06_SourceCode/MET08AWCT/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08DDUPSFS6420/06_SourceCode/MET08DDUPSFS6420/Adaptation -s T:/MET08DDUPSFS6420/06_SourceCode/MET08DDUPSFS6420/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08DDUPSP1TBI/06_SourceCode/MET08DDUPSP1TBI/Adaptation -s T:/MET08DDUPSP1TBI/06_SourceCode/MET08DDUPSP1TBI/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/Adaptation -s T:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation -s T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08RESISRP2100/06_SourceCode/MET08RESISRP2100/Adaptation -s T:/MET08RESISRP2100/06_SourceCode/MET08RESISRP2100/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08THFTIRQS408M/06_SourceCode/MET08THFTIRQS408M/Adaptation -s T:/MET08THFTIRQS408M/06_SourceCode/MET08THFTIRQS408M/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/Adaptation -s T:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/METCLIMATEC/06_SourceCode/METCLIMATEC/Adaptation -s T:/METCLIMATEC/06_SourceCode/METCLIMATEC/Adaptation/.kanbn/tasks",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s S 'L:/BaGet/packages'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s U D:/5-Other-Small/Notes/Phares -s D:/5-Other-Small/Notes/Phares/person -d L:/Git/Quartz-Phares-Person/content",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s U L:/Git/Notes-EC-Documentation/EC-Documentation -s L:/Git/Notes-EC-Documentation/EC-Documentation -d D:/Documents/Notes/Quartz/Infineon/EC-Documentation/content",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V ../../src/BaGet.Worker",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Helpers",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Helpers",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Repositories",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Repositories",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Repositories",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s V Singleton",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X 'D:/Tmp/Phares/.TP-Link' 'Day-Helper-2024-01-06' '*.txt' 1 17 '- -' 'DeviceName,MacAddress,IpAddress,RealTimeUpRate,RealTimeDownRate,RateOrInterface,DurationOrRate,SpeedLimitOrDuration' 'IpAddress' 'hosts.jsonl' 'hosts.conf' 'BC-24-11'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X 'L:/DevOps/Mesa_FI/File-Watcher' Day-Helper-2024-01-08 'L:/DevOps/Mesa_FI/File-Watcher/Helpers'",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X L:/DevOps/Mesa_FI/File-Folder-Helper Day-Helper-2024-01-08 L:/DevOps/Mesa_FI/File-Folder-Helper/Day/2024-Q2",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X L:/DevOps/Mesa_FI/OI-Metrology Day-Helper-2024-01-08 L:/DevOps/Mesa_FI/OI-Metrology/Server",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X L:/DevOps/Mesa_FI/OI-Metrology Day-Helper-2024-01-08 L:/DevOps/Mesa_FI/OI-Metrology/Server",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X L:/DevOps/Mesa_FI/OI-Metrology Day-Helper-2024-01-08 L:/DevOps/Mesa_FI/OI-Metrology/Server",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s X L:/Git/Clipboard-Send-Keys Day-Helper-2024-01-08 L:/Git/Clipboard-Send-Keys/Class",
```

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-06T01:25:36.077Z"
updated: "2024-01-06T01:25:36.077Z"
created: 2024-01-06T01:25:36.077Z
type: topic
updated: 2024-07-15T21:15:42.698Z
---
# File Type
@ -9,34 +9,21 @@ updated: "2024-01-06T01:25:36.077Z"
```bash
# https://superuser.com/questions/29717/associate-a-file-type-with-a-specific-program
REM
FTYPE Tab-Separated-Values="C:\Windows\System32\notepad.exe" "%1"
ASSOC .tsv=Tab-Separated-Values
FTYPE Comma-Separated-Values="C:\Windows\System32\notepad.exe" "%1"
ASSOC .csv=Comma-Separated-Values
FTYPE Text="C:\Windows\System32\notepad.exe" "%1"
ASSOC .txt=Text
FTYPE json="C:\Windows\System32\notepad.exe" "%1"
ASSOC .json=json
FTYPE xml="C:\Windows\System32\notepad.exe" "%1"
ASSOC .xml=xml
FTYPE Log="C:\Windows\System32\notepad.exe" "%1"
ASSOC .log=Log
FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .conf=Configuration
FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .config=Configuration
FTYPE Public-Key="C:\Windows\System32\notepad.exe" "%1"
ASSOC .pub=Public-Key
FTYPE CSharp="C:\Windows\System32\notepad.exe" "%1"
ASSOC .cs=CSharp
FTYPE CSharp-Project="C:\Windows\System32\notepad.exe" "%1"
ASSOC .csproj=CSharp-Project
FTYPE ProcessDataStandardFormat="C:\Windows\System32\notepad.exe" "%1"
ASSOC .pdsf=ProcessDataStandardFormat
FTYPE Markdown="C:\Windows\System32\notepad.exe" "%1"
ASSOC .md=Markdown
FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .ini=Configuration
ASSOC .ipj="C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe"
ASSOC .conf=Configuration & FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .config=Configuration & FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .cs=CSharp & FTYPE CSharp="C:\Windows\System32\notepad.exe" "%1"
ASSOC .csproj=CSharp-Project & FTYPE CSharp-Project="C:\Windows\System32\notepad.exe" "%1"
ASSOC .csv=Comma-Separated-Values & FTYPE Comma-Separated-Values="C:\Windows\System32\notepad.exe" "%1"
ASSOC .ini=Configuration & FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1"
ASSOC .ipj="C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe" & FTYPE Project="C:\Windows\System32\notepad.exe" "%1"
ASSOC .json=json & FTYPE json="C:\Windows\System32\notepad.exe" "%1"
ASSOC .log=Log & FTYPE Log="C:\Windows\System32\notepad.exe" "%1"
ASSOC .md=Markdown & FTYPE Markdown="C:\Windows\System32\notepad.exe" "%1"
ASSOC .pdsf=ProcessDataStandardFormat & FTYPE ProcessDataStandardFormat="C:\Windows\System32\notepad.exe" "%1"
ASSOC .pub=Public-Key & FTYPE Public-Key="C:\Windows\System32\notepad.exe" "%1"
ASSOC .tns=TNS & FTYPE TNS="C:\Windows\System32\notepad.exe" "%1"
ASSOC .tsv=Tab-Separated-Values & FTYPE Tab-Separated-Values="C:\Windows\System32\notepad.exe" "%1"
ASSOC .txt=Text & FTYPE Text="C:\Windows\System32\notepad.exe" "%1"
ASSOC .xml=xml & FTYPE xml="C:\Windows\System32\notepad.exe" "%1"
REM
```

13
_-Review/find.md Normal file
View File

@ -0,0 +1,13 @@
# find
```bash ./.vscode/helper/*.txt
Unknown",
.*
*192
```
```bash ./.vscode/helper/*.json
Unknown",
.*
.*192
```

22
_-Review/flatpak.md Normal file
View File

@ -0,0 +1,22 @@
---
created: 2024-08-10T21:41:38.000Z
type: note
updated: 2024-08-10T21:41:38.000Z
---
# flatpak
- [Ubuntu](https://flatpak.org/setup/Ubuntu)
```bash Sat Aug 10 2024 14:23:02 GMT-0700 (Mountain Standard Time)
sudo -i
apt install flatpak -y
apt install gnome-software-plugin-flatpak -y
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
exit
reboot
```
- [lutris](https://lutris.net/downloads)
- [usebottles](https://usebottles.com/)
- [flathub-bottles](https://flathub.org/apps/com.usebottles.bottles)

View File

@ -1,8 +1,8 @@
---
type: "topic"
assigned: ""
created: "2024-01-14T02:18:18.357Z"
updated: "2024-04-02T03:49:22.346Z"
assigned: ''
created: 2024-01-14T02:18:18.357Z
type: topic
updated: 2024-08-05T18:48:21.597Z
---
# Free File Sync
@ -10,6 +10,8 @@ updated: "2024-04-02T03:49:22.346Z"
- [Free File Sync](https://freefilesync.org/)
- [Posts](https://freefilesync.org/forum/search.php?author_id=12468&sr=posts)
## Colors
```conf
Windows Registry Editor Version 5.00
@ -47,11 +49,16 @@ Windows Registry Editor Version 5.00
"MenuHilight"="120 120 120"
```
## Diff
```yaml
VSCode: code --diff "%local_path%" "%local_path2%"
VSCode Insiders: code-insiders --diff "%local_path%" "%local_path2%"
VSCode: code --diff "%local_path%" "%local_path2%"
VSCode OSS: codium --diff "%local_path%" "%local_path2%"
VSCode Insiders: code-insiders --diff "%local_path%" "%local_path2%"
```
## MKLink
```bash
mkdir "L:\Git\Notes-Free-File-Sync"
cd "L:\Git\Notes-Free-File-Sync"
@ -60,3 +67,284 @@ mkdir "L:\Git\Notes-Free-File-Sync\.vscode"
echo # mklink > "L:\Git\Notes-Free-File-Sync\.vscode\mklink.md"
mklink /J "L:\Git\Notes-Free-File-Sync\.FreeFileSync" "D:/5-Other-Small/FreeFileSync"
```
## GlobalSettings
```xml Fri Jul 19 2024 11:34:28 GMT-0700 (Mountain Standard Time)
<!--C:\Users\mikep\AppData\Roaming\FreeFileSync\GlobalSettings.xml-->
<ExternalApps>
<Item Label="Show in Explorer">explorer.exe /select, "%local_path%" &amp; exit 0</Item>
<Item Label="Open with default application">explorer.exe "%local_path%" &amp; exit 0</Item>
<Item Label="VSCode">code --diff "%local_path%" "%local_path2%"</Item>
<Item Label="VSCode OSS">codium --diff "%local_path%" "%local_path2%"</Item>
<Item Label="VSCode Insiders">code-insiders --diff "%local_path%" "%local_path2%"</Item>
</ExternalApps>
```
```xml Fri Jul 19 2024 15:57:20 GMT-0700 (Mountain Standard Time)
<Configurations MaxSize="100" LastSelected="D:\5-Other-Small\Free-File-Sync\Syncthing-VZDump-LXC-Server.ffs_gui">
<Item LastSync="1716082731" Result="Warning" Config="C:\Users\mikep\AppData\Roaming\FreeFileSync\LastRun.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\[Last session] 2024-05-18 183510.916 [Warning].html" Items="65186" Bytes="2219501164" TotalTime="173333" Errors="0" Warnings="1" Color="DDDDDD"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\EAF-BB-mesfs-mestsa07ec.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\EAF-DD-mesfs-mestsa011ec.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\EAF-EE-mestsa07ec-messa08ec.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\EDA-AA-mesfs-messa08ec.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\FS-EE-mestsa006-messa04ec.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\google-drive-cepha315.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\google-drive-cphares0917.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\google-drive-mike.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-root-source-Norman-Herman.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-root-upload-Norman-Herman.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-source-Norman-Herman.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-source-Phares.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-source-Videos-A-Device-Videos-2_0_0_3-Current-Year.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-source-View-by-Distance-Test.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-upload-Norman-Herman.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-upload-Phares.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-upload-Videos-A-Device-Videos-2_0_0_3-Current-Year.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Immich-wsl-upload-View-by-Distance-Test.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\local-KeePass-cphar.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\local-KeePass-k0308-phone.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\local-KeePass-k0308.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-auclv0558.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-leolsec0003.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-meslvec0004.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-meslvec0005.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-mesxs015.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-mesxsec013.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-etc-mesxsec014.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-srv-auclv0558.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-srv-meslvec0005.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-srv-mesxs015.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-srv-mesxsec013.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-srv-mesxsec014.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-var-auclv0558.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-var-meslvec0005.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\OS-var-www-server-thumbs.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Resize-Amazon.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\Verdaccio-AA-L-messdv002.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Backup-Immich-server.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-backup-lphares-server.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Backups-Immich-local.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-logan-01-Offline-Backup-D-3-Videos-A.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-etc-asus-local.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-etc-asus.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-etc-beelink.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-etc-desktop-local.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-etc-pi3.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-OS-var-www-asus.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Program-Files-b.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Program-Files-x86.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Program-Files.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-ProgramData-Pictures-local.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Ubunut-tar.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Upload-Immich-local.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-Upload-Immich-server.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-wsl-Immich-c.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="0" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\z-wsl-Immich-d.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="1716142306" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-1-Images-A.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="1716142306" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-2-Images-B.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="1716142306" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\D-1-Images-A.ffs_gui" Log="" Items="0" Bytes="0" TotalTime="0" Errors="0" Warnings="0"/>
<Item LastSync="1716142306" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\free.file.sync.k0308.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\free.file.sync.k0308 2024-05-19 111146.822.html" Items="1" Bytes="134081740800" TotalTime="2164334" Errors="0" Warnings="1"/>
<Item LastSync="1716173937" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-9-Delete.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-9-Delete 2024-05-12 052614.649.html" Items="0" Bytes="0" TotalTime="235" Errors="0" Warnings="0"/>
<Item LastSync="1716179048" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-7-Question.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-7-Question 2024-05-19 212121.299.html" Items="1807" Bytes="4362193" TotalTime="3089" Errors="0" Warnings="0"/>
<Item LastSync="1719699481" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Immich-Mount-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\Syncthing-Immich-Mount-Server 2024-06-29 151801.809.html" Items="1" Bytes="0" TotalTime="25210" Errors="0" Warnings="1"/>
<Item LastSync="1719813037" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Immich-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + Syncthing-Immich-Server + [...] 2024-06-30 224946.865.html" Items="17" Bytes="100213" TotalTime="1393" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\lphares-Dorico-disk.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\lphares-Sibelius-disk.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\OS-etc--server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\OS-opt-dockge-server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\OS-var-certbot-server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\OS-var-www-server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-EC-Documentation-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Infineon-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Kanban-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-KeePass-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Network-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Phares-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Proxmox-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-UserSecrets-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721424893" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-VZDump-LXC-Server.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\lphares-Dorico-disk + lphares-Sibelius-disk + OS-etc--server + OS-opt-dockge-server + OS-var-certbot-server + OS-var-www-server + Syncthing-EC-Documentation-Server + Syncthing-Free-File-Sync + [...] 2024-07-19 143453.716.html" Items="1" Bytes="0" TotalTime="1057" Errors="0" Warnings="0"/>
<Item LastSync="1721428339" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-6-Other-Large-P-Z.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-6-Other-Large-P-Z 2024-07-19 153219.549.html" Items="0" Bytes="0" TotalTime="10472" Errors="0" Warnings="0"/>
<Item LastSync="1721428361" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-6-Other-Large-B.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-6-Other-Large-B 2024-05-19 195805.941.html" Items="0" Bytes="0" TotalTime="5004" Errors="0" Warnings="0"/>
<Item LastSync="1721428402" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-Tmp.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-Tmp 2024-07-19 153322.213.html" Items="6" Bytes="0" TotalTime="686" Errors="0" Warnings="0"/>
<Item LastSync="1721428441" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-6-Other-Large.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-6-Other-Large 2024-07-19 153401.655.html" Items="0" Bytes="0" TotalTime="28814" Errors="0" Warnings="0"/>
<Item LastSync="1721428475" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-5-Other-Small.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-5-Other-Small 2024-07-19 153435.334.html" Items="0" Bytes="0" TotalTime="1563" Errors="0" Warnings="0"/>
<Item LastSync="1721428481" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-4-Videos-B.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-4-Videos-B 2024-07-19 153441.767.html" Items="0" Bytes="0" TotalTime="1846" Errors="0" Warnings="0"/>
<Item LastSync="1721428491" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-6-Other-Large-C.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-6-Other-Large-C 2024-07-19 153451.123.html" Items="0" Bytes="0" TotalTime="4332" Errors="0" Warnings="0"/>
<Item LastSync="1721428499" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-6-Other-Large-D.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-6-Other-Large-D 2024-07-19 153459.190.html" Items="0" Bytes="0" TotalTime="7748" Errors="0" Warnings="0"/>
<Item LastSync="1721428572" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-8-Move.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-8-Move 2024-07-19 153255.142.html" Items="2" Bytes="0" TotalTime="2022" Errors="0" Warnings="1"/>
<Item LastSync="1721428641" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-2-Images-B.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-2-Images-B 2024-07-19 153721.925.html" Items="0" Bytes="0" TotalTime="881" Errors="0" Warnings="0"/>
<Item LastSync="1721428657" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-3-Videos-A.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-3-Videos-A 2024-07-19 153737.636.html" Items="0" Bytes="0" TotalTime="299" Errors="0" Warnings="0"/>
<Item LastSync="1721428671" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-5-Other-Small.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-5-Other-Small 2024-07-19 153751.142.html" Items="0" Bytes="0" TotalTime="478" Errors="0" Warnings="0"/>
<Item LastSync="1721428687" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-6-Other-Large.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-6-Other-Large 2024-07-19 153807.368.html" Items="0" Bytes="0" TotalTime="221" Errors="0" Warnings="0"/>
<Item LastSync="1721428701" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-7-Question.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-7-Question 2024-07-19 153821.601.html" Items="0" Bytes="0" TotalTime="217" Errors="0" Warnings="0"/>
<Item LastSync="1721428713" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-8-Move.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-8-Move 2024-07-19 153833.676.html" Items="0" Bytes="0" TotalTime="219" Errors="0" Warnings="0"/>
<Item LastSync="1721428725" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-9-Delete.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-9-Delete 2024-07-19 153845.816.html" Items="0" Bytes="0" TotalTime="225" Errors="0" Warnings="0"/>
<Item LastSync="1721428746" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\D-01-Offline-Backup-4-Videos-B.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-01-Offline-Backup-4-Videos-B 2024-07-19 153906.383.html" Items="0" Bytes="0" TotalTime="266" Errors="0" Warnings="0"/>
<Item LastSync="1721428968" Result="Stopped" Config="D:\5-Other-Small\Free-File-Sync\D-3-Videos-A.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\D-3-Videos-A 2024-07-19 154248.864 [Stopped].html" Items="194" Bytes="3614946250" TotalTime="71344" Errors="1" Warnings="1"/>
<Item LastSync="1721429067" Result="Success" Config="D:\5-Other-Small\Free-File-Sync\Syncthing-Free-File-Sync.ffs_gui" Log="C:\Users\mikep\AppData\Roaming\FreeFileSync\Logs\Syncthing-Free-File-Sync 2024-07-19 154427.980.html" Items="17" Bytes="26463" TotalTime="521" Errors="0" Warnings="0"/>
</Configurations>
```
## Updates
### FreeFileSync 13.7 Windows
- [x] DESKTOP-VVO6KCM Fri Jul 19 2024 11:53:57 GMT-0700 (Mountain Standard Time)
## Rename
IFX|Mike|Logan
What
From Server Short
To Server Short
| Old | New |
|-----------------------------------|--------------------------------------------|
| google-drive-cepha315 | Chelsea-Google-cepha315-D |
| google-drive-cphares0917 | Chelsea-Google-cphares0917-D |
| local-KeePass-cphar | Chelsea-KeePass-local-cphar |
| BaGet-AA-L-mesfs | IFX-BaGet.AA-L-mesfs |
| BaGet-AA-L-messa08ec | IFX-BaGet.AA-L-messa08ec |
| BaGet-BB-L-messdv002 | IFX-BaGet.BB-L-messdv002 |
| BaGet-CC-2024 | IFX-BaGet.CC-2024-mesfs |
| BaGet-DD-2024 | IFX-BaGet.DD-2024-mesfs |
| BaGet-EE-messa08ec-messa04ec | IFX-BaGet.EE-messa08ec-messa04ec |
| BaGet-FF-messa08ec-messa020ec | IFX-BaGet.FF-messa08ec-messa020ec |
| BaGet-GG-messa08ec-mestsa05ec | IFX-BaGet.GG-messa08ec-mestsa05ec |
| BaGet-HH-messa08ec-messa017 | IFX-BaGet.HH-messa08ec-messa017 |
| BaGet-II-messa08ec-messa016ec | IFX-BaGet.II-messa08ec-messa016ec |
| EAF-AA-mesfs-messa08ec | IFX-EAF.AA-mesfs-messa08ec |
| EAF-BB-mesfs-mestsa07ec | IFX-EAF.BB-mesfs-mestsa07ec |
| EAF-CC-mesfs-mestsa09ec | IFX-EAF.CC-mesfs-mestsa09ec |
| EAF-DD-mesfs-mestsa011ec | IFX-EAF.DD-mesfs-mestsa011ec |
| EAF-EE-mestsa07ec-messa08ec | IFX-EAF.EE-mestsa07ec-messa08ec |
| EDA-AA-mesfs-messa08ec | IFX-EDA.AA-mesfs-messa08ec |
| EDA-BB-mesfs-mestsa07ec | IFX-EDA.BB-mesfs-mestsa07ec |
| EDA-CC-mesfs-mestsa09ec | IFX-EDA.CC-mesfs-mestsa09ec |
| EDA-DD-mesfs-mestsa011ec | IFX-EDA.DD-mesfs-mestsa011ec |
| EDA-EE-mestsa07ec-messa08ec | IFX-EDA.EE-mestsa07ec-messa08ec |
| FeeFileSync-AA-messa011ec | IFX-FeeFileSync-AA-D-messa011ec |
| FeeFileSync-AA-messa08ec | IFX-FeeFileSync-AA-D-messa08ec |
| FeeFileSync-BB-messa017 | IFX-FeeFileSync-BB-D-messa017 |
| FS-AA-mestsa006-mestsa03ec | IFX-FS.AA-mestsa006-mestsa03ec |
| FS-BB-mestsa006-messa022ec | IFX-FS.BB-mestsa006-messa022ec |
| FS-CC-mestsa006-leosaec17 | IFX-FS.CC-mestsa006-leosaec17 |
| FS-DD-mestsa006-mestsa06ec | IFX-FS.DD-mestsa006-mestsa06ec |
| FS-EE-mestsa006-messa04ec | IFX-FS.EE-mestsa006-messa04ec |
| kanban-mestsa003-local-Backlog | IFX-Kanban.Backlog-mestsa003-local |
| kanban-mestsa003-local-Decisions | IFX-Kanban.Decisions-mestsa003-local |
| kanban-mestsa003-local-Other | IFX-Kanban.Other-mestsa003-local |
| kanban-mestsa003-local-Service | IFX-Kanban.Service-mestsa003-local |
| OS-leolsec0003-mestsa006 | IFX-OS-mestsa006-D |
| OS-etc-auclv0558 | IFX-OS.etc-auclv0558-D |
| OS-etc-leolsec0003 | IFX-OS.etc-leolsec0003-D |
| OS-etc-leolsec0004 | IFX-OS.etc-leolsec0004-D |
| OS-etc-leolsec0005 | IFX-OS.etc-leolsec0005-D |
| OS-etc-meslvec0004 | IFX-OS.etc-meslvec0004-D |
| OS-etc-meslvec0005 | IFX-OS.etc-meslvec0005-D |
| OS-etc-mesxs015 | IFX-OS.etc-mesxs015-D |
| OS-etc-mesxsec013 | IFX-OS.etc-mesxsec013-D |
| OS-etc-mesxsec014 | IFX-OS.etc-mesxsec014-D |
| OS-srv-auclv0558 | IFX-OS.srv-auclv0558-D |
| OS-srv-leolsec0003 | IFX-OS.srv-leolsec0003-D |
| OS-srv-leolsec0004 | IFX-OS.srv-leolsec0004-D |
| OS-srv-leolsec0005 | IFX-OS.srv-leolsec0005-D |
| OS-srv-meslvec0005 | IFX-OS.srv-meslvec0005-D |
| OS-srv-mesxs015 | IFX-OS.srv-mesxs015-D |
| OS-srv-mesxsec013 | IFX-OS.srv-mesxsec013-D |
| OS-srv-mesxsec014 | IFX-OS.srv-mesxsec014-D |
| OS-var-auclv0558 | IFX-OS.var-auclv0558-D |
| OS-var-meslvec0005 | IFX-OS.var-meslvec0005-D |
| Verdaccio-AA-L-messdv002 | IFX-Verdaccio-messdv002-L |
| -www-mestsa006 | IFX-www-L-mestsa006 |
| local-k0308-k0308 | Kristy--local-k0308 |
| local-KeePass-k0308 | Kristy-KeePass-local-k0308 |
| local-KeePass-k0308-phone | Kristy-KeePass-local-phone |
| lphares-Dorico-disk | Logan-Dorico-Beelink-D |
| lphares-Sibelius-disk | Logan-Sibelius-Beelink-D |
| D-01-Offline-Backup-1-Images-A | Mike-2TB-D-01-Offline-Backup-1-Images-A |
| D-01-Offline-Backup-2-Images-B | Mike-2TB-D-01-Offline-Backup-2-Images-B |
| D-01-Offline-Backup-3-Videos-A | Mike-2TB-D-01-Offline-Backup-3-Videos-A |
| D-01-Offline-Backup-4-Videos-B | Mike-2TB-D-01-Offline-Backup-4-Videos-B |
| D-01-Offline-Backup-5-Other-Small | Mike-2TB-D-01-Offline-Backup-5-Other-Small |
| D-01-Offline-Backup-6-Other-Large | Mike-2TB-D-01-Offline-Backup-6-Other-Large |
| D-01-Offline-Backup-7-Question | Mike-2TB-D-01-Offline-Backup-7-Question |
| D-01-Offline-Backup-8-Move | Mike-2TB-D-01-Offline-Backup-8-Move |
| D-01-Offline-Backup-9-Delete | Mike-2TB-D-01-Offline-Backup-9-Delete |
| D-1-Images-A | Mike-2TB-D-1-Images-A |
| D-2-Images-B | Mike-2TB-D-2-Images-B |
| D-3-Videos-A | Mike-2TB-D-3-Videos-A |
| D-4-Videos-B | Mike-2TB-D-4-Videos-B |
| D-5-Other-Small | Mike-2TB-D-5-Other-Small |
| D-6-Other-Large | Mike-2TB-D-6-Other-Large |
| D-6-Other-Large-B | Mike-2TB-D-6-Other-Large-B |
| D-6-Other-Large-C | Mike-2TB-D-6-Other-Large-C |
| D-6-Other-Large-D | Mike-2TB-D-6-Other-Large-D |
| D-6-Other-Large-P-Z | Mike-2TB-D-6-Other-Large-P-Z |
| D-7-Question | Mike-2TB-D-7-Question |
| D-8-Move | Mike-2TB-D-8-Move |
| D-9-Delete | Mike-2TB-D-9-Delete |
| D-Tmp | Mike-2TB-D-Tmp |
| free.file.sync.k0308 | Mike-FFS-local-k0308 |
| free.file.sync.loft | Mike-FFS-local-loft |
| free.file.sync.lphar | Mike-FFS-local-lphar |
| free.file.sync.media | Mike-FFS-local-media |
| free.file.sync.mikep | Mike-FFS-local-mikep |
| google-drive-mike | Mike-Google-mikepharesjr-D |
| local-KeePass-mikep-phone | Mike-KeePass-local-phone |
| OS-etc--server | Mike-OS-Beelink-D |
| OS-var-certbot-server | Mike-OS.certbot-Beelink-D |
| OS-opt-dockge-server | Mike-OS.dockge-Beelink-D |
| OS-var-infineon-server | Mike-OS.infineon-Beelink-D |
| OS-home-podman-server | Mike-OS.podman-Beelink-D |
| OS-var-thumbs-server | Mike-OS.thumbs-Beelink-D |
| OS-var-www-server | Mike-OS.www-Beelink-D |
| OS-var-www-server-thumbs | Mike-OS.www.thumbs-Beelink-D |
| Resize-Amazon | Mike-Resize.Amazon-Beelink-D |
| Syncthing-EC-Documentation-Server | Mike-Syncthing.EC.Documentation-Beelink-D |
| Syncthing-Free-File-Sync | Mike-Syncthing.Free-Beelink-D |
| Syncthing-Immich-Server | Mike-Syncthing.Immich-Beelink-D |
| Syncthing-Immich-Mount-Server | Mike-Syncthing.Immich.Mount-Beelink-D |
| Syncthing-Infineon-Server | Mike-Syncthing.Infineon-Beelink-D |
| Syncthing-Kanban-Server | Mike-Syncthing.Kanban-Beelink-D |
| Syncthing-KeePass-Server | Mike-Syncthing.KeePass-Beelink-D |
| Syncthing-Network-Server | Mike-Syncthing.Network-Beelink-D |
| Syncthing-Phares-Server | Mike-Syncthing.Phares-Beelink-D |
| Syncthing-Proxmox-Server | Mike-Syncthing.Proxmox-Beelink-D |
| Syncthing-UserSecrets-Server | Mike-Syncthing.UserSecrets-Beelink-D |
| Syncthing-VZDump-LXC-Server | Mike-Syncthing.VZDump-Beelink-D |
Immich-root-source-Norman-Herman
Immich-root-upload-Norman-Herman
Immich-wsl-source-Norman-Herman
Immich-wsl-source-Phares
Immich-wsl-source-Videos-A-Device-Videos-2_0_0_3-Current-Year
Immich-wsl-source-View-by-Distance-Test
Immich-wsl-upload-Norman-Herman
Immich-wsl-upload-Phares
Immich-wsl-upload-Videos-A-Device-Videos-2_0_0_3-Current-Year
Immich-wsl-upload-View-by-Distance-Test
local-k0308-k0308
z-Backup-Immich-server
z-backup-lphares-server
z-Backups-Immich-local
z-logan-01-Offline-Backup-D-3-Videos-A
z-OS-etc-asus
z-OS-etc-asus-local
z-OS-etc-beelink
z-OS-etc-desktop-local
z-OS-etc-pi3
z-OS-var-www-asus
z-Program-Files
z-Program-Files-b
z-Program-Files-x86
z-ProgramData-Pictures-local
z-Ubunut-tar
z-Upload-Immich-local
z-Upload-Immich-server
z-wsl-Immich-c
z-wsl-Immich-d

10
_-Review/frigate.md Normal file
View File

@ -0,0 +1,10 @@
---
created: 2024-07-12T17:00:09.046Z
type: note
updated: 2024-07-26T23:03:37.527Z
---
# Frigate
- [frigate](https://frigate.video/)
- [frigate-hass-addons](https://github.com/blakeblackshear/frigate-hass-addons?tab=readme-ov-file)

View File

@ -1,7 +1,8 @@
---
type: "topic"
created: "2024-01-06T01:25:36.074Z"
updated: "2024-01-06T01:25:36.074Z"
created: 2024-01-06T01:25:36.074Z
draft: true;
type: topic
updated: 2024-07-15T23:43:36.401Z
---
# game-slug

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-14T02:18:21.181Z"
updated: "2024-03-31T16:09:07.756Z"
created: 2024-01-14T02:18:21.181Z
type: topic
updated: 2024-07-11T23:03:50.727Z
---
# Git
@ -25,6 +25,7 @@ git push origin :development (Deleting a remote branch)
git diff --name-only
git rebase -i master
git push origin -d branch-name
git remote add gitea http://localhost:3000/brad/brad.git
```
```bash
@ -68,3 +69,8 @@ client_max_body_size 5000m;
```bash
git branch -m master
```
```bash
git rm --cached Adaptation/.kanbn/index.md
git rm -r --cached Phares
```

322
_-Review/gitea.md Normal file
View File

@ -0,0 +1,322 @@
---
assigned: ''
created: 2024-07-02T19:40:15.783Z
progress: 0
tags:
- Duck
- Hosts
- LinkPC
- Gitea
type: note
updated: 2024-08-05T21:46:07.493Z
---
# Gitea
- [gitea3757.ddns.net](https://gitea3757.ddns.net)
- [docs.gitea.com](https://docs.gitea.com/administration/backup-and-restore?_highlight=backup)
- [how-to-install-gitea-on-ubuntu-using-docker](https://www.digitalocean.com/community/tutorials/how-to-install-gitea-on-ubuntu-using-docker)
## Notes
```tsv Tue Jul 02 2024 18:22:16 GMT-0700 (Mountain Standard Time)
sshd 292 root 3u IPv4 158983 0t0 TCP *:22 (LISTEN)
sshd 292 root 4u IPv6 158985 0t0 TCP *:22 (LISTEN)
nginx 297 root 7u IPv6 158397 0t0 TCP *:80 (LISTEN)
nginx 297 root 8u IPv4 158398 0t0 TCP *:80 (LISTEN)
nginx 297 root 9u IPv6 158399 0t0 TCP *:443 (LISTEN)
nginx 297 root 10u IPv4 158400 0t0 TCP *:443 (LISTEN)
nginx 298 www-data 7u IPv6 158397 0t0 TCP *:80 (LISTEN)
nginx 298 www-data 8u IPv4 158398 0t0 TCP *:80 (LISTEN)
nginx 298 www-data 9u IPv6 158399 0t0 TCP *:443 (LISTEN)
nginx 298 www-data 10u IPv4 158400 0t0 TCP *:443 (LISTEN)
nginx 299 www-data 7u IPv6 158397 0t0 TCP *:80 (LISTEN)
nginx 299 www-data 8u IPv4 158398 0t0 TCP *:80 (LISTEN)
nginx 299 www-data 9u IPv6 158399 0t0 TCP *:443 (LISTEN)
nginx 299 www-data 10u IPv4 158400 0t0 TCP *:443 (LISTEN)
nginx 300 www-data 7u IPv6 158397 0t0 TCP *:80 (LISTEN)
nginx 300 www-data 8u IPv4 158398 0t0 TCP *:80 (LISTEN)
nginx 300 www-data 9u IPv6 158399 0t0 TCP *:443 (LISTEN)
nginx 300 www-data 10u IPv4 158400 0t0 TCP *:443 (LISTEN)
nginx 301 www-data 7u IPv6 158397 0t0 TCP *:80 (LISTEN)
nginx 301 www-data 8u IPv4 158398 0t0 TCP *:80 (LISTEN)
nginx 301 www-data 9u IPv6 158399 0t0 TCP *:443 (LISTEN)
nginx 301 www-data 10u IPv4 158400 0t0 TCP *:443 (LISTEN)
mariadbd 413 mysql 126u IPv4 158506 0t0 TCP 127.0.0.1:3306 (LISTEN)
simplehtt 429 nobody 3u IPv4 159054 0t0 TCP *:60080 (LISTEN)
simplehtt 429 nobody 6u IPv4 159055 0t0 TCP *:60443 (LISTEN)
simplehtt 431 nobody 3u IPv4 159054 0t0 TCP *:60080 (LISTEN)
simplehtt 431 nobody 6u IPv4 159055 0t0 TCP *:60443 (LISTEN)
master 785 root 13u IPv4 161870 0t0 TCP 127.0.0.1:25 (LISTEN)
miniserv. 811 root 5u IPv4 160568 0t0 TCP *:12321 (LISTEN)
```
```bash Tue Jul 02 2024 18:22:13 GMT-0700 (Mountain Standard Time)
turnkey-init
```
## api.ini
```ini Tue Jul 02 2024 19:20:01 GMT-0700 (Mountain Standard Time)
; This is gitea conf file - originally provided by TurnKey and updated on
; firstboot.
;
; For further/full options, please see app.example.ini in this directory
; (default: custom/conf/app.ini).
;
; See https://docs.gitea.com/administration/config-cheat-sheet for additional
; documentation.
APP_NAME = TurnKey Gitea
RUN_USER = git
WORK_PATH = /home/git/
RUN_MODE = prod
[database]
NAME = gitea
USER = gitea
PASSWD = d4f3727c6fab725191fcea09d23194e1
LOG_SQL = false
DB_TYPE = mysql
HOST = 127.0.0.1:3306
SCHEMA =
SSL_MODE = disable
PATH = /home/git/data/gitea.db
[server]
DOMAIN = gitea.ddns.net
PROTOCOL = http+unix
HTTP_ADDR = /home/git/run/gitea.sock
UNIX_SOCKET_PERMISSION = 666
SSH_DOMAIN = gitea.ddns.net
HTTP_PORT = 3000
ROOT_URL = https://gitea.ddns.net/
APP_DATA_PATH = /home/git/data
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = e1iv1xe4CHhAJvLnOsmmf2HCV3vLclDltREPrg1Rij4
OFFLINE_MODE = false
[markup.restructuredtext]
ENABLED = true
FILE_EXTENSIONS = .rst
RENDER_COMMAND = rst2html
IS_INPUT_FILE = false
[mailer]
ENABLED = true
FROM = mikepharesjr@msn.com
PROTOCOL = sendmail
SENDMAIL_PATH = /usr/sbin/sendmail
SENDMAIL_TIMEOUT = 5m
[repository]
ROOT = /home/git/data/gitea-repositories
DEFAULT_BRANCH = master
[lfs]
PATH = /home/git/data/lfs
[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply@gitea.ddns.net
[openid]
ENABLE_OPENID_SIGNUP = true
[cron.update_checker]
ENABLED = false
[session]
PROVIDER = file
[log]
MODE = console
LEVEL = info
ROOT_PATH = /home/git/log
[repository.pull-request]
DEFAULT_MERGE_STYLE = merge
[repository.signing]
DEFAULT_TRUST_MODEL = committer
[security]
INSTALL_LOCK = true
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3MTk5Njk3NDh9.iDm3wTEKbra2soSowoVgy1Xrf1aJelaCgmUel5wA0WQ
PASSWORD_HASH_ALGO = pbkdf2
[oauth2]
JWT_SECRET = gQcCHgWy1l3aV6I8JUY3_QCNqHjWvHIGNg8BZOgC1wM
```
```bash Tue Jul 02 2024 19:21:54 GMT-0700 (Mountain Standard Time)
cd /home/git/custom/conf/
nano app.ini
chown git:git app.ini
systemctl restart gitea.service
systemctl status gitea.service
```
```git Tue Jul 02 2024 19:21:00 GMT-0700 (Mountain Standard Time)
+DEFAULT_BRANCH = master
+-ROOT_URL = https://gitea.ddns.net/
```
- [instances_access_files](https://linuxcontainers.org/incus/docs/main/howto/instances_access_files/)
```bash Tue Jul 02 2024 19:46:38 GMT-0700 (Mountain Standard Time)
su git
cd /home/git/
./gitea dump
ls -la
exit
exit
incus file pull 115-turnkey-gitea/home/git/gitea-dump-1719974188.zip /home/free-file-sync/proxmox/
```
```bash Tue Jul 02 2024 19:46:53 GMT-0700 (Mountain Standard Time)
git push gogs master
```
- [windows-service](https://docs.gitea.com/installation/windows-service)
## Dockge
```bash Tue Jul 09 2024 18:21:51 GMT-0700 (Mountain Standard Time)
docker cp gitea-server-1:/etc/gitea/app.ini /home/phares/app.ini
nano /home/phares/app.ini
docker cp /home/phares/app.ini gitea-server-1:/etc/gitea/app.ini
rm /home/phares/app.ini
```
## Tea-CLI Login
```bash Fri Jul 26 2024 17:23:36 GMT-0700 (Mountain Standard Time)
L:\Git\tea\tea-0.9.2-windows-amd64.exe login add
## Tea-CLI Repos Create
```bash Tue Jul 09 2024 19:21:26 GMT-0700 (Mountain Standard Time)
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name aa --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name barcode-host --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name clipboard --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name clip-board --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name clipboard-send-keys --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name dep08siasm --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name dep08sihtrplc --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name file-folder-helper --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name file-watcher --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name fi-operations --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name hello-world --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name jackyzha0-quartz-phares --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-raspbian-pi-3-model-b --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-redhat-meslvec0004 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-redhat-mesxsec014 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-ubuntu-asus --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-ubuntu-beelink --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name linux-ubuntu-server --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name mesafibacklog --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08anlysdifaast230 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08awct --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08ddupsfs6420 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08ddupsp1tbi --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08resihgcv --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08resimapcde --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08resisrp2100 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08thftirqs408m --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name met08thftirstratus --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name metclimatec --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name nginx-conf --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-ec-documentation --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-infineon --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-kaban --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-network --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-phares --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name notes-user-secrets --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name odoo-17-0 --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name oi-metrology --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name parsing-packets --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name view-by-distance-mklink-console --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name vs-code-settings --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name www --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name yo-vscode --owner phares3757
```
```bash Tue Jul 09 2024 19:21:34 GMT-0700 (Mountain Standard Time)
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name vs-code-settings --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name vs-code-settings-insiders --owner phares3757
L:\Git\tea\tea-0.9.2-windows-amd64.exe repos create --name vs-code-settings-oss --owner phares3757
```
```bash Thu Jul 11 2024 16:36:37 GMT-0700 (Mountain Standard Time)
L:\Git\tea\tea-0.9.2-windows-amd64.exe pulls create --repo phares3757/met08ddupsp1tbi -b master --head v2_56_0
```
## Runner
```bash Fri Jul 19 2024 12:35:53 GMT-0700 (Mountain Standard Time)
cd /home/phares
wget https://gitea.com/gitea/act_runner/releases/download/v0.2.10/act_runner-0.2.10-linux-amd64
chmod +x act_runner-0.2.10-linux-amd64
./act_runner-0.2.10-linux-amd64 -v
./act_runner-0.2.10-linux-amd64 register --no-interactive --instance https://gitea3757.ddns.net/ --token {token}
./act_runner-0.2.10-linux-amd64 daemon
```
```bash Fri Jul 19 2024 13:40:38 GMT-0700 (Mountain Standard Time)
cp /home/phares/act_runner-0.2.10-linux-amd64 /usr/local/bin/act_runner
mkdir /etc/act_runner
mkdir /var/lib/act_runner
touch /etc/act_runner/config.yaml
/etc/systemd/system/act_runner.service
./act_runner-0.2.10-linux-amd64 register --no-interactive --config /etc/act_runner/config.yaml --instance http://192.168.11.2:3000/ --name systemd --token asdf
cat /etc/act_runner/config.yaml
```
```conf Fri Jul 19 2024 13:41:05 GMT-0700 (Mountain Standard Time)
[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service
[Service]
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yaml
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory=/var/lib/act_runner
TimeoutSec=0
RestartSec=10
Restart=always
User=act_runner
[Install]
WantedBy=multi-user.target
```
L:\Git\tea\tea-0.9.2-windows-amd64.exe login phares
L:\Git\tea\tea-0.9.2-windows-amd64.exe login delete phares
L:\Git\tea\tea-0.9.2-windows-amd64.exe login add
#
L:\Git\tea\tea-0.9.2-windows-amd64.exe login mikep
L:\Git\tea\tea-0.9.2-windows-amd64.exe org
```

88
_-Review/go-to.md Normal file
View File

@ -0,0 +1,88 @@
---
created: 2024-01-14T02:18:18.102Z
type: topic
updated: 2024-08-07T22:36:09.699Z
---
# GoTo
[Abbreviations](https://goto.infineon.com/abbr)
[ACM-DB](https://goto.infineon.com/acmdb)
[AD-GroupEditor](https://goto.infineon.com/adgroupeditor)
[AdminUI](https://goto.infineon.com/adminui)
[ADT](https://goto.infineon.com/adt)
[AppCatalog](https://goto.infineon.com/appcatalog)
[Artifactory](https://goto.infineon.com/artifactory)
[BI-Portal](https://goto.infineon.com/biportal)
[BLM](https://goto.infineon.com/blm)
[CEP](https://goto.infineon.com/cep)
[CorpReg](https://goto.infineon.com/corpReg)
[CustomEndpointIntegration](https://goto.infineon.com/cepi)
[DataTCenter](https://goto.infineon.com/datatcenter)
[DCC](https://goto.infineon.com/dcc)
[DigitalAgenda](https://goto.infineon.com/digitalagenda)
[DigitalDesignSystem](https://goto.infineon.com/dds)
[EAF-Wiki](https://goto.infineon.com/eafwiki)
[Empathy](https://goto.infineon.com/empathy)
[EVA](https://goto.infineon.com/eva)
[ExceedTurboX](https://goto.infineon.com/etx)
[FactoryIntegrationOrganizationalTransformation](https://goto.infineon.com/fiot)
[FileSharingSolutions](https://goto.infineon.com/filesharingsolutions)
[FIP](https://goto.infineon.com/fip)
[FIProcess](https://goto.infineon.com/fiprocess)
[HEterogeneousSystemsInventoryTool](https://goto.infineon.com/hesit)
[IDash](https://goto.infineon.com/idash)
[InterviewerCockpit](https://goto.infineon.com/interviewercockpit)
[iPAM](https://goto.infineon.com/ipam)
[ISCPacman](https://goto.infineon.com/iscpacman)
[IteraPlan](https://goto.infineon.com/iteraplan)
[ITInfo](https://goto.infineon.com/itinfo)
[IWantToLearn](https://goto.infineon.com/iwanttolearn)
[Kronos](https://goto.infineon.com/kronos)
[Lowcode](https://goto.infineon.com/lowcode)
[Luma](https://goto.infineon.com/luma)
[LUY](https://goto.infineon.com/luy)
[Mesa](https://goto.infineon.com/fi-backlog-mesa)
[MesaFI](https://goto.infineon.com/mesafi)
[MesaReportingServices](https://goto.infineon.com/mesareportingservices)
[MesaSSRReport](https://goto.infineon.com/mesassrreport)
[MONA](https://goto.infineon.com/mona)
[MyDNS](https://goto.infineon.com/mydns)
[MyIT](https://goto.infineon.com/myit)
[net6PacMan](https://goto.infineon.com/net6PacMan)
[office](https://goto.infineon.com/office)
[OIMetrologyViewer](https://goto.infineon.com/oimetrologyviewer)
[OIWizard](https://goto.infineon.com/oiwizard)
[OWA](https://goto.infineon.com/owa)
[Password](https://goto.infineon.com/password)
[Patcher](https://goto.infineon.com/patcher)
[Processes](https://goto.infineon.com/processes)
[ProjectConsulting](https://goto.infineon.com/projectconsulting)
[Remedy](https://goto.infineon.com/remedy)
[ResetPassword](https://goto.infineon.com/resetpassword)
[RestrictedStockUnitPlan](https://goto.infineon.com/rsup)
[RmUI](https://goto.infineon.com/heck)
[SamPortal](https://goto.infineon.com/samportal)
[SelfServiceCockpit](https://goto.infineon.com/ssc)
[ServicePortfolioManager](https://goto.infineon.com/sepoma)
[Shop](https://goto.infineon.com/service-shop)
[Ssa](https://goto.infineon.com/ssa)
[Standardization](https://goto.infineon.com/standardization)
[Steps](https://goto.infineon.com/steps)
[TeamCenterWebClientReviewCurrentWork](https://goto.infineon.com/teamcenterwebclient_reviewcurrentwork)
[TFS](https://goto.infineon.com/tfs)
[TSM](https://goto.infineon.com/tsm)
[UCPortal](https://goto.infineon.com/ucportal)
[UpSkill](https://goto.infineon.com/upskill)
[Video](https://goto.infineon.com/video)
[WebAccess](https://goto.infineon.com/webaccess)
[webrat](http://goto.infineon.com/webrat)
[YODABackboneSettings](https://goto.infineon.com/YODABackboneSettings)
## Other
[cep-i](https://cepi-eu.infineon.com/)
[1202209716](https://confluencewikiprod.intra.infineon.com/pages/viewpage.action?pageId=1202209716)
[admin](https://iuc-web.infineon.com/idms-admin)
[slideshow](http://asus.laptop/slideshow/index.html?a=last&b=2024-03-10-13-01)
[MinutesOfMeeting](https://ishare.na.infineon.com/sites/Mesa-FI-Minutes-of-Meeting/SitePages/MinutesOfMeeting.aspx#/)

View File

@ -2,11 +2,13 @@
type: "topic"
assigned: ""
created: "2024-01-06T01:25:36.066Z"
updated: "2024-01-06T01:25:36.066Z"
updated: "2024-07-03T01:18:42.139Z"
---
# Gogs
## Windows
```PowerShell
# https://gogs.io/docs/installation/run_as_windows_service
nssm install gogs
@ -84,6 +86,8 @@ INSTALL_LOCK = true
SECRET_KEY = JJxp7NE0URIxoak
```
## Debian
```bash
sudo -i
cd /home/gogs
@ -213,6 +217,8 @@ systemctl restart gogs-daemon
# https://github.com/gogs/docs-api/tree/master/Repositories#migrate
```
## Gogs Theme
```bash
# https://github.com/Kos-M/GogsThemes
cd /home/gogs
@ -225,3 +231,14 @@ cp -r GogsThemes/img/ /home/gogs/gogs/custom/public/
rm -r ./GogsThemes
systemctl restart gogs-daemon
```
## Backup
```bash Sun Jun 30 2024 13:30:36 GMT-0700 (Mountain Standard Time)
# https://github.com/gogs/gogs/discussions/6876
./gogs backup
./gogs backup --exclude-repos
./gogs backup --config=my/custom/conf/app.ini
./gogs backup --database-only
./gogs restore --database-only --from="gogs-backup-xxx.zip"
```

View File

@ -1,87 +0,0 @@
---
type: "topic"
created: "2024-01-14T02:18:18.102Z"
updated: "2024-04-11T17:25:51.718Z"
---
# GoTo
```yaml
https://goto.infineon.com/abbr#Abbreviations
https://goto.infineon.com/acmdb
https://goto.infineon.com/adgroupeditor
https://goto.infineon.com/adminui
https://goto.infineon.com/adt
https://goto.infineon.com/appcatalog
https://goto.infineon.com/artifactory
https://goto.infineon.com/biportal
https://goto.infineon.com/blm
https://goto.infineon.com/cep
https://goto.infineon.com/cepi#CustomEndpointIntegration
https://goto.infineon.com/corpReg
https://goto.infineon.com/datatcenter
https://goto.infineon.com/dcc
https://goto.infineon.com/dds#Digital-Design-System
https://goto.infineon.com/digitalagenda
https://goto.infineon.com/eafwiki
https://goto.infineon.com/empathy
https://goto.infineon.com/etx#ExceedTurboX
https://goto.infineon.com/eva
https://goto.infineon.com/fi-backlog-mesa
https://goto.infineon.com/filesharingsolutions
https://goto.infineon.com/fiot
https://goto.infineon.com/fip
https://goto.infineon.com/fiprocess
https://goto.infineon.com/idash
https://goto.infineon.com/interviewercockpit
https://goto.infineon.com/ipam
https://goto.infineon.com/iscpacman
https://goto.infineon.com/iteraplan
https://goto.infineon.com/itinfo
https://goto.infineon.com/iwanttolearn
https://goto.infineon.com/kronos
https://goto.infineon.com/lowcode
https://goto.infineon.com/luma
https://goto.infineon.com/luy
https://goto.infineon.com/mesafi
https://goto.infineon.com/mesareportingservices
https://goto.infineon.com/mesassrreport
https://goto.infineon.com/mona
https://goto.infineon.com/msdpts
https://goto.infineon.com/mydns
https://goto.infineon.com/myit
https://goto.infineon.com/net6PacMan
https://goto.infineon.com/office
https://goto.infineon.com/oimetrologyviewer
https://goto.infineon.com/oiwizard
https://goto.infineon.com/owa
https://goto.infineon.com/password
https://goto.infineon.com/patcher
https://goto.infineon.com/processes
https://goto.infineon.com/projectconsulting
https://goto.infineon.com/remedy
https://goto.infineon.com/resetpassword
https://goto.infineon.com/heck#rmui
https://goto.infineon.com/rsup
https://goto.infineon.com/samportal
https://goto.infineon.com/sepoma#Service-Portfolio-Manager
https://goto.infineon.com/service-shop
https://goto.infineon.com/ssa
https://goto.infineon.com/standardization
https://goto.infineon.com/steps
https://goto.infineon.com/teamcenterwebclient_reviewcurrentwork
https://goto.infineon.com/tfs
https://goto.infineon.com/tsm
https://goto.infineon.com/ucportal
https://goto.infineon.com/upskill
https://goto.infineon.com/video
https://goto.infineon.com/webaccess
```
```yaml
https://cepi-eu.infineon.com/
https://confluencewikiprod.intra.infineon.com/pages/viewpage.action?pageId=1202209716
https://iuc-web.infineon.com/idms-admin
http://asus.laptop/slideshow/index.html?a=last&b=2024-03-10-13-01
https://ishare.na.infineon.com/sites/Mesa-FI-Minutes-of-Meeting/SitePages/MinutesOfMeeting.aspx#/
```

7
_-Review/grafana.md Normal file
View File

@ -0,0 +1,7 @@
---
type: "note"
created: "2024-07-03T03:13:40.802Z"
updated: "2024-07-03T03:13:42.998Z"
---
# Grafana

View File

@ -1,150 +1,17 @@
---
type: "topic"
created: "2024-01-06T01:25:36.065Z"
updated: "2024-01-06T01:25:36.065Z"
assigned: ''
created: 2024-01-06T01:25:36.065Z
progress: 0
tags:
- Duck
type: note
updated: 2024-11-05T00:05:31.000Z
---
# Home Assistant
```bash
wsl --export Ubuntu "Ubuntu\Ubuntu-Home-Assistant-001.tar"
wsl --unregister Ubuntu
wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-001.tar"
wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar"
del "Ubuntu\Ubuntu-Home-Assistant-002.tar"
```
```yaml
Name: Ubuntu-Home-Assistant
Command Line: wsl.exe -d Ubuntu-Home-Assistant
Tab Title: Ubuntu-Home-Assistant
```
```bash
sudo -i
apt-get update
ip a
lsb_release -a
apt-get install links unzip nginx git nano ncdu -y
ncdu
timedatectl set-timezone America/Phoenix
timedatectl
nano /etc/hosts
nano /etc/nginx/sites-available/default
echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default
```
```conf
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
}
server {
ssl_certificate 'laundry.phares.myftp.org.crt';
ssl_certificate_key 'laundry.phares.myftp.org.key';
listen 443 ssl http2;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
listen [::]:443 ssl http2;
server_name laundry.phares.myftp.org;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:80/;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
}
server {
ssl_certificate 'laundry.phares.myftp.org.crt';
ssl_certificate_key 'laundry.phares.myftp.org.key';
listen 443 ssl http2;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
listen [::]:443 ssl http2;
server_name home-assistant.laundry.phares.myftp.org;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:9400/;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
}
```
```bash
nano /home/mike/laundry.phares.myftp.org.conf
echo >/home/mike/laundry.phares.myftp.org.conf && nano /home/mike/laundry.phares.myftp.org.conf
```
```conf
[req]
default_bits = 2048
default_keyfile = laundry.phares.myftp.org.key
distinguished_name = req_distinguished_name
req_extensions = req_ext
x509_extensions = v3_ca
[req_distinguished_name]
countryName = Country Name (2 letter code)
countryName_default = US
stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = Arizona
localityName = Locality Name (eg, city)
localityName_default = Anthem
organizationName = Organization Name (eg, company)
organizationName_default = Phares
organizationalUnitName = organizationalunit
organizationalUnitName_default = Development
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_default = laundry.phares.myftp.org
commonName_max = 64
[req_ext]
subjectAltName = @alt_names
[v3_ca]
subjectAltName = @alt_names
[alt_names]
DNS.1 = laundry.phares.myftp.org
DNS.2 = dashkiosk.laundry.phares.myftp.org
DNS.3 = gogs.laundry.phares.myftp.org
DNS.4 = nextcloud.laundry.phares.myftp.org
DNS.5 = photoprism.laundry.phares.myftp.org
DNS.6 = pi-hole.laundry.phares.myftp.org
DNS.7 = syncthing.laundry.phares.myftp.org
DNS.8 = mike.desktop
DNS.9 = desktop-h6jg91b
DNS.10 = localhost
DNS.11 = 127.0.0.1
```
```bash
ls /etc/nginx
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/laundry.phares.myftp.org.key -out /etc/nginx/laundry.phares.myftp.org.crt -config /home/mike/laundry.phares.myftp.org.conf
ls /etc/nginx
nginx -t
systemctl restart nginx
nginx -s reload
exit
exit
```
```bash
wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar"
wsl --unregister Ubuntu-Home-Assistant
wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar"
```
- [hassio-addons](https://github.com/hassio-addons/repository/blob/master/example/config.yaml)
- [haos_generic-x86-64-12.4.img.xz](https://www.home-assistant.io/installation/generic-x86-64/)
```bash
sudo -i
@ -163,14 +30,11 @@ update-alternatives --config python3
python3 --version
apt install libpython3.12-dev -y
apt-cache rdepends python3.12
# apt-get install -y libtiff6
# apt install python3.10-venv
# apt-add-repository universe
# apt-get update
# apt-get install virtualenv
# apt install python3.11-venv
apt install python3.12-venv -y
# apt install python3.13-venv
apt-get install libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev -y
apt install pkg-config -y
useradd -rm homeassistant
@ -213,15 +77,140 @@ sudo -u homeassistant -H -s
cd /srv/homeassistant
python3 -m venv .
source bin/activate
hass
# You can now reach your installation via the web interface on http://homeassistant.local:8123.
```
- [your-http-integration-is-not-set-up-for-reverse-proxies](https://community.home-assistant.io/t/your-http-integration-is-not-set-up-for-reverse-proxies/553939)
```bash
systemctl status homeassistant
nano /root/.homeassistant/configuration.yaml
systemctl restart homeassistant
```
```bash Sun Jul 28 2024 08:44:18 GMT-0700 (Mountain Standard Time)
wget -O - https://get.hacs.xyz | bash -
```
## Sub-tasks
- [x] Code Server
- [x] DuckDNS
- [x] ADGuard
- [ ] Traccar
## Manage add-on repositories
- [integrations](https://www.home-assistant.io/integrations/)
- [HA Add-ons by alexbelgium](https://github.com/alexbelgium/hassio-addons)
## Addons
```conf
192.168.0.11 adguard.phares.duckdns.org # 3002
192.168.0.11 baikal.phares.duckdns.org # 8013
192.168.0.11 free.file.sync.root # 22
192.168.0.11 gitea.phares.duckdns.org # 3000
192.168.0.11 immich.phares.duckdns.org # 8181
192.168.0.11 quartz.phares.duckdns.org # /
192.168.0.11 slideshow.phares.duckdns.org # /
192.168.0.11 vaultwarden.phares.duckdns.org # 3000
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 phots.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.43.21 adguard.bchs.duckdns.org # 45158
192.168.43.21 baikal.bchs.duckdns.org # 8013
192.168.43.21 filebrowser.bchs.duckdns.org
192.168.43.21 firefly.bchs.duckdns.org
192.168.43.21 free.file.sync.loft # 22
192.168.43.21 glances.bchs.duckdns.org # 8086
192.168.43.21 grocy.bchs.duckdns.org
192.168.43.21 ha.bchs.duckdns.org # 8124
192.168.43.21 immich.bchs.duckdns.org # 8181
192.168.43.21 kuma.bchs.duckdns.org # 3001
192.168.43.21 nextcloud.bchs.duckdns.org
192.168.43.21 nginx.bchs.duckdns.org # 81
192.168.43.21 papermerge.bchs.duckdns.org # 8000
192.168.43.21 photoprism.bchs.duckdns.org # 2342
192.168.43.21 piwigo.bchs.duckdns.org
192.168.43.21 plex.bchs.duckdns.org
192.168.43.21 postgres.bchs.duckdns.org # 5432
192.168.43.21 traccar.bchs.duckdns.org # 8082
```
```bash Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
cd /etc/
mkdir /etc/duckdns
cd /etc/duckdns
nano duck.sh
```
```conf Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
echo url="https://www.duckdns.org/update?domains=bchs&token=1d3fc707-7052-4459-a624-fb01250f00b9&verbose=true&ip=" | curl -k -o /etc/duckdns/duck.log -K -
```
```bash Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
chmod 700 duck.sh
./duck.sh
cat duck.log
```
```bash Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
apk add openssl
apk add socat
# https://www.snbforums.com/threads/duckdns-with-letsencrypt.86114/
curl https://get.acme.sh | sh -s email=mikepharesjr@msn.com
cd /root/.acme.sh
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
# ./acme.sh --issue --dns dns_duckdns -d '*.phares.duckdns.org' --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
./acme.sh --issue --dns dns_duckdns -d bchs.duckdns.org --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
./acme.sh --issue --dns dns_duckdns -d '*.bchs.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
host -t txt bchs.duckdns.org
dig bchs.duckdns.org TXT
```
```bash Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
crontab -e
```
```conf Sun Nov 03 2024 20:51:53 GMT-0700 (Mountain Standard Time)
11 13 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
```
```bash
# https://www.youtube.com/watch?v=O7pC1oI86gg
# https://tasmota.github.io/docs/About/
# https://www.youtube.com/watch?v=fgeZ1O6J4jc
# https://www.youtube.com/watch?v=CYvTLw_Wn6I
# https://python-kasa.readthedocs.io/en/latest/smartdevice.html
# https://zigbee.blakadder.com/plugs.html
echo url="https://www.duckdns.org/update?domains=bchs&token=1d3fc707-7052-4459-a624-fb01250f00b9&txt={YOURVALUE}[&verbose=true][&clear=true]" | curl -k -o /etc/duckdns/duck.log -K -
mkdir -p /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
curl --slient --dump-header /root/.acme.sh/http.header -L --trace-ascii /tmp/tmp.iFkIEL -g
```
```bash
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
./acme.sh --issue --dns dns_duckdns -d '*.bchs.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
# https://intodns.com/
```

View File

@ -1,12 +1,37 @@
---
type: "topic"
created: "2024-01-14T02:18:18.761Z"
updated: "2024-02-02T22:16:54.811Z"
created: 2024-01-14T02:18:18.761Z
type: topic
updated: 2024-07-30T23:15:57.974Z
---
# IIS
- [Create Web UI to Update Target Date](../.kanbn/archive/create-web-ui-to-update-target-date.md)
- [Backlog](../EAF/Runtime/backlog.md)
- [Backlog](../eaf/runtime/backlog.md)
[Pipeline](../CI-CD/Azure-DevOps/pipeline.md)
[Pipeline](../ci-cd/azure-dev-ops/pipeline.md)
## X-Frame-Options (OI-Metrology-Viewer)
```xml Tue Jul 30 2024 16:15:30 GMT-0700 (Mountain Standard Time)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\OI.Metrology.Server.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="X-Frame-Options" />
</customHeaders>
</httpProtocol>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
<!--ProjectGuid: 25C86DF8-EC1A-4D4B-AD4E-6561174824B9-->
```

View File

@ -1,16 +1,25 @@
---
type: "note"
created: "2024-04-23T13:33:44.514Z"
updated: "2024-04-23T13:33:53.583Z"
assigned: ''
created: 2024-04-23T13:33:44.514Z
progress: 0
tags:
- Duck
- Hosts
- LinkPC
- Immich
type: note
updated: 2024-08-05T21:46:20.918Z
---
# Immich
- [immich3757.ddns.net](https://immich3757.ddns.net)
- [immich-native](https://github.com/arter97/immich-native)
- [immich-distribution](https://immich-distribution.nsg.cc/)
## Notes
```bash
# https://learn.microsoft.com/en-us/windows/wsl/wsl-config
code-insiders .wslconfig
```
@ -74,20 +83,51 @@ nano /etc/hosts
```
```bash
# adduser \
# --home /var/lib/immich/home \
# --shell=/sbin/nologin \
# --no-create-home \
# --disabled-password \
# --disabled-login \
# immich
# mkdir -p /var/lib/immich
# chown immich:immich /var/lib/immich
# chmod 700 /var/lib/immich
```
```bash
# KeePass F1D73A6C69F5EF45820A9083F8FA9A17, 8dc6bGn170WCCpCD+PqaFw==
sudo -u postgres psql
postgres=# create database immich;
postgres=# create user immich with encrypted password 'YOUR_STRONG_RANDOM_PW';
@ -97,8 +137,9 @@ postgres=# \q
```
```bash
# mkdir -p /var/lib/immich
# nano /var/lib/immich/env
```
```conf
@ -129,60 +170,157 @@ postgres=# \q
```
```bash
# git clone https://github.com/arter97/immich-native.git
# ./install.sh
```
```bash
# sudo cp immich*.service /etc/systemd/system/
# sudo systemctl daemon-reload
# for i in immich*.service; do
# sudo systemctl enable $i
# sudo systemctl start $i
# done
```
```bash
# systemctl status immich.service
# systemctl status immich-microservices.service
# systemctl status immich-machine-learning.service
```
```bash
# snap set immich-distribution sync-enabled=true
# snap set immich-distribution sync="qFWDWRKpFvV9PA90FNuBQgFligkvmhKlrOKpXyi7m7s"
# journalctl -eu snap.immich-distribution.sync-*
```
```Powershell
# New-VHD -Path C:\wsl2-Images-7007a9df.vhdx -Dynamic -SizeBytes 120GB
# wsl -d Ubuntu --mount --vhd C:\wsl2-Images-7007a9df.vhdx --bare
```
```bash
# snap stop immich-distribution
# mkdir /var/snap/immich-distribution/common/pictures
# parted /dev/sdc print
# # Error: /dev/sdc: unrecognised disk label
# parted /dev/sdc mklabel msdos
# parted -a optimal /dev/sdc mkpart primary ext4 0% 100%
# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT /dev/sdc
# mkfs.ext4 /dev/sdc1
# e2label /dev/sdc1 wsl2-Images-7007
# lsblk -o NAME,LABEL,FSTYPE,SIZE,MOUNTPOINT /dev/sdc
# mount UUID=ec3a0c70-6d49-461e-bada-86c312c178ab /var/snap/immich-distribution/common/pictures
# mount -l | grep wsl2-Images-7007
# touch /var/snap/immich-distribution/common/pictures/test
# ls /var/snap/immich-distribution/common/pictures/test
# # rm /var/snap/immich-distribution/common/pictures/test
# # umount /var/snap/immich-distribution/common/pictures
# cp /mnt/d/01-Offline-Backup/1-Images-A/Images-7007a9df/ /var/snap/immich-distribution/common/pictures
```
```bash
# https://meichthys.github.io/foss_photo_libraries/
snap install immich-distribution
# http://127.0.0.1:3001/
snap start immich-distribution
snap stop immich-distribution
systemctl status snap.immich-distribution.manager.service
@ -201,8 +339,13 @@ snap stop immich-distribution
mv /var/snap/immich-distribution/common/upload /var/snap/immich-distribution/common/upload-old
ls -la /var/snap/immich-distribution/common
ls -la /var/snap/immich-distribution/common/upload-old
# rsync -r --info=progress2 /mnt/c/8-Move/Immich/upload/ /var/snap/immich-distribution/common
# freefilesync
mv /home/phares/upload/ /var/snap/immich-distribution/common
chown -R root:root /var/snap/immich-distribution/common
chown -R snap_daemon:snap_daemon /var/snap/immich-distribution/common/pgsql
@ -371,7 +514,9 @@ WHERE "ownerId" = 'fc9fd5a1-d1b3-4080-a21c-daf9b1c24593'
```bash
ln -s /var/log/nginx /var/www/html/log-nginx
# ln -s /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 /var/www/html/Images-c9dbce3b-Results/thumbs
cp -R /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ /var/www/html/Images-c9dbce3b-Results/thumbs
ls -la /var/www/html/Images-c9dbce3b-Results
```
@ -440,7 +585,9 @@ LIMIT 1000;
```
```conf
# https://immich.app/docs/administration/reverse-proxy#nginx-example-config
server {
server_name <public_url>;
@ -495,12 +642,16 @@ L:
cd Ubuntu
wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman.tar"
wsl --unregister Ubuntu-Immich
# wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman.tar"
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar"
```
```bash
# /mnt/d/3-Videos-A/Device-Videos-2_0_0_3-Current-Year/Have-Media-Created
snap refresh --hold=forever immich-distribution
cp -R /var/snap/immich-distribution/common/upload/thumbs/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/
immich-distribution.backup -d
@ -531,7 +682,9 @@ chown -R root:root /var/snap/immich-distribution/common/pictures
ls /var/snap/immich-distribution/common/pictures/ -1 | wc -l
snap start immich-distribution
systemctl status snap.immich-distribution.manager.service
# Queue jobs
cp -R /var/snap/immich-distribution/common/upload/thumbs/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/
immich-distribution.backup -d
cp -R /var/snap/immich-distribution/common/backups/ /mnt/l/
@ -564,13 +717,29 @@ wsl --unregister Ubuntu-Immich
```
```bash
# ls /mnt/d/01-Offline-Backup/2-Images-B/Norman-Herman-Immich/tiff
# mkdir -p /mnt/disk
# mount -o loop /mnt/d/01-Offline-Backup/2-Images-B/Norman-Herman-Immich/tiff/tiff.iso /mnt/disk
# mount -t iso9660 E: /mnt/disk
# mount -t drvfs E: /mnt/disk
# umount /mnt/disk
# umount /mnt/disk
```
```sql
@ -641,102 +810,25 @@ wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar"
```bash
chown -R mikep:mikep /home/mikep/
snap refresh --hold=forever immich-distribution
# View-by-Distance-Test
# /home/mikep/pictures
# Scan All Libraries
# http://127.0.0.1:3001/admin/server-status
# http://127.0.0.1:3001/admin/jobs-status
exit
```
```bash
wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-003.tar"
# Added more pictures with wsl-Immich-home
wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-004.tar"
# Added more pictures with wsl-Immich-home
```
- [ ] FreeFileSync - wsl-Immich-var-View-by-Distance-Test
```xml
<?xml version="1.0" encoding="utf-8"?>
<FreeFileSync XmlType="GUI" XmlFormat="23">
<Notes/>
<Compare>
<Variant>TimeAndSize</Variant>
<Symlinks>Exclude</Symlinks>
<IgnoreTimeShift/>
</Compare>
<Synchronize>
<Changes>
<Left Create="right" Update="right" Delete="right"/>
<Right Create="left" Update="left" Delete="left"/>
</Changes>
<DeletionPolicy>Permanent</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</Synchronize>
<Filter>
<Include>
<Item>*</Item>
</Include>
<Exclude>
<Item>\System Volume Information\</Item>
<Item>\$Recycle.Bin\</Item>
<Item>\RECYCLE?\</Item>
<Item>\Recovery\</Item>
<Item>*\thumbs.db</Item>
<Item>*.Identifier |</Item>
</Exclude>
<SizeMin Unit="None">0</SizeMin>
<SizeMax Unit="None">0</SizeMax>
<TimeSpan Type="None">0</TimeSpan>
</Filter>
<FolderPairs>
<Pair>
<Left>L:\Git\View-by-Distance-Test\Images-Results\C)Resize\c9dbce3b\immich</Left>
<Right>\\wsl.localhost\Ubuntu-Immich\var\snap\immich-distribution\common\upload\thumbs\5e47f15f-0447-4283-9c3d-6b61ff79ebb5</Right>
</Pair>
</FolderPairs>
<Errors Ignore="false" Retry="0" Delay="5"/>
<PostSyncCommand Condition="Completion"/>
<LogFolder/>
<EmailNotification Condition="Always"/>
<GridViewType>Action</GridViewType>
</FreeFileSync>
```
```bash
rm -R /home/mikep/pictures/
```
```bash
wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-005.tar"
wsl --unregister Ubuntu-Immich
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-005.tar"
# Added more pictures with wsl-Immich-home
```
```bash
rm -R /home/mikep/pictures/
```
```bash
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-006.tar"
wsl --unregister Ubuntu-Immich
L:
cd Ubuntu
wsl --unregister Ubuntu-Immich
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar"
```
- [ ] FreeFileSync - wsl-Immich-home-Videos-A-Device-Videos-2_0_0_3-Current-Year
```bash
# Videos-A
# /home/mikep/videos
# Scan All Libraries
# http://127.0.0.1:3001/admin/server-status
# http://127.0.0.1:3001/admin/jobs-status
```
```bash
@ -755,8 +847,42 @@ wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-001.tar"
```bash
cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-13T113720.sql | immich-distribution.psql immich
# cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-12T085737.sql | immich-distribution.psql immich
# cat /var/snap/immich-distribution/common/backups/immich_database_2024-04-28T213218.sql | immich-distribution.psql immich
```
```bash
rm -R /home/mikep/pictures/
```
```bash
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-006.tar"
wsl --unregister Ubuntu-Immich
L:
cd Ubuntu
wsl --unregister Ubuntu-Immich
wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar"
```
- [ ] FreeFileSync - wsl-Immich-home-Videos-A-Device-Videos-2_0_0_3-Current-Year
```bash
```
```bash
@ -817,3 +943,7 @@ values (
'1980-01-17'
);
```
```bash Sat Jun 15 2024 20:24:28 GMT-0700 (Mountain Standard Time)
snap set immich-distribution haproxy-http-bind="*:8880"
```

114
_-Review/incus.md Normal file
View File

@ -0,0 +1,114 @@
---
created: 2024-07-02T02:44:02.000Z
type: note
updated: 2024-07-20T22:54:48.041Z
---
# Incus
- [incus](https://github.com/zabbly/incus)
```bash Mon Jul 01 2024 15:23:58 GMT-0700 (Mountain Standard Time)
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint
mkdir -p /etc/apt/keyrings/
curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/lts-6.0
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc
EOF'
apt-get update
apt-get install incus -y
incus config set core.https_address :8443
exit
reboot
```
- [incus-containers-step-by-step](https://discussion.scottibyte.com/t/incus-containers-step-by-step/349)
```bash Mon Jul 01 2024 15:35:02 GMT-0700 (Mountain Standard Time)
apt install virt-viewer -y
usermod -aG incus-admin phares
newgrp incus-admin
groups
exit
reboot
```
```bash Mon Jul 01 2024 15:36:00 GMT-0700 (Mountain Standard Time)
apt install zfsutils-linux -y
exit
reboot
```
```bash Mon Jul 01 2024 15:38:21 GMT-0700 (Mountain Standard Time)
incus admin init
```
```yaml Mon Jul 01 2024 15:42:37 GMT-0700 (Mountain Standard Time)
config:
core.https_address: '[::]:8443'
networks:
- config:
ipv4.address: auto
ipv6.address: none
description: ""
name: incusbr0
type: ""
project: default
storage_pools:
- config:
size: 132GiB
description: ""
name: default
driver: zfs
profiles:
- config: {}
description: ""
devices:
eth0:
name: eth0
network: incusbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
projects: []
cluster: null
```
```bash Mon Jul 01 2024 15:42:42 GMT-0700 (Mountain Standard Time)
incus list
incus image list images:
incus launch images:ubuntu/22.04 first
```
-[incus-virtual-machine-custom-installation](https://discussion.scottibyte.com/t/incus-virtual-machine-custom-installation/407)
```bash Mon Jul 01 2024 15:50:23 GMT-0700 (Mountain Standard Time)
incus launch images:ubuntu/22.04/desktop Desktop --vm --console=vga
incus config trust add DESKTOP-GNECR7R
```
```conf
Client DESKTOP-GNECR7R certificate add token:
incus config trust add-certificate lxconsole.crt
incus config set core.https_address=[::]:8443
```
## Incus 6.3
```bash
incus --version
incus remote add docker https://docker.io --protocol=oci
```

View File

@ -1,14 +1,14 @@
---
type: "topic"
created: "2024-01-14T02:18:22.109Z"
updated: "2024-04-02T15:55:01.970Z"
created: 2024-01-14T02:18:22.109Z
type: topic
updated: 2024-08-21T05:39:47.510Z
---
# InfinityQS
- [Update IQS](../.kanbn/tasks/update-iqs.md)
[MET08RESISRP2100](../EAF/Runtime/srp.md)
## bash
```bash
"C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe"
@ -16,6 +16,8 @@ runas /profile /user:phares@infineon "C:\Program Files (x86)\InfinityQS Internat
C:\Windows\PsExec.exe -user "infineon\ecfisysadmin" -p "asdf" "C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe"
```
## PowerShell
```PowerShell
$username = "infineon\ecfisysadmin"
$password = "asdf"
@ -34,3 +36,57 @@ Start-Process -FilePath "iispcmi.exe" -WorkingDirectory "C:\Program Files (x86)\
HgCV Res Average
Ian Palmer
```
## TLS Disable 1.0
```
OperationalError: ('08001', '[08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL
Security error (18) (SQLDriverConnect); [08001] [Microsoft][ODBC SQL Server Driver]
[DBNETLIB]ConnectionOpen (SECCreateCredentials()). (1)')
```
- [TLS-Settings-Enabling-TLS-12](https://advantive.my.site.com/support/s/article/TLS-Settings-Enabling-TLS-12)
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client
- Enabled ***1***
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319
- If the ***SchUseStrongCrypto*** and ***SystemDefaultTlsVersions*** DWORDS do not exist, add them and Modify to set their values to ***1***
```yml 04 Tue Aug 20 2024 17:28:00 GMT-0700 (Mountain Standard Time)
Microsoft SQL Server ODBC Driver Version 10.00.14393
Data Source Name: SPCEPIWORLD-OLD
Data Source Description: SPCEPIWORLD
Server: MESSQLEC1.infineon.com\PROD1,53959
Database: SPCEPIWORLD
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
```
```yml 06 Tue Aug 20 2024 17:28:02 GMT-0700 (Mountain Standard Time)
Microsoft SQL Server ODBC Driver Version 10.00.17763
Data Source Name: SPCEPIWORLD
Data Source Description: InfinityQS SPC (Si)
Server: messqlec1.infineon.com\PROD1,53959
Database: SPCEPIWORLD
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
```
- mestsv02ec.infineon.com\TEST1,50572
- messqlec1.infineon.com\PROD1,53959
- messv03ech2.infineon.com\PROD1,53959

View File

@ -0,0 +1,7 @@
---
type: "note"
created: "2024-07-02T16:18:43.890Z"
updated: "2024-07-02T16:18:54.743Z"
---
# Invoice Ninja

View File

@ -0,0 +1,124 @@
# iscn5cg3256cps
```bash Sat Jun 15 2024 12:38:41 GMT-0700 (Mountain Standard Time)
list disk
```
| Disk ### | Status | Size | Free | Dyn | Gpt |
|----------|--------|--------|---------|-----|-----|
| Disk 0 | Online | 476 GB | 1024 KB | * | |
```bash Sat Jun 15 2024 12:38:37 GMT-0700 (Mountain Standard Time)
list volume
```
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|------------|-----|-------------|-------|-----------|---------|---------|--------|
| Volume 0 | C | Windows | NTFS | Partition | 315 GB | Healthy | Boot |
| Volume 1 | D | ProgramData | NTFS | Partition | 80 GB | Healthy | |
| Volume 2 | L | Code | NTFS | Partition | 79 GB | Healthy | |
| Volume 3 | T | Test | NTFS | Partition | 1026 MB | Healthy | |
| Volume 4 | | Recovery to | NTFS | Partition | 500 MB | Healthy | Hidden |
| Volume 5 | | SYSTEM | FAT32 | Partition | 300 MB | Healthy | System |
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
function query (data) {
return _.chain(data)
.orderBy(['identifier.id'], ['asc'])
.map(item => ({
"id": item?.identifier?.id,
"version": item?.version,
"publisherDisplayName": item?.metadata?.publisherDisplayName,
"installedTimestamp": item?.metadata?.installedTimestamp,
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
}))
.value()
}
```
```json vscode Sat Jun 15 2024 10:34:08 GMT-0700 (Mountain Standard Time)
[{
"id":"aliasadidev.nugetpackagemanagergui","version":"2.1.0","publisherDisplayName":"aliasadidev","installedTimestamp":1710886380940,"isPreReleaseVersion":false},{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1711382528614,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1705364089666,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1710438515576,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"Krisztian Daroczi","installedTimestamp":1711992927711,"isPreReleaseVersion":false},{
"id":"esbenp.prettier-vscode","version":"10.4.0","publisherDisplayName":"Prettier","installedTimestamp":1711028498572,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718311239733},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"John Papa","installedTimestamp":1705364091928,"isPreReleaseVersion":false},{
"id":"lowfront.vscode-windows-lnk","version":"0.0.2","publisherDisplayName":"lowfront","installedTimestamp":1705364092746,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1714589492812,"isPreReleaseVersion":false},{
"id":"mikeburgh.xml-format","version":"1.1.3","publisherDisplayName":"Mike Burgh","installedTimestamp":1705364093496,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.33.17","publisherDisplayName":"Microsoft","installedTimestamp":1718285823819,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718114698220,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh","version":"0.112.0","publisherDisplayName":"Microsoft","installedTimestamp":1718304224517,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh-edit","version":"0.86.0","publisherDisplayName":"Microsoft","installedTimestamp":1705364122529,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"Microsoft","installedTimestamp":1705364117579,"isPreReleaseVersion":false},{
"id":"ms-vscode.remote-explorer","version":"0.4.3","publisherDisplayName":"Microsoft","installedTimestamp":1709151601233,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"pcislo","installedTimestamp":1716324608112,"isPreReleaseVersion":false},{
"id":"phplasma.csv-to-table","version":"1.4.0","publisherDisplayName":"Andrew Armstrong","installedTimestamp":1705364131458,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1717598073706,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1705364127934,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1705364128348,"isPreReleaseVersion":false},{
"id":"scabana.trxviewer","version":"1.0.3","publisherDisplayName":"Simon Le Bourdais-Cabana","installedTimestamp":1705364144562,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1714589588699,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","publisherDisplayName":"Tamás Russ","installedTimestamp":1714575971918,"isPreReleaseVersion":false}]
```
```json code-insiders Sat Jun 15 2024 10:34:28 GMT-0700 (Mountain Standard Time)
[{
"id":"aliasadidev.nugetpackagemanagergui","version":"2.1.0","publisherDisplayName":"aliasadidev","installedTimestamp":1710886380940,"isPreReleaseVersion":false},{
"id":"bennycode.sort-everything","version":"1.4.1","publisherDisplayName":"Benny Neugebauer","installedTimestamp":1711382528614,"isPreReleaseVersion":false},{
"id":"bierner.markdown-checkbox","version":"0.4.0","publisherDisplayName":"Matt Bierner","installedTimestamp":1705364089666,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1710438515576,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"Krisztian Daroczi","installedTimestamp":1711992927711,"isPreReleaseVersion":false},{
"id":"esbenp.prettier-vscode","version":"10.4.0","publisherDisplayName":"Prettier","installedTimestamp":1711028498572,"isPreReleaseVersion":false},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718311239733},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"John Papa","installedTimestamp":1705364091928,"isPreReleaseVersion":false},{
"id":"lowfront.vscode-windows-lnk","version":"0.0.2","publisherDisplayName":"lowfront","installedTimestamp":1705364092746,"isPreReleaseVersion":false},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1714589492812,"isPreReleaseVersion":false},{
"id":"mikeburgh.xml-format","version":"1.1.3","publisherDisplayName":"Mike Burgh","installedTimestamp":1705364093496,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.csharp","version":"2.33.17","publisherDisplayName":"Microsoft","installedTimestamp":1718285823819,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"Microsoft","installedTimestamp":1718114698220,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh","version":"0.112.0","publisherDisplayName":"Microsoft","installedTimestamp":1718304224517,"isPreReleaseVersion":false},{
"id":"ms-vscode-remote.remote-ssh-edit","version":"0.86.0","publisherDisplayName":"Microsoft","installedTimestamp":1705364122529,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"Microsoft","installedTimestamp":1705364117579,"isPreReleaseVersion":false},{
"id":"ms-vscode.remote-explorer","version":"0.4.3","publisherDisplayName":"Microsoft","installedTimestamp":1709151601233,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"pcislo","installedTimestamp":1716324608112,"isPreReleaseVersion":false},{
"id":"phplasma.csv-to-table","version":"1.4.0","publisherDisplayName":"Andrew Armstrong","installedTimestamp":1705364131458,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1717598073706,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1705364127934,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","publisherDisplayName":"Ryuichi Inagaki","installedTimestamp":1705364128348,"isPreReleaseVersion":false},{
"id":"scabana.trxviewer","version":"1.0.3","publisherDisplayName":"Simon Le Bourdais-Cabana","installedTimestamp":1705364144562,"isPreReleaseVersion":false},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"Street Side Software","installedTimestamp":1714589588699,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","publisherDisplayName":"Tamás Russ","installedTimestamp":1714575971918,"isPreReleaseVersion":false}]
```
```json codium Sat Jun 15 2024 10:35:01 GMT-0700 (Mountain Standard Time)
[{
"id":"bierner.markdown-checkbox","version":"0.4.0","installedTimestamp":1705365625144},{
"id":"bierner.markdown-mermaid","version":"1.23.0","publisherDisplayName":"bierner","installedTimestamp":1714571143000,"isPreReleaseVersion":false},{
"id":"brunnerh.file-properties-viewer","version":"1.2.0","publisherDisplayName":"brunnerh","installedTimestamp":1710441507614,"isPreReleaseVersion":false},{
"id":"darkriszty.markdown-table-prettify","version":"3.6.0","publisherDisplayName":"darkriszty","installedTimestamp":1710865371629,"isPreReleaseVersion":false},{
"id":"esbenp.prettier-vscode","version":"10.4.0","publisherDisplayName":"esbenp","installedTimestamp":1711114735514,"isPreReleaseVersion":false},{
"id":"foam.foam-vscode","version":"0.25.11","publisherDisplayName":"foam","installedTimestamp":1710775321804,"isPreReleaseVersion":false},{
"id":"gera2ld.markmap-vscode","version":"0.1.4","publisherDisplayName":"gera2ld","installedTimestamp":1713729622166,"isPreReleaseVersion":false},{
"id":"gordonlarrigan.vscode-kanbn","version":"0.11.0","installedTimestamp":1714609625691},{
"id":"ifx.type-script-helper","version":"1.6.2","installedTimestamp":1718311334785},{
"id":"johnpapa.vscode-peacock","version":"4.2.2","publisherDisplayName":"johnpapa","installedTimestamp":1705363927996,"isPreReleaseVersion":false},{
"id":"kortina.vscode-markdown-notes","version":"0.0.27","publisherDisplayName":"kortina","installedTimestamp":1705363928681,"isPreReleaseVersion":false},{
"id":"lengmo.json-table-viewer","version":"0.0.5","installedTimestamp":1706910395100},{
"id":"mhutchie.git-graph","version":"1.30.0","publisherDisplayName":"mhutchie","installedTimestamp":1714589550560,"isPreReleaseVersion":false},{
"id":"ms-dotnettools.vscode-dotnet-runtime","version":"2.0.6","publisherDisplayName":"ms-dotnettools","installedTimestamp":1718114712037,"isPreReleaseVersion":false},{
"id":"ms-vscode.live-server","version":"0.4.13","publisherDisplayName":"ms-vscode","installedTimestamp":1705364000902,"isPreReleaseVersion":false},{
"id":"muhammad-sammy.csharp","version":"2.31.19","publisherDisplayName":"muhammad-sammy","installedTimestamp":1717426890685,"isPreReleaseVersion":false},{
"id":"patcx.vscode-nuget-gallery","version":"1.1.0","publisherDisplayName":"patcx","installedTimestamp":1716384231447,"isPreReleaseVersion":false},{
"id":"pomdtr.excalidraw-editor","version":"3.7.4","publisherDisplayName":"pomdtr","installedTimestamp":1718299708775,"isPreReleaseVersion":false},{
"id":"rangav.vscode-thunder-client","version":"2.24.11","publisherDisplayName":"Thunder Client","installedTimestamp":1717598072171,"isPreReleaseVersion":false},{
"id":"redhat.vscode-yaml","version":"1.15.0","publisherDisplayName":"redhat","installedTimestamp":1718114712119,"isPreReleaseVersion":false},{
"id":"ryanluker.vscode-coverage-gutters","version":"2.11.1","publisherDisplayName":"ryanluker","installedTimestamp":1705364002906,"isPreReleaseVersion":false},{
"id":"ryu1kn.partial-diff","version":"1.4.3","installedTimestamp":1705630613800},{
"id":"streetsidesoftware.code-spell-checker","version":"3.0.1","publisherDisplayName":"streetsidesoftware","installedTimestamp":1714589567187,"isPreReleaseVersion":false},{
"id":"tamasruss.kanbandown","version":"0.0.9","installedTimestamp":1714572895590}]
```

View File

@ -1,11 +1,13 @@
---
type: "note"
created: "2024-01-14T02:28:59.264Z"
updated: "2024-04-22T19:10:51.301Z"
created: 2024-01-14T02:28:59.264Z
type: note
updated: 2024-07-18T19:05:24.641Z
---
# ISCN5CG3256CPS
## OpenSSH
```PowerShell Administrator
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
# Install the OpenSSH Client
@ -34,6 +36,8 @@ icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /g
code-insiders "C:\ProgramData\ssh"
```
## PowerShell Modules
```PowerShell
Save-Module -Name PSWindowsUpdate -Path "D:\Downloads\2024" -Repository PSGallery
mkdir "C:\Test\Modules\PowerShellGet\"
@ -44,6 +48,8 @@ Install-WindowsUpdate AcceptAll
Install-WindowsUpdate AcceptAll IgnoreReboot
```
## NGINX Conf
```bash Sat Jan 13 2024 19:37:23 GMT-0700 (Mountain Standard Time)
mkdir "C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps"
powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24.zip C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps"
@ -91,10 +97,14 @@ sc stop nginx
sc start nginx
```
## OpenSSL
```bash openssl crt
"C:\Users\phares\AppData\Local\Programs\Git\usr\bin\openssl" req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.key" -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.crt" -config "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.conf"
```
## VSCode Settings
```bash
git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/VS-Code-Settings-Phares "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares"
mkdir "C:\Users\Phares\.omnisharp"
@ -143,3 +153,67 @@ REM
- [ ] Move Files from old laptop
- [ ] TFS Agent
- [ ] [build-tools](build-tools.md)
## WSL
```bash Wed Jul 17 2024 10:22:04 GMT-0700 (Mountain Standard Time)
wsl --unregister ubuntu
## Ubuntu
```
```bash Wed Jul 17 2024 10:22:06 GMT-0700 (Mountain Standard Time)
sudo -i
apt-get update
apt-get upgrade -y
timedatectl set-timezone America/Phoenix
apt-get install links unzip git nano ncdu -y
exit
```
```bash Wed Jul 17 2024 10:28:33 GMT-0700 (Mountain Standard Time)
wsl --export Ubuntu "L:\Ubuntu\Ubuntu-Docker-001.tar"
wsl --unregister Ubuntu
wsl --import Ubuntu-Docker Ubuntu-Docker "L:\Ubuntu\Ubuntu-Docker-001.tar"
```
```yaml Wed Jul 17 2024 10:28:36 GMT-0700 (Mountain Standard Time)
Name: Ubuntu-Docker
Command Line: wsl.exe -d Ubuntu-Docker
Tab Title: Ubuntu-Docker
```
```bash Wed Jul 17 2024 12:02:56 GMT-0700 (Mountain Standard Time)
su phares
cd /tmp
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# dockerd-rootless-setuptool.sh install
# https://docs.docker.com/go/rootless/
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
docker ps -a
docker rm df
mkdir /opt/uptime-kuma
nano /opt/uptime-kuma/compose.yaml
```
```yaml Wed Jul 17 2024 13:33:16 GMT-0700 (Mountain Standard Time)
services:
uptime-kuma:
image: louislam/uptime-kuma:1
volumes:
- ./data:/app/data
ports:
# <Host Port>:<Container Port>
- 3010:3001
restart: unless-stopped
```
```bash Wed Jul 17 2024 13:33:24 GMT-0700 (Mountain Standard Time)
docker compose up -d
systemctl status docker
docker ps -a
docker logs -f --tail 50 uptime-kuma-uptime-kuma-1
exit
```

View File

@ -1,9 +1,7 @@
---
type: "topic"
foam_template:
filepath: "_-Review/iscxv.md"
created: "2024-01-06T01:25:36.053Z"
updated: "2024-01-06T01:25:36.053Z"
created: 2024-01-06T01:25:36.053Z
type: topic
updated: 2024-07-11T16:22:39.931Z
---
# ISCxV

View File

@ -0,0 +1,64 @@
---
created: 2024-07-18T15:17:52.557Z
type: note
updated: 2024-07-18T15:44:33.208Z
---
# Kanban in VSCode
## Extensions
- [bierner.markdown-checkbox](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-checkbox)
- [gordonlarrigan.vscode-kanbn](https://marketplace.visualstudio.com/items?itemName=gordonlarrigan.vscode-kanbn)
- [redhat.vscode-yaml](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)
- ifx.type-script-helper
## Syntax
- [basic-syntax](https://www.markdownguide.org/basic-syntax/)
- \# H1 (file name and H1 must match param case)
- \#\# H2
- Frontmatter is in yaml ifx.type-script-helper *View: Show Kanban* can be used to update dates
- [ ] sub-task
- [x] sub-task completed
## Usage
- gordonlarrigan.vscode-kanbn extension create index file h1 must be in param case (see ifx.type-script-helper Helper: *Transform to Param Case*)
- Features are cards
- User stories are sub-tasks
- Tasks are sub-tasks under user-story
- Feature can have sub-kanban
- Override created date and workload being displayed using board.css
- Tags are used to highlight a topic (ei EAF)
- gordonlarrigan.vscode-kanbn extension displays sub-tasks progress and tags on each card
- ifx.type-script-helper extension is used to update feature from sub-kanban
- Can sort cards descending updated
- Can link to other documents vscode best supports referenced links example [EDA](eda.md)
## Extras
- Use [jackyzha0-quartz](https://github.com/jackyzha0/quartz) to generate a static site from markdown files also supports referenced links
- Use [tamasruss.kanbandown](https://marketplace.visualstudio.com/items?itemName=TamasRuss.kanbandown) to create a single file Kanban but it has bugs
- Use [fcrespo82.markdown-table-formatter](https://marketplace.visualstudio.com/items?itemName=fcrespo82.markdown-table-formatter) to add table functions to markdown files
- Use [catbraaain.mermaid-language](https://marketplace.visualstudio.com/items?itemName=CatBraaain.mermaid-language) and [bierner.markdown-mermaid](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid) to support [mermaid-diagrams](https://mermaid.live)
## CSS Example
```css Thu Jul 18 2024 08:37:24 GMT-0700 (Mountain Standard Time)
.kanbn-task-data-created {
display: none;
}
.kanbn-task-data-workload {
display: none;
}
.kanbn-task-tag {
background-color: #262626;
color: #198038;
font-style: italic;
font-weight: medium;
margin: 1px 8px 1px 0;
}
```

30
_-Review/kasm.md Normal file
View File

@ -0,0 +1,30 @@
---
created: 2024-07-17T20:03:32.445Z
type: note
updated: 2024-07-17T20:03:55.305Z
---
# Kasm
```bash Wed Jul 17 2024 12:21:17 GMT-0700 (Mountain Standard Time)
sudo -i
cd /tmp
# https://www.kasmweb.com/community-edition
# https://kasmweb.com/docs/latest/install/single_server_install.html
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.15.0.06fdc8.tar.gz
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_service_images_amd64_1.15.0.06fdc8.tar.gz
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_workspace_images_amd64_1.15.0.06fdc8.tar.gz
tar -xf kasm_release_1.15.0.06fdc8.tar.gz
ls -la
# snap install docker
bash kasm_release/install.sh -L 8443 --offline-workspaces /tmp/kasm_release_workspace_images_amd64_1.15.0.06fdc8.tar.gz --offline-service /tmp/kasm_release_service_images_amd64_1.15.0.06fdc8.tar.gz
reboot
```
```bash Wed Jul 17 2024 12:55:02 GMT-0700 (Mountain Standard Time)
systemctl status docker
docker ps -a
docker logs -f --tail 50 kasm_proxy
docker logs -f --tail 50 kasm_guac
docker restart $(docker ps -q)
```

16
_-Review/kee-pass.md Normal file
View File

@ -0,0 +1,16 @@
---
created: 2024-07-19T18:37:17.000Z
type: note
updated: 2024-07-19T18:37:17.000Z
---
# KeePass
## Plugins
- KeeTheme
- SftpSync
- ExeIconPicker
- KeeOtp2
- keepass-plugin-favicon
- keepass-plugin-qrcodegen

View File

@ -1,21 +1,28 @@
---
type: "topic"
created: "2024-01-14T02:18:21.204Z"
updated: "2024-03-30T16:21:35.068Z"
created: 2024-01-14T02:18:21.204Z
type: topic
updated: 2024-08-05T21:41:07.101Z
---
# Kestra
```shell
# https://kestra.io/docs/tutorial/inputs
# https://www.youtube.com/watch?v=Nm1tfmZDqo8
wsl --unregister ubuntu
```
```bash
sudo -i
apt-get update
# apt install default-jre
apt install openjdk-19-jre-headless
```
@ -120,37 +127,22 @@ io.kestra.storage:storage-s3:LATEST
```bash
./kestra-0.15.10 server local
# http://localhost:44919/health
# http://localhost:8080/
```
```shell
wsl --export Ubuntu "L:\Ubuntu\Ubuntu-Kestra-001.tar"
wsl --unregister Ubuntu
wsl --import Ubuntu-Kestra Ubuntu-Kestra "L:\Ubuntu\Ubuntu-Kestra-001.tar"
wsl --export Ubuntu-Kestra Ubuntu-Kestra-002.tar
wsl --unregister Ubuntu-Kestra
```
```yml
name: Ubuntu-Kestra
Command Line: wsl -d Ubuntu Ubuntu-Kestra
```
```bash
apt install ssh-import-id
ssh-import-id gh:mikepharesjr
su phares
ssh-import-id gh:mikepharesjr
```
```bash
chown -R phares:phares /home/phares/
apt install python3-pip
pip list
pip install requests kestra
```
```bash
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
cd /home/phares
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
@ -189,11 +181,3 @@ apt install pip
```bash
cd /home/phares/kestra/
./kestra-0.15.10 server local
# http://localhost:44919/health
# http://localhost:8080/
```
```shell
wsl --export Ubuntu-Kestra Ubuntu-Kestra-002.tar
wsl --unregister Ubuntu-Kestra
```

217
_-Review/logan.md Normal file
View File

@ -0,0 +1,217 @@
---
type: "note"
created: "2024-06-30T05:49:28.000Z"
updated: "2024-06-30T05:49:28.000Z"
---
# Logan
## Proxmox
### Post-PVE
```bash Sat Jun 29 2024 17:56:25 GMT-0700 (Mountain Standard Time)
# https://www.youtube.com/watch?v=kcpu4z5eSEU&t=225s
# https://tteck.github.io/Proxmox/
# https://github.com/tteck/Proxmox
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
uname -r
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/kernel-clean.sh)"
```
### Dashkiosk
```bash Sat Jun 29 2024 17:56:29 GMT-0700 (Mountain Standard Time)
apt install snapd -y
apt install sudo links unzip nginx git nano ncdu -y
snap install dashkiosk
snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk daemon=true
snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver
exit
```
```bash Sat Jun 29 2024 17:56:31 GMT-0700 (Mountain Standard Time)
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh
wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver
snap set ubuntu-frame daemon=true
```
### authorized_keys
```bash Sat Jun 29 2024 17:56:33 GMT-0700 (Mountain Standard Time)
cat /root/.ssh/authorized_keys
nano /root/.ssh/authorized_keys
```
```config Sat Jun 29 2024 17:56:35 GMT-0700 (Mountain Standard Time)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCa0DyCYP5O/xw6TJlrXZ5Df5kTUX3MkxbzxFgx87kseja5jjdjYAgq+vz0j2bT/sJxlX+e0cy2qV7ogDEf7CC4TtQ9tppLbip5JwKe+Eo3YibyGRwt/zDOtnG0NAtGZL8tTvWMPyRcx/70m65u+ml+f72gv26yXBFsJNRzmGvNIc1bGlBl1Po3vwIuilL4rtmonUgjo4IBV2kr56uHT6WBJ23TIrYQoxQ1emi9VFZ9AzjBz998wchklsqALu9vD2t+szPFOt3OOAL892+oUbwoY2srJCfBsg26A9JcgF76A0KHszmYvhReT1L8mDvWXOnzrErmM0eO22c9lJtNd5u6xvqf6uH2zstGL3nkuci7L4zeIXuG0mG+aXry3OmCHnb8rjiElkoYIM0XdxfWgcABb42niebLDO2iSguVPLQEIM5mH3VRypXeSJ1qRLYrcQM8Mxrp2p5eTq3RNa4vnbRLQViuXW+rP4S+/RKMuAROf+f5E+3gertu0jS4jkl4zi6unR6QTVgQZ6J5Q1TaFIdi35vbKInGTpPnxSanHH/p6+MR6V3PucQuvWcY8qd/S8/D8703XONt7sO1O4DzqcwMArpB9K15wKnS9U8AGvwG5Xa/YFN5lH55sY0BvQptRsM3TEuzoIXCkU3A0PWVKyKbk1q5sKccgO7P7jWCjSWWFw== root@beelink
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7khmvc9lTWHALZ/IOMcJNz/1SuvrU53fI43v4PxIJN # 92532396 2023-12-27 mikep@DESKTOP-VP94SPB
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGq7b8qtm4fgNxW2lxm+qoxm8Wz7+1uhLQCg7xSlKYL1 # 92683771 2024-01-01 mikep@DESKTOP-BMV4V66
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqLFW9kYMp9lOTXXYafxLiUADFFKeM5KDzt02E3XeRP # 92691378 2024-01-01 cphar@DESKTOP-KA0LMMJ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBkS+uvWevmhYNos6MJKVi2auAx6x+xlyOnnvbdEstsz # 92797978 2024-01-03 mikep@DESKTOP-GNECR7R
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKf5fo63+vyYa8E06+HOPg24e9VMsvv/kBsHKGjBBUyz # 92895319 2024-01-05 mike@mike-B365M-DS3H
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGM6ANLH/4dS0YqlsCyoXkznzkgIsDqCTk3YX01XVWd8 # 92909911 2024-01-06 mikep@DESKTOP-H6JG91B
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwAv1vrRA29GYL0DFSE8nmD5q3gL+vVtFSwhrXObDo4 # 93288214 2024-01-13 infineon\phares@ISCN5CG3256CPS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH1xPVOisKwW6Xwo/Yh1kx2smt2HJU2/pRjTJf4KdGXo # 97267150 2024-03-28 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDz5WqCKsoaxV+LG/kufLNuiE9K3lqp+B3AqeKXGusX # 97442032 2024-04-01 lphar@DESKTOP-1238PEQ
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID09PhrjIpeNBmUeycnT3xKF8F5TcGL3ZKAvU9YdLj7H # 98747144 2024-04-25 mike@mike-Default-string
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIaZyTLpafZta8W8Uv6uWpgbbj4QL5dde9Rlf06PfdYc # 98824914 2024-04-26 k0308@DESKTOP-0UJ8DD5
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFpucyp3FAHn8/9cXvfRegi09DkR6XLugoniEyQ9w0T # 98824924 2024-04-26 mille@DESKTOP-QL2HGEH
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOn/Ptg/k3rOJn32GxrL2J3Bazt/3M9fGWjzP+CW1qXK # 100900455 2024-06-03 lphares0907@penguin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPMIxGucViHMHFXoM2VBPlvLvMgqNi2BUtTE/D4n778M # 101638217 2024-06-14 mikep@DESKTOP-VVO6KCM
```
### Create Users
```bash Sat Jun 29 2024 17:56:38 GMT-0700 (Mountain Standard Time)
adduser lphares
mkdir /home/lphares/.ssh
cp /root/.ssh/authorized_keys /home/lphares/.ssh/authorized_keys
chown lphares:lphares -R /home/lphares
adduser bmiller
mkdir /home/bmiller/.ssh
cp /root/.ssh/authorized_keys /home/bmiller/.ssh/authorized_keys
chown bmiller:bmiller -R /home/bmiller
chmod 750 /home/lphares
chmod 750 /home/bmiller
```
### Log
```bash Sat Jun 29 2024 17:56:40 GMT-0700 (Mountain Standard Time)
ln -s /var/log/nginx /var/www/html/log-nginx
ls -la /var/www/html
exit
```
```bash Sat Jun 29 2024 17:56:41 GMT-0700 (Mountain Standard Time)
cp ~/.bash_history /etc/bash_history_2024-06-29.txt
cat /etc/bash_history_2024-06-29.txt
exit
```
```bash Sat Jun 29 2024 17:56:43 GMT-0700 (Mountain Standard Time)
apt install smartmontools -y
smartctl -i /dev/nvme0
```
```yaml Sat Jun 29 2024 17:56:45 GMT-0700 (Mountain Standard Time)
Model Number: WD_BLACK SN770 2TB
Serial Number: 23476N801206
Firmware Version: 731100WD
PCI Vendor/Subsystem ID: 0x15b7
IEEE OUI Identifier: 0x001b44
Total NVM Capacity: 2,000,398,934,016 [2.00 TB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 2,000,398,934,016 [2.00 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 001b44 8b4c06abf1
Local Time is: Sat Jun 29 18:14:08 2024 MST
```
```bash Sat Jun 29 2024 18:14:39 GMT-0700 (Mountain Standard Time)
smartctl -i /dev/nvme1
```
```yaml Sat Jun 29 2024 18:14:43 GMT-0700 (Mountain Standard Time)
Model Number: 512GB SSD
Serial Number: CN277BH0904139
Firmware Version: SN10660
PCI Vendor/Subsystem ID: 0x1e4b
IEEE OUI Identifier: 0x3a5a27
Total NVM Capacity: 512,110,190,592 [512 GB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 512,110,190,592 [512 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 3a5a27 039a0003da
Local Time is: Sat Jun 29 18:14:54 2024 MST
```
### Proxmox SDN (Software-Defined Network)
- [Proxmox SDN](https://pve.proxmox.com/pve-docs/chapter-pvesdn.html)
```bash Sat Jun 29 2024 18:23:15 GMT-0700 (Mountain Standard Time)
cat /etc/network/interfaces
# source /etc/network/interfaces.d/*
apt update
apt install dnsmasq -y
systemctl disable --now dnsmasq
apt install frr-pythontools -y
exit
reboot
```
### LXC
```bash Sat Jun 29 2024 18:23:19 GMT-0700 (Mountain Standard Time)
cat /etc/os-release
# ID=debian
# VERSION="12 (bookworm)"
# VERSION_CODENAME=bookworm
```
```bash Sat Jun 29 2024 18:23:22 GMT-0700 (Mountain Standard Time)
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/dockge.sh)" # 107-17-home-assistant
# https://assistant.beelink.server
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/dockge.sh)" # 108-18-immich
# https://immich3757.ddns.net
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/paperless-ngx.sh)"
# http://192.168.45.13:8000
```
## LV
```bash Sat Jun 29 2024 10:37:38 GMT-0700 (Mountain Standard Time)
# https://forum.proxmox.com/threads/can-i-remove-local-and-local-lvm.122850/
lvremove /dev/pve/data -y
lvs
lvcreate -L 79GB --thinpool data pve
lvresize -L +1GB /dev/pve/data
lvresize -L +1GB /dev/pve/root
lvextend -l +100%FREE pve/root
resize2fs /dev/mapper/pve-root
```
## VNC
```bash Sat Jun 29 2024 20:11:24 GMT-0700 (Mountain Standard Time)
# https://pve.proxmox.com/wiki/VNC_Client_Access
nano /etc/pve/local/qemu-server/200.conf
# args: -vnc 0.0.0.0:77,password=on
# 5977
# set_password vnc foobar1 -d vnc2
# https://cyberhacktics.com/virtual-machine-tips-and-tricks-1-transferring-files/
# "C:\Program Files (x86)\Nmap\ncat.exe" 192.168.0.42 -lnvp 4815
mkdir /mnt/vm
mount /dev/pve/vm-200-disk-0 /mnt/vm
ls /mnt/vm/
# umount /mnt/vm
```
## Immich
```bash Sat Jun 29 2024 21:30:03 GMT-0700 (Mountain Standard Time)
mkdir /mnt/proxmox
mount /dev/pve/vm-101-disk-2 /mnt/proxmox
ls /mnt/proxmox/
# umount /mnt/proxmox
# lost+found pictures
# /mnt/usb/var/snap/immich-distribution/pictures/
pct enter 101
ls /var/snap/immich-distribution
docker ps -a
docker exec -it immich_server bash
find / -name "564761310999.jpg" 2>/dev/null
# https://github.com/junedkhatri31/docker-volume-snapshot
mkdir /var/snap/immich-distribution/snapshots
docker-volume-snapshot create b70e7b60866dcd03091521d1e2ff5eded233c30d9f83027bfeb002e1d1dcec6a /var/snap/immich-distribution/snapshots/snapshot-2024-06-29.tar
```

96
_-Review/lvm.md Normal file
View File

@ -0,0 +1,96 @@
---
type: "note"
created: "2024-06-29T20:42:08.000Z"
updated: "2024-06-29T20:42:08.000Z"
---
# LVM
## Proxmox
```bash Thu Jun 27 2024 20:20:43 GMT-0700 (Mountain Standard Time)
# login as root if needed (not needed for proxmox)
sudo su
# list disks and partitions
fdisk -l
# list volume groups
vgdisplay
# list logical volumes
lvdisplay
# edit partitions with fdisk, change device id as needed
fdisk /dev/sda
# print the partition table
p
# delete a partition
d
# enter the lvm partition number
3
# create a new partition
n
# enter the new partition number, same as the number deleted
3
# press enter to accept the default first sector
# press enter to accept the default last sector
# when prompted about removing the LVM signature, enter N
n
# set the partition type
t
# enter the partition number
3
# set the type to Linux LVM
30
# write the changes
w
# list disks and partitions, noting the size increase
fdisk -l
# extend the existing physical volume
pvresize /dev/sda3
# extend the pve-root logical volume to 100% available free space
lvresize -L +8GB /dev/pve/root
# extend the underlying file system
resize2fs /dev/mapper/pve-root
# list logical volumes, noting root is now 8GB larger
lvdisplay
# extend the data to 100% available free space
lvextend -l +100%FREE pve/data
# list logical volumes, noting data is now over 35GB
lvdisplay
```
```bash Sat Jun 29 2024 08:45:54 GMT-0700 (Mountain Standard Time)
lvresize -L -8GB /dev/pve/data
lvchange -an /dev/pve/data
lvreduce -L 8GB /dev/pve/data
lvchange -ay /dev/pve/data
lvs -a
dmsetup info pve-data
dmsetup info -c pve-data
pvesm lvmscan
```
```bash Sat Jun 29 2024 09:25:39 GMT-0700 (Mountain Standard Time)
lvcreate -L 1G -n test pve
lvconvert --type thin-pool pve/test
lvcreate -L 200m --thinpool tpool pve
```
```bash Sat Jun 29 2024 10:28:51 GMT-0700 (Mountain Standard Time)
# https://quantum5.ca/2024/02/17/cloning-proxmix-with-lvm-thin-pools/
lvdisplay --units G pve/data
```
```bash Sat Jun 29 2024 10:37:38 GMT-0700 (Mountain Standard Time)
# https://forum.proxmox.com/threads/can-i-remove-local-and-local-lvm.122850/
lvremove /dev/pve/data -y
lvs
lvcreate -L 79GB --thinpool data pve
lvresize -L +1GB /dev/pve/data
lvresize -L +1GB /dev/pve/root
lvextend -l +100%FREE pve/root
resize2fs /dev/mapper/pve-root
```
```bash Sat Jun 29 2024 13:42:08 GMT-0700 (Mountain Standard Time)
mkdir /mnt/proxmox
mount /dev/pve/vm-102-disk-1 /mnt/proxmox
```

9
_-Review/lxconsole.md Normal file
View File

@ -0,0 +1,9 @@
---
created: 2024-07-02T16:36:50.927Z
type: note
updated: 2024-08-05T21:05:42.177Z
---
# LXConsole
- [lxconsole.ddns.net](https://lxconsole.ddns.net/)

94
_-Review/lxd.md Normal file
View File

@ -0,0 +1,94 @@
---
type: "note"
created: "2024-06-27T02:58:25.205Z"
updated: "2024-06-28T01:01:08.642Z"
---
# LXD
- [install-lxd-on-ubuntu-22-04-lts-using-apt-snap](https://www.cyberciti.biz/faq/install-lxd-on-ubuntu-22-04-lts-using-apt-snap/)
```bash
lxc profile list
lxc profile show default
lxc network list
lxc network show lxdbr0
lxc storage list
lxc storage show nixcraftzfs
```
```bash Wed Jun 26 2024 18:07:05 GMT-0700 (Mountain Standard Time)
# https://ubuntu.com/tutorials/how-to-run-docker-inside-lxd-containers#4-test-your-docker-container
# See bash with same date
```
```bash Thu Jun 27 2024 09:40:46 GMT-0700 (Mountain Standard Time)
sudo -i
snap install lxd
lxd init
```
```yaml
config:
core.https_address: '[::]:8443'
networks:
- config:
ipv4.address: auto
ipv6.address: none
description: ""
name: lxdbr0
type: ""
project: default
storage_pools:
- config:
size: 30GiB
description: ""
name: default
driver: btrfs
storage_volumes: []
profiles:
- config: {}
description: ""
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
projects: []
cluster: null
```
```bash
lxc launch ubuntu:24.04 ubuntu-noble-test
lxc list
lxc exec ubuntu-noble-test bash
lxc config trust add /home/phares/lxd-ui-localhost.crt
```
```bash
# Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# choco install lxc virt-viewer
# https://virt-manager.org/download.html
lxc launch images:ubuntu/22.04/desktop vm-1 --vm -c limits.cpu=4 -c limits.memory=4GiB -c boot.autostart=true
lxc console vm-1 --type=vga
```
```bash
# https://discussion.scottibyte.com/t/self-hosted-totp-2fa-for-the-home/236
```
```bash
# https://lxdware.com/installing-the-lxd-dashboard-on-ubuntu-22-04/
```
```bash
lxc config set core.https_address :8443
lxc config trust add --name lxd-ui
snap restart --reload lxd
lxc config trust list
```

10
_-Review/mail.md Normal file
View File

@ -0,0 +1,10 @@
---
assigned: ''
created: 2024-07-27T17:18:33.875Z
progress: 0
tags: []
type: note
updated: 2024-08-05T21:09:48.977Z
---
# Mail

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-14T02:18:22.233Z"
updated: "2024-01-23T16:40:21.999Z"
created: 2024-01-14T02:18:22.233Z
type: topic
updated: 2024-11-02T15:37:58.000Z
---
# mklink
@ -157,7 +157,8 @@ mklink /J "L:\Git\VS-Code-Settings-OSS\app-codium" "C:\Users\phares\AppData\Loca
mklink /J "L:\Git\VS-Code-Settings-OSS\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app"
mklink /J "L:\Git\VS-Code-Settings-OSS\User" "C:\Users\phares\AppData\Roaming\VSCodium\User"
mklink /J "L:\Git\YO-VSCode\.kanbn" "D:\5-Other-Small\Kanban\Type-Script-Helper"
mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIASM\06_SourceCode\DEP08SIASM\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIASM"
mklink /J "L:\Workspaces\33_CS29_79_72\Adaptation_DEP08CEPIEPSILON\06_SourceCode\DEP08CEPIEPSILON\.kanbn" "D:\5-Other-Small\Kanban\DEP08CEPIEPSILON"
mklink /J "L:\Workspaces\33_CS29_79_72\Adaptation_DEP08SIASM\06_SourceCode\DEP08SIASM\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIASM"
mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIHTRPLC\06_SourceCode\DEP08SIHTRPLC\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIHTRPLC"
mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG"
mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08AFMD3100\06_SourceCode\MET08AFMD3100\.kanbn" "D:\5-Other-Small\Kanban\MET08AFMD3100"
@ -178,6 +179,7 @@ dir /AL /S T:\
#
mklink /J "T:\cellInstanceVersion.EdaConnection.PortNumber" "D:\Tmp\cellInstanceVersion.EdaConnection.PortNumber"
mklink /J "T:\Context Data" "L:\Workspaces\33_CS29_79_72\Mesa_FI\Infineon\Mesa\OpenInsight\Library\Framework\4\ContextData"
mklink /J "T:\DEP08CEPIEPSILON" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08CEPIEPSILON"
mklink /J "T:\DEP08EGANAIXG5" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08EGANAIXG5"
mklink /J "T:\DEP08SIASM" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIASM"
mklink /J "T:\DEP08SIHTRPLC" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIHTRPLC"
@ -195,6 +197,7 @@ mklink /J "T:\MET08THFTIRQS408M" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptation
mklink /J "T:\MET08THFTIRSTRATUS" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS"
mklink /J "T:\METCLIMATEC" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\METCLIMATEC"
#
mklink /J "T:\DEP08CEPIEPSILON\06_SourceCode\DEP08CEPIEPSILON\.kanbn" "D:\5-Other-Small\Kanban\DEP08CEPIEPSILON"
mklink /J "T:\DEP08SIASM\06_SourceCode\DEP08SIASM\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIASM"
mklink /J "T:\DEP08SIHTRPLC\06_SourceCode\DEP08SIHTRPLC\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIHTRPLC"
mklink /J "T:\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG"

7
_-Review/mon-a.md Normal file
View File

@ -0,0 +1,7 @@
---
created: 2024-07-11T16:16:25.695Z
type: note
updated: 2024-07-11T16:16:42.385Z
---
# MonA

View File

@ -0,0 +1,27 @@
---
created: 2024-07-18T14:26:57.332Z
type: note
updated: 2024-07-18T14:28:08.291Z
---
# Moonrise Dark Theme
- [moonrise-dark-theme](https://microsoftedge.microsoft.com/addons/detail/moonrise-dark-theme/penlpjdmfmpblpgiehcjbmlmfbbahajg)
## Infineon
- [confluence](https://confluencewikiprod.intra.infineon.com/)
- [i-eva](https://ifxeva.giaweb.infineon.com/)
- [i-pam](https://iuc-web.infineon.com/)
- [i-share](https://ishare.na.infineon.com/)
- [infineon](https://intranet.infineon.com/*)
- [intranet-content](https://intranet-content.infineon.com/)
- [mon-a](https://monaweb.vih.infineon.com/)
- [oi-metrology-viewer](https://oi-metrology-viewer-prod.mes.infineon.com/)
- [remedy-web-ui](https://remedywebui.infineon.com/)
- [remedy](https://remedyweb.infineon.com/)
- [ssa](https://ssa.eu.infineon.com/)
- [search](https://search.infineon.com/)
- [service-shop](https://serviceshop.infineon.com/)
- [video-portal](https://videoportal.infineon.com/)
- [w-sam-portal](https://webnetprod.muc.infineon.com/)

View File

@ -1,7 +1,8 @@
---
type: "topic"
created: "2024-01-06T01:25:36.042Z"
updated: "2024-01-06T01:25:36.042Z"
created: 2024-01-06T01:25:36.042Z
draft: true;
type: topic
updated: 2024-07-15T23:43:36.398Z
---
# moved-bee

11
_-Review/music.md Normal file
View File

@ -0,0 +1,11 @@
---
created: 2024-07-02T16:36:30.262Z
tags:
- music3757
type: note
updated: 2024-07-12T16:57:33.075Z
---
# Music
- [music3757.ddns.net](https://music3757.ddns.net/)

9
_-Review/neo4j.md Normal file
View File

@ -0,0 +1,9 @@
---
created: 2024-10-26T14:52:17.000Z
type: note
updated: 2024-10-26T14:52:17.000Z
---
# neo4j
- [download](https://neo4j.com/download/neo4j-desktop/?edition=desktop&flavour=winstall64&release=1.6.1&offline=true)

34
_-Review/netlify.md Normal file
View File

@ -0,0 +1,34 @@
---
type: "note"
created: "2024-06-30T16:15:11.000Z"
updated: "2024-06-30T16:15:11.000Z"
---
# netlify
[![Phares17 Netlify Status](https://api.netlify.com/api/v1/badges/1008fc08-26e2-4755-b5d0-44719051e4b0/deploy-status)](https://app.netlify.com/sites/phares17/deploys)
- [App Netlify](https://app.netlify.com/sites/phares3757/deploys)
- [manual-setup](https://docs.netlify.com/cli/get-started/#manual-setup)
```bash
npm install netlify-cli --save-dev
node ./node_modules/netlify-cli/bin/run.js login
netlify login
npx netlify login
node ./node_modules/netlify-cli/bin/run.js build
npx netlify status
netlify status
node ./node_modules/netlify-cli/bin/run.js init --manual
npx netlify init --manual
netlify init --manual
node ./node_modules/netlify-cli/bin/run.js build
npx netlify build
netlify build
node ./node_modules/netlify-cli/bin/run.js build
npx netlify build
netlify build
node ./node_modules/netlify-cli/bin/run.js deploy --prod
npx netlify deploy --prod
netlify deploy --prod
```

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-14T02:18:17.191Z"
updated: "2024-04-08T16:54:45.140Z"
updated: "2024-07-02T19:48:28.039Z"
---
# nginx
@ -76,6 +76,7 @@ sc start nginx
sc query nginx
sc stop nginx
sc start nginx
systemctl start nginx
```
```bash openssl crt
@ -102,3 +103,16 @@ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757
```bash
ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
```
## Adding new for home lab
- [ ] Host file for each host
- [ ] default # include /etc/nginx/include/asdf.conf;
- [ ] asdf.conf
- [ ] asdf.ddns.net.conf
- [ ] free-file-sync
- [ ] openssl req
- [ ] nginx -t
- [ ] free-file-sync
- [ ] mklink
- [ ] index

View File

@ -1,7 +1,7 @@
---
type: "topic"
created: "2024-01-06T01:25:36.042Z"
updated: "2024-01-06T01:25:36.042Z"
created: 2024-01-06T01:25:36.042Z
type: topic
updated: 2024-11-03T18:42:23.038Z
---
# NMap
@ -535,3 +535,41 @@ ettercap -T -S -i ens18 -M arp:remote /192.168.3.1// /192.168.3.42//
```bash
"C:\Program Files (x86)\Nmap\nmap.exe" -A 192.168.31.50 -F -oX "D:\Tmp\192.168.31.50.xml"
```
```bash Wed Oct 09 2024 07:13:04 GMT-0700 (Mountain Standard Time)
# https://nmap.org/nsedoc/scripts/rdp-ntlm-info.html
nmap -p 3389 --script rdp-ntlm-info <target>
"C:\Program Files (x86)\Nmap\nmap.exe" -A 10.95.154.0/25 -F -oX "D:\Tmp\10.95.154.0.xml"
# 7) lastboot=
# 10.95.154.9
# 10.95.154.14
# 10.95.154.18
# scovery" output="
# 10.95.154.29
# 10.95.154.31
# 10.95.154.32
# 4) key="date"
# 4) id="ssl-cert"
# 2) key="notBefore"
# 2) key="notAfter"
# 2) id="ssl-date"
# 2) id="smb2-time"
# 1) key="System_Time"
# 1) key="start_date"
# 1) id="rdp-ntlm-info"
```
```c# Wed Oct 09 2024 11:13:59 GMT-0700 (Mountain Standard Time)
private static void LastBoot()
{
DateTime dateTime;
long[] seconds = [307988, 13835175, 891721, 3111906, 2663952, 672527, 13827962];
string[] lastBootTimes = ["Sat Oct 5 19:05:28 2024", "Thu May 2 05:32:21 2024", "Sun Sep 29 00:56:35 2024", "Tue Sep 3 08:13:30 2024", "Sun Sep 8 12:39:24 2024", "Tue Oct 1 13:49:49 2024", "Thu May 2 07:32:34 2024"];
System.Console.WriteLine(DateTime.Now.ToString("ddd MMM d HH:mm:ss yyyy"));
for (int i = 0; i < seconds.Length; i++)
{
dateTime = DateTime.ParseExact(lastBootTimes[i], "ddd MMM d HH:mm:ss yyyy", null);
System.Console.WriteLine(dateTime.AddSeconds(seconds[i]).ToString("yyyy-MM-dd HH:mm:ss"));
}
}
```

9
_-Review/noda.md Normal file
View File

@ -0,0 +1,9 @@
---
created: 2024-09-07T02:54:14.640Z
type: note
updated: 2024-09-07T02:54:33.199Z
---
# noda
- [get-started](https://noda.io/#get-started)

217
_-Review/ntp.md Normal file
View File

@ -0,0 +1,217 @@
---
created: 2024-10-09T15:50:58.262Z
type: note
updated: 2024-10-18T17:53:11.550Z
---
# NTP
- [26570683589529-How-to-Setup-an-NTP-Server-on-Windows-10](https://support.hanwhavision.com/hc/en-us/articles/26570683589529-How-to-Setup-an-NTP-Server-on-Windows-10)
```bash Wed Oct 09 2024 08:55:05 GMT-0700 (Mountain Standard Time)
w32tm /config /update
w32tm /query /configuration
w32tm /query /peers
```
```yaml Wed Oct 09 2024 08:55:20 GMT-0700 (Mountain Standard Time)
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 6 (Local)
MaxPollInterval: 10 (Local)
MaxNegPhaseCorrection: 4294967295 (Local)
MaxPosPhaseCorrection: 4294967295 (Local)
MaxAllowedPhaseOffset: 300 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 100 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
CrossSiteSyncFlags: 2 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (Local)
Type: NT5DS (Local)
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)
```
```yaml SRP (10.95.154.30) Wed Oct 09 2024 08:58:48 GMT-0700 (Mountain Standard Time)
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 32768 (Local)
Type: NTP (Local)
NtpServer: ntp01.auc.infineon.com,0x9 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)
C:\Users\Administrator>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 32768 (Local)
Type: NTP (Local)
NtpServer: ntp01.auc.infineon.com,0x9 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
```
```bash Wed Oct 09 2024 09:21:32 GMT-0700 (Mountain Standard Time)
# https://computing.cs.cmu.edu/desktop/ntp-settings
w32tm /config /update /manualpeerlist:"ntp01.auc.infineon.com reftime.ifxcep.net 10.95.154.30"
w32tm /query /peers
```
```yaml SPV (10.95.154.20) Wed Oct 09 2024 09:23:52 GMT-0700 (Mountain Standard Time)
Peers: 3
Peer: 10.95.154.30
State: Active
Time Remaining: 1005.4541015s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)
Peer: ntp01.auc.infineon.com
State: Active
Time Remaining: 1005.4560547s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)
Peer: reftime.ifxcep.net
State: Active
Time Remaining: 1005.4570312s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 10 (1024s)
```
```bash Wed Oct 09 2024 09:59:53 GMT-0700 (Mountain Standard Time)
w32tm /stripchart /computer:time.google.com
w32tm /stripchart /computer:messr001.infineon.com
w32tm /stripchart /computer:10.95.154.30
# Tracking 10.95.154.30 [10.95.154.30:123].
# The current time is 10/9/2024 10:17:50 AM.
# 10:17:50, d:+00.0005120s o:-52.3908994s [@ | ]
w32tm /resync /computer:10.95.154.30
# The following error occurred: Access is denied. (0x80070005)
```
```bash Wed Oct 09 2024 12:50:10 GMT-0700 (Mountain Standard Time)
w32tm /config /manualpeerlist:ntp01.auc.infineon.com /syncfromflags:manual /reliable:yes /update
w32tm /config /manualpeerlist:10.95.154.30 /syncfromflags:manual /reliable:yes /update
w32tm /query /source
w32tm /query /status
w32tm /query /configuration
w32tm /monitor /computers:10.95.154.30
w32tm /stripchart /computer:10.95.154.30
net stop w32time
net start w32time
w32tm /config /update
w32tm /resync /rediscover
# https://stackoverflow.com/questions/67297163/windows-time-service-wont-synchronize
# Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
# Enter a new parameter LocalNTP (DWORD) with value 1.
# Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
# set the AnnounceFlags to 5
```

77
_-Review/odoo.md Normal file
View File

@ -0,0 +1,77 @@
---
assigned: ''
created: 2024-06-14T18:43:00.705Z
progress: 0
tags:
- affirm
- NoIP
- Hosts
type: note
updated: 2024-07-26T23:22:12.448Z
---
# Odoo
- [affirm.ddns.net](https://affirm.ddns.net)
- [on_premise](https://www.odoo.com/documentation/17.0/administration/on_premise/source.html#)
- [how-to-run-odoo-on-wsl-windows-subsystem-for-linux](https://gasparyyc.mystrikingly.com/blog/how-to-run-odoo-on-wsl-windows-subsystem-for-linux?)
## Notes
```bash Thu Jun 13 2024 20:30:18 GMT-0700 (Mountain Standard Time)
sudo -i
for y in $(locale | cut -d '=' -f 2| sort |uniq );do locale-gen $y; done
apt-get update && apt-get upgrade -y
apt install python3-pip -y
apt-get install postgresql -y
cd /etc/init.d
./postgresql start
su - postgres
psql template1 -c 'SHOW SERVER_ENCODING'
psql postgres -c "update pg_database set datallowconn = TRUE where datname = 'template0';"
psql template0 -c "update pg_database set datistemplate = FALSE where datname = 'template1';"
psql template0 -c "drop database template1;"
psql template0 -c "create database template1 with template = template0 encoding = 'UTF8';"
psql template0 -c "update pg_database set datistemplate = TRUE where datname = 'template1';"
psql template1 -c "update pg_database set datallowconn = FALSE where datname = 'template0';"
psql template1 -c 'SHOW SERVER_ENCODING'
createuser -s odoo
psql -c "alter user odoo with password 'odoo';"
exit
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
```
```bash Thu Jun 13 2024 21:37:15 GMT-0700 (Mountain Standard Time)
sudo -i
cd /home/mike/phares-odoo
git clone http://127.0.0.1:3000/mikepharesjr/odoo-17-0.git
cd odoo-17-0
chmod +x setup/debinstall.sh
./setup/debinstall.sh
apt install nodejs
apt install npm
npm install -g rtlcss
apt-get update && apt-get install odoo -y
./odoo start
```
```bash Tue Jul 02 2024 18:15:33 GMT-0700 (Mountain Standard Time)
turnkey-init
```
```bash Thu Jul 25 2024 11:26:06 GMT-0700 (Mountain Standard Time)
podman pull docker.io/odoo:15.0
systemctl daemon-reload
systemctl start odoo-server
systemctl status odoo-server
journalctl -fu odoo-server.service
podman logs odoo-server
systemctl stop odoo-server
systemctl disable odoo-server
podman exec -ti odoo-server /bin/sh
podman exec -ti odoo-server /bin/bash
```

Some files were not shown because too many files have changed in this diff Show More