--- created: '"2024-06-17T17:31:06.062Z"' type: '"note"' updated: '"2024-06-17T17:31:30.181Z"' --- # 2024-06-17 ```bash root@server:~# cat /etc/bash_history_2024-06-17.txt apt-get update apt upgrade exit reboot apt-get install links unzip net-tools -y snap install dashkiosk timedatectl set-timezone America/Phoenix snap restart dashkiosk snap set wpe-webkit-mir-kiosk daemon=true snap install ubuntu-frame wpe-webkit-mir-kiosk apt-get install links unzip net-tools ufw nginx git ncdu -y 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 snap set ubuntu-frame daemon=true exit reboot shutdown --n exit ssh-import-id gh:mikepharesjr exit ls -al /var/www/html ln -s log-nginx /var/log/nginx ls -al /var/www/html ls -la ln -s /var/www/html/log-nginx /var/log/nginx ls -al /var/www/html ln -s /var/log/nginx /var/www/html/log-nginx ls -al /var/www/html exit clear df -h --total vgdisplay fdisk -l clear fdisk -l exit vgscan vgchange -ay ubuntu-vg lvs ls /mnt/fcroot mkdir /mnt/fcroot smount /dev/ubuntu-lv/ /mnt/fcroot -o ro,user lvs ls /dev/ubuntu-lv ls /dev/ubuntu-vg mount /dev/ubuntu-vg/ubuntu-lv /mnt/fcroot -o ro,mike ls /mnt/fcroot/ mount /dev/ubuntu-lv/ubuntu-vg /mnt/fcroot -o ro,mike lvmdiskscan lsblk mount /dev/ubuntu-vg-ubuntu-lv /mnt/fcroot -o ro,mike mount /dev/ubuntu-vg/ubuntu-lv /mnt/fcroot -o ro,mike vgchange -ay lvscan mount /dev/ubuntu-vg/ubuntu-lv /mnt/fcroot -o ro,mike mount /dev/ubuntu-vg/ubuntu-lv /mnt/fcroot -o ro,user ls /mnt/fcroot/ ls /mnt/fcroot/home/syncthing/ su add syncthing add syncthing user add syncthing adduser sycthing cp /mnt/fcroot/home/syncthing/* /home/sycthing/ cp /mnt/fcroot/home/syncthing/**/* /home/sycthing/ ls -la /home/sycthing/ exit nano .bash_history nano .bash_history nano as exit adduser lphares adduser bmiller adduser gogs exit reboot nano .bash_history where nano apt-get install nano where nano /bin/nano /bin/nano .profile /bin/nano /etc/skel/.profile cp /etc/skel/.profile ~/.profile . ~/.profile nano a clear exit openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.beelink.server.key -out /etc/nginx/phares3757.beelink.server.crt -config /etc/nginx/sites-available/phares3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.beelink.server.key -out /etc/nginx/dashkiosk.beelink.server.crt -config /etc/nginx/sites-available/dashkiosk.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/gogs3757.beelink.server.key -out /etc/nginx/gogs3757.beelink.server.crt -config /etc/nginx/sites-available/gogs3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.beelink.server.key -out /etc/nginx/nextcloud3757.beelink.server.crt -config /etc/nginx/sites-available/nextcloud3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.beelink.server.key -out /etc/nginx/music3757.beelink.server.crt -config /etc/nginx/sites-available/music3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.beelink.server.key -out /etc/nginx/photoprism.beelink.server.crt -config /etc/nginx/sites-available/photoprism.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.beelink.server.key -out /etc/nginx/pi-hole.beelink.server.crt -config /etc/nginx/sites-available/pi-hole.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.beelink.server.key -out /etc/nginx/syncthing3757.beelink.server.crt -config /etc/nginx/sites-available/syncthing3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.ddns.net.key -out /etc/nginx/phares3757.ddns.net.crt -config /etc/nginx/sites-available/phares3757.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.ddns.net.key -out /etc/nginx/dashkiosk.ddns.net.crt -config /etc/nginx/sites-available/dashkiosk.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/gogs3757.ddns.net.key -out /etc/nginx/gogs3757.ddns.net.crt -config /etc/nginx/sites-available/gogs3757.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.ddns.net.key -out /etc/nginx/nextcloud3757.ddns.net.crt -config /etc/nginx/sites-available/nextcloud3757.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.ddns.net.key -out /etc/nginx/music3757.ddns.net.crt -config /etc/nginx/sites-available/music3757.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.ddns.net.key -out /etc/nginx/photoprism.ddns.net.crt -config /etc/nginx/sites-available/photoprism.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.ddns.net.key -out /etc/nginx/pi-hole.ddns.net.crt -config /etc/nginx/sites-available/pi-hole.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.ddns.net.key -out /etc/nginx/syncthing3757.ddns.net.crt -config /etc/nginx/sites-available/syncthing3757.ddns.net.conf exit ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default ls ls -la /etc/nginx/sites-enabled/ nginx -t nginx -s reload exit chown gogs /home/gogs -R chgrp gogs /home/gogs -R nano /home/gogs/gogs/custom/conf/app.ini nano /etc/systemd/system/gogs-daemon.service systemctl enable gogs-daemon systemctl stop gogs-daemon systemctl start gogs-daemon systemctl status gogs-daemon.service 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 cd gogs ./gogs web su gogs exit reboot ls /mnt/fcroot/ clear apt-get install ncdu -y ncdu cd /home/gogs/gogs-repositories/mikepharesjr/ ls ls -la mkdir ../mikepharesjrold mv * ../mikepharesjrold/ ls exit rm /etc/nginx/*.beelink.server.* openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.beelink.server.key -out /etc/nginx/phares3757.beelink.server.crt -config /etc/nginx/sites-available/phares3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.beelink.server.key -out /etc/nginx/dashkiosk.beelink.server.crt -config /etc/nginx/sites-available/dashkiosk.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/gogs3757.beelink.server.key -out /etc/nginx/gogs3757.beelink.server.crt -config /etc/nginx/sites-available/gogs3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.beelink.server.key -out /etc/nginx/nextcloud3757.beelink.server.crt -config /etc/nginx/sites-available/nextcloud3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.beelink.server.key -out /etc/nginx/music3757.beelink.server.crt -config /etc/nginx/sites-available/music3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.beelink.server.key -out /etc/nginx/photoprism.beelink.server.crt -config /etc/nginx/sites-available/photoprism.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.beelink.server.key -out /etc/nginx/pi-hole.beelink.server.crt -config /etc/nginx/sites-available/pi-hole.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.beelink.server.key -out /etc/nginx/syncthing3757.beelink.server.crt -config /etc/nginx/sites-available/syncthing3757.beelink.server.conf exit rm /etc/nginx/*.beelink.server.* openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.beelink.server.key -out /etc/nginx/phares3757.beelink.server.crt -config /etc/nginx/sites-available/phares3757.beelink.server.conf rm /etc/nginx/*.beelink.server.* openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/phares3757.beelink.server.key -out /etc/nginx/phares3757.beelink.server.crt -config /etc/nginx/sites-available/phares3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/dashkiosk.beelink.server.key -out /etc/nginx/dashkiosk.beelink.server.crt -config /etc/nginx/sites-available/dashkiosk.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/nextcloud3757.beelink.server.key -out /etc/nginx/nextcloud3757.beelink.server.crt -config /etc/nginx/sites-available/nextcloud3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.beelink.server.key -out /etc/nginx/music3757.beelink.server.crt -config /etc/nginx/sites-available/music3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/photoprism.beelink.server.key -out /etc/nginx/photoprism.beelink.server.crt -config /etc/nginx/sites-available/photoprism.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/pi-hole.beelink.server.key -out /etc/nginx/pi-hole.beelink.server.crt -config /etc/nginx/sites-available/pi-hole.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/syncthing3757.beelink.server.key -out /etc/nginx/syncthing3757.beelink.server.crt -config /etc/nginx/sites-available/syncthing3757.beelink.server.conf nginx -s reload exit nano /home/gogs/gogs/custom/conf/app.ini exit ln -s /home/gogs/gogs/custom/conf/app.ini /etc/gogs-app.ini rm /etc/gogs-app.ini exit nano /home/gogs/gogs/custom/conf/app.ini exit nano /home/gogs/.ssh/authorized_keys nano /home/mik/.ssh/authorized_keys nano /home/mike/.ssh/authorized_keys exit reboot nano /home/mike/.ssh/authorized_keys nano /root/.ssh/authorized_keys exit reboot cd /home/mike/ ls wget https://www.noip.com/download/linux/latest tar xf noip-duc_3.1.0.tar.gz ls -la tar xf latest ls cd noip-duc_3.1.0/ ls cd binaries/ ls apt install ./noip-duc_3.1.0_amd64.deb noip-duc --help noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK cd .. noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK noip-duc -g all.ddnskey.com --username 8ng1rd6 --password uLdGqHrgdjXo exit snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver snap set ubuntu-frame daemon=true snap restart dashkiosk snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver snap set ubuntu-frame daemon=true apt-get update apt upgrade reboot noip-duc -g all.ddnskey.com --username 8ng1rd6 --password uLdGqHrgdjXo exit ssh-import-id gh:mikepharesjr su lphares nano /home/lphares/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys cp /home/bmiller/.ssh/authorized_keys /home/ ls /home/bmiller mkdir /home/bmiller/.ssh cp /home/lphares/.ssh/authorized_keys /home/bmiller/.ssh nano /home/bmiller/.ssh/authorized_keys chown bmiller:bmiller -r /home/bmiller/.ssh chown bmiller:bmiller -R /home/bmiller/.ssh chown lphares:lphares -R /home/lphares nano /home/mike/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys nano /home/lphares/.ssh/authorized_keys nano /home/mike/.ssh/authorized_keys nano /root/.ssh/authorized_keys exit reboot exit ls /home/mike/ ls /home/sycthing/upload/ ls /home/sycthing/upload/thumbs/ -la exit mkdir /home/sycthing/Immich mv /home/sycthing/upload /home/sycthing/Immich ll /home/sycthing/Immich mv /home/sycthing/backups /home/sycthing/Immich ll /home/sycthing/Immich noip-duc -g all.ddnskey.com --username 8ng1rd6 --password uLdGqHrgdjXo nano /root/.ssh/authorized_keys nano /home/lphares/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys exit ln -s /home/gogs/gogs/custom/conf /etc/gogs nano /etc/gogs/app.ini cp /home/gogs/gogs/custom/conf/ /etc/gogs-copy cp -r /home/gogs/gogs/custom/conf/ /etc/gogs-copy nano /etc/gogs/app.ini cp -r /home/gogs/gogs/custom/conf/ /etc/gogs-copy nano /etc/gogs/app.ini nano /home/gogs/gogs/custom/conf/app.ini cp /home/gogs/gogs/custom/conf/app.ini /etc/gogs-copy/ systemctl restart gogs-daemon exit ls /home/gogs noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK ncdu cd /home/gogs ncdu nano .ssh/authorized_keys naon /home/gogs/gogs/custom/conf/app.ini nano /home/gogs/gogs/custom/conf/app.ini exit ls /home/sycthing/Immich/ exit noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK exit noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK exit ip ip a exit noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK exit noip-duc -g all.ddnskey.com --username mikepharesjr@msn.com --password QaaRgp7UHXnpUMXN9NqK cp debian/service /etc/systemd/system/noip-duc.service ls cd /home/mike/ ls cd noip-duc_3.1.0/ ls cp debian/service /etc/systemd/system/noip-duc.service ls /usr/local/bin/noip-duc nano /usr/local/bin/noip-duc ls /usr/local/bin/ nano /etc/default/noip-duc systemctl daemon-reload systemctl enable noip-duc systemctl start noip-duc systemctl status noip-duc exity exit clear hostname systemctl status noip-duc exit ls /home/sycthing/ -la exit nano /home/sycthing/Notes-Network/.vscode/hosts.conf exit nano /home/lphares/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys ll /var/www/html/ ll /var/www/html/Images-7007a9df-Results/ ls /var/www/html -la ls /var/www/html/Images-7007a9df-Results/ -la mkdir /var/www/html/Images-c9dbce3b-Results ls /var/www/html -la ls /var/www/html/Images-c9dbce3b-Results -la ll /home/mike/ ll /home/sycthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ ln -s /var/www/html/Images-c9dbce3b-Results/thumbs /home/sycthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ ls /var/www/html/Images-c9dbce3b-Results -la ln -s /var/www/html/Images-c9dbce3b-Results/thumbs /home/sycthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 ln -s /home/sycthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 /var/www/html/Images-c9dbce3b-Results/thumbs ls /var/www/html/Images-c9dbce3b-Results -la ls /var/www/html/Images-c9dbce3b-Results/thumbs ls /var/www/html/Images-7007a9df-Results/F\)Random/ ls /var/www/html/Images-7007a9df-Results/F\)Random/7007a9df/\[\]/ nano /var/www/html/Images-7007a9df-Results/F\)Random/7007a9df/\[\]/01-01.json exit rm /var/www/html/Images-c9dbce3b-Results/thumbs cp -R /home/sycthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/ cd .. ncdu chmod -R mike:mike /var/www/html/Images-c9dbce3b-Results/thumbs chown -R mike:mike /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/ ls -la /var/www/html chown -R root:root /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html ls -la /var/www/html/Images-c9dbce3b-Results/ exit ls /home/sycthing/ exit deluser sycthing ls /home/sycthing/ rm /home/sycthing/ /home/syncthing/ rm /home/sycthing /home/syncthing mv /home/sycthing/ /home/syncthing/ ls /home/sycthing/ ls /home/syncthing/ exit su bmiller nano /home/lphares/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys ls -la /home/lphares/ compgen -g getent group group list lphares groups list lphares groups list bmiller usermod -a -G lphares bmiller groups list bmiller exit ls -la /var/www/html/Images-c9dbce3b-Results/ mv /var/www/html/Images-c9dbce3b-Results/thumbs/ /var/www/html/Images-c9dbce3b-Results/thumbs-copy ls -la /var/www/html/Images-c9dbce3b-Results/ ln -s /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 /var/www/html/Images-c9dbce3b-Results/thumbs rm -R /var/www/html/Images-c9dbce3b-Results/thumbs-copy/ rm -R /var/www/html/Images-7007a9df-Results/ cd /var/www ncdu ls -la /var/www/html/Images-c9dbce3b-Results/ ls -la /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/ rm /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results ln -s /var/www/html/Images-c9dbce3b-Results/thumbs /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 ln -s /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/thumbs ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/thumbs ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/thumbs/thumbs rm /var/www/html/Images-c9dbce3b-Results/thumbs ls -la /var/www/html/Images-c9dbce3b-Results/thumbs/thumbs/thumbs ls -la /var/www/html/Images-c9dbce3b-Results ls /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 ln -s /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 ls /var/log/nginx nano /var/log/nginx/error.log rm /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 exit ll /home/syncthing/ ll /home/syncthing/Immich/ exit ls rm immich_database_2024-04-25T220025.top.sql exit curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash filebrowser -r /var touch /etc/nginx/sites-available/filebrowser.beelink.server.conf nano /etc/nginx/sites-available/filebrowser.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/filebrowser.beelink.server.key -out /etc/nginx/filebrowser.beelink.server.crt -config /etc/nginx/sites-available/filebrowser.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/filebrowser.ddns.net.key -out /etc/nginx/filebrowser.ddns.net.crt -config /etc/nginx/sites-available/filebrowser.ddns.net.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/immich3757.beelink.server.key -out /etc/nginx/immich3757.beelink.server.crt -config /etc/nginx/sites-available/immich3757.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/immich3757.ddns.net.key -out /etc/nginx/immich3757.ddns.net.crt -config /etc/nginx/sites-available/immich3757.ddns.net.conf nginx -t nginx -s reload filebrowser -r /var filebrowser -r / snap install immich-distribution ls rm filebrowser.db ls' ls ls /home/mike/ filebrowser -r / -d /home/mike filebrowser -r / -d /home/mike/ filebrowser -r / -d /home/mike/filebrowser.db ls /home/mike/ filebrowser -r / -d /home/mike/filebrowser.db -h exit journalctl -eu snap.immich-distribution.sync-* journalctl -fu snap.immich-distribution.* systemctl status snap.immich-distribution.manager.service snap status immich-distribution snap stop immich-distribution snap start immich-distribution systemctl status snap.immich-distribution.manager.service links http://127.0.0.1:3001 links http://127.0.0.1:3000 ss -ltn snap stop immich-distribution ss -ltn snap start immich-distribution ss -ltn ss -ltnp exit nginx -s reload nginx -t exit ls /var/snap/immich-distribution/common/backups/ tar xf /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T165506.sql.xz ls /var/snap/immich-distribution/common/backups/ tar -xJf /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T165506.sql.xz ls /var/snap/immich-distribution/common/backups/ rm /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T165506.sql.xz ls /var/snap/immich-distribution/common/backups/ cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T165506.sql | immich-distribution.psql immich ls /var/snap/immich-distribution/common/upload/ ls /var/snap/immich-distribution/ ls /home/mike filebrowser -r / -d /home/mike/filebrowser.db cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich ls /var/snap/immich-distribution/common/backups -la cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich chown root:root /var/snap/immich-distribution/common/backups cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich chmod 7777 /var/snap/immich-distribution/common/backups ls /var/snap/immich-distribution/common/backups -la chmod 7777 -R /var/snap/immich-distribution/common/backups ls /var/snap/immich-distribution/common/backups -la cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich chown root:root /var/snap/immich-distribution/common/backups -R cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich snap stop immich-distribution cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich snap start immich-distribution cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich snap uninstall immich-distribution snap remove immich-distribution snap remove --purge immich-distribution snap install immich-distribution cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich pscp -i "C:\Users\phares\.ssh\id_ed25519.ppk" D:/8-Move/immich_database_2024-05-17T173401.sql root@free.file.sync.root:/var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich noip-duc -g all.ddnskey.com --username 8ng1rd6 --password uLdGqHrgdjXo exit nano /home/lphares/.ssh/authorized_keys reboot nano /usr/local/etc/no-ip2.conf cd noip-2.1.9-1/ ls ls /usr/local/etc ls /usr/local/bin/noip2 ls /usr/local/bin/ cd /usr/local/src/ wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz ls tar xf noip-duc-linux.tar.gz ls cd noip-2.1.9-1/ make install apt-get install make make install ls cd .. ls rm -R noip-2.1.9-1/ ls tar xf noip-duc-linux.tar.gz ls cd noip-2.1.9-1/ make install exit cd /usr/local/src/ cd noip-2.1.9-1/ make install noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX /usr/local/bin/noip2 -C cd .. wget https://www.noip.com/download/linux/latest ls rm noip-2.1.9-1/ rm noip-2.1.9-1/ -R rm noip-duc-linux.tar.gz cd latest tar xf latest ls cd noip-duc_3.1.0/ cd /home/$USER/noip-duc_3.1.0/binaries && sudo apt install ./noip-duc_3.1.0_amd64.deb cd /home/$USER/noip-duc_3.1.0/binaries cd noip-duc_3.1.0/ ls cd binaries/ sudo apt install ./noip-duc_3.1.0_amd64.deb ls apt install ./noip-duc_3.1.0_amd64.deb service stop noip2 nano /usr/local/etc/no-ip2.conf ls nginx -s reload nginx -t nginx -s reload /etc/init.d/nginx start noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit cd /var/www/html/Images-c9dbce3b-Results/F\)Random/ ls cd c9dbce3b/ ls cd \[\]/ ls rm 05-27.json cp 11-17.json 05-27.json rm 05-31.json cp 11-17.json 05-31.json rm 06-01.json cp 11-17.json 06-01.json rm 06-02.json cp 11-17.json 06-02.json rm 05-30.json cp 11-17.json 05-30.json rm 05-29.json cp 11-17.json 05-29.json exit nano /home/mike/.ssh/authorized_keys nano /home/root/.ssh/authorized_keys nano /root/.ssh/authorized_keys nano /home/mike/.ssh/authorized_keys nano /home/lphares/.ssh/authorized_keys nano /home/bmiller/.ssh/authorized_keys systemctl restart ssh exit noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit reboot noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX snap install --classic certbot apt-get remove certbot ln -s /snap/bin/certbot /usr/bin/certbot certbot certonly --nginx nginx -t openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/affrim.beelink.server.key -out /etc/nginx/affrim.beelink.server.crt -config /etc/nginx/sites-available/affrim.beelink.server.conf touch /etc/nginx/sites-available/affrim.beelink.server.conf nano /etc/nginx/sites-available/affrim.beelink.server.conf cd /etc/nginx/sites-available ls ls -la ls -la aff* rm aff* openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/affirm.beelink.server.key -out /etc/nginx/affirm.beelink.server.crt -config /etc/nginx/sites-available/affirm.beelink.server.conf openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/affirm.ddns.net.key -out /etc/nginx/affirm.ddns.net.crt -config /etc/nginx/sites-available/affirm.ddns.net.conf nginx -t nginx -s restart nginx -s reload cd /var/ ls cd www/ ls mkdir -p /var/www/certbot/.well-known/acme-challenge ls ls -la touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM nginx -s reload exit certbot certonly --nginx 16 certbot certonly --nginx nginx -s reload snap stop immich-distribution nginx -s reload certbot certonly --nginx nginx -s reload certbot certonly --nginx systemctl list-timers /etc/crontab/ ls /etc/crontab/ ls /etc/cron.*/* systemctl list-timers exit systemctl list-timers certbot certonly --nginx 15 17 certbot certonly --nginx ufw status certbot certonly --nginx certbot renew --dry-run exit nginx -t nginx -s reload snap start immich-distribution certbot renew --dry-run exit snap list snap install hello-world snap list snap hello-world which hello-world ./snap/bin/hello-world hello-world snap install snapcraft --classic snap install lxd exit apt-get install mc exit snap stop immich-distribution snap start immich-distribution snapcraft list-plugins exit apt install nodejs exit nano /root/.ssh/authorized_keys systemctl restart ssh reboot nano /home/lphares/.ssh/authorized_keys exit df -h --total lvdisplay lsblk smartctl apt install smartmontools smartctl smartctl -i /dev/sda smartctl -i /dev/sdb lsblk exit lsblk -n -l -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT lsblk -t lsblk -o SIZE, NAME, MOUNTPOINT lsblk -n -l -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT lsblk -n -l -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT clear lsblk -I 8 -d lsblk -I 8 -d -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT lsblk -I 8 -d -o NAME,SIZE,TYPE lsblk -I 8 -o NAME,SIZE,TYPE lsblk -d -o NAME,SIZE,TYPE exit lsblk -I 8 -d lsblk -d -o NAME,SIZE,TYPE lsblk fdisk -l | grep 'Disk /' mount | grep -E '(/|/boot) ' | awk '{print $1,$2,$3}' lsblk /dev/sda lsblk /dev/sdb exit lsblk -n -l -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT exit lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT lsblk -l -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT lsblk -n -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT fdisk -l fdisk -l /dev/sda fdisk -l /dev/sdb clear fdisk -l /dev/sdb clear fdisk -l /dev/sdb clear fdisk -l /dev/sdb fdisk -l /dev/sda exit noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit nginx -t nginx -s reload nginx -t nginx -s reload nginx -t nginx -s reload systemctl list-timers noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX certbot renew --dry-run lsof -i -P -n | grep LISTEN lsof -i -P -n netstat -tulpn | grep LISTEN snap stop immich-distribution certbot renew --dry-run nginx -s reload links https://192.168.11.67 snap start immich-distribution certbot renew --dry-run snap set immich-distribution haproxy-http-bind="*:8880" snap stop immich-distribution snap start immich-distribution netstat -tulpn | grep LISTEN noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit echo "root@free.file.sync.root"&ssh root@free.file.sync.root -i C:/Users/phares/.ssh/id_ed25519 snap set immich-distribution haproxy-http-bind="*:80" snap stop immich-distribution snap start immich-distribution nginx -s reload snap stop immich-distribution nginx -s reload netstat -tulpn | grep LISTEN systemctl start nginx nginx -s reload netstat -tulpn | grep LISTEN snap start immich-distribution exit noip-duc -g all.ddnskey.com --username 9zh94yf --password xrtvLiRNhScX exit shutdown exit ```